Assume that all _[PS]C_* and _CS_* macros are always defined
[platform/upstream/glibc.git] / ChangeLog
1 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2
3         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4         macros.
5
6         [BZ #17266]
7         * misc/sys/cdefs.h: Define __extern_always_inline for clang
8         4.2 and newer.
9
10         [BZ #17370]
11         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
12
13 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14             Jakub Jelinek  <jakub@redhat.com>
15
16         [BZ #17266]
17         * libio/stdio.h: Check definition of __fortify_function
18         instead of __extern_always_inline to include bits/stdio2.h.
19         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
20         check if __extern_always_inline is defined.
21         [__USE_MISC || __USE_XOPEN]: Likewise.
22         [__USE_ISOC99] Likewise.
23         * misc/sys/cdefs.h (__fortify_function): Define only if
24         __extern_always_inline is defined.
25         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
26         __extern_always_inline and __extern_inline only for g++-4.3
27         and newer or a compatible gcc.
28
29 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
30
31         [BZ #17371]
32         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
33         last change to handle zero prefix length.
34
35 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36
37         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
38         _SC_REGEX_VERSION.
39
40         * posix/getconf.c (vars): Add _POSIX_IPV6 and
41         _POSIX_RAW_SOCKETS.
42
43 2014-09-13  Allan McRae  <allan@archlinux.org>
44
45         * po/ru.po: Update Russian translation from translation project.
46
47 2014-09-12  Roland McGrath  <roland@hack.frob.com>
48
49         * locale/programs/locale.c (show_locale_vars): Inline local function
50         into its sole call site.  Clean up some style nits.
51         (print_item): New function, broken out of ...
52         (show_info): ... local function here.  Clean up style nits.
53
54         * locale/programs/ld-ctype.c (set_one_default): New function, broken
55         out of ...
56         (set_class_defaults): ... local function set_default here.
57         Define set_default as a macro locally to pass constant parameters.
58         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
59         rather than a shared local.
60
61         * stdlib/rpmatch.c (try): New function, broken out of ...
62         (rpmatch): ... local function here.  Also, prototypify definition.
63
64 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
65
66         * scripts/soversions.awk: Do not handle configuration names.
67         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
68         vendor and os variables to soversions.awk.
69         * configure.ac: Do not modify gnu-* host_os.
70         * configure: Regenerated
71         * shlib-versions: Remove first column with configuration names.
72         * nptl/shlib-versions: Likewise.
73         * nptl_db/shlib-versions: Likewise.
74         * sysdeps/hppa/shlib-versions: Likewise.
75         * sysdeps/m68k/shlib-versions: Likewise.
76         * sysdeps/mach/hurd/shlib-versions: Likewise.
77         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
78         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
79         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
80         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
81         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
82         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
83         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
84         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
85         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
86         Likewise.
87         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
88         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
89         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
90         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
91         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
92         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
93         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
94         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
95
96         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
97         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
98         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
99         Regenerated.
100         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
102         Condition symbol version definitions on [HAVE_ELFV2_ABI].
103
104         * shlib-versions: Remove OS-specific entries.  Moved to files in
105         sysdeps.
106         * sysdeps/mach/hurd/shlib-versions: New file.
107         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
108
109         * nptl/shlib-versions: Remove architecture-specific entries.
110         Moved to files in sysdeps.
111         * shlib-versions: Likewise.
112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
113         file.
114         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
115         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
116         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
117         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
118
119         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
120         (UDP_NO_CHECK6_RX): Likewise.
121
122 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
123
124         * sysdeps/posix/sysconf.c (__sysconf): Spell
125         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
126
127 2014-08-12  Florian Weimer  <fweimer@redhat.com>
128
129         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
130         loading.
131         * iconv/Versions (__gconv_transliterate): Export for use from
132         gconv modules.
133         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
134         (struct __gconv_trans_data, __gconv_trans_fct,
135         __gconv_trans_context_fct, __gconv_trans_query_fct,
136         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
137         definitions.
138         (struct __gconv_step_data): Remove __trans member.
139         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
140         longer hidden.  Remove unused trans_data argument.
141         * iconv/gconv_int.h (struct trans_struct): Remove definition.
142         (__gconv_translit_find): Remove declaration.
143         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
144         prototype.
145         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
146         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
147         trans_data argument.  Add hidden definition.
148         (__gconv_translit_find): Remove.
149         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
150         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
151         * iconv/skeleton.c: Remove transliteration initialization.
152         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
153         __gconv_step_data initialization.
154         * libio/iofwide.c (__libio_translit_): Remove.
155         (_IO_fwide): Adjust struct __gconv_step_data initialization.
156         * wcsmbs/btowc.c (__btowc): Likewise.
157         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
158         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
159         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
160         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
161         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
162         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
163         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
164         * wcsmbs/wctob.c (wctob): Likewise.
165
166 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
167
168         [BZ #16194]
169         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
170         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
171         register usage.
172         * sysdeps/x86/Makefile: Adjust.
173
174 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
175             Roland McGrath  <roland@hack.frob.com>
176
177         * locale/weight.h: Add include guard.
178         (findidx): Make static rather than auto; take new parameters
179         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
180         * locale/weightwc.h: Likewise.
181         * posix/fnmatch_loop.c
182         (FCT): Change type of EXTRA from int32_t to wint_t.
183         Don't include either header inside the function.
184         Call FINDIDX rather than findidx, and pass new arguments.
185         #undef FINDIDX at the end of the file.
186         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
187         FINDIDX before including fnmatch_loop.c for the non-wide version.
188         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
189         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
190         for the wide version.
191         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
192         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
193         Pass new arguments to findidx.
194         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
195         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
196         Don't #include it inside the function.  Pass new arguments to findidx.
197         * posix/regex_internal.h
198         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
199         (re_string_elem_size_at): Don't #include it inside the function.
200         Pass new arguments to findidx.
201         * string/strcoll_l.c: #include WEIGHT_H at top level.
202         (get_next_seq): Don't #include it inside the function.
203         Pass new arguments to findidx.
204         (get_next_seq_nocache): Likewise.
205         * string/strxfrm_l.c: #include WEIGHT_H at top level.
206         (STRXFRM): Don't #include it inside the function.
207         Pass new arguments to findidx.
208
209 2014-09-11  Florian Weimer  <fweimer@redhat.com>
210
211         [BZ #17344]
212         * malloc/malloc.c (unlink): Turn asserts into a call to
213         malloc_printerr.
214
215 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
216
217         [BZ #17370]
218         * libio/wfileops (do_ftell_wide): Free OUT.
219
220 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
221
222         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
223
224 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
225
226         [BZ #17363]
227         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
228         group if the current group is empty.
229
230 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
231
232         * benchtests/bench-memset.c (test_main): Add more test from size
233         from 32 to 512 bytes.
234         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
235         Add POWER8 memset object.
236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
237         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
238         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
239         implementation.
240         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
241         Likewise.
242         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
243         multiarch POWER8 memset optimization.
244         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
245         POWER8 memset optimization.
246
247         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
248         Remove bzero multiarch objects.
249         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
250         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
251         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
252         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
253         Remove define.
254         [__bzero]: Redefine to specific name.
255         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
256         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
257         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
258         define.
259         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
260         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
261
262 2014-09-10  Florian Weimer  <fweimer@redhat.com>
263
264         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
265         warnings into errors.
266
267         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
268         __cxa_thread_atexit_impl prototype.
269
270 2014-09-09  Steve Ellcey  <sellcey@mips.com>
271
272         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
273         Fix capitalization of error message.
274
275 2014-09-09  Steve Ellcey  <sellcey@mips.com>
276
277         * sysdeps/mips/preconfigure: Modify ABI tests.
278
279 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
280
281         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
282
283 2014-09-07  Roland McGrath  <roland@hack.frob.com>
284             Carlos O'Donell  <carlos@systemhalted.org>
285
286         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
287         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
288         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
289         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
290         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
291         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
292         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
293         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
294         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
295         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
296         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
297         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
298         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
299         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
300         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
301         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
302         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
303         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
304         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
305         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
306         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
307         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
308         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
309         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
310         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
311         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
312         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
313         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
314         Deconditionalize the code that was previously under [RESET_PID].
315         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
316         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
317         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
318         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
319         include sysdep.h.
320
321 2014-09-08  Allan McRae  <allan@archlinux.org>
322
323         * version.h (RELEASE): Set to "development".
324         (VERSION): Set to "2.20.90"
325
326 2014-09-07  Allan McRae  <allan@archlinux.org
327
328         * version.h (RELEASE): Set to "stable".
329         (VERSION): Set to "2.20"
330         * include/features.h (__GLIBC_MINOR__): Set to 20.
331
332         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
333         Liebler.
334
335         * po/ko.po: Update Korean translation from translation project.
336
337 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
338
339         [BZ #17354]
340         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
341         macro for handling signed relocations.
342
343 2014-09-03  Florian Weimer  <fweimer@redhat.com>
344
345         [BZ #17325]
346         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
347         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
348         assert.
349         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
350         * iconvdata/ibm935.c (BODY): Likewise.
351         * iconvdata/ibm937.c (BODY): Likewise.
352         * iconvdata/ibm939.c (BODY): Likewise.
353         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
354         assert.
355         * iconvdata/Makefile (iconv-test.out): Pass module list to test
356         script.
357         * iconvdata/run-iconv-test.sh: New test loop for checking for
358         decoder crashers.
359
360 2014-09-02  Khem Raj  <raj.khem@gmail.com>
361
362         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
363         libm_hidden_ver.
364
365 2014-09-01  Allan McRae  <allan@archlinux.org>
366
367         * po/eo.po: Update Esperanto translation from translation project.
368
369         * po/ca.po: Update Catalan translation from translation project.
370
371 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
372
373         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
374         __proc_dostop call.
375
376 2014-08-27  Mark Wielaard  <mjw@redhat.com>
377
378         [BZ #17319]
379         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
380         to call set_thread_area instead of hand written asm.
381         (__NR_set_thread_area): Removed define.
382         (TLS_FLAG_WRITABLE): Likewise.
383         (__ASSUME_SET_THREAD_AREA): Remove check.
384         (TLS_EBX_ARG): Remove define.
385         (TLS_LOAD_EBX): Likewise.
386
387 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
388
389         Simplify atomicity of socket creation in bind.
390
391         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
392         looking up the name after linking the file.
393
394 2014-08-27  Allan McRae  <allan@archlinux.org>
395
396         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
397
398 2014-08-26  Florian Weimer  <fweimer@redhat.com>
399
400         [BZ #17187]
401         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
402         trans_compare, open_translit, __gconv_translit_find):
403         Remove module loading code.
404
405 2014-08-26  Allan McRae  <allan@archlinux.org>
406
407         * po/vi.po: Update Vietnamese translation from translation project.
408
409         * po/uk.po: Update Ukrainian translation from translation project.
410
411         * po/fr.po: Update French translation from translation project.
412
413         * po/ru.po: Update Russian translation from translation project.
414
415         * po/pl.po: Update Polish translation from translation project.
416
417         * po/cs.po: Update Czech translation from translation project.
418
419         * po/de.po: Update German translation from translation project.
420
421         * po/bg.po: Update Bulgarian translation from translation project.
422
423         * po/sv.po: Update Sweedish translation from translation project.
424
425         * po/nl.po: Update Dutch translation from translation project.
426
427         * po/es.po: Update Spanish translation from translation project.
428
429 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
430
431         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
432
433         * catgets/Makefile (CPPFLAGS-gencat): Remove.
434         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
435         (CPPFLAGS-iconvconfig): Likewise.
436         * timezone/Makefile (CPPFLAGS-zic): Likewise.
437
438         * include/libc-symbols.h: Remove unnecessary check for
439         NOT_IN_libc.
440         * nptl/pthreadP.h: Likewise.
441         * sysdeps/aarch64/setjmp.S: Likewise.
442         * sysdeps/alpha/setjmp.S: Likewise.
443         * sysdeps/arm/sysdep.h: Likewise.
444         * sysdeps/i386/setjmp.S: Likewise.
445         * sysdeps/m68k/setjmp.c: Likewise.
446         * sysdeps/posix/getcwd.c: Likewise.
447         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
448         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
449         * sysdeps/s390/s390-32/setjmp.S: Likewise.
450         * sysdeps/s390/s390-64/setjmp.S: Likewise.
451         * sysdeps/sh/sh3/setjmp.S: Likewise.
452         * sysdeps/sh/sh4/setjmp.S: Likewise.
453         * sysdeps/unix/alpha/sysdep.h: Likewise.
454         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
455         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
456         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
457         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
460         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
461         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
462         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
463         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
464         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
465         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
466         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
467         * sysdeps/x86_64/setjmp.S: Likewise.
468
469 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
470
471         [BZ #17263]
472         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
473         <stdint.h>.
474         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
475         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
476
477 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
478
479         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
480
481         [BZ #17262]
482         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
483         and __x86_64__ when disabling x87 inline functions.
484
485 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
486
487         [BZ #17259]
488         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
489         asm statement with __cpuid_count.
490
491 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
492
493         * configure.ac: Change __ehdr_start code to dereference the struct.
494         Run readelf on the output to look for relocations.
495         * configure: Regenerated.
496
497 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
498
499         [BZ #17261]
500         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
501         value to 0.
502         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
503
504 2014-08-12  Roland McGrath  <roland@hack.frob.com>
505
506         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
507
508 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
509
510         [BZ #16892]
511         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
512         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
513
514 2014-08-12  Sean Anderson  <seanga2@gmail.com>
515
516         * malloc/malloc.c: Fix typo in comment.
517
518 2014-08-09  Allan McRae  <allan@archlinux.org>
519
520         * Regenerate libc.po.
521
522 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
523
524         * intl/tst-gettext2.sh: Check every lang file for creation.
525
526 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
527
528         * sysdeps/aarch64/fpu/math_private.h
529         (libc_feholdsetround_noex_aarch64_ctx): New function.
530
531 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
532
533         * sysdeps/arm/armv6/strcpy.S (strcpy):
534         Fix performance issue in misaligned cases.
535
536 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
537
538         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
539         Move definition from termios.h.
540         (struct termio): Likewise.
541         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
542         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
543         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
544         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
545         Likewise.
546         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
547         Move definition to ioctl-types.h
548         (struct termio): Likewise.
549         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
550         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
551         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
552         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
553         Likewise.
554
555 2014-08-05  Richard Henderson  <rth@redhat.com>
556
557         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
558         exceptions.
559         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
560         Add fraiseexcpt.
561         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
562         Use __feraiseexcept.
563         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
564         Protect libm symbols with IS_IN_libm.
565
566         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
567
568 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
569
570         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
571
572 2014-08-04  Will Newton  <will.newton@linaro.org>
573
574         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
575         file.
576
577 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
578
579         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
580         variants for each function.
581
582 2014-08-04  Roland McGrath  <roland@hack.frob.com>
583
584         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
585         appended ...
586         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
587         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
588         appended ...
589         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
590         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
591         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
592         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
593         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
594         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
595         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
596         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
597         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
598         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
599         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
600         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
601         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
602         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
603         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
604         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
605         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
606         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
607         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
608         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
609         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
610         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
611         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
612         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
613         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
614         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
615         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
616         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
617         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
618         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
619         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
620         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
621         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
622         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
623         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
624         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
625         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
626         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
627         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
628         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
629         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
630         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
631         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
632         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
633         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
634         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
635         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
636         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
637         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
638         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
639         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
640         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
641         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
642         Update #include.
643         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
644         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
645
646 2014-08-04  Roland McGrath  <roland@hack.frob.com>
647
648         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
649         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
650         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
651         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
652         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
653         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
654
655 2014-08-04  Roland McGrath  <roland@hack.frob.com>
656
657         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
658         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
659         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
660         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
661
662 2014-08-04  Roland McGrath  <roland@hack.frob.com>
663
664         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
665         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
666         (__libc_vfork): Define function under this name.
667         (__vfork): Define as an alias.
668         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
669         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
670
671 2014-08-04  Roland McGrath  <roland@hack.frob.com>
672
673         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
674         that was previously under [RESET_PID].
675         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
676
677 2014-08-04  Andreas Schwab  <schwab@suse.de>
678
679         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
680
681 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
682
683         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
684         (main): Likewise.
685
686 2014-08-01  Roland McGrath  <roland@hack.frob.com>
687
688         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
689
690 2014-08-01  Richard Henderon  <rth@redhat.com>
691
692         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
693         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
694         typo in exact zero test.
695         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
696         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
697         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
698
699 2014-08-01  Roland McGrath  <roland@hack.frob.com>
700
701         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
702         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
703         * sysdeps/arm/sysdep.h: ... here.
704         [!__ASSEMBLER__]: Include <stdint.h>.
705
706 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
707
708         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
709         (HAVE_WCTYPE_H): Likewise.
710         (HAVE_ISWCTYPE): Likewise.
711         (ENABLE_NLS): Likewise.
712         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
713         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
714
715         * posix/regex_internal.c: Check if DEBUG is defined and is
716         set.
717
718         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
719         (HAVE_MBSRTOWCS): Likewise.
720         * posix/fnmatch.c: Include string.h unconditionally.
721
722 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
723
724         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
725         reversal.
726
727 2014-07-31  Roland McGrath  <roland@hack.frob.com>
728
729         * sysdeps/generic/safe-fatal.h: New file.
730         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
731         * nptl/forward.c: Include it.
732         (__pthread_unwind): Use __safe_fatal as default action, rather
733         than a bogus use of INTERNAL_SYSCALL that could never work.
734
735         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
736         * configure.ac (libc_cv_builtin_trap): New test.
737         * configure: Regenerated.
738         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
739         (ABORT_INSTRUCTION): Define using __builtin_trap.
740
741         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
742         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
743         * sysdeps/nptl/nptl-signals.h: New file.
744         * nptl/pthreadP.h: Include <nptl-signals.h>.
745
746 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
747
748         * sysdeps/s390/s390-64/utf16-utf32-z9.c
749         (ONE_DIRECTION): Define.
750         * sysdeps/s390/s390-64/utf8-utf16-z9.c
751         (ONE_DIRECTION): Define.
752         * sysdeps/s390/s390-64/utf8-utf32-z9.c
753         (ONE_DIRECTION): Define.
754
755 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
756
757         * sysdeps/s390/Makefile: Delete file.
758         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
759         * sysdeps/s390/__longjmp.c: Delete file.
760         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
761         Remove fields __flags and __reserved.
762         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
763         and add versioning.
764         * sysdeps/s390/rtld-__longjmp.c: Delete file.
765         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
766         * sysdeps/s390/rtld-setjmp.S: Likewise.
767         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
768         * sysdeps/s390/s390-32/__longjmp.c: ... here.
769         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
770         * sysdeps/s390/s390-32/setjmp.S: ... here.
771         Add versioning.
772         (__sigsetjmp): Remove setting __flags field.
773         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
774         * sysdeps/s390/s390-64/__longjmp.c: ... here.
775         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
776         * sysdeps/s390/s390-64/setjmp.S: ... here.
777         Add versioning.
778         (__sigsetjmp): Remove setting __flags field.
779         * sysdeps/s390/setjmp.S: Delete file.
780         * sysdeps/s390/sigjmp.c: Likewise.
781         * sysdeps/s390/v1-longjmp.c: Likewise.
782         * sysdeps/s390/v1-setjmp.h: Likewise.
783         * sysdeps/s390/v1-sigjmp.c: Likewise.
784         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
785         Remove v1-longjmp_chk.
786         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
787         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
788         Include debug/longjmp_chk.c and add versioning.
789         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
790         Include nptl/pt-longjmp.c and add versioning.
791         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
792         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
793         Include __longjmp.c.
794         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
795         Move to ...
796         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
797         (__getcontext): Remove setting __flags field.
798         Add versioning.
799         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
800         Don't restore upper high grps.
801         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
802         Likewise.
803         (__swapcontext): Remove setting uc_flags field.
804         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
805         Delete file.
806         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
807         Include __longjmp.c.
808         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
809         Move to ...
810         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
811         (__getcontext): Remove setting __flags field.
812         Add versioning.
813         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
814         (__swapcontext): Remove setting uc_flags field.
815         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
816         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
817         Remove fields uc_high_gprs and __reserved.
818         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
819         New file with reverted content.
820         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
821         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
822         Regenerated.
823         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
824         Regenerated.
825
826 2014-07-31  Andreas Schwab  <schwab@suse.de>
827
828         * config.h.in (HAVE_IFUNC): Define to 0.
829         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
830         definedness.
831
832 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
833
834         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
835         memmove-avx-unaligned, memcpy-avx-unaligned and
836         mempcpy-avx-unaligned.
837         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
838         Add tests for AVX memcpy functions.
839         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
840         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
841         memcpy_chk.
842         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
843         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
844         memmove_chk.
845         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
846         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
847         mempcpy_chk.
848         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
849         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
850         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
851
852 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
853
854         [BZ #17213]
855         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
856         powerpc64le.
857
858 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
859
860         [BZ #16839]
861         * manual/llio.texi: Add section about open file description locks.
862         * manual/examples/ofdlocks.c: Example of open file description
863         lock usage.
864         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
865         F_OFD_SETLK, and F_OFD_SETLKW.
866
867 2014-07-23  Allan McRae  <allan@archlinux.org>
868
869         * po/es.po: Update Spanish translation from translation project.
870
871 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
872
873         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
874
875 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
876
877         [BZ #17078]
878         * sysdeps/arm/dl-machine.h (elf_machine_rela)
879         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
880         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
881
882 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
883
884         [BZ #17088]
885         * math/fesetenv.c (__fesetenv)
886         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
887         * math/feupdateenv.c (__feupdateenv)
888         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
889
890         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
891         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
892         (__ASSUME_SOCKETCALL): Do not define.
893
894         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
895         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
896         (__ASSUME_SOCKETCALL): Do not define.
897         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
898         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
899         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
900         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
901         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
902         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
903         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
904         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
905
906         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
907         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
908         (__ASSUME_SOCKETCALL): Do not define.
909         (__ASSUME_IPC64): Define unconditionally.
910         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
911         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
912         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
913         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
914         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
915         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
916         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
917         Likewise.
918
919         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
920         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
921         (__ASSUME_SOCKETCALL): Do not define.
922         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
923         (__ASSUME_FUTEX_LOCK_PI): Likewise.
924         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
925         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
926         (__ASSUME_REQUEUE_PI): Define unconditionally.
927         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
928         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
929         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
930         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
931         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
932         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
933
934         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
935         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
936         (__ASSUME_SOCKETCALL): Do not define.
937         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
938         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
939         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
940         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
941         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
942         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
943
944         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
945         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
946         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
947         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
948         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
949         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
950         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
951         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
952         (__ASSUME_GETCPU_SYSCALL): Likewise.
953
954         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
955         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
956         cases for individual architectures.
957         * sysdeps/gnu/configure: Regenerated.
958         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
959         LIBC_SLIBDIR_RTLDDIR.
960         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
961         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
962         LIBC_SLIBDIR_RTLDDIR.
963         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
965         LIBC_SLIBDIR_RTLDDIR.
966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
967         Regenerated.
968         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
969         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
970         file.
971         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
972         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
973         file.
974         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
975         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
976         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
977         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
978
979         * sysdeps/aarch64/shlib-versions: Move to ...
980         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
981         * sysdeps/alpha/shlib-versions: Move to ...
982         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
983         * sysdeps/arm/shlib-versions: Move to ...
984         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
985         * sysdeps/hppa/shlib-versions: Move all contents except for
986         libgcc_s entry to ...
987         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
988         entry from ...
989         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
990         * sysdeps/ia64/shlib-versions: Move to ...
991         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
992         entry from ...
993         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
994         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
995         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
996         * sysdeps/microblaze/shlib-versions: Move to ...
997         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
998         * sysdeps/mips/shlib-versions: Move to ...
999         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
1000         entry from ...
1001         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
1002         * sysdeps/tile/shlib-versions: Move to ...
1003         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1004         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1005         from ...
1006         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
1007         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1008         entry from ...
1009         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
1010
1011 2014-07-17  Will Newton  <will.newton@linaro.org>
1012
1013         * sysdeps/arm/bits/atomic.h
1014         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1015         (__arch_compare_and_exchange_bool_16_int): Likewise.
1016         (__arch_compare_and_exchange_bool_64_int): Likewise.
1017
1018         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1019         into an #else block.
1020
1021 2014-07-16  Roland McGrath  <roland@hack.frob.com>
1022
1023         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1024         just Linux configurations.  Test empirically that the compiler sets
1025         __ARM_EABI__, rather than using the tuple to decide.
1026         * sysdeps/arm/preconfigure: Regenerated.
1027         * sysdeps/unix/sysv/linux/arm/configure: File removed.
1028         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1029         contents appended ...
1030         * sysdeps/arm/configure.ac: ... here.
1031         * sysdeps/arm/configure: Regenerated.
1032
1033 2014-07-15  Roland McGrath  <roland@hack.frob.com>
1034
1035         * nptl/pthread_kill.c: New file.
1036         * nptl/pthread_sigmask.c: New file.
1037         * nptl/pthread_sigqueue.c: New file.
1038
1039         * sysdeps/nptl/lowlevellock.h: New file.
1040         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1041         * sysdeps/nptl/lowlevellock-futex.h: New file.
1042
1043         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1044         Remove dead declarations.
1045
1046 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
1047
1048         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1049         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1050         config-cflags-avx2.
1051         * sysdeps/x86_64/configure.ac: Likewise.
1052         * sysdeps/i386/configure: Regenerated.
1053         * sysdeps/x86_64/configure: Likewise.
1054         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1055         memset-avx2 only if config-cflags-avx2 is yes.
1056         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1057         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1058         defined.
1059         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1060         only if HAVE_AVX2_SUPPORT is defined.
1061         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1062
1063 2014-07-14  Alan Modra  <amodra@gmail.com>
1064
1065         [BZ #17153]
1066         * elf/elf.h (DT_PPC64_NUM): Correct value.
1067         * NEWS: Add to fixed bug list.
1068
1069 2014-07-13  Jim Meyering  <meyering@fb.com>
1070
1071         [BZ 17150]
1072         regex: don't deref NULL upon heap allocation failure
1073         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1074         failure in one more place.
1075         To trigger the segfault, configure grep -with-included-regex,
1076         build it, and run these commands:
1077         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1078
1079 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
1080
1081         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1082
1083 2014-07-11  Richard Henderson  <rth@redhat.com>
1084
1085         * sysdeps/aarch64/libm-test-ulps: Update.
1086
1087 2014-07-10  Florian Weimer  <fweimer@redhat.com>
1088
1089         [BZ #17135]
1090         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1091         * nptl/allocatestack.c (__nptl_setxid_error): New function.
1092         (__nptl_setxid): Initialize error member.  Call
1093         __nptl_setxid_error.
1094         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1095         * nptl/descr.h (struct xid_command): Add error member.
1096         * nptl/tst-setuid3.c: New file.
1097         * nptl/Makefile (tests): Add it.
1098
1099 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1100
1101         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1102         New define.
1103         (__lll_trylock): Use __lll_base_trylock.
1104         (__lll_cond_trylock): Likewise.
1105
1106 2014-07-10  Roland McGrath  <roland@hack.frob.com>
1107
1108         * nptl/pthread_create.c (start_thread): Use atomic_or and
1109         lll_futex_wake directly rather than lll_robust_dead.
1110         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1111         (lll_robust_dead): Macro removed.
1112         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1113         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1114         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1115         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1116         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1117         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1118         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1119         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1120         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1121         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1122         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1123         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1124         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1125         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1126         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1127
1128         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1129         Use atomic_compare_and_exchange_val_acq directly rather than
1130         lll_robust_trylock.
1131         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1132         (__lll_robust_trylock, lll_robust_trylock): Removed.
1133         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1134         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1135         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1136         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1137         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1138         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1139         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1140         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1141         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1142         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1143         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1144         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1145         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1146         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1147
1148 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1149
1150         * manual/locale.texi (Locale Names): New section documenting
1151         locale name syntax.  Adjust menu and node chaining accordingly.
1152         (Choosing Locale): Reference Locale Names, Locale Categories.
1153         Mention setting LC_ALL=C.  Reflect that name syntax is now
1154         documented.
1155         (Locale Categories): New section title.  Reference Locale Names.
1156         LC_ALL is an environment variable, but not a category.
1157         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1158         description, now in Locale Name.  Reference that section.  Locale
1159         name syntax is now documented.
1160
1161 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1162
1163         [BZ #17137]
1164         * locale/findlocale.c (name_present, valid_locale_name): New
1165         functions.
1166         (_nl_find_locale): Use the loc_name variable to store name
1167         candidates.  Call name_present and valid_locale_name to check and
1168         validate locale names.  Return an error if the locale is invalid.
1169
1170 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1171
1172         * locale/setlocale.c (setlocale): Use strdup for allocating
1173         composite name copy.
1174
1175 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1176
1177         Sync up with gnulib.
1178         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1179         [!_LIBC && ENABLE_NLS]: Include gettext.h.
1180         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1181         and _GL_ARG_NONNULL.
1182         [USE_UNLOCKED_IO]: Include unlocked-io.h.
1183         [!_LIBC]: Include code for Windows and Cygwin.
1184         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1185         Include prototype for int strerror_r.
1186         [!_LIBC] (is_open): New function.
1187         (flush_stdout): New function.
1188         (print_errno_message): Use it.
1189         (error): Likewise.
1190         (error_at_line): Likewise.
1191         (error_tail) Add function attribute macros.  Use
1192         __builtin_expect.
1193
1194         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1195
1196         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1197
1198         * io/ftw.c: Include sys/param.h unconditionally.
1199
1200         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1201
1202         [BZ #17125]
1203         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1204         libc_freeres_ptr.
1205         (freecache): New function to free CACHE on exit.
1206
1207         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1208         initialization.
1209
1210 2014-07-09  David S. Miller  <davem@davemloft.net>
1211
1212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1213
1214         * sysdeps/sparc/nptl/internaltypes.h: Delete.
1215         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1216         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1217         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1218         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1219         * sysdeps/sparc/nptl/sem_init.c: Likewise.
1220         * sysdeps/sparc/nptl/sem_post.c: Likewise.
1221         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1222         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1223         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1224         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1225         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1226         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1227
1228 2014-07-09  Andreas Schwab  <schwab@suse.de>
1229
1230         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1231         output.
1232         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1233         (do_test): Likewise.
1234
1235         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1236
1237 2014-07-09  Will Newton  <will.newton@linaro.org>
1238
1239         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1240         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1241         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1242         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1243         * sysdeps/hppa/start.S (_start): Likewise.
1244
1245 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
1246
1247         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1248
1249         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1250         defined.
1251
1252 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1253
1254         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1255         after checking that it is non-NULL.
1256
1257         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1258
1259 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1260
1261         * sysdeps/powerpc/memmove.c: Remove file.
1262         * sysdeps/powerpc/powerpc32/power4/memcopy.h
1263         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1264         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1265         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1266         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1267         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1268         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1269         string memmove instead of removed powerpc one.
1270
1271         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1272         [weak_alias]: Fix compiler warning due trailing data.
1273         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1274         [weak_alias]: Likewise.
1275         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1276         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1277
1278         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1279         (__libc_ifunc_impl_list): Add memmove functions.
1280
1281 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1282
1283         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1284         Remove code.
1285         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1286         Likewise
1287         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1288         Likewise
1289         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1290         Likewise
1291         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1292         Likewise
1293         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1294         Likewise
1295         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1296         Likewise
1297         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1298         Likewise
1299         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1300         Likewise
1301         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1302         Likewise
1303         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1304         Likewise
1305         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1306         Likewise
1307         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1308         Likewise
1309         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1310         Likewise
1311         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1312         Likewise
1313         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1314         Likewise
1315         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1316         Likewise
1317
1318 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1319
1320         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1321         to avoid alignment traps in non-cacheable memory.
1322         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1323
1324         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1325         multiarch objects.
1326         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1327         file: multiarch power7 memmove.
1328         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1329         multiarch default memmove.
1330         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1331         multiarch memove for powerpc32/power4.
1332
1333         * string/bcopy.c: Use full path to include memmove.c.
1334         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1335         multiarch objects.
1336         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1337         bcopy for powerpc64.
1338         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1339         bcopy for powerpc64.
1340         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1341         and memmove implementations.
1342         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1343         optimized multiarch memmove for POWER7/powerpc64.
1344         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1345         default multiarch memmove for powerpc64.
1346         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1347         multiarch for powerpc64.
1348         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1349         for POWER7/powerpc64.
1350         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1351         memmove for POWER7/powerpc64.
1352
1353         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1354         glibc default one.
1355
1356         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1357         __ELF_NATIVE_CLASS equal to 64.
1358
1359 2014-07-07  Roland McGrath  <roland@hack.frob.com>
1360
1361         * sysdeps/nptl/lowlevellock.h: File removed.
1362
1363         * NEWS: NPTL is no longer an add-on!
1364         * nptl/internaltypes.h: Moved ...
1365         * sysdeps/nptl/internaltypes.h: ... here.
1366         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1367         * sysdeps/nptl/fork.c: Likewise.
1368         * sysdeps/nptl/gai_misc.h: Likewise.
1369         * sysdeps/nptl/librt-cancellation.c: Likewise.
1370         * sysdeps/nptl/jmp-unwind.c: Likewise.
1371         * sysdeps/nptl/setxid.h: Likewise.
1372         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1373         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1374         * sysdeps/unix/sysv/linux/arm/Implies: New file.
1375         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1376         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1377         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1378         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1379         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1380         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1381         * sysdeps/unix/sysv/linux/mips/Implies: New file.
1382         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1383         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1384         * sysdeps/unix/sysv/linux/sh/Implies: New file.
1385         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1386         * sysdeps/unix/sysv/linux/tile/Implies: New file.
1387         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1388         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1389         * nptl/Makeconfig: Moved ...
1390         * sysdeps/nptl/Makeconfig: ... here.
1391         * nptl/configure: File removed.
1392         * nptl/ANNOUNCE: File removed.
1393         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1394         * sysdeps/unix/sysv/linux/configure: Regenerated.
1395
1396         * nptl/Makefile (routines): Add libc_pthread_init,
1397         libc_multiple_threads, register-atfork and unregister-atfork.
1398         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1399         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1400         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1401         pthread-pi-defines.sym, structsem.sym.
1402         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1403         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1404         [$(subdir) = nptl] (tests): Add tst-setgetname.
1405         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1406         * sysdeps/unix/sysv/linux/sigaction.c: Just include
1407         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1408         [!LIBC_SIGACTION]: Remove aliases.
1409         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1410         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1411         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1412         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1413         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1414         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1415         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1416         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1417         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1418         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1419         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1420         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1421         __libc_allocate_rtsig_private.
1422         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1423         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1424         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1425         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1426         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1427         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1428         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1429         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1430         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1431         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1432         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1433         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1434         * nptl/internaltypes.h: ... here.
1435         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1436         * sysdeps/nptl/jmp-unwind.c: ... here.
1437         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1438         * nptl/libc-lowlevellock.c: ... here.
1439         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1440         * nptl/libc_multiple_threads.c: ... here.
1441         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1442         * nptl/libc_pthread_init.c: ... here.
1443         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1444         * nptl/lowlevelbarrier.sym: ... here.
1445         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1446         * nptl/lowlevelcond.sym: ... here.
1447         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1448         * nptl/lowlevellock.c: ... here.
1449         * nptl/lowlevellock.h: Moved ...
1450         * sysdeps/nptl/lowlevellock.h: ... here.
1451         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1452         * nptl/lowlevelrobustlock.c: ... here.
1453         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1454         * nptl/lowlevelrobustlock.sym: ... here.
1455         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1456         * nptl/lowlevelrwlock.sym: ... here.
1457         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1458         * nptl/pt-fork.c: ... here.
1459         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1460         * nptl/pthread-pi-defines.sym: ... here.
1461         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1462         * nptl/pthread_attr_getaffinity.c: ... here.
1463         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1464         * nptl/pthread_attr_setaffinity.c: ... here.
1465         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1466         * nptl/pthread_mutex_cond_lock.c: ... here.
1467         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1468         Update #include.
1469         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1470         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1471         * nptl/pthread_once.c: ... here, replacing old file.
1472         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1473         * nptl/pthread_yield.c: ... here.
1474         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1475         * nptl/register-atfork.c: ... here.
1476         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1477         * nptl/sem_post.c: ... here.
1478         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1479         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1480         * nptl/sem_timedwait.c: ... here.
1481         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1482         * nptl/sem_trywait.c: ... here.
1483         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1484         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1485         * nptl/sem_wait.c: ... here.
1486         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1487         * nptl/structsem.sym: ... here.
1488         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1489         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1490         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1491         * nptl/unregister-atfork.c: ... here.
1492         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1493         * nptl/unwindbuf.sym: ... here.
1494         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1495         * sysdeps/nptl/fork.c: ... here.
1496         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1497         * sysdeps/nptl/fork.h: ... here.
1498         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1499         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1500         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1501         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1502         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1503         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1504         * sysdeps/unix/sysv/linux/getpid.c: ... here.
1505         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1506         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1507         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1508         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1509         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1510         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1511         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1512         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1513         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1514         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1515         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1516         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1517         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1518         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1519         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1520         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1521         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1522         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1523         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1524         * sysdeps/unix/sysv/linux/raise.c: ... here.
1525         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1526         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1527         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1528         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1529         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1530         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1531         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1532         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1533         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1534         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1535         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1536         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1537         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1538         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1539         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1540
1541 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1542
1543         * sysdeps/generic/memcopy.h: Add comment for
1544         MEMCPY_OK_FOR_FWD_MEMMOVE.
1545
1546 2014-07-04  Will Newton  <will.newton@linaro.org>
1547
1548         * string/memchr.c: Merge from gnulib.
1549         [_LIBC]: Remove conditionals.
1550         (__ptr_t): Remove define.
1551         (LONG_MAX_32_BITS): Likewise.
1552         (LONG_MAX): Likewise.
1553         (MEMCHR): Use ANSI prototype and optimize algorithm.
1554
1555         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1556
1557 2014-07-03  Roland McGrath  <roland@hack.frob.com>
1558
1559         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1560         (lll_futex_timed_wait_bitset): Fix syscall argument count.
1561
1562         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1563         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1564         in a bare environment with no <stdlib.h> installed.
1565         * sysdeps/nptl/configure: Regenerated.
1566
1567         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1568
1569         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1570         AC_EGREP_CPP for kernel header checks, so they only succeed if
1571         including <linux/version.h> actually works right.
1572         * sysdeps/unix/sysv/linux/configure: Regenerated.
1573
1574         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1575         value so it's not diagnosed as unused.
1576
1577         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1578         thing) with "ifeq ($(subdir),rt)".
1579
1580 2014-07-03  Richard Henderson  <rth@redhat.com>
1581
1582         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1583         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1584         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1585
1586         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1587         (math_force_eval): New.
1588
1589         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1590         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1591
1592         * sysdeps/alpha/fpu/s_round.c: Remove file.
1593         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1594
1595         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1596         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1597         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1598         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1599         (_dl_start, print_statistics): Likewise.
1600         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1601         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1602
1603         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1604         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1605         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1606         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1607         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1608         (HP_SMALL_TIMING_AVAIL): Define.
1609         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1610         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1611         (HP_SMALL_TIMING_AVAIL): Define.
1612         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1613         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1614
1615         * sysdeps/aarch64/hp-timing.h: New file.
1616
1617         * sysdeps/generic/hp-timing.h: Remove dead comment.
1618         * sysdeps/generic/hp-timing-common.h: New file.
1619         * sysdeps/alpha/hp-timing.h: Include it.
1620         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1621         * sysdeps/i386/i686/hp-timing.h: Likewise.
1622         * sysdeps/ia64/hp-timing.h: Likewise.
1623         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1624         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1625         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1626         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1627         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1628         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1629         (hp_timing_t): New.
1630
1631         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1632         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1633         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1634         * elf/rtld.c (_dl_start_final): Likewise.
1635         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1636         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1637         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1638         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1639         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1640         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1641         (HP_TIMING_DIFF_INIT): Remove.
1642         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1643         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1644         (HP_TIMING_DIFF_INIT): Remove.
1645         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1646         * sysdeps/i386/i686/hp-timing.c: Remove file.
1647         * sysdeps/x86_64/hp-timing.c: Remove file.
1648         * sysdeps/ia64/hp-timing.c: Remove file.
1649         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1650         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1651         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1652         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1653
1654         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1655         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1656         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1657         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1658         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1659         (HP_TIMING_ACCUM): Remove.
1660         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1661         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1662         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1663
1664         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1665         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1666         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1667         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1668         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1669         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1670         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1671         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1672
1673         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1674
1675 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
1676
1677         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1678
1679 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1680
1681         Sync up with gettext.
1682         * intl/loadmsgcat.c: Define O_BINARY if not defined.
1683         [_MSC_VER]: Include malloc.h
1684         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1685         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1686         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
1687         TEMP_FAILURE_RETRY.  Cast return of alloca.
1688         [!_LIBC] Call gl_rwlock_init.
1689         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1690
1691 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1692
1693         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1694         before checking its value.
1695
1696 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1697
1698         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1699
1700         * debug/memcpy_chk.c: Don't include pagecopy.h.
1701         * debug/mempcpy_chk.c: Likewise.
1702         * string/memcpy.c: Likewise.
1703         * string/memmove.c: Likewise.
1704         * sysdeps/powerpc/memmove.c: Likewise.
1705         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
1706         definition of PAGE_COPY_FWD_MAYBE here...
1707         * sysdeps/generic/pagecopy.h: ... from here.
1708         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1709
1710 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1711             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1712
1713         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1714         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1715         optimizations.
1716         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1717         (__libc_ifunc_impl_list): Likewise.
1718         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1719         multiarch strcat for PPC64.
1720         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1721         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1722
1723 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1724
1725         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1726
1727 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1728
1729         * intl/loadmsgcat.c: Remove declaration of
1730         get_sysdep_segment_value.
1731         (get_sysdep_segment_value): Use ISO C style.
1732         (_nl_load_domain): Use ISO C style.  Get rid of redundant
1733         semicolon.  Fix typo and formatting in comment.
1734         (_nl_unload_domain): Use ISO C style.
1735
1736         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1737
1738 2014-07-02  Will Newton  <will.newton@linaro.org>
1739
1740         * malloc/obstack.c: Merge from gnulib master.
1741         [HAVE_CONFIG_H]: Remove conditional code.
1742         [!_LIBC]: Include config.h.
1743         [!ELIDE_CODE]: Don't include inttypes.h, include
1744         stdint.h unconditionally.
1745         (print_and_abort): Mark as _Noreturn.
1746         (_obstack_allocated_p): Mark as __attribute_pure__.
1747         (obstack_free): Rename to __obstack_free.
1748         [!__attribute__]: Remove conditional code.
1749         * malloc/obstack.h: Merge from gnulib master.
1750         [__cplusplus]: Move conditional down.
1751         [!__attribute_pure__]: Define __attribute_pure__ here
1752         if it is not already defined.
1753         (_obstack_memory_used): Mark as __attribute_pure__.
1754         [!__obstack_free]: Define as obstack_free.
1755         [__GNUC__]: Remove check for ancient NeXT gcc.
1756
1757 2014-07-02  Will Newton  <will.newton@linaro.org>
1758             Paul Eggert  <eggert@cs.ucla.edu>
1759
1760         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1761
1762 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1763
1764         * resolv/gethnamaddr.c: Add comment warning that the file is
1765         not maintained.
1766
1767 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
1768
1769         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1770         entries.
1771
1772         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1773         entry for aio_cancel and aio_cancel64.
1774         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1775         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1776         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1777         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1778         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1779         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1780         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1781         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1782         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1783         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1784         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1785         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1786         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1787
1788 2014-07-01  Roland McGrath  <roland@hack.frob.com>
1789
1790         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1791         * nptl/pthread_mutex_lock.c: Likewise.
1792         * nptl/pthread_mutex_timedlock.c: Likewise.
1793         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1794
1795 2014-07-01  Richard henderson  <rth@redhat.com>
1796
1797         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1798         (__isnan, __isnanl): Remove.
1799         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1800
1801         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1802
1803 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1804
1805         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1806
1807 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1808
1809         * resolv/nss_dns/dns-host.c (getanswer_r)
1810         [MULTI_PTRS_ARE_ALIASES]: Remove code.
1811
1812 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
1813
1814         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1815         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1816         undefine.
1817         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1818         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1819
1820 2014-07-01  Roland McGrath <roland@hack.frob.com>
1821
1822         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1823         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1824
1825         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1826         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1827
1828         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1829         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1830         ... here.
1831         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1832         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1833
1834         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1835         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1836         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1837         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1838
1839         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1840         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1841         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1842         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1843         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1844         Moved ...
1845         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1846         ... here.
1847         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1848         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1849         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1850         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1851         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1852         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1853         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1854         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1855         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1856         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1857         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1858         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1859         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1860         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1861         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1862         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1863         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1864         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1865         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1866         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1867         ... here.
1868         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1869         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1870         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1871         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1872         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1873         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1874         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1875         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1876
1877 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
1878
1879         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1880         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1881         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1882         Add sysdep.
1883
1884 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1885
1886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1887
1888 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1889
1890         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1891         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1892
1893         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1894
1895         * sysdeps/arm/libm-test-ulps: Regenerated.
1896
1897 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1898             Roland McGrath <roland@hack.frob.com>
1899
1900         * test-skeleton.c (signal_handler): Kill the whole process group
1901         before killing the child individually.
1902         (main): Report any failure on `setpgid'.
1903
1904 2014-06-30  Roland McGrath  <roland@hack.frob.com>
1905
1906         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1907         from _TLS_H to _ARM_NPTL_TLS_H.
1908         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1909         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1910
1911 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1912
1913         [BZ #16539]
1914         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1915         (__expm1l): Return argument unchanged when small but not
1916         subnormal.
1917
1918         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1919         include macro name.
1920         (_FP_UNPACK_RAW_1_P): Likewise.
1921         (_FP_PACK_RAW_1): Likewise.
1922         (_FP_PACK_RAW_1_P): Likewise.
1923         (_FP_MUL_MEAT_1_wide): Likewise.
1924         (_FP_MUL_MEAT_DW_1_hard): Likewise.
1925         (_FP_MUL_MEAT_1_hard): Likewise.
1926         (_FP_DIV_MEAT_1_imm): Likewise.
1927         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1928         (_FP_DIV_MEAT_1_udiv): Likewise.
1929         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1930         (_FP_UNPACK_RAW_2): Likewise.
1931         (_FP_UNPACK_RAW_2_P): Likewise.
1932         (_FP_PACK_RAW_2): Likewise.
1933         (_FP_PACK_RAW_2_P): Likewise.
1934         (_FP_MUL_MEAT_DW_2_wide): Likewise.
1935         (_FP_MUL_MEAT_2_wide): Likewise.
1936         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1937         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1938         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1939         (_FP_MUL_MEAT_2_gmp): Likewise.
1940         (_FP_DIV_MEAT_2_udiv): Likewise.
1941         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1942         (_FP_FRAC_SRL_4): Likewise.
1943         (_FP_FRAC_SRST_4): Likewise.
1944         (_FP_FRAC_SRS_4): Likewise.
1945         (_FP_UNPACK_RAW_4): Likewise.
1946         (_FP_UNPACK_RAW_4_P): Likewise.
1947         (_FP_PACK_RAW_4): Likewise.
1948         (_FP_PACK_RAW_4_P): Likewise.
1949         (_FP_MUL_MEAT_DW_4_wide): Likewise.
1950         (_FP_MUL_MEAT_4_wide): Likewise.
1951         (_FP_MUL_MEAT_4_gmp): Likewise.
1952         (umul_ppppmnnn): Likewise.
1953         (_FP_DIV_MEAT_4_udiv): Likewise.
1954         (__FP_FRAC_ADD_4): Likewise.
1955         (__FP_FRAC_SUB_3): Likewise.
1956         (__FP_FRAC_SUB_4): Likewise.
1957         (__FP_FRAC_DEC_3): Likewise.
1958         (__FP_FRAC_DEC_4): Likewise.
1959         (__FP_FRAC_ADDI_4): Likewise.
1960         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1961         (_FP_FRAC_SRL_8): Likewise.
1962         (_FP_FRAC_SRS_8): Likewise.
1963
1964         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1965         include macro name.
1966         (FP_UNPACK_RAW_EP): Likewise.
1967         (FP_PACK_RAW_E): Likewise.
1968         (FP_PACK_RAW_EP): Likewise.
1969         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1970         (_FP_ISSIGNAN): Likewise.
1971         (_FP_ADD_INTERNAL): Likewise.
1972         (_FP_FMA): Likewise.
1973         (_FP_CMP): Likewise.
1974         (_FP_SQRT): Likewise.
1975         (_FP_TO_INT): Likewise.
1976         (_FP_FROM_INT): Likewise.
1977         (FP_EXTEND): Likewise.
1978         (_FP_DIV_MEAT_N_loop): Likewise.
1979
1980 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1981
1982         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1983         throughout.
1984
1985 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
1986
1987         [BZ #17097]
1988         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1989         result with correct sign in case of exponents that produce
1990         overflow except for X very close to 1.
1991
1992 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
1993
1994         mktime: merge #if/#ifdef usage from glibc
1995         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1996         as that works with both Glibc's and Gnulib's style.
1997         See thread starting at Siddhesh Poyarekar's bug report at:
1998         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1999
2000 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2001
2002         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2003         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2004         * sysdeps/tile/tilegx/memmove.c: Remove file.
2005
2006 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2007
2008         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2009         abi-name definition.
2010         * scripts/soversions.awk: Do not handle or generate ABI lines.
2011         * shlib-versions: Remove ABI entries.
2012         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2013         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2014
2015 2014-06-27  Roland McGrath  <roland@hack.frob.com>
2016
2017         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2018         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2019         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2020         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2021         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2022         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2023         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2024         Moved ...
2025         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2026         ... here.
2027         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2028         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2029         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2030         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2031         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2032         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2033         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2034         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2035         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2036         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2037         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2038         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2039         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2040         Moved ...
2041         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2042         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2043         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2044         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2045         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2046         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2047         Moved ...
2048         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2049         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2050         Moved ...
2051         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2052         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2053         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2054         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2055         Moved ...
2056         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2057         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2058         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2059         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2060         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2061         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2062         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2063         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2064         Moved ...
2065         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2066         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2067         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2068         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2069         Moved ...
2070         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2071         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2072         Moved ...
2073         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2074         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2075         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2076         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2077         Moved ...
2078         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2079         ... here.
2080         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2081         Identical file removed.
2082         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2083         Moved ...
2084         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2085         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2086         Identical file removed.
2087         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2088         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2089         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2090         Moved ...
2091         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2092         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2093         Identical file removed.
2094         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2095         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2096         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2097         Identical file removed.
2098         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2099         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2100         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2101         Identical file removed.
2102         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2103         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2104         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2105         Identical file removed.
2106         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2107         Moved ...
2108         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2109         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2110         Identical file removed.
2111         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2112         Moved ...
2113         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2114         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2115         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2116         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2117         Identical file removed.
2118         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2119         Moved ...
2120         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2121         ... here.
2122         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2123         Identical file removed.
2124         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2125         Moved ...
2126         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2127         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2128         Identical file removed.
2129         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2130         Moved ...
2131         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2132         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2133         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2134         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2135         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2136         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2137         Moved ...
2138         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2139         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2140         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2141
2142         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2143         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2144         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2145         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2146         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2147
2148 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
2149
2150         [BZ #17092]
2151         * nscd/nscd.c (monitor_child): Return exit status of child
2152         instead of return value from wait syscall.
2153
2154 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2155
2156         * configure.ac (libc_commonpagesize): Remove variable.
2157         (libc_relro_required): Likewise.
2158         (libc_cv_z_relro): Remove configure test.
2159         * configure: Regenerated.
2160         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2161         variable.
2162         (libc_relro_required): Likewise.
2163         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2164         (libc_relro_required): Likewise.
2165         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2166         (libc_relro_required): Likewise.
2167         * sysdeps/arm/preconfigure: Regenerated.
2168         * sysdeps/ia64/preconfigure: Remove file.
2169         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2170         variable.
2171         (libc_relro_required): Likewise.
2172
2173         [BZ #16561]
2174         [BZ #16562]
2175         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2176         (__ieee754_yn): Set FE_TONEAREST mode internally and then
2177         recompute overflowing results in original rounding mode.
2178         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2179         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2180         recompute overflowing results in original rounding mode.
2181         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2182         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2183         recompute overflowing results in original rounding mode.
2184         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2185         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2186         recompute overflowing results in original rounding mode.
2187         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2188         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2189         recompute overflowing results in original rounding mode.
2190         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2191         (libc_feholdsetround_ctx): New macro.
2192         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2193         * sysdeps/i386/fpu/libm-test-ulps: Update.
2194         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2195
2196 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2197
2198         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2199         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2200         corresponding .cpsetup call.
2201
2202 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2203
2204         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2205         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2206         * sysdeps/arm/Makefile [$(subdir) = csu]
2207         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2208         (static-only-routines): Add aeabi_read_tp here.
2209         (shared-only-routines): Add libc-aeabi_read_tp here.
2210         (CFLAGS-libc-start.c): Add -fexceptions here.
2211         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2212         (sysdep_routines, static-only-routines, shared-only-routines):
2213         Don't add to these here.
2214         (CFLAGS-libc-start.c): Likewise.
2215
2216         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2217         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2218         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2219         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2220         * sysdeps/arm/Makefile [$(subdir) = rt]
2221         (librt-sysdep_routines, librt-shared-only-routines):
2222         Append rt-aeabi_unwind_cpp_pr1 here.
2223         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2224         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2225         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2226         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2227         Append nptl-aeabi_unwind_cpp_pr1 here.
2228         (tests): Filter out tst-cleanupx4 here.
2229         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2230         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2231         Don't do those here.
2232
2233 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2234
2235         * scripts/list-sources.sh: Do not handle ports specially.
2236
2237 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2238
2239         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2240         * sysdeps/arm/feupdateenv.c: Likewise.
2241
2242         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2243
2244 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2245
2246         * manual/texinfo.tex: Update to version 2014-05-05.10 with
2247         trailing whitespace removed.
2248         * scripts/config.guess: Update to version 2014-03-23.
2249         * scripts/config.sub: Update to version 2014-05-01
2250         * scripts/install-sh: Update to version 2013-12-25.23.
2251         * scripts/move-if-change: Update from gnulib.
2252
2253 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2254
2255         * debug/memmove_chk.c: Remove pagecopy.h include.
2256
2257 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
2258
2259         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
2260         identical to gnulib mktime.
2261
2262 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2263
2264         * configure.ac: Do not test for machine being rs6000.  Do not test
2265         for powerpc*-*soft.
2266         * configure: Regenerated.
2267
2268         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2269         test.
2270         * configure: Regenerated.
2271         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2272         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2273         Remove configure test.
2274         * sysdeps/arm/configure: Regenerated.
2275         * sysdeps/nptl/configure.ac: Do not check
2276         libc_cv_asm_cfi_directives.
2277         * sysdeps/nptl/configure: Regenerated.
2278         * sysdeps/x86_64/nptl/configure.ac: Remove file.
2279         * sysdeps/x86_64/nptl/configure: Remove generated file.
2280         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2281         unconditional.
2282         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2283
2284 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2285
2286         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2287         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2288         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2289         it is defined.
2290
2291         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2292         instead of whether it is defined.
2293         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2294         * sysdeps/hppa/dl-machine.h: Likewise.
2295         * sysdeps/ia64/dl-machine.h: Likewise.
2296         * sysdeps/m68k/dl-machine.h: Likewise.
2297         * sysdeps/microblaze/dl-machine.h: Likewise.
2298         * sysdeps/mips/dl-machine.: Likewise.
2299         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2300         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2301         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2302         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2303         * sysdeps/sh/dl-machine.h: Likewise.
2304         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2305         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2306         * sysdeps/tile/dl-machine.h: Likewise.
2307         * sysdeps/x86_64/dl-machine.h: Likewise.
2308
2309         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2310         code.
2311         (verify_persistent_db): Likewise.
2312
2313 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2314
2315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2316         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2318         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2320         Moved ...
2321         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2322         ... here.
2323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2324         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2326         Identical file removed.
2327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2328         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2330         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2332         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2334         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2336         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2338         Moved ...
2339         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2341         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2343         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2345         Moved ...
2346         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2348         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2350         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2352         Identical file removed.
2353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2354         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2356         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2358         Moved ...
2359         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2360         ... here.
2361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2362         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2364         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2366         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2368         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2370         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2372         Moved ...
2373         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2375         Moved ...
2376         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2378         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2380         Moved ...
2381         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2383         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2384
2385         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2386         folded into ...
2387         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2388         * sysdeps/unix/sysv/linux/s390/Versions
2389         (libpthread: GLIBC_2.19): New version set.
2390         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2391         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2392         (librt: GLIBC_2.3.3): New version set.
2393         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2394         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2395         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2396         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2397         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2398         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2399         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2400         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2401         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2402         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2403         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2404         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2405         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2406         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2407         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2408         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2409         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2410         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2411         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2412         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2413         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2414         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2415         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2416         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2417         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2418         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2419         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2420         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2421         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2422         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2423         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2424         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2425         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2426         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2427         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2428         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2429         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2430         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2431         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2432         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2433         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2434         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2435         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2436         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2437         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2438
2439         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2440         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2441         (__libc_vfork): Define the function under this name.
2442         [!NOT_IN_libc] (__vfork): Make this an alias.
2443         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2444         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2445         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2446         (__libc_vfork): Define the function under this name.
2447         [!NOT_IN_libc] (__vfork): Make this an alias.
2448         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2449         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2450         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2451         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2452         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2453         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2454
2455         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2456         code that was previously under [RESET_PID].
2457         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2458         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2459         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2460
2461         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2462         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2463         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2464         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2465         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2466         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2467         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2468         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2469         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2470         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2471         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2472         Moved ...
2473         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2474         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2475         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2476         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2477         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2478         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2479         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2480         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2481         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2482         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2483         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2484         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2485         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2486         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2487         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2488         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2489         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2490         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2491         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2492         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2493         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2494         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2495         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2496         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2497         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2498         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2499         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2500         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2501         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2502
2503 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2504
2505         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2506         that was previously under [RESET_PID].
2507         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2508
2509 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2510
2511         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2512         not undefine and redefine.
2513         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2514         [O_CLOEXEC]: Make code unconditional.
2515         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2516         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2517         <kernel-features.h>.
2518         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2519         conditional variable definition.
2520         (shm_open) [O_CLOEXEC]: Make code unconditional.
2521         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2522         code.
2523
2524         * configure.ac (USE_REGPARMS): Don't define here.
2525         * configure: Regenerated.
2526         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2527         * sysdeps/i386/configure: Regenerated.
2528
2529         * nptl/createthread.c: Don't include kernel-features.h.
2530         * nptl/pthread_cancel.c: Likewise.
2531         * nptl/pthread_condattr_setclock.c: Likewise.
2532         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2533         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2534         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2535         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2536         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2537         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2538         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2539         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2540         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2541         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2542         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2543         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2544         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2545         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2546         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2547         * nscd/gai.c: Likewise.
2548         * nss/nss_db/db-open.c: Likewise.
2549         * sysdeps/generic/ldsodefs.h: Likewise.
2550         * sysdeps/sh/nptl/tls.h: Likewise.
2551         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2552         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2553         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2554         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2555         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2556         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2557         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2558         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2559         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2560         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2561         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2562         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2563         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2564         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2565         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2566         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2567         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2568         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2569         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2570         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2571         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2572         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2573         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2574         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2575         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2576         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2577         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2578         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2579         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2580         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2581         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2582         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2583         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2584         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2585         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2586         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2587         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2588         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2589         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2590         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2591         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2592         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2593         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2594         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2595         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2596         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2597         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2598         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2599         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2600         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2601         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2602         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2603         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2604         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2605         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2606         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2607         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2608         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2631         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2632         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2633         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2634         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2635         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2636         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2637         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2638         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2639         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2640         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2641         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2642         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2643         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2644         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2645         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2646         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2647         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2648         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2649         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2650         * sysdeps/unix/sysv/linux/system.c: Likewise.
2651         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2652         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2653         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2654         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2655         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2656         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2657         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2658
2659         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2660         * configure: Regenerated.
2661         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2662
2663         * configure.ac (base_machine): Do not set specially for particular
2664         machines here.
2665         * configure: Regenerated.
2666         * sysdeps/powerpc/preconfigure: Move machine and base_machine
2667         settings from configure.ac.
2668         * sysdeps/i386/preconfigure: New file.
2669         * sysdeps/s390/preconfigure: Likewise.
2670         * sysdeps/sh/preconfigure: Likewise.
2671         * sysdeps/sparc/preconfigure: Likewise.
2672
2673 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2674
2675         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2676         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2677         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2678         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2679         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2680         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2681         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2682         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2683         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2684         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2685         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2686         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2687         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2688         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2689         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2690         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2691         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2692         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2693         * sysdeps/sparc/sparc64/Makefile: ... appended here.
2694
2695         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2696         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2697         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2698         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2699         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2700         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2701         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2702         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2703         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2704         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2705         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2706         * sysdeps/sparc/sparc32/sem_post.c: ... here.
2707         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2708         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2709         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2710         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2711         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2712         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2713         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2714         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2715         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2716         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2717         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2718         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2719         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2720         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2721         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2722         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2723         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2724         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2725         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2726         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2727         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2728         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2729         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2730         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2731         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2732         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2733
2734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2735         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2736         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2737         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2739         Moved ...
2740         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2741         ... here.
2742         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2743         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2744         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2745         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2746         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2747         Moved ...
2748         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2749         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2750         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2752         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2753         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2754         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2755         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2756         Moved ...
2757         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2758         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2759         Moved ...
2760         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2761         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2762         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2763         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2764         Moved ...
2765         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2766         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2767         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2768         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2769         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2771         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2773         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2775         Moved ...
2776         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2777         ... here.
2778         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2779         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2780         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2781         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2782         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2783         Moved ...
2784         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2786         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2787         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2788         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2790         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2791         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2792         Moved ...
2793         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2794         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2795         Moved ...
2796         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2797         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2798         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2799         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2800         Moved ...
2801         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2802         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2803         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2804         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2805         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2806
2807 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2808
2809         * timezone/checktab.awk: Update from tzcode 2014e.
2810         * timezone/private.h: Likewise.
2811         * timezone/tzfile.h: Likewise.
2812         * timezone/zdump.c: Likewise.
2813         * timezone/zic.c: Likewise.
2814
2815         * sysdeps/unix/sysv/linux/kernel-features.h
2816         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2817         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2818         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2819         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2820         Remove conditional code.
2821
2822 2014-06-25  Will Newton  <will.newton@linaro.org>
2823
2824         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2825         (_dl_arm_cap_flags): Add HWCAP2 values.
2826         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2827         (_DL_HWCAP_COUNT): Increase to 37.
2828         (_DL_HWCAP_LAST): New define.
2829         (_DL_HWCAP2_LAST): New define.
2830         (_dl_procinfo): Add support for printing
2831         AT_HWCAP2 entries.
2832         (_dl_string_hwcap): Use _dl_hwcap_string.
2833
2834 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2835
2836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2837
2838 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2839
2840         * README: Do not mention ports directory.
2841
2842         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2843         Remove macro.
2844         * sysdeps/unix/sysv/linux/futimes.c: Do not include
2845         <kernel-features.h>.
2846         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2847         conditional variable definition.
2848         (__futimes): Update comment.
2849         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2850         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2851
2852         [BZ #16560]
2853         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2854         arguments close to 0.
2855         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2856         Likewise.
2857         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2858         Likewise.
2859         * math/auto-libm-test-in: Add more tests of exp10.
2860         * math/auto-libm-test-out: Regenerated.
2861         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2862
2863         * sysdeps/unix/sysv/linux/kernel-features.h
2864         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2865         * sysdeps/unix/sysv/linux/readv.c: Do not include
2866         <kernel-features.h>.
2867         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2868         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2869         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2870         unconditional.
2871         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2872         conditional code.
2873         * sysdeps/unix/sysv/linux/writev.c: Do not include
2874         <kernel-features.h>.
2875         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2876         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2877         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2878         unconditional.
2879         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2880         conditional code.
2881
2882 2014-06-25  Will Newton  <will.newton@linaro.org>
2883
2884         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2885         comment changes throughout the file.  Remove checks
2886         for HAVE_*_H definitions that are not required.
2887         (__gen_tempname): Call abort if an unknown kind value is
2888         passed.
2889
2890 2014-06-25  Andreas Schwab  <schwab@suse.de>
2891
2892         [BZ #17086]
2893         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2894         scalbln, scalblnf, scalblnl in libc.
2895
2896 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2897
2898         [BZ #17086]
2899         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2900         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2901         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2902
2903 2014-06-24  Roland McGrath  <roland@hack.frob.com>
2904
2905         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2906         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2907         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2908         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2909         Update #include.
2910         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2911         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2912         Update #include.
2913         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2914         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2915         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2916         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2917         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2918         * sysdeps/x86/bits/pthreadtypes.h: ... here.
2919         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2920         * sysdeps/x86/bits/semaphore.h: ... here.
2921         * sysdeps/x86/nptl/elide.h: Moved ...
2922         * sysdeps/x86/elide.h: ... here.
2923         * sysdeps/x86_64/nptl/Implies: File removed.
2924         * sysdeps/i386/nptl/Implies: File removed.
2925
2926 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
2927
2928         [BZ #16539]
2929         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2930         return the argument for normal arguments with exponent below -64.
2931         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2932         Likewise.
2933         * math/auto-libm-test-in: Add another test of expm1.
2934         * math/auto-libm-test-out: Regenerated.
2935
2936         [BZ #16287]
2937         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2938         calling __erfcl for arguments at least 16.
2939         * math/auto-libm-test-in: Add more tests of erf.
2940         * math/auto-libm-test-out: Regenerated.
2941
2942         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2943         individual architectures.
2944         * sysdeps/unix/sysv/linux/configure: Regenerated.
2945         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2946         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2947         * sysdeps/unix/sysv/linux/powerpc/configure.ac
2948         (ldd_rewrite_script): Define variable.
2949         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2951         file.
2952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2953         generated file.
2954         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2955         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2956         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2957         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2958         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2959         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2960         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2961         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2962
2963 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2964
2965         [BZ #17084]
2966         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2967         Rename member __data.d to __data.__elision_data.
2968
2969 2014-06-24  Wilco  <wdijkstr@arm.com>
2970
2971         * NEWS: Add 16918 to fixed bug list.
2972
2973 2014-06-24  Wilco  <wdijkstr@arm.com>
2974
2975         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2976
2977 2014-06-24  Wilco  <wdijkstr@arm.com>
2978
2979         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2980         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2981         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2982         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2983         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2984         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2985         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2986         Use _FPU_MASK_RM.
2987
2988 2014-06-24  Wilco  <wdijkstr@arm.com>
2989
2990         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2991
2992 2014-06-24  Wilco  <wdijkstr@arm.com>
2993
2994         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2995         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2996         * sysdeps/arm/fesetround.c (fesetround): Remove space.
2997         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2998
2999 2014-06-24  Wilco  <wdijkstr@arm.com>
3000
3001         [BZ #16918]
3002         * sysdeps/arm/feupdateenv.c (feupdateenv):
3003         Rewrite to reduce FPSCR accesses and fix return value.
3004
3005 2014-06-24  Wilco  <wdijkstr@arm.com>
3006
3007         * sysdeps/arm/fclrexcpt.c (feclearexcept):
3008         Optimize to avoid unnecessary FPSCR writes.
3009         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3010         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3011         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3012         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3013
3014 2014-06-24  Wilco  <wdijkstr@arm.com>
3015
3016         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3017         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3018         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3019         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3020         Call libc_fetestexcept_vfp.
3021         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3022         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3023         __SOFTFP__ ifdef so that they can be built for softfp.
3024
3025 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3026
3027         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3028         argument type signed char.
3029
3030         * Makerules (check-abi): Dump diff of symlist if the test
3031         fails.
3032
3033 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3034
3035         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3036         using abort.
3037
3038         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3039         Remove unused variable ST.
3040
3041 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3042
3043         [BZ #16354]
3044         [BZ #17061]
3045         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3046         small arguments before calling __expm1.
3047         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3048         small arguments before calling __expm1f.
3049         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3050         small arguments before calling __expm1l.
3051         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3052         Likewise.
3053         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3054         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
3055         spurious underflow for some cosh tests.
3056         * math/auto-libm-test-out: Regenerated.
3057         * sysdeps/i386/fpu/libm-test-ulps: Update.
3058
3059         [BZ #17050]
3060         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3061         (__ieee754_y1): Set errno if return value overflows.
3062         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3063         (__ieee754_y1f): Set errno if return value overflows.
3064         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3065         (__ieee754_y1l): Set errno if return value overflows.
3066         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3067         (__ieee754_y1l): Set errno if return value overflows.
3068         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3069         * math/auto-libm-test-out: Regenerated.
3070
3071         * math/gen-auto-libm-tests.c: Document use of
3072         ignore-zero-inf-sign.
3073         (input_flag_type): Add value flag_ignore_zero_inf_sign.
3074         (input_flags): Add ignore-zero-inf-sign.
3075         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3076         * math/gen-libm-test.pl (generate_testfile): Handle
3077         ignore-zero-inf-sign.
3078         * math/auto-libm-test-in: Mark some cpow tests with
3079         ignore-zero-inf-sign and some with xfail-rounding.
3080         * math/auto-libm-test-out: Regenerated.
3081         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3082         * sysdeps/i386/fpu/libm-test-ulps: Update.
3083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3084
3085         [BZ #16315]
3086         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3087         overflowing or underflowing operations take place with sign of
3088         result.
3089         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3090         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3091         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3092         (__ieee754_pow): Recompute overflowing and underflowing results in
3093         original rounding mode.
3094         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3095         (__powl_helper): Allow negative argument X and scale negated value
3096         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
3097         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3098         overflowing or underflowing operations take place with sign of
3099         result.
3100         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3101         Include <math.h>.
3102         * math/auto-libm-test-in: Add more tests of pow.
3103         * math/auto-libm-test-out: Regenerated.
3104         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3105         (pow_tonearest_test_data): Remove.
3106         (pow_test_tonearest): Likewise.
3107         (pow_towardzero_test_data): Likewise.
3108         (pow_test_towardzero): Likewise.
3109         (pow_downward_test_data): Likewise.
3110         (pow_test_downward): Likewise.
3111         (pow_upward_test_data): Likewise.
3112         (pow_test_upward): Likewise.
3113         (main): Don't call removed functions.
3114         * sysdeps/i386/fpu/libm-test-ulps: Update.
3115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3116
3117 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3118
3119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3120         Moved ...
3121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3123         Moved ...
3124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3126         Moved ...
3127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3129         Moved ...
3130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3132         File removed.
3133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3134         File removed.
3135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3136         File removed.
3137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3138         File removed.
3139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3140         File removed.
3141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3142         File removed.
3143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3144         File removed.
3145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3146         File removed.
3147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3148         File removed.
3149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3150         File removed.
3151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3152         File removed.
3153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3154         File removed.
3155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3156         Moved ...
3157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3159         Moved ...
3160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3161         ... here.
3162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3163         Moved ...
3164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3166         Moved ...
3167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3169         Moved ...
3170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3172         Moved ...
3173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3175         Moved ...
3176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3178         Moved ...
3179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3181         Moved ...
3182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3185         ... here.
3186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3187         Moved ...
3188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3190         Moved ...
3191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3192         ... here.
3193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3194         Moved ...
3195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3196         ... here.
3197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3198         Moved ...
3199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3200         ... here.
3201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3202         Moved ...
3203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3205         Moved ...
3206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3210         Moved ...
3211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3212         ... here.
3213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3214         Moved ...
3215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3216         ... here.
3217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3218         Moved ...
3219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3221         Moved ...
3222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3224         Moved ...
3225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3227         Moved ...
3228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3230         Moved ...
3231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3232         ... here.
3233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3234         Moved ...
3235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3237         Moved ...
3238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3240         Moved ...
3241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3243         Moved ...
3244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3248         Moved ...
3249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3251         Moved ...
3252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3254         Moved ...
3255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3256         ... here.
3257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3258         Moved ...
3259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3260         ... here.
3261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3262         Moved ...
3263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3264         ... here.
3265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3266         Moved ...
3267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3269         Moved ...
3270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3272         Moved ...
3273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3275         Moved ...
3276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3277         ... here.
3278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3279         Moved ...
3280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3281         ... here.
3282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3283         Moved ...
3284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3285         ... here.
3286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3287         Moved ...
3288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3290         Moved ...
3291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3292
3293 2014-06-23  Will Newton  <will.newton@linaro.org>
3294             Wilco  <wdijkstr@arm.com>
3295
3296         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3297         implementation.  Include get-rounding-mode.h.
3298         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3299         [!libc_feholdsetround_noex_ctx]: Define
3300         libc_feholdsetround_noex_ctx.
3301         [!libc_feholdsetround_noexf_ctx]: Define
3302         libc_feholdsetround_noexf_ctx.
3303         [!libc_feholdsetround_noexl_ctx]: Define
3304         libc_feholdsetround_noexl_ctx.
3305         (libc_feholdsetround_ctx): New function.
3306         (libc_feresetround_ctx): New function.
3307         (libc_feholdsetround_noex_ctx): New function.
3308         (libc_feresetround_noex_ctx): New function.
3309
3310 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3311
3312         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3313         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3314         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3315         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3316         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3317         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3318
3319         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3320         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3321         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3322         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3323         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3324         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3325         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3326         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3327         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3328         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3329         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3330         Moved ...
3331         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3332         ... here.
3333         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3334         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3335         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3336         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3337         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3338         Moved ...
3339         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3340         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3341         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3342         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3343         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3344         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3345         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3346         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3347         Moved ...
3348         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3349         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3350         Moved ...
3351         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3352         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3353         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3354         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3355         Moved ...
3356         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3357         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3358         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3359         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3360         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3361         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3362         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3363         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3364         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3365         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3366         Moved ...
3367         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3368         ... here.
3369         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3370         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3371         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3372         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3373         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3374         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3375         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3376         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3377         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3378         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3379         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3380         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3381         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3382         Moved ...
3383         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3384         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3385         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3386         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3387         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3388         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3389         Moved ...
3390         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3391         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3392         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3393         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3394         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3395
3396         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3397         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3398         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3399         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3400         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3401         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3402         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3403         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3404         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3405         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3406         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3407         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3408         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3409         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3410         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3411         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3412         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3413         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3414         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3415         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3416         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3417         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3418         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3419         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3420         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3421         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3422         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3423         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3424
3425 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3426
3427         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3428         (FALLOC_FL_COLLAPSE_RANGE): New macro.
3429         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3430         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3431         (IPV6_PMTUDISC_INTERFACE): Likewise.
3432         (IPV6_PMTUDISC_OMIT): Likewise.
3433
3434 2014-06-23  Andreas Schwab  <schwab@suse.de>
3435
3436         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3437         Remove unused errout label.
3438
3439 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3440
3441         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3442         macro: hardware supports Vector Crypto instructions.
3443
3444 2014-06-23  Will Newton  <will.newton@linaro.org>
3445
3446         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3447         rather than __builtin_expect.
3448
3449         * elf/dl-lookup.c (undefined_msg): Remove variable.
3450         (_dl_lookup_symbol_x): Replace undefined_msg with string
3451         literal.
3452
3453         * elf/dl-lookup.c (do_lookup_unique): New function.
3454         (do_lookup_x): Move STB_GNU_UNIQUE handling code
3455         to a separate function.
3456
3457 2014-06-23  Andreas Schwab  <schwab@suse.de>
3458
3459         [BZ #17079]
3460         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3461         before reading the next line.
3462
3463 2014-06-23  Will Newton  <will.newton@linaro.org>
3464
3465         * test-skeleton.c (signal_handler): Use printf and %m
3466         rather than perror.  Use printf rather than fprintf to
3467         stderr.  Use puts rather than fputs to stderr.
3468         (main): Likewise.
3469
3470 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3471
3472         * nscd/nscd.c (thread_info_t): Remove typedef.
3473         (thread_info): Remove variable.
3474
3475 2014-06-21  Allan McRae  <allan@archlinux.org>
3476
3477         * NEWS: Mention CVE-2014-4043.
3478
3479 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3480
3481         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3482         * nptl/smp.h: ... here.
3483
3484         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3485
3486         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3487         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3488         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3489         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3490
3491         * nptl/allocatestack.c: Include <stack-aliasing.h>.
3492         * nptl/stack-aliasing.h: New file.
3493         * sysdeps/i386/i686/stack-aliasing.h: New file.
3494         * sysdeps/i386/i686/nptl/Makefile: File removed.
3495         * sysdeps/x86_64/stack-aliasing.h: New file.
3496         * sysdeps/x86_64/nptl/Makefile
3497         (CFLAGS-pthread_create.c): Variable removed.
3498
3499         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3500         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3501         old file.
3502         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3503         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3504         old file.
3505
3506 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
3507
3508         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3509         (__ASSUME_SIGFRAME_V2): Remove macro.
3510         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3511         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3512         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3513         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3514         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3515         Declare as function.  Remove conditional macro definitions.
3516         (__default_rt_sa_restorer): Likewise.
3517         (__default_sa_restorer_v1): Remove declaration.
3518         (__default_sa_restorer_v2): Likewise.
3519         (__default_rt_sa_restorer_v1): Likewise.
3520         (__default_rt_sa_restorer_v2): Likewise.
3521         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3522         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3523         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3524
3525 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3526
3527         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3528         (libpthread-routines): Add sysdep.
3529         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3530         * sysdeps/unix/sysv/linux/sparc/Versions
3531         (libpthread: GLIBC_2.3.3): New version set.
3532         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3533         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3534         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3535         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3536         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
3537         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3538         Moved ...
3539         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3540         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3541         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3542         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3543         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3544         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3545         * sysdeps/sparc/nptl/sem_init.c: ... here.
3546         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3547         * sysdeps/sparc/nptl/sem_post.c: ... here.
3548         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3549         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3550         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3551         * sysdeps/sparc/nptl/sem_wait.c: ... here.
3552         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3553         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3554         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3555         (libpthread-routines): Add cpu_relax.
3556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3557         File removed.
3558         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3559         (librt: GLIBC_2.3.3): New version set.
3560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3561         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3562         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3563         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3565         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3566         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3567         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3568         Moved ...
3569         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3570         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3571         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3572         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3573         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3574         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3575         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3576         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3577         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3578         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3579         Moved ...
3580         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3581         Update #include.
3582         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3583         Moved ...
3584         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3585         Update #include.
3586         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3587         Moved ...
3588         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3589         Update #include.
3590         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3591         Moved ...
3592         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3593         Update #include.
3594         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3595         Moved ...
3596         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3597         Update #include.
3598         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3599         Moved ...
3600         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3601         Update #include.
3602         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3603         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3604         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3605         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3606         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3607         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3608         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3609         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3610         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3611         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3612         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3613         Moved ...
3614         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3615         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3616         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3617         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3618         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3619
3620 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3621
3622         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3623         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3624         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3625         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3626         * nscd/nscd.c: Likewise.
3627         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3628         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3629         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3630         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3631
3632         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3633         <kernel-features.h>.
3634         (init_mq_netlink): Remove conditional have_sock_cloexec
3635         definitions.  Remove code conditional on have_sock_cloexec < 0.
3636         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3637         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3638         * sysdeps/unix/sysv/linux/opensock.c: Do not include
3639         <kernel-features.h>.
3640         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3641         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3642
3643 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3644
3645         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3646         Add tests for memset_chk and memset.
3647
3648         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3649         with AVX2_Usable.
3650
3651 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3652
3653         [BZ #16046]
3654         * elf/tst-dl-iter-static.c: New file.
3655         * elf/Makefile (tests-static): Add tst-dl-iter-static.
3656
3657         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3658         error.
3659
3660 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3661
3662         * sysdeps/unix/sysv/linux/kernel-features.h
3663         (__ASSUME_F_GETOWN_EX): Remove macro.
3664         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3665         <kernel-features.h>.
3666         (miss_F_GETOWN_EX): Remove variable or macro.
3667         (do_fcntl): Do not check miss_F_GETOWN_EX.
3668         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3669
3670         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3671         Remove macro.
3672         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3673         [!__ASSUME_AT_RANDOM]: Remove conditional code.
3674         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3675
3676         * sysdeps/unix/sysv/linux/kernel-features.h
3677         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3678         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3679         [ADJ_OFFSET_SS_READ]: Make code unconditional.
3680         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3681
3682 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3683
3684         [BZ #17075]
3685         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3686         Fix calculation of the symbol's value.
3687         * sysdeps/arm/tst-armtlsdescloc.c: New file.
3688         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3689         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3690         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3691         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3692         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3693         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3694         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3695         (modules-names): Add `tst-armtlsdescmod',
3696         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3697         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3698         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3699         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3700         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3701         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3702         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3703         ($(objpfx)tst-armtlsdescloc): New dependency.
3704         ($(objpfx)tst-armtlsdescextnow): Likewise.
3705         ($(objpfx)tst-armtlsdescextlazy): Likewise.
3706         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3707         TLS scheme support.
3708         * sysdeps/arm/configure: Regenerate.
3709
3710 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3711
3712         * include/fcntl.h (__atfct_seterrno): Remove prototype.
3713         (__atfct_seterrno_2): Likewise.
3714         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3715         <kernel-features.h>.
3716         (__ASSUME_ATFCTS): Do not undefine and redefine.
3717         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3718         (__have_atfcts): Remove conditional definition.
3719         (__fxstatat([__NR_fstatat64]: Make code unconditional.
3720         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3721         unreachable if [__ASSUME_ATFCTS].
3722         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3723         not undefine and redefine.
3724         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3725         <kernel-features.h>.
3726         (faccessat) [__NR_faccessat]: Make code unconditional.
3727         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3728         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3729         <kernel-features.h>.
3730         (fchmodat) [__NR_fchmodat]: Make code unconditional.
3731         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3732         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3733         <kernel-features.h>.
3734         (fchownat) [__NR_fchownat]: Make code unconditional.
3735         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3736         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3737         <kernel-features.h>.
3738         (futimesat) [__NR_futimesat]: Make code unconditional.
3739         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3740         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3741         <kernel-features.h>.
3742         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3743         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3744         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3745         <kernel-features.h>.
3746         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3747         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3748         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3749         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3750         <kernel-features.h>.
3751         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3752         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3753         * sysdeps/unix/sysv/linux/linkat.c: Do not include
3754         <kernel-features.h>.
3755         (linkat) [__NR_linkat]: Make code unconditional.
3756         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3757         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3758         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3759         <kernel-features.h>.
3760         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3761         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3762         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3763         <kernel-features.h>.
3764         (mkdirat) [__NR_mkdirat]: Make code unconditional.
3765         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3766         * sysdeps/unix/sysv/linux/openat.c: Do not include
3767         <kernel-features.h>.
3768         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3769         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3770         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3771         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3772         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3773         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3774         <kernel-features.h>.
3775         (readlinkat) [__NR_readlinkat]: Make code unconditional.
3776         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
3777         result of INLINE_SYSCALL directly, not via int variable.
3778         * sysdeps/unix/sysv/linux/renameat.c: Do not include
3779         <kernel-features.h>.
3780         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3781         (renameat) [__NR_renameat]: Make code unconditional.
3782         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3783         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3784         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3785         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3786         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3787         (__ASSUME_ATFCTS): Do not undefine and redefine.
3788         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3789         <kernel-features.h>.
3790         (symlinkat) [__NR_symlinkat]: Make code unconditional.
3791         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3792         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3793         <kernel-features.h>.
3794         (unlinkat) [__NR_unlinkat]: Make code unconditional.
3795         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3796         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3797         (__ASSUME_ATFCTS): Do not undefine and redefine.
3798         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3799         <kernel-features.h>.
3800         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3801         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3802         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3803         <kernel-features.h>.
3804         (__xmknodat) [__NR_mknodat]: Make code unconditional.
3805         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3806
3807 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3808
3809         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3810
3811 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
3812
3813         [BZ #17069]
3814         * posix/regcomp.c (parse_reg_exp): Deallocate partially
3815         constructed tree before returning error.
3816         * posix/bug-regexp36.c: Expand test case.
3817
3818 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3819
3820         [BZ #6803]
3821         * math/libm-test.inc (scalbln_test_date):
3822         Add errno expectations.
3823         * math/w_scalblnf.c: New File.
3824         Add wrapper which checks for setting errno to ERANGE.
3825         Add weak_alias for corresponding scalbln function.
3826         * math/w_scalbln.c: Likewise.
3827         * math/w_scalblnl.c: Likewise.
3828         * math/Makefile (libm-calls): Add w_scalbln.
3829         * sysdeps/ieee754/flt-32/s_scalblnf.c:
3830         Remove weak_alias for corresponding scalbln function.
3831         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3832         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3833         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3834         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3835         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3836         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3837         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3838         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3839         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3840         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3841         Remove long_double_symbol for scalblnl function in libm, libc.
3842         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3843         Add wrapper which checks for setting errno to ERANGE.
3844         Add long_double_symbol for scalblnl function in libm, libc.
3845         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3846         Remove long_double_symbol for scalblnl in libm.
3847         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3848         Add wrapper which checks for setting errno to ERANGE.
3849         Add long_double_symbol for scalblnl function in libm.
3850         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3851         Do not use wrapper because of own implementation.
3852
3853 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
3854
3855         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3856         3 bytes for __pad1 for x32.
3857         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3858
3859 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
3860             H.J. Lu  <hongjiu.lu@intel.com>
3861
3862         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3863         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3864         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3865         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3866         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3867
3868 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
3869
3870         [BZ #17069]
3871         * posix/regcomp.c (parse_expression): Deallocate partially
3872         constructed tree before returning error.
3873         * posix/Makefile.c (tests): Add bug-regex36.
3874         (generated): Add bug-regex36.mtrace.
3875         (tests-special): Add $(objpfx)bug-regex36-mem.out
3876         (bug-regex36-ENV): New variable.
3877         ($(objpfx)bug-regex36-mem.out): New rule.
3878         * posix/bug-regex36.c: New file.
3879
3880 2014-06-19  Will Newton  <will.newton@linaro.org>
3881
3882         * malloc/malloc.c (systrim): If extra is zero then return
3883         early.
3884
3885 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3886
3887         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3888
3889 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
3890
3891         * sysdeps/aarch64/strchr.S: New file.
3892
3893 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3894
3895         [BZ #17022]
3896         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3897         from arguments -2 or below.
3898         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3899         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3900
3901 2014-06-18  Andreas Schwab  <schwab@suse.de>
3902
3903         [BZ #17062]
3904         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3905         of a bracket expr not to run off the end of the string.
3906         * posix/Makefile (tests): Add tst-fnmatch3.
3907         * posix/tst-fnmatch3.c: New file.
3908
3909 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3910
3911         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3912         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3913         [$(cross-compiling) = no]: Likewise.
3914         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3915         [$(cross-compiling) = no]: Likewise.
3916
3917 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3918
3919         [BZ #17031]
3920         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3921         double, adjusted for any remainder from the high double.
3922         * math/libm-test.inc (nearbyint): Add tests.
3923         (rint): Likewise.
3924
3925 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3926
3927         * nptl/sysdeps/powerpc/Makefile: Moved ...
3928         * sysdeps/powerpc/nptl/Makefile: ... here.
3929         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3930         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3931         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3932         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3933         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3934         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3935         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3936         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3937         * nptl/sysdeps/powerpc/tls.h: Moved ...
3938         * sysdeps/powerpc/nptl/tls.h: ... here.
3939
3940 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
3941
3942         [BZ #16681]
3943         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3944         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3945         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3946         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3947         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3948         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3949         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3950         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3951         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3952
3953 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
3954
3955         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3956
3957 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
3958
3959         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3960         defined operator.
3961
3962         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3963         $TIMEOUTFACTOR.
3964
3965 2014-06-16  Florian Weimer  <fweimer@redhat.com>
3966
3967         [BZ #17058]
3968         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3969         non-executed part of the test.
3970
3971 2014-06-16  Andreas Schwab  <schwab@suse.de>
3972
3973         * string/bits/string2.h (strdup, strndup): Update feature guard.
3974
3975 2014-06-14  David S. Miller  <davem@davemloft.net>
3976
3977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3978
3979 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
3980
3981         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3982         that was previously under [RESET_PID].
3983         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3984
3985         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3986         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3987         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3988         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3989         (__libc_vfork): New strong alias.
3990         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3991
3992 2014-06-14 Andi Kleen  <ak@linux.intel.com>
3993
3994         * sysdeps/generic/elide.h: New file.
3995
3996 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3997
3998         * Makefile (installed-headers): Adjust path of pthread.h header.
3999
4000 2014-06-13  Roland McGrath  <roland@hack.frob.com>
4001
4002         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4003         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4004         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4005         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4006
4007         * nptl/sysdeps/s390/Makefile: Moved ...
4008         * sysdeps/s390/nptl/Makefile: ... here.
4009         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4010         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4011         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4012         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4013         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4014         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4015         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4016         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4017         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4018         * sysdeps/s390/nptl/pthreaddef.h: ... here.
4019         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4020         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4021         * nptl/sysdeps/s390/tls.h: Moved ...
4022         * sysdeps/s390/nptl/tls.h: ... here.
4023
4024         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4025         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4026
4027 2014-06-13  David S. Miller  <davem@davemloft.net>
4028
4029         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4030         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4031         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4032         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4033         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4034         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4035         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4036         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4037         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4038         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4039         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4040         Remove RESET_PID cpp guards.
4041         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4042         Remove RESET_PID cpp guards.
4043         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4044
4045 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
4046
4047         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4048         __sp to uintptr_t.
4049
4050 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4051
4052         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4053         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4054         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4055         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4056         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4057         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4058         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4059         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4060         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4061         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4062         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4063         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4064         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4065         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4066         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4067         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4068         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4069         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4070         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4071         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4072
4073         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4074         (pthread_rwlock_rdlock): Add elision.
4075         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4076         (pthread_rwlock_wrlock): Add elision.
4077         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4078         (pthread_rwlock_trywrlock): Add elision.
4079         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4080         (pthread_rwlock_tryrdlock): Add elision.
4081         * nptl/pthread_rwlock_unlock.c: Include elide.h.
4082         (pthread_rwlock_tryrdlock): Add elision unlock.
4083         * nptl/sysdeps/pthread/pthread.h:
4084         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4085         (PTHREAD_RWLOCK_INITIALIZER,
4086         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4087         Handle new elision field.
4088         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4089         * sysdeps/arm/nptl/bits/pthreadtypes.h
4090         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4091         * sysdeps/sh/nptl/bits/pthreadtypes.h
4092         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4093         * sysdeps/tile/nptl/bits/pthreadtypes.h
4094         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4095         * sysdeps/a/nptl/bits/pthreadtypes.h
4096         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4097         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4098         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4099         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4100         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4101         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4102         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4103         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4104         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4105         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4106         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4107         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4108         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4109         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4110         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4111         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4112         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4113         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4114         (elision_init): Set try_xbegin to zero when no RTM.
4115         * sysdeps/x86/nptl/bits/pthreadtypes.h
4116         (pthread_rwlock_t): Change __pad1 to __rwelision.
4117         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4118
4119 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4120
4121         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4122         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4123         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4124         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4125
4126 2014-06-13  Meador Inge  <meadori@codesourcery.com>
4127
4128         [BZ #16996]
4129         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4130         that the cached result has been set before returning it.
4131
4132 2014-06-12  Roland McGrath  <roland@hack.frob.com>
4133
4134         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4135         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4136         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4137         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4138         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4139         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4140
4141         * nptl/sysdeps/sparc/Makefile: Moved ...
4142         * sysdeps/sparc/nptl/Makefile: ... here.
4143         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4144         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4145         * nptl/sysdeps/sparc/tls.h: Moved ...
4146         * sysdeps/sparc/nptl/tls.h: ... here.
4147         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4148         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4149         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4150         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4151         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4152         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4153         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4154         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4155         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4156         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4157         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4158         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4159         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4160         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4161         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4162         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4163         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4164         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4165         Update #include.
4166         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4167         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4168         Update #include.
4169         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4170         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4171         Update #include.
4172         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4173         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4174         Update #include.
4175
4176         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4177
4178         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4179         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4180
4181         * sysdeps/pthread/posix-timer.h: Include <list.h>.
4182         (struct list_links): Type removed.
4183         (struct thread_node, struct timer_node): Replace struct list_links
4184         with struct list_head.
4185         (list_unlink_ip): Likewise.
4186         * sysdeps/pthread/timer_routines.c
4187         (timer_free_list, thread_free_list, thread_active_list): Likewise.
4188         (list_append, list_insbefore): Likewise.
4189         (list_init): Function removed.
4190         (thread_init, init_module): Use INIT_LIST_HEAD instead.
4191         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4192         * sysdeps/pthread/Makefile: ... here, new file.
4193
4194         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4195         * sysdeps/nptl/Implies: ... here.
4196         * sysdeps/unix/sysv/linux/Implies: Add nptl.
4197         * nptl/sysdeps/pthread/list.h: Moved ...
4198         * include/list.h: ... here.
4199         * nptl/sysdeps/pthread/createthread.c: Moved ...
4200         * nptl/createthread.c: ... here.
4201         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4202         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4203         * nptl/pt-longjmp.c: ... here.
4204         * nptl/sysdeps/pthread/Makefile: Moved ...
4205         * sysdeps/nptl/Makefile: ... here.
4206         * nptl/sysdeps/pthread/Subdirs: Moved ...
4207         * sysdeps/nptl/Subdirs: ... here.
4208         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4209         * sysdeps/nptl/aio_misc.h: ... here.
4210         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4211         * sysdeps/nptl/bits/libc-lock.h: ... here.
4212         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4213         * sysdeps/nptl/bits/libc-lockP.h: ... here.
4214         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4215         * sysdeps/nptl/bits/stdio-lock.h: ... here.
4216         * nptl/sysdeps/pthread/configure: Moved ...
4217         * sysdeps/nptl/configure: ... here.
4218         * nptl/sysdeps/pthread/configure.ac: Moved ...
4219         * sysdeps/nptl/configure.ac: ... here.
4220         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4221         * sysdeps/nptl/gai_misc.h: ... here.
4222         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4223         * sysdeps/nptl/librt-cancellation.c: ... here.
4224         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4225         * sysdeps/nptl/malloc-machine.h: ... here.
4226         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4227         * sysdeps/nptl/pthread-functions.h: ... here.
4228         * nptl/sysdeps/pthread/pthread.h: Moved ...
4229         * sysdeps/nptl/pthread.h: ... here.
4230         * nptl/sysdeps/pthread/setxid.h: Moved ...
4231         * sysdeps/nptl/setxid.h: ... here.
4232         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4233         * sysdeps/nptl/sigfillset.c: ... here.
4234         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4235         * sysdeps/nptl/tcb-offsets.h: ... here.
4236         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4237         * sysdeps/nptl/tst-mqueue8x.c: ... here.
4238         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4239         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4240         * nptl/sysdeps/pthread/allocalim.h: Moved ...
4241         * sysdeps/pthread/allocalim.h: ... here.
4242         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4243         * sysdeps/pthread/bits/sigthread.h: ... here.
4244         * nptl/sysdeps/pthread/flockfile.c: Moved ...
4245         * sysdeps/pthread/flockfile.c: ... here.
4246         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4247         * sysdeps/pthread/ftrylockfile.c: ... here.
4248         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4249         * sysdeps/pthread/funlockfile.c: ... here.
4250         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4251         * sysdeps/pthread/posix-timer.h: ... here.
4252         * nptl/sysdeps/pthread/timer_create.c: Moved ...
4253         * sysdeps/pthread/timer_create.c: ... here.
4254         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4255         * sysdeps/pthread/timer_delete.c: ... here.
4256         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4257         * sysdeps/pthread/timer_getoverr.c: ... here.
4258         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4259         * sysdeps/pthread/timer_gettime.c: ... here.
4260         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4261         * sysdeps/pthread/timer_routines.c: ... here.
4262         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4263         * sysdeps/pthread/timer_settime.c: ... here.
4264         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4265         * sysdeps/pthread/tst-timer.c: ... here.
4266         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4267         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4268
4269         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4270         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4271
4272         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4273         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4274         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4275         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4276         Update #include target.
4277         * nptl/sysdeps/i386/i686/Makefile: Moved ...
4278         * sysdeps/i386/i686/nptl/Makefile: ... here.
4279         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4280         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4281         Update #include target.
4282         * nptl/sysdeps/i386/i686/tls.h: Moved ...
4283         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
4284         * nptl/sysdeps/i386/Makefile: Moved ...
4285         * sysdeps/i386/nptl/Makefile: ... here.
4286         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4287         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4288         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4289         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4290         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4291         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4292         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4293         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4294         * sysdeps/i386/nptl/pthreaddef.h: ... here.
4295         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4296         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4297         * nptl/sysdeps/i386/tls.h: Moved ...
4298         * sysdeps/i386/nptl/tls.h: ... here.
4299
4300         * sysdeps/sh/Makefile [$(subdir) = csu]
4301         (gen-as-const-headers): Add tcb-offsets.sym.
4302         * nptl/sysdeps/sh/Makefile: File removed.
4303         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4304         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4305         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4306         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4307         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4308         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4309         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4310         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4311         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4312         * sysdeps/sh/nptl/pthreaddef.h: ... here.
4313         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4314         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4315         * nptl/sysdeps/sh/tls.h: Moved ...
4316         * sysdeps/sh/nptl/tls.h: ... here.
4317         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4318         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4319         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4320         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4321         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4322         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4323         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4324         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4325         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4326         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4327         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4328         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4329         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4330         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4331         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4332         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4333         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4334         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4335         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4336         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4337         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4338         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4339         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4340         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4341         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4342         Moved ...
4343         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4344         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4345         Moved ...
4346         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4347         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4348         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4349         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4350         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4351         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4352         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4353         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4354         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4355         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4356         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4357         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4358         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4359         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4360         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4361         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4362         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4363         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4364         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4365
4366 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4367
4368         * posix/spawn_faction_addopen.c: Include string.h.
4369
4370 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4371
4372         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4373         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4374         * nptl/sysdeps/x86_64/Makefile: Moved ...
4375         * sysdeps/x86_64/nptl/Makefile: ... here.
4376         * nptl/sysdeps/x86_64/configure: Moved ...
4377         * sysdeps/x86_64/nptl/configure: ... here.
4378         * nptl/sysdeps/x86_64/configure.ac: Moved ...
4379         * sysdeps/x86_64/nptl/configure.ac: ... here.
4380         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4381         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4382         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4383         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4384         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4385         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4386         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4387         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4388         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4389         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4390         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4391         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4392         * nptl/sysdeps/x86_64/tls.h: Moved ...
4393         * sysdeps/x86_64/nptl/tls.h: ... here.
4394         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4395         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4396         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4397         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4398
4399         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4400
4401 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4402
4403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4404
4405 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
4406
4407         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4408         type.
4409         [POSIX] (off_t): Likewise.
4410         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4411         [POSIX] (S_ISBLK): Require macro.
4412         [POSIX] (S_ISCHR): Likewise.
4413         [POSIX] (S_ISDIR): Likewise.
4414         [POSIX] (S_ISFIFO): Likewise.
4415         [POSIX] (S_ISREG): Likewise.
4416         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4417         optional-macro.
4418         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4419         type.
4420         [POSIX] (time_t): Likewise.
4421         [POSIX] (timer_t): Likewise.
4422
4423 2014-06-11  Florian Weimer  <fweimer@redhat.com>
4424
4425         [BZ #17048]
4426         * posix/spawn_int.h (struct __spawn_action): Make the path string
4427         non-const to support deallocation.
4428         * posix/spawn_faction_addopen.c
4429         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4430         * posix/spawn_faction_destroy.c
4431         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
4432         path in all spawn_do_open actions.
4433         * posix/tst-spawn.c (do_test): Exercise the copy operation in
4434         posix_spawn_file_actions_addopen.
4435
4436 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
4437
4438         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4439         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4440         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4441         conditional code always true.
4442         (__libc_vfork): New alias.
4443
4444 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4445
4446         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4447         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4448
4449         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4450
4451         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4452         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4453
4454         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4455         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4456
4457         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4458         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4459
4460 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4461
4462         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4463         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4464         multiarch strcmp for PPC64.
4465         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4466         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4467         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4468         multiarch optimizations.
4469         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4470         (__libc_ifunc_impl_list): Likewise.
4471
4472 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4473
4474         * benchtests/scripts/validate_benchout.py: New script.
4475         * benchtests/Makefile (bench-func): Call it.
4476         * benchtests/scripts/benchout.schema.json: New file.
4477
4478 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4479
4480         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4481         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4482         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4483         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4484         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4485         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4486         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4487         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4488         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4489         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4490         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4491         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4492         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4493         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4494         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4495         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4497         Moved ...
4498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4499         ... here.
4500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4501         Moved ...
4502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4504         Moved ...
4505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4506         ... here.
4507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4508         Moved ...
4509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4510         ... here.
4511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4512         Moved ...
4513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4515         Moved ...
4516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4517         ... here.
4518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4519         Moved ...
4520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4521         ... here.
4522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4523         Moved ...
4524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4526         Moved ...
4527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4528         ... here.
4529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4530         Moved ...
4531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4532         ... here.
4533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4534         Moved ...
4535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4536         ... here.
4537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4538         Moved ...
4539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4541         Moved ...
4542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4543         ... here.
4544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4545         Moved ...
4546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4547         ... here.
4548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4549         Moved ...
4550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4551         ... here.
4552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4553         Moved ...
4554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4556         Moved ...
4557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4558         ... here.
4559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4560         Moved ...
4561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4562         ... here.
4563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4564         Moved ...
4565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4567         Moved ...
4568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4569         ... here.
4570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4571         Moved ...
4572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4574         Moved ...
4575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4577         Moved ...
4578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4579         ... here.
4580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4581         Moved ...
4582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4583         ... here.
4584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4585         Moved ...
4586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4587         ... here.
4588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4589         Moved ...
4590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4592         Moved ...
4593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4594         ... here.
4595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4596         Moved ...
4597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4598         ... here.
4599         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4600         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4601         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4602         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4603         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4604         Moved ...
4605         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4606         ... here.
4607         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4608         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4609         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4610         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4611         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4612         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4613         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4614         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4615         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4616         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4617         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4618         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4619         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4620         Moved ...
4621         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4622         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4623         Moved ...
4624         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4625         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4626         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4627         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4628         Moved ...
4629         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4630         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4631         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4632         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4633         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4634         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4635         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4636
4637 2014-06-10  Wilco  <wdijkstr@arm.com>
4638
4639         * math/test-fenv-return.c: New file.
4640         * math/Makefile: Add new test test-fenv-return.
4641
4642 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
4643
4644         [BZ #17042]
4645         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4646         when x - 1 is zero.
4647         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4648         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4649         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4650         0.0L for an argument of 1.0L.
4651         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4652         Likewise.
4653         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4654         value when x - 1 is zero.
4655         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4656         * sysdeps/i386/fpu/libm-test-ulps: Update.
4657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4658
4659 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
4660
4661         [BZ #15119]
4662         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4663
4664 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4665
4666         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4667         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4668
4669 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4670
4671         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4672         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4673
4674         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4675         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4676
4677         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4678         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4679
4680         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4681         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4682
4683         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4684         if not already defined.
4685         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4686         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4687         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4688         (TLS_INIT_TP): Use it.
4689         (TLS_DEFINE_INIT_TP): New macro.
4690         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4691
4692 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
4693
4694         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4695         constant.
4696         [POSIX] (IXANY): Likewise.
4697         [POSIX] (OLCUC): Likewise.
4698         [POSIX || POSIX2008] (CBAUD): Do not allow.
4699         [POSIX || POSIX2008] (DEFECHO): Likewise.
4700         [POSIX || POSIX2008] (ECHOCTL): Likewise.
4701         [POSIX || POSIX2008] (ECHOKE): Likewise.
4702         [POSIX || POSIX2008] (ECHOPRT): Likewise.
4703         [POSIX || POSIX2008] (EXTA): Likewise.
4704         [POSIX || POSIX2008] (EXTB): Likewise.
4705         [POSIX || POSIX2008] (FLUSHO): Likewise.
4706         [POSIX || POSIX2008] (LOBLK): Likewise.
4707         [POSIX || POSIX2008] (PENDIN): Likewise.
4708         [POSIX || POSIX2008] (SWTCH): Likewise.
4709         [POSIX || POSIX2008] (VDISCARD): Likewise.
4710         [POSIX || POSIX2008] (VDSUSP): Likewise.
4711         [POSIX || POSIX2008] (VLNEXT): Likewise.
4712         [POSIX || POSIX2008] (VREPRINT): Likewise.
4713         [POSIX || POSIX2008] (VSTATUS): Likewise.
4714         [POSIX || POSIX2008] (VWERASE): Likewise.
4715         (B*): Change to B[0123456789]*.
4716         * conform/data/time.h-data [POSIX || UNIX98]
4717         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4718         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4719         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4720         [POSIX] (tm_*): Do not allow.
4721
4722 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
4723
4724         * Makefile (install): Don't set LANGUAGE.
4725         * Makefile.in (install): Likewise.
4726         * assert/Makefile (test-assert-ENV): Remove variable.
4727         (test-assert-perr-ENV): Likewise.
4728         * elf/Makefile (neededtest4-ENV): Likewise.
4729         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4730         [$(cross-compiling) = no]: Don't set LANGUAGE.
4731         * io/ftwtest-sh (LANG): Remove variable.
4732         * libio/Makefile (tst-widetext-ENV): Likewise.
4733         * manual/install.texi (Running make install): Don't refer to
4734         environment settings for make install.
4735         * INSTALL: Regenerated.
4736         * nptl/tst-tls6.sh: Don't set LANG.
4737         * posix/globtest.sh (LANG): Remove variable.
4738         * string/Makefile (tester-ENV): Likewise.
4739         (inl-tester-ENV): Likewise.
4740         (noinl-tester-ENV): Likewise.
4741         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4742         [$(cross-compiling) = no]: Don't set LANGUAGE.
4743         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4744         without explicit environment settings.
4745
4746 2014-06-06  Roland McGrath  <roland@hack.frob.com>
4747
4748         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4749         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4750         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4751         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4752
4753 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
4754
4755         * crypt/crypt-private.h [DOS]: Add some includes taken from the
4756         other files in the crypt directory.
4757         * crypt/crypt.c: Remove duplicate includes.
4758         * crypt/crypt-entry.c: Likewise.
4759         * crypt/crypt_util.c: Likewise.
4760
4761 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
4762
4763         * Makeconfig (run-program-env): New variable.
4764         (run-program-prefix-before-env): Likewise.
4765         (run-program-prefix-after-env): Likewise.
4766         (run-program-prefix): Define in terms of new variables.
4767         (built-program-cmd-before-env): New variable.
4768         (built-program-cmd-after-env): Likewise.
4769         (built-program-cmd): Define in terms of new variables.
4770         (test-program-prefix-before-env): New variable.
4771         (test-program-prefix-after-env): Likewise.
4772         (test-program-prefix): Define in terms of new variables.
4773         (test-program-cmd-before-env): New variable.
4774         (test-program-cmd-after-env): Likewise.
4775         (test-program-cmd): Define in terms of new variables.
4776         * Rules (make-test-out): Use $(run-program-env).
4777         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4778         (help): Do not mention environment variables.  Mention
4779         --timeoutfactor option.
4780         (timeoutfactor): New variable.
4781         (blacklist_exports): Remove function.
4782         (exports): Remove variable.
4783         (command): Do not include ${exports}.
4784         * manual/install.texi (Configuring and compiling): Do not mention
4785         test wrappers preserving environment variables.  Mention that last
4786         assignment to a variable must take precedence.
4787         * INSTALL: Regenerated.
4788         * benchtests/Makefile (run-bench): Use $(run-program-env).
4789         * catgets/Makefile ($(objpfx)test1.cat): Use
4790         $(built-program-cmd-before-env), $(run-program-env) and
4791         $(built-program-cmd-after-env).
4792         ($(objpfx)test2.cat): Do not specify environment variables
4793         explicitly.
4794         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4795         $(run-program-env) and $(built-program-cmd-after-env).
4796         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4797         $(run-program-env) and $(test-program-cmd-after-env).
4798         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4799         explicitly.
4800         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4801         run_program_env and test_program_cmd_after_env arguments.
4802         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4803         * elf/tst-pathopt.sh: Use run_program_env argument.
4804         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4805         $(test-wrapper-env) and $(run-program-env).
4806         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4807         run_program_env arguments.
4808         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4809         * intl/Makefile ($(objpfx)tst-gettext.out): Use
4810         $(test-program-prefix-before-env), $(run-program-env) and
4811         $(test-program-prefix-after-env).
4812         ($(objpfx)tst-gettext2.out): Likewise.
4813         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4814         run_program_env and test_program_prefix_after_env arguments.
4815         * intl/tst-gettext2.sh: Likewise.
4816         * intl/tst-gettext4.sh: Do not set environment variables
4817         explicitly.
4818         * intl/tst-gettext6.sh: Likewise.
4819         * intl/tst-translit.sh: Likewise.
4820         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4821         $(test-program-prefix-before-env), $(run-program-env) and
4822         $(test-program-prefix-after-env).
4823         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4824         run_program_env and test_program_prefix_after_env arguments.
4825         * math/Makefile (run-regen-ulps): Use $(run-program-env).
4826         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4827         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
4828         explicitly with each use of ${test_wrapper_env}.
4829         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4830         $(test-program-prefix-before-env), $(run-program-env) and
4831         $(test-program-prefix-after-env).
4832         * posix/tst-getconf.sh: Do not set environment variables
4833         explicitly.
4834         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4835         run_program_env and test_program_prefix_after_env arguments.
4836         * stdio-common/tst-printf.sh: Do not set environment variables
4837         explicitly.
4838         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4839         $(test-program-prefix-before-env), $(run-program-env) and
4840         $(test-program-prefix-after-env).
4841         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4842         run_program_env and test_program_prefix_after_env arguments.
4843         Split $test calls into $test_pre and $test.
4844         * timezone/Makefile (build-testdata): Use
4845         $(built-program-cmd-before-env), $(run-program-env) and
4846         $(built-program-cmd-after-env).
4847
4848 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4849
4850         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4851         strlen for non SHARED builds.
4852
4853 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4854
4855         * nptl/allocatestack.c (check_list): Inlined function...
4856         (__reclaim_stacks): ... here.
4857
4858 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4859
4860         [BZ #15698]
4861         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4862         memory overrun.
4863
4864 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
4865
4866         * Rules (make-test-out): Include
4867         LOCPATH=$(common-objpfx)localedata in default environment.
4868         * debug/Makefile (tst-chk1-ENV): Remove variable.
4869         (tst-chk2-ENV): Likewise.
4870         (tst-chk3-ENV): Likewise.
4871         (tst-chk4-ENV): Likewise.
4872         (tst-chk5-ENV): Likewise.
4873         (tst-chk6-ENV): Likewise.
4874         (tst-lfschk1-ENV): Likewise.
4875         (tst-lfschk2-ENV): Likewise.
4876         (tst-lfschk3-ENV): Likewise.
4877         (tst-lfschk4-ENV): Likewise.
4878         (tst-lfschk5-ENV): Likewise.
4879         (tst-lfschk6-ENV): Likewise.
4880         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4881         (tst-iconv7-ENV): Likewise.
4882         * intl/Makefile (LOCPATH-ENV): Likewise.
4883         (tst-codeset-ENV): Likewise.
4884         (tst-gettext3-ENV): Likewise.
4885         (tst-gettext5-ENV): Likewise.
4886         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4887         (tst-fopenloc-ENV): Likewise.
4888         (tst-fgetws-ENV): Remove variable.
4889         (tst-ungetwc1-ENV): Likewise.
4890         (tst-ungetwc2-ENV): Likewise.
4891         (bug-ungetwc2-ENV): Likewise.
4892         (tst-swscanf-ENV): Likewise.
4893         (bug-ftell-ENV): Likewise.
4894         (tst-fgetwc-ENV): Likewise.
4895         (tst-fseek-ENV): Likewise.
4896         (tst-ftell-partial-wide-ENV): Likewise.
4897         (tst-ftell-active-handler-ENV): Likewise.
4898         (tst-ftell-append-ENV): Likewise.
4899         * posix/Makefile (tst-fnmatch-ENV): Likewise.
4900         (tst-regexloc-ENV): Likewise.
4901         (bug-regex1-ENV): Likewise.
4902         (tst-regex-ENV): Likewise.
4903         (tst-regex2-ENV): Likewise.
4904         (bug-regex5-ENV): Likewise.
4905         (bug-regex6-ENV): Likewise.
4906         (bug-regex17-ENV): Likewise.
4907         (bug-regex18-ENV): Likewise.
4908         (bug-regex19-ENV): Likewise.
4909         (bug-regex20-ENV): Likewise.
4910         (bug-regex22-ENV): Likewise.
4911         (bug-regex23-ENV): Likewise.
4912         (bug-regex25-ENV): Likewise.
4913         (bug-regex26-ENV): Likewise.
4914         (bug-regex30-ENV): Likewise.
4915         (bug-regex32-ENV): Likewise.
4916         (bug-regex33-ENV): Likewise.
4917         (bug-regex34-ENV): Likewise.
4918         (bug-regex35-ENV): Likewise.
4919         (tst-rxspencer-ENV): Likewise.
4920         (tst-rxspencer-no-utf8-ENV): Likewise.
4921         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4922         (tst-sscanf-ENV): Likewise.
4923         (tst-swprintf-ENV): Likewise.
4924         (tst-swscanf-ENV): Likewise.
4925         (test-vfprintf-ENV): Likewise.
4926         (scanf13-ENV): Likewise.
4927         (bug14-ENV): Likewise.
4928         (tst-grouping-ENV): Likewise.
4929         * stdlib/Makefile (tst-strtod-ENV): Likewise.
4930         (tst-strtod3-ENV): Likewise.
4931         (tst-strtod4-ENV): Likewise.
4932         (tst-strtod5-ENV): Likewise.
4933         (testmb2-ENV): Likewise./
4934         * string/Makefile (tst-strxfrm-ENV): Likewise.
4935         (tst-strxfrm2-ENV): Likewise.
4936         (bug-strcoll1-ENV): Likewise.
4937         (test-strcasecmp-ENV): Likewise.
4938         (test-strncasecmp-ENV): Likewise.
4939         * time/Makefile (tst-strptime-ENV): Likewise.
4940         (tst-ftime_l-ENV): Likewise.
4941         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4942         (tst-mbrtowc-ENV): Likewise.
4943         (tst-wcrtomb-ENV): Likewise.
4944         (tst-mbrtowc2-ENV): Likewise.
4945         (tst-c16c32-1-ENV): Likewise.
4946         (tst-mbsnrtowcs-ENV): Likewise.
4947
4948 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4949
4950         * manual/resource.texi (How to get information about the memory
4951         subsystem?): Fix typo.
4952         Reported by Peon de la Parra Ivan <peon@keba.com>
4953
4954 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
4955
4956         [BZ #16882]
4957         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4958         (pthread_spin_lock): Branch out of spin loop to proper location.
4959         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4960         (pthread_spin_lock): Likewise.
4961
4962         * nptl/tst-spin4.c: New test.
4963         * nptl/Makefile (tests): Add tst-spin4.
4964
4965 2014-06-03  Andreas Schwab  <schwab@suse.de>
4966
4967         [BZ #15946]
4968         * resolv/res_send.c (send_dg): Reload file descriptor after
4969         calling reopen.
4970
4971 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
4972
4973         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4974
4975 2014-06-03  Richard Henderson  <rth@redhat.com>
4976
4977         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4978         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4979         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4980         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
4981         in the SAVE_PID block.
4982         (__libc_vfork): New alias.
4983         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4984
4985         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4986         child in registers, not on the stack.  Remove RESET_PID conditionals.
4987         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4988
4989 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4990
4991         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4992
4993 2014-06-03  Wilco  <wdijkstr@arm.com>
4994
4995         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4996         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4997         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4998         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4999         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5000         Likewise.
5001
5002 2014-06-03  Wilco  <wdijkstr@arm.com>
5003
5004         * sysdeps/aarch64/fpu/math_private.h
5005         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5006         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5007         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5008         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5009         Fix declarations.
5010
5011 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5012
5013         * crypt/crypt-private.h: Include ufc-crypt.h.
5014         (__b64_from_24bit): Declare extern.
5015         * crypt/crypt_util.c(__b64_from_24bit): New function.
5016         (b64t): New static const variable.
5017         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5018         (b64t): Remove variable.
5019         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5020         * crypt/sha256-crypt.c: Include crypt-private.h.
5021         (b64t): Remove variable.
5022         (__sha256_crypt_r): Remove b64_from_24bit and replace
5023         with __b64_from_24bit.
5024         * crypt/sha512-crypt.c: Likewise.
5025
5026 2014-06-02  Roland McGrath  <roland@hack.frob.com>
5027
5028         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5029         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5030         Label the code __libc_vfork rather than __vfork.
5031         [!NOT_IN_libc] (vfork): Define as weak alias.
5032         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5033         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5034         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5035
5036 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5037
5038         * malloc/malloc.c (malloc_info): Fix format specifier for
5039         n_mmaps.
5040
5041 2014-06-02  Wilco  <wdijkstr@arm.com>
5042
5043         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5044         FPCR write.
5045
5046 2014-06-02  Wilco  <wdijkstr@arm.com>
5047
5048         [BZ #17009]
5049         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5050         Rewrite to reduce FPCR/FPSR accesses.
5051
5052 2014-06-01  David S. Miller  <davem@davemloft.net>
5053
5054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5055
5056 2014-05-31  David S. Miller  <davem@davemloft.net>
5057
5058         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5059         to occur in round to nearest mode when |x| >= 2.0
5060
5061 2014-05-30  Richard Henderson  <rth@twiddle.net>
5062
5063         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5064         (PSEUDO_RET_NOERRNO): Remove.
5065         (ret): Don't redefine.
5066         (ret_NOERRNO): Define in terms of ret.
5067         (ret_ERRVAL): Likewise.
5068
5069         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5070         use of PSEUDO_RET; perform the error check directly.
5071
5072 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
5073
5074         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5075         with __int128_t.
5076
5077 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5078
5079         * malloc/malloc (malloc_info): Fix formatting.
5080
5081 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5082             Roland McGrath  <roland@hack.frob.com>
5083
5084         * malloc/malloc (malloc_info): Also print mmapped statistics.
5085
5086 2014-05-30  Roland McGrath  <roland@hack.frob.com>
5087
5088         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5089         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5090
5091 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
5092
5093         * malloc/malloc.c (malloc_info): Inline mi_arena.
5094
5095 2014-05-29  Richard Henderson  <rth@twiddle.net>
5096
5097         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5098         Remove comma before expanding ASM_ARGS_##nr.
5099         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5100         Make _x0 a strict output; make _x8 a strict input; adjust expansion
5101         of ASM_ARGS_##nr.
5102         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5103         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5104         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5105         (ASM_ARGS_1): Add leading comma.
5106
5107         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5108         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5109         to __errno_location.
5110         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5111         Remove the expected plt for __errno_location.
5112
5113         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5114         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5115         call to __read_tp.
5116
5117         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5118         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
5119         it and break it down.
5120         (DOCARGS_0, DOCARGS_1): Do nothing.
5121         (DOCARGS_2): Update to store into the new stack frame.
5122         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5123         (UNDOCARGS_1): Update to restore from the new stack frame.
5124         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5125         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5126
5127         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5128         (SINGLE_THREAD_P): New parameter for result regno.
5129         (PSEUDO): Update to match; use cbz instead of beq.
5130
5131         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5132         Use ENTRY to define the _nocancel entry point.  Share the syscall
5133         and syscall error check paths with the cancel path.
5134         (PSEUDO_END): New.
5135
5136         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5137         whitespace; tabs before and after asm mnemonics.
5138
5139 2014-05-29  Eric Wong  <normalperson@yhbt.net>
5140
5141         [BZ #15132]
5142         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5143         Call fstat64 or stat64 internally, depending on arguments passed.
5144         Replace stat buffer argument with file descriptor argument.
5145         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5146         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5147         Pass fd to __internal_statvfs instead of calling fstat64.
5148         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5149         Pass fd to __internal_statvfs64 instead of calling fstat64.
5150         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5151         Pass -1 to __internal_statvfs instead of calling stat64.
5152         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5153         Pass -1 to __internal_statvfs64 instead of calling stat64.
5154
5155 2014-05-28  Roland McGrath  <roland@hack.frob.com>
5156
5157         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5158         that was previously under [RESET_PID].
5159         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5160
5161         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5162         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5163
5164 2014-05-27  Roland McGrath  <roland@hack.frob.com>
5165
5166         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5167
5168         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5169         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5170
5171 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
5172
5173         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5174
5175 2014-05-27  Andreas Schwab  <schwab@suse.de>
5176
5177         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5178         TLS_INIT_TP macro.
5179         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5180         * elf/rtld.c (init_tls, dl_main): Likewise.
5181         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5182         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5183         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5184         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5185         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5186         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5187         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5188         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5189         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5190         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5191         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5192         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5193         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5194         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5195         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5196         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5197         * sysdeps/generic/tls.h: Update description.
5198
5199 2014-05-27  Will Newton  <will.newton@linaro.org>
5200
5201         [BZ #16990]
5202         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5203         and restore r2 rather than just restoring.
5204
5205 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5206
5207         [BZ #16724]
5208         * libio/tst-ftell-append.c: New test case.
5209         * libio/Makefile (tests): Add test case.
5210         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5211         append mode.
5212         * libio/wfileops.c (do_ftell_wide): Likewise.
5213
5214 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5215
5216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5217
5218         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5219         ...
5220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5222         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5223         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5224         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5225         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5226         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5227         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5228         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5229         Moved ...
5230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5231         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5232         Moved ...
5233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5234         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5235         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5236         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5237         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5238         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5239         ...
5240         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5241         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5242         Moved ...
5243         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5244         here.
5245         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5246         ...
5247         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5248         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5249         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5250
5251         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5252         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5253         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5254         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5255
5256         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5257         merge into ...
5258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5259         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5260         ...
5261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5262         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5263         ...
5264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5265         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5266         Moved ...
5267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5268         here.
5269         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5270         Moved ...
5271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5272         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5273         Moved ...
5274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5275
5276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5277         conditional [RESET_PID].
5278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5279         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5280         removed.
5281         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5282         removed.
5283
5284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5285         <tcb-offsets.h>.
5286         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5287         (__libc_vfork): New strong alias.
5288         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5289         removed.
5290         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5291         Removed.
5292
5293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5294         <tcb-offsets.h>.
5295         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5296         (__libc_vfork): New strong alias.
5297         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5298         removed.
5299         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5300         removed.
5301
5302 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
5303
5304         * malloc/malloc.c (mi_arena): New function.
5305         (malloc_info): Remove nested function mi_arena. Call non-nosted
5306         function mi_arena.
5307
5308 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5309
5310         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5311         by insrwi.
5312         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5313         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5314         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5315         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5316         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5317         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5318         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5319
5320 2014-05-26  Andreas Schwab  <schwab@suse.de>
5321
5322         [BZ #16984]
5323         * locale/programs/repertoire.c (repertoire_read): Add slash
5324         between I18NPATH element and file name.
5325         * locale/programs/locfile.c (locfile_read): Likewise.
5326
5327 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5328
5329         * nptl/pthread_mutexattr_settype.c
5330         (__pthread_mutexattr_settype):
5331         Disable lock elision for PTHREAD_MUTEX_NORMAL.
5332
5333 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5334
5335         * nptl/tst-mutex5 (do_test):
5336         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5337
5338 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5339
5340         * benchtests/README: Document 'init' directive.
5341         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5342         BENCH_INIT.
5343         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5344         (parse_file): Recognize 'init' directive.
5345
5346 2014-05-26  Kyle McMartin  <kyle@redhat.com>
5347
5348         [BZ #16796]
5349         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5350         alignment of struct pthread.
5351
5352 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5353
5354         [BZ #16878]
5355         * nscd/netgroupcache.c (addgetnetgrentX): Look for
5356         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5357         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5358         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5359
5360 2014-05-25  Richard Henderson  <rth@twiddle.net>
5361
5362         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5363         (SINGLE_THREAD_P_PIC): Remove.
5364         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5365         (SINGLE_THREAD_P_PIC): Remove.
5366
5367         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5368         branch to syscall error ...
5369         (PSEUDO): ... here.
5370         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5371         from __local_syscall_error to .Lsyscall_error.
5372         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5373         (SYSCALL_ERROR): Update label name.
5374
5375         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5376         Do not use DOARGS/UNDOARGS.
5377         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5378         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5379         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5380         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5381         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5382
5383         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5384         block comment.
5385
5386         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5387         define if !NOT_IN_libc.
5388         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5389         define with non-default symbol versions.
5390
5391 2014-05-23  Richard Henderson  <rth@twiddle.net>
5392
5393         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5394         (vfork, __vfork): Define via compat_symbol.
5395
5396         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5397         [!HAVE_IFUNC] (vfork_compat): Remove.
5398         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5399
5400 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5401
5402         [BZ #16978]
5403         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5404         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5405         variable.
5406
5407 2014-05-23  Richard Henderson  <rth@twiddle.net>
5408
5409         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5410         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5411         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5412         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5413
5414         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5415         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5416         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5417         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5418         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5419         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5420         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5421         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5422         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5423         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5424         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5425         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5426         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5427         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5428         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5429         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5430         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5431         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5432         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5433         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5434         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5435         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5436         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5437         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5438         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5439         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5440         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5441         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5442         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5443         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5444         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5445         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5446         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5447         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5448         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5449         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5450         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5451         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5452         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5453         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5454         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5455         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5456         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5457         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5458         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5459         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5460         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5461         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5462         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5463         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5464         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5465         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5466         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5467         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5468         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5469         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5470
5471         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5472         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5473         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
5474         before exiting on error.
5475         (__libc_vfork): New strong alias.
5476         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5477         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5478
5479         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5480         that was previously under [RESET_PID].
5481         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5482
5483         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5484
5485 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5486
5487         [BZ #16977]
5488         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5489         value when x - 1 is zero.
5490         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5491         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5492         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5493         0.0L for an argument of 1.0L.
5494         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5495         Likewise.
5496         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5497         value when x - 1 is zero.
5498         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5499         * sysdeps/i386/fpu/libm-test-ulps: Update.
5500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5501
5502 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5503
5504         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5505         alphasort and versionsort.
5506
5507 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5508
5509         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5510         macro.
5511         [copysignf]: Likewise.
5512
5513 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5514
5515         * crypt/md5-crypt.c: Fix formatting.
5516
5517 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5518
5519         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5520         (b64_from_24bit): New function.
5521
5522 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5523
5524         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5525         libc_hidden_builtin_def to ifunc.
5526         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5527         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5528
5529 2014-05-21  Roland McGrath  <roland@hack.frob.com>
5530
5531         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5532         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5533
5534 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
5535
5536         * nscd/Depend (linuxthreads): Remove.
5537         (nptl): Add.
5538         * resolv/Depend (linuxthreads): Remove.
5539         * rt/Depend (linuxthreads): Remove.
5540
5541         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5542         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5543         $(common-objpfx)elf/.
5544         (link-libc-before-gnulib): Likewise.
5545         (elfobjdir): Remove variable.
5546         * Makefile (install): Use $(elf-objpfx) instead of
5547         $(common-objpfx)elf/.
5548         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5549         $(elfobjdir)/.
5550         (link-libc-deps): Likewise.
5551         ($(common-objpfx)libc.so): Likewise.
5552         ($(common-objpfx)linkobj/libc.so): Likewise.
5553         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5554         instead of $(common-objpfx)elf/.
5555         (symbolic-link-list): Likewise.
5556         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5557         [$(cross-compiling) = no]: Likewise.
5558         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5559         $(elfobjdir)/.
5560         (static-gnulib-arch): Likewise.
5561         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5562         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5563         $(common-objpfx)elf/.
5564
5565 2014-05-21  Richard Henderson  <rth@redhat.com>
5566
5567         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5568         (SINGLE_THREAD_P): Use the correct width load.  Fold
5569         into the ldr offset.
5570
5571         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5572         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5573
5574 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
5575
5576         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5577         (libgcc_s_resume): Use __attribute_used__.
5578         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5579         Likewise.
5580
5581 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5582
5583         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5584         optimization when used with float constants.
5585
5586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5587
5588 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
5589
5590         [BZ #16915]
5591         * locale/nl_langinfo_l.c: Make direct reference to every
5592         _nl_current_CATEGORY symbol.
5593         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5594         (tests-static): Add tst-langinfo-static.
5595         (tests-special): Add tst-langinfo-static.out.
5596         ($(objpfx)tst-langinfo.out): Redirect output.
5597         ($(objpfx)tst-langinfo-static.out): New.
5598         * localedata/tst-langinfo.sh: Send output to stdout.
5599         * localedata/tst-langinfo-static.c: New file.
5600
5601         [BZ #16965]
5602         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5603         when the shift amount is modulo the limb size.
5604
5605 2014-05-20  Richard Henderson  <rth@redhat.com>
5606
5607         [BZ #16967]
5608         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5609         Change type of sa_flags from unsigned int to int.
5610
5611         [BZ #16966]
5612         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5613
5614         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5615
5616 2014-05-20  Will Newton  <will.newton@linaro.org>
5617
5618         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5619         Test the return value of the system call in the nocancel case.
5620
5621 2014-05-20  Will Newton  <will.newton@linaro.org>
5622             Yvan Roux  <yvan.roux@linaro.org>
5623
5624         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5625         #include of asm/ptrace.h.
5626         (PTRACE_GET_THREAD_AREA): Remove #undef.
5627         (PTRACE_GETHBPREGS): Likewise.
5628         (PTRACE_SETHBPREGS): Likewise.
5629         (struct user_regs_struct): New structure.
5630         (struct user_fpsimd_struct): New structure.
5631         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5632         #include of asm/ptrace.h and second #include of sys/user.h.
5633         (PTRACE_GET_THREAD_AREA): Remove #undef.
5634         (PTRACE_GETHBPREGS): Likewise.
5635         (PTRACE_SETHBPREGS): Likewise.
5636         (ELF_NGREG): Use new struct user_regs_struct.
5637         (elf_fpregset_t): Use new struct user_fpsimd_struct.
5638
5639 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5640
5641         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5642         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5643
5644 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
5645
5646         [BZ #16958]
5647         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5648         membar to avoid block loads/stores to overlap previous stores.
5649
5650 2014-05-17  Richard Henderson  <rth@redhat.com>
5651
5652         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5653         Create the __##syscall_name##_nocancel entry point.
5654         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5655         Remove; let the sysdep-cancel.h code create it.
5656
5657 2014-05-17  David S. Miller  <davem@davemloft.net>
5658
5659         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5660         Protect with __USE_GNU.
5661         (TIOCSET_TEMPT): Likewise.
5662         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5663         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5664         these are already provided in bits/ioctl-types.h
5665
5666 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5667
5668         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5669         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5670
5671         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5672         Use wait4 regardless of [__NR_waitpid].
5673
5674 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5675
5676         PR libgcc/60166
5677         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5678         (_FP_NANSIGN_Q): Set the quiet bit.
5679
5680 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
5681
5682         * benchtests/Makefile
5683         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5684         not $(common-objpfx)math/libm.so.
5685         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5686         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5687         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5688         $(common-objpfx)dlfcn/libdl.so.
5689         ($(objpfx)tst-audit8): Depend on $(libm), not
5690         $(common-objpfx)math/libm.so.
5691         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5692         not $(common-objpfx)dlfcn/libdl.so.
5693         * math/Makefile
5694         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5695         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
5696         [$(build-shared) = yes].
5697         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5698         $(common-objpfx)nptl/libpthread.so.
5699         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5700         $(common-objpfx)math/libm.so$(libm.so-version) or
5701         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5702         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5703         $(common-objpfx)dlfcn/libdl.so.
5704         * setjmp/Makefile (link-libm): Remove variable.
5705         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5706         * stdio-common/Makefile (link-libm): Remove variable.
5707         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5708         * stdlib/Makefile (link-libm): Remove variable.
5709         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5710         ($(objpfx)tst-strtod-round): Likewise.
5711         ($(objpfx)tst-tininess): Likewise.
5712         ($(objpfx)tst-strtod-underflow): Likewise.
5713         ($(objpfx)tst-strtod6): Likewise.
5714         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5715         $(libdl), not $(common-objpfx)nptl/libpthread.so and
5716         $(common-objpfx)dlfcn/libdl.so.
5717
5718 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5719
5720         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5721         BSD terminal modes definitions.
5722
5723 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5724
5725         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5726         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5727
5728         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5729         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5730         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5731         Don't do #include_next.
5732         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5733         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5734         Don't do #include_next.
5735         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5736         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5737         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5738         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5739
5740 2014-05-16  Allan McRae  <allan@archlinux.org>
5741
5742         * po/sv.po: Update Swedish translation from translation project.
5743
5744         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5745         in sed expression.
5746
5747 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
5748
5749         [BZ #16917]
5750         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5751         errno if the TIOCGPTN ioctl fails with an error different than
5752         EINVAL.
5753         * login/tst-ptsname.c: New file.
5754         * login/Makefile (tests): Add tst-ptsname.
5755
5756         [BZ #16943]
5757         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5758         and prlimit64.
5759
5760 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5761
5762         [BZ #16849]
5763         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5764         herrno to return EAI_AGAIN.
5765
5766 2014-05-14  Roland McGrath  <roland@hack.frob.com>
5767
5768         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5769         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5770         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5771         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5772         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5773         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5774         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5775         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5776         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5777         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5778         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5779         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5780         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5781         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5782         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5783         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5784         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5785         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5786         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5787         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5788         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5789         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5790         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5791         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5792         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5793         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5794         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5795         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5796         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5797         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5799         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5800         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5801         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5802         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5803         Moved ...
5804         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5805         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5806         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5807         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5808         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5809         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5810         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5812         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5813         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5814         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5816         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5817         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5818         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5819         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5820         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5821         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5822         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5823         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5824         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5826         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5828         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5829         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5830         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5832         Moved ...
5833         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5834         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5835         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5836         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5837         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5838         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5839         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5840         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5841         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5843         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5844         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5845         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5846         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5847         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5849         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5851         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5853         Moved ...
5854         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5855         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5856         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5857
5858         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5859         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5860         (libpthread-sysdep_routines): Add elision-related stuff here instead.
5861         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5862         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5863         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5864         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5865         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5866         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5867         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5868         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5869         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5870         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5871         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5872         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5873         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5874         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5875         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5876         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5877         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5878         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5879         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5880         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5881         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5882         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5883         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5884         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5885         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5886         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5887         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5888         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5889
5890         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5891         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5892
5893         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5894         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5895         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5896         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5897         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5898         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5899         Moved ...
5900         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5901         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5902         Moved ...
5903         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5904         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5905         Moved ...
5906         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5907         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5908         Moved ...
5909         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5910         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5911         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5912         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5913         Moved ...
5914         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5915         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5916         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5917         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5918         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5919         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5920         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5921         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5922         Moved ...
5923         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5924         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5925         Moved ...
5926         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5927         ... here.
5928         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5929         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5930         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5931         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5932         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5933         Moved ...
5934         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5935         ... here.
5936         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5937         Moved ...
5938         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5939         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5940         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5941         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5942         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5943         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5944         Moved ...
5945         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5946         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5947         Moved ...
5948         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5949         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5950         Moved ...
5951         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5952         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5953         Moved ...
5954         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5955         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5956         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5957         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5958         Moved ...
5959         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5960         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5961         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5962         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5963         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5964         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5965         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5966         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5967         Moved ...
5968         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5969         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5970         Moved ...
5971         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5972         ... here.
5973         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5974         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5975         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5976         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5977         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5978         Moved ...
5979         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5980         ... here.
5981         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5982         Moved ...
5983         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5984         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5985         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5986         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5987         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5988         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5989         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5990         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5991         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5992         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5993         Moved ...
5994         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5995         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5996         Moved ...
5997         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5998         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5999         Moved ...
6000         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6001         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6002         Moved ...
6003         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6004         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6005         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6006         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6007         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6008         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6009         Moved ...
6010         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6011         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6012         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6013         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6014         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6015         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6016         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6017         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6018         Moved ...
6019         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6020         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6021         Moved ...
6022         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6023         ... here.
6024         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6025         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6026         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6027         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6028         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6029         Moved ...
6030         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6031         ... here.
6032         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6033         Moved ...
6034         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6035         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6036         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6037         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6038         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6039         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6040         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6041         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6042         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6043         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6044         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6045
6046         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6047         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6048
6049         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6050         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6051
6052         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6053         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6054         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6055         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6056         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6057         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6058         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6059         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6060         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6061         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6062         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6063         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6064         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6065         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6066         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6067         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6068         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6069         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6070         Moved ...
6071         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6072         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6073         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6074         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6075         Moved ...
6076         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6077         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6078         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6079         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6080         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6081         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6082         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6083         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6084         Moved ...
6085         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6086         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6087         Moved ...
6088         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6089         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6090         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6091         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6092         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6093         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6094         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6095         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6096         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6097         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6098         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6099         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6100         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6101         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6102         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6103         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6104         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6105
6106         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6107         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6108         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6109         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6110         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6111
6112         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6113         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6114         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6115         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6116         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6117         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6118         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6119         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6120         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6121         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6122
6123         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6124         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6125
6126         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6127         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6128         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6129         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6130         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6131         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6132         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6133         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6134         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6135         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6136         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6137         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6138         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6139         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6140         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6141         Update #include.
6142         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6143         Likewise.
6144         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6145         Likewise.
6146         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6147         Likewise.
6148         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6149         Likewise.
6150         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6151         Likewise.
6152         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6153         Likewise.
6154         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6155         Likewise.
6156         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6157         Likewise.
6158         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6159         Likewise.
6160         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6161         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6162         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6163         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6164         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6165         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6166         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6167         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6168         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6169         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6170         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6171         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6172         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6173         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
6174         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
6175
6176         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6177         that was previously under [RESET_PID].
6178         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6179         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6180         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6181
6182         * sysdeps/i386/nptl/Implies: New file.
6183         * sysdeps/x86_64/nptl/Implies: New file.
6184         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6185         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6186         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6187         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6188
6189         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6190         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6191         (__libc_vfork): New strong alias.
6192         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6193         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6194
6195         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6196         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6197         (__libc_vfork): New strong alias.
6198         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6199         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6200
6201         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6202         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6203         (__libc_vfork): New strong alias.
6204         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6205         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6206         * nptl/pt-vfork.c: New file.
6207         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6208         (libpthread: GLIBC_2.20): New version set (empty).
6209
6210 2014-05-14  Will Newton  <will.newton@linaro.org>
6211
6212         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6213         rather than #if.
6214
6215 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6216
6217         [BZ #16564]
6218         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6219         arguments with exponent 65 or above.
6220         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6221         arguments 0x1p113L or above.
6222         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6223         to arguments 0x1p107L or above.
6224         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6225         positive arguments with exponent 65 or above.
6226         * math/auto-libm-test-in: Add more tests of log1p.
6227         * math/auto-libm-test-out: Regenerated.
6228
6229         [BZ #16928]
6230         * math/s_cacos.c (__cacos): Ensure zero real part of result from
6231         non-finite arguments is +0.
6232         * math/s_cacosf.c (__cacosf): Likewise.
6233         * math/s_cacosl.c (__cacosl): Likewise.
6234         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6235         * sysdeps/i386/fpu/libm-test-ulps: Update.
6236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6237
6238         [BZ #16927]
6239         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6240         value.
6241         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6242         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6243         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6244         for explicit high bit of mantissa when testing for argument equal
6245         to 1.
6246         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6247         * sysdeps/i386/fpu/libm-test-ulps: Update.
6248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6249
6250         [BZ #16516]
6251         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6252         (__erf): Scale by 16 instead of 8 in potentially underflowing
6253         case.  Ensure exception if result actually underflows.
6254         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6255         (__erff): Scale by 16 instead of 8 in potentially underflowing
6256         case.  Ensure exception if result actually underflows.
6257         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6258         (efx8): Remove variable.
6259         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6260         case.  Ensure exception if result actually underflows.
6261         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6262         (efx8): Remove variable.
6263         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6264         case.  Ensure exception if result actually underflows.
6265         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6266         (efx8): Remove variable.
6267         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6268         case.  Ensure exception if result actually underflows.
6269         * math/auto-libm-test-in: Add more tests of erf.
6270         * math/auto-libm-test-out: Regenerated.
6271
6272 2014-05-14  Andreas Schwab  <schwab@suse.de>
6273
6274         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6275         Remove code conditionalized on USE___THREAD.
6276
6277         * config.h.in (HAVE_PT_CHOWN): Define as 0.
6278         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6279         not definedness.
6280
6281 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6282
6283         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6284         Define unconditionally.
6285         (__ASSUME_O_CLOEXEC): Likewise.
6286         (__ASSUME_SOCK_CLOEXEC): Likewise.
6287         (__ASSUME_IN_NONBLOCK): Likewise.
6288         (__ASSUME_PIPE2): Likewise.
6289         (__ASSUME_EVENTFD2): Likewise.
6290         (__ASSUME_SIGNALFD4): Likewise.
6291         (__ASSUME_DUP3): Likewise.
6292         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6293         (__ASSUME_DUP3): Do not define.
6294         (__ASSUME_EVENTFD2): Likewise.
6295         (__ASSUME_IN_NONBLOCK): Likewise.
6296         (__ASSUME_O_CLOEXEC): Likewise.
6297         (__ASSUME_PIPE2): Likewise.
6298         (__ASSUME_SIGNALFD4): Likewise.
6299         (__ASSUME_SOCK_CLOEXEC): Likewise.
6300         (__ASSUME_UTIMES): Undefine.
6301         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6302         (__ASSUME_UTIMES): Do not define.
6303         (__ASSUME_O_CLOEXEC): Likewise.
6304         (__ASSUME_SOCK_CLOEXEC): Likewise.
6305         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6306         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6307         0x020621].
6308         (__ASSUME_PIPE2): Likewise.
6309         (__ASSUME_EVENTFD2): Likewise.
6310         (__ASSUME_SIGNALFD4): Likewise.
6311         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6312         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6313         Do not define.
6314         (__ASSUME_EVENTFD2): Likewise.
6315         (__ASSUME_SIGNALFD4): Likewise.
6316         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6317         (__ASSUME_32BITUIDS): Likewise.
6318         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6319         (__ASSUME_IPC64): Likewise.
6320         (__ASSUME_ST_INO_64_BIT): Likewise.
6321         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6322         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6323         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6324         (__ASSUME_UTIMES): Do not define.
6325         (__ASSUME_PSELECT): Likewise.
6326         (__ASSUME_PPOLL): Likewise.
6327         (__ASSUME_O_CLOEXEC): Likewise.
6328         (__ASSUME_SOCK_CLOEXEC): Likewise.
6329         (__ASSUME_IN_NONBLOCK): Likewise.
6330         (__ASSUME_PIPE2): Likewise.
6331         (__ASSUME_EVENTFD2): Likewise.
6332         (__ASSUME_SIGNALFD4): Likewise.
6333         (__ASSUME_DUP3): Likewise.
6334         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6335         (__ASSUME_UTIMES): Likewise.
6336         (__ASSUME_O_CLOEXEC): Likewise.
6337         (__ASSUME_SOCK_CLOEXEC): Likewise.
6338         (__ASSUME_IN_NONBLOCK): Likewise.
6339         (__ASSUME_PIPE2): Likewise.
6340         (__ASSUME_EVENTFD2): Likewise.
6341         (__ASSUME_SIGNALFD4): Likewise.
6342         (__ASSUME_DUP3): Likewise.
6343         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6344         (__ASSUME_UTIMES): Likewise.
6345         (__ASSUME_O_CLOEXEC): Likewise.
6346         (__ASSUME_SOCK_CLOEXEC): Likewise.
6347         (__ASSUME_IN_NONBLOCK): Likewise.
6348         (__ASSUME_PIPE2): Likewise.
6349         (__ASSUME_EVENTFD2): Likewise.
6350         (__ASSUME_SIGNALFD4): Likewise.
6351         (__ASSUME_DUP3): Likewise.
6352         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6353         Likewise.
6354         (__ASSUME_UTIMES): Likewise.
6355         (__ASSUME_EVENTFD2): Likewise.
6356         (__ASSUME_SIGNALFD4): Likewise.
6357         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6358         (__ASSUME_O_CLOEXEC): Likewise.
6359         (__ASSUME_SOCK_CLOEXEC): Likewise.
6360         (__ASSUME_IN_NONBLOCK): Likewise.
6361         (__ASSUME_PIPE2): Likewise.
6362         (__ASSUME_EVENTFD2): Likewise.
6363         (__ASSUME_SIGNALFD4): Likewise.
6364         (__ASSUME_DUP3): Likewise.
6365         (__ASSUME_UTIMES): Undefine.
6366
6367         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6368         feclearexcept.  Remove symbol versioning code.
6369         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
6370         symbol versioning code.
6371         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
6372         symbol versioning code.
6373         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6374         feupdateenv.  Remove symbol versioning code.
6375         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6376         fegetexceptflag.  Remove symbol versioning code.
6377         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6378         fesetexceptflag.  Remove symbol versioning code.
6379         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6380         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
6381         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6382         (__posix_fadvise64_l32): Remove prototype.
6383         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6384         code.
6385
6386 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6387
6388         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6389         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6390         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6391         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6392
6393 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
6394
6395         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6396         current working directory
6397
6398 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6399
6400         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6401         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6402         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6403         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6404         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6405         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6406         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6407         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6408         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6409         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6410         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6411         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6412         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6413         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6414         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6415         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6416         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6417         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6418         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6419         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6420         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6421         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6422         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6423         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6424         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6425         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6426         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6427         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6428         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6429         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6430         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6431         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6432         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6433         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6434         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6435         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6436         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6437         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6438         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6439         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6440         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6441         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6442
6443         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6444         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6445
6446         * sysdeps/unix/sysv/linux/arm/Makefile
6447         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6448         Add rt-aeabi_unwind_cpp_pr1.
6449         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6450         Add nptl-aeabi_unwind_cpp_pr1.
6451         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6452         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6453         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6454         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6455         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6456         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6457
6458         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6459         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6460         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6461         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6462
6463         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6464         Deconditionalize the code that was previously under [RESET_PID].
6465         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6466
6467         * sysdeps/generic/exit-thread.h: New file.
6468         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6469         * include/unistd.h (__exit_thread): Remove declaration.
6470         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6471         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6472         * csu/libc-start.c: Include <exit-thread.h>.
6473         (LIBC_START_MAIN): Pass no argument to __exit_thread.
6474         * nptl/pthread_create.c: Include <exit-thread.h>.
6475         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6476         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6477         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6478         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6479         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6480         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6481         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6482         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6483         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6484         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6485         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6486         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6487         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6488         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6489         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6490         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6491         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6492
6493 2014-05-13  Andreas Schwab  <schwab@suse.de>
6494
6495         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6496
6497 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
6498
6499         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6500         (__ASSUME_UTIMES): Do not condition on kernel version.
6501         (__ASSUME_PSELECT): Define unconditionally.
6502         (__ASSUME_PPOLL): Likewise.
6503         (__ASSUME_ATFCTS): Likewise.
6504         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6505         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6506         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6507         (__ASSUME_UTIMENSAT): Define unconditionally.
6508         (__ASSUME_PRIVATE_FUTEX): Likewise.
6509         (__ASSUME_FALLOCATE): Likewise.
6510         (__ASSUME_O_CLOEXEC): Likewise.
6511         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6512         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6513         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6514         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6515         (__ASSUME_IN_NONBLOCK): Likewise.
6516         (__ASSUME_PIPE2): Likewise.
6517         (__ASSUME_EVENTFD2): Likewise.
6518         (__ASSUME_SIGNALFD4): Likewise.
6519         (__ASSUME_DUP3): Likewise.
6520         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6521         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6522         (__ASSUME_AT_RANDOM): Likewise.
6523         (__ASSUME_PREADV): Likewise.
6524         (__ASSUME_PWRITEV): Likewise.
6525         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6526         (__ASSUME_F_GETOWN_EX): Define unconditionally.
6527         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6528         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6529         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6530         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6531         (__ASSUME_O_CLOEXEC): Define unconditionally.
6532         (__ASSUME_PSELECT): Do not undefine conditionally.
6533         (__ASSUME_PPOLL): Likewise.
6534         (__ASSUME_ATFCTS): Likewise.
6535         (__ASSUME_SET_ROBUST_LIST): Likewise.
6536         (__ASSUME_UTIMENSAT): Likewise.
6537         (__ASSUME_FDATASYNC): Define unconditionally.
6538         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6539         (__ASSUME_SIGFRAME_V2): Likewise.
6540         )__ASSUME_EVENTFD2): Likewise.
6541         (__ASSUME_SIGNALFD4): Likewise.
6542         (__ASSUME_PSELECT): Do not undefine conditionally.
6543         (__ASSUME_PPOLL): Likewise.
6544         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6545         (__ASSUME_PSELECT): Define unconditionally.
6546         (__ASSUME_PPOLL): Likewise.
6547         (__ASSUME_O_CLOEXEC): Likewise.
6548         (__ASSUME_SOCK_CLOEXEC): Likewise.
6549         (__ASSUME_IN_NONBLOCK): Likewise.
6550         (__ASSUME_PIPE2): Likewise.
6551         (__ASSUME_EVENTFD2): Likewise.
6552         (__ASSUME_SIGNALFD4): Likewise.
6553         (__ASSUME_DUP3): Likewise.
6554         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6555         (__ASSUME_O_CLOEXEC): Likewise.
6556         (__ASSUME_SOCK_CLOEXEC): Likewise.
6557         (__ASSUME_IN_NONBLOCK): Likewise.
6558         (__ASSUME_PIPE2): Likewise.
6559         (__ASSUME_EVENTFD2): Likewise.
6560         (__ASSUME_SIGNALFD4): Likewise.
6561         (__ASSUME_DUP3): Likewise.
6562         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6563         (__ASSUME_EVENTFD2): Likewise.
6564         (__ASSUME_SIGNALFD4): Likewise.
6565         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6566
6567 2014-05-12  Andreas Schwab  <schwab@suse.de>
6568
6569         [BZ #16932]
6570         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6571         (_nss_nis_gethostbyname4_r): Return error if item length is larger
6572         than maximum RPC packet size.
6573         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6574         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6575         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6576         (_nss_nis_getservbyport_r): Likewise.
6577
6578 2014-05-12  Will Newton  <will.newton@linaro.org>
6579
6580         * malloc/Makefile (tests): Add tst-mallopt.
6581         * malloc/tst-mallopt.c: New file.
6582
6583 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6584
6585         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6586         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6587
6588 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6589
6590         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6591         (tst-tlsmod6.so): Likewise.
6592
6593 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6594
6595         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6596
6597 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
6598
6599         [BZ #16064]
6600         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6601         and <dl-procinfo.h>.
6602         (__fegetenv): Save SSE state in envp->__eip if supported.
6603         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6604         envp->__eip if supported.
6605         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6606         and <dl-procinfo.h>.
6607         (__fesetenv): Always set __eip, __cs_selector, __opcode,
6608         __data_offset and __data_selector in environment to 0.  Set SSE
6609         state if supported.
6610         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6611         test-fenv-sse.
6612         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6613         -mfpmath=sse.
6614         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6615
6616 2014-05-09  Will Newton  <will.newton@linaro.org>
6617
6618         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6619         and libc_relro_required for ARM.
6620         * sysdeps/arm/preconfigure: Regenerate.
6621
6622 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
6623             Stefan Liebler  <stli@linux.vnet.ibm.com>
6624
6625         * config.make.in (enable-lock-elision): New Makefile variable.
6626         * configure.ac: Likewise.
6627         * configure: Regenerate.
6628         * sysdeps/s390/configure.ac:
6629         Add check for gcc transactions support.
6630         * sysdeps/s390/configure: Regenerate.
6631         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6632         Build elision files if enabled.
6633         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6634         Add lock elision support for s390.
6635         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6636         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6637         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6638         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6639         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6640         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6641         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6642         Likewise.
6643         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6644         Likewise.
6645         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6646         Likewise.
6647         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6648         Likewise.
6649         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6650         (__lll_timedlock_elision, __lll_lock_elision)
6651         (__lll_unlock_elision, __lll_trylock_elision)
6652         (lll_timedlock_elision, lll_lock_elision)
6653         (lll_unlock_elision, lll_trylock_elision): Add.
6654         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6655         (pthread_mutex_t): Add lock elision support for s390.
6656
6657 2014-05-14  Wilco  <wdijkstr@arm.com>
6658
6659         * sysdeps/arm/fclrexcpt.c: Cleanup.
6660         * sysdeps/arm/fedisblxcpt.c: Cleanup.
6661         * sysdeps/arm/feenablxcpt.c: Cleanup.
6662         * sysdeps/arm/fegetenv.c: Cleanup.
6663         * sysdeps/arm/fegetexcept.c: Cleanup.
6664         * sysdeps/arm/fegetround.c: Cleanup.
6665         * sysdeps/arm/feholdexcpt.c: Cleanup.
6666         * sysdeps/arm/fesetenv.c: Cleanup.
6667         * sysdeps/arm/fesetround.c: Cleanup.
6668         * sysdeps/arm/feupdateenv.c: Cleanup.
6669         * sysdeps/arm/fgetexcptflg.c: Cleanup.
6670         * sysdeps/arm/fraiseexcpt.c: Cleanup.
6671         * sysdeps/arm/fsetexcptflg.c: Cleanup.
6672         * sysdeps/arm/ftestexcept.c: Cleanup.
6673         * sysdeps/arm/get-rounding-mode.h: Cleanup.
6674         * sysdeps/arm/setfpucw.c: Cleanup.
6675
6676 2014-05-09  Will Newton  <will.newton@linaro.org>
6677
6678         * sysdeps/arm/armv7/strcmp.S: New file.
6679         * NEWS: Mention addition of ARMv7 optimized strcmp.
6680
6681 2014-05-08  Roland McGrath  <roland@hack.frob.com>
6682
6683         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6684         look for %.ac rather than %.in.
6685
6686         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6687         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6688         * sysdeps/mach/hurd/configure: Regenerated.
6689         * sysdeps/unix/sysv/linux/configure: Regenerated.
6690
6691         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6692
6693 2014-05-07  Steve Ellcey  <sellcey@mips.com>
6694
6695         [BZ# 16922]
6696         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6697         (LONG_SUB): Ditto.
6698         (PTR_SUB): Ditto.
6699
6700 2014-05-07  Andreas Schwab  <schwab@suse.de>
6701
6702         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6703         when skipping over non-matching result from nscd.
6704
6705 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
6706
6707         [BZ #16876]
6708         * nptl/sockperf.c (client): Check socket return value.
6709
6710         [BZ #16877]
6711         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6712         nscd security class.
6713
6714 2014-05-06  Roland McGrath  <roland@hack.frob.com>
6715
6716         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6717         * sysdeps/arm/unwind.h: ... here.
6718
6719 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
6720
6721         [BZ# 16916]
6722         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6723         Define.
6724
6725 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6726
6727         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6728         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6729         multiarch strncpy for PPC64.
6730         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6731         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6732         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6733         multiarch optimizations.
6734         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6735         (__libc_ifunc_impl_list): Likewise.
6736         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6737         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6738         multiarch stpncpy for PPC64.
6739         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6740         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6741
6742 2014-05-06  Andreas Schwab  <schwab@suse.de>
6743
6744         [BZ #16912]
6745         * gmon/mcount.c (_MCOUNT_DECL): Use
6746         atomic_compare_and_exchange_bool_acq instead of
6747         catomic_compare_and_exchange_bool_acq.
6748
6749 2014-05-05  Roland McGrath  <roland@hack.frob.com>
6750
6751         * elf/Makefile (others, install-bin): Remove pldd.
6752         (pldd-modules): Variable removed.
6753         ($(objpfx)pldd): Target removed.
6754         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6755         (others, install-bin): Append pldd here.
6756         ($(objpfx)pldd): New target.
6757
6758         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6759         to 0, so the first #if test emitted later doesn't see it undefined.
6760         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6761         * sysdeps/gnu/errlist.c: Regenerated.
6762
6763 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6764
6765         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6766         [libc_hidden_builtin_def]: Define to empty value.
6767         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6768         [libc_hidden_builtin_def]: Likewise.
6769         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6770         [libc_hidden_builtin_def]: Likewise.
6771         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6772         [libc_hidden_builtin_def]: Likewise.
6773         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6774         __redirect_memcpy and define ifunc as default hidden symbol.
6775         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6776         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6777
6778 2014-05-04  Adam Conrad  <adconrad@0c3.net>
6779
6780         * locale/iso-4217.def: Reintroduce XDR currency.
6781
6782 2014-05-04  Allan McRae  <allan@archlinux.org>
6783
6784         * po/eo.po: Update Esperanto translation from translation project.
6785
6786 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
6787
6788         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6789         and FEATURE_INDEX_MAX to 1.
6790         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6791
6792 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6793
6794         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6795         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6796         * iconvdata/big5.c (ONE_DIRECTION): Define.
6797         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6798         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6799         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6800         * iconvdata/cp932.c (ONE_DIRECTION): Define.
6801         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6802         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6803         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6804         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6805         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6806         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6807         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6808         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6809         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6810         * iconvdata/gbk.c (ONE_DIRECTION): Define.
6811         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6812         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6813         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6814         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6815         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6816         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6817         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6818         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6819         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6820         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6821         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6822         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6823         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6824         * iconvdata/iso646.c (ONE_DIRECTION): Define.
6825         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6826         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6827         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6828         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6829         * iconvdata/johab.c (ONE_DIRECTION): Define.
6830         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6831         * iconvdata/sjis.c (ONE_DIRECTION): Define.
6832         * iconvdata/t.61.c (ONE_DIRECTION): Define.
6833         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6834         * iconvdata/tscii.c (ONE_DIRECTION): Define.
6835         * iconvdata/uhc.c (ONE_DIRECTION): Define.
6836         * iconvdata/unicode.c (ONE_DIRECTION): Define.
6837         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6838         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6839         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6840
6841 2014-05-01  Roland McGrath  <roland@hack.frob.com>
6842
6843         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6844         (_IO_JUMPS_OFFSET): Define to 0.
6845
6846         * nptl/sysdeps/pthread/bits/libc-lock.h
6847         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6848         (__libc_lock_define_initialized_recursive): Always define using
6849         initializer.  Modern compilers treat uninitialized (implicit zero) and
6850         explicit zero initializers the same (i.e. put the datum in bss).
6851
6852 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6853
6854         * nscd/nscd-client.h: Include <string.h>.
6855
6856 2014-05-01  David S. Miller  <davem@davemloft.net>
6857
6858         [BZ #16885]
6859         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6860         multiple zero bytes exist at the end of a string.
6861         Reported by Aurelien Jarno <aurelien@aurel32.net>
6862
6863         * string/test-strcmp.c (check): Add explicit test for situations where
6864         there are multiple zero bytes after the first.
6865
6866 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6867
6868         [BZ #16890]
6869         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6870         when compiling wprintf.
6871         * stdio-common/tstdiomisc.c (t3): New function.
6872         (main): Call it.
6873
6874 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6875
6876         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6877         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6878         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6879         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6880
6881 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6882
6883         * stdlib/longlong.h: Updated from GCC.
6884
6885 2014-05-01  Will Newton  <will.newton@linaro.org>
6886             Bernard Ogden  <bernie.ogden@linaro.org>
6887
6888         * NEWS: Update fixed bug list.
6889
6890         [BZ #15119]
6891         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6892
6893 2014-04-30  David S. Miller  <davem@davemloft.net>
6894
6895         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6896         (libc_feholdexcept_setround_sparc_ctx): New function.
6897         (libc_fesetenv_sparc_ctx): Likewise.
6898         (libc_feupdateenv_sparc_ctx): Likewise.
6899         (libc_feholdsetround_sparc_ctx): Likewise.
6900         (libc_feholdexcept_setround_ctx): Define.
6901         (libc_feholdexcept_setroundf_ctx): Likewise.
6902         (libc_feholdexcept_setroundl_ctx): Likewise.
6903         (libc_fesetenv_ctx): Likewise.
6904         (libc_fesetenvf_ctx): Likewise.
6905         (libc_fesetenvl_ctx): Likewise.
6906         (libc_feupdateenv_ctx): Likewise.
6907         (libc_feupdateenvf_ctx): Likewise.
6908         (libc_feupdateenvl_ctx): Likewise.
6909         (libc_feresetround_ctx): Likewise.
6910         (libc_feresetroundf_ctx): Likewise.
6911         (libc_feresetroundl_ctx): Likewise.
6912         (libc_feholdsetround_ctx): Likewise.
6913         (libc_feholdsetroundf_ctx): Likewise.
6914         (libc_feholdsetroundl_ctx): Likewise.
6915
6916         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6917         with __USE_GNU instead of XOPEN cpp guards.
6918
6919         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6920         0.
6921
6922         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6923         with XOPEN cpp guards.
6924
6925 2014-04-30  Julian Brown  <julian@codesourcery.com>
6926
6927         [BZ #16888]
6928         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6929         handling.
6930
6931 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
6932
6933         [BZ #9894]
6934         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6935         Change to 2.6.32.
6936         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6937         * sysdeps/unix/sysv/linux/configure: Regenerated.
6938         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6939         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6940         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6941         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6942         * README: Update reference to required Linux kernel version.
6943         * manual/install.texi (Linux): Update reference to required Linux
6944         kernel headers version.
6945         * INSTALL: Regenerated.
6946
6947         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6948         header inclusion.
6949         [POSIX] (limits.h): Likewise.
6950         [POSIX] (math.h): Likewise.
6951         [POSIX] (sys/wait.h): Likewise.
6952         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6953         function.
6954         [POSIX] (stddef.h): Do not allow header inclusion.
6955
6956 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6957
6958         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6959
6960 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
6961
6962         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6963         Return immediately after lll_futex_wake.
6964
6965 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6966
6967         [BZ #16791]
6968         * nscd/nscd-client.h (datahead_init_common): Initialize entire
6969         structure.
6970         (datahead_init_pos): Call datahead_init_common early.
6971         (datahead_init_neg): Likewise.
6972
6973         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6974         datahead_init_neg): New functions.
6975         * nscd/aicache.c (addhstaiX): Use them.
6976         * nscd/grpcache.c (cache_addgr): Likewise.
6977         * nscd/hstcache.c (cache_addhst): Likewise.
6978         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6979         * nscd/netgroupcache.c (do_notfound): Likewise.
6980         (addgetnetgrentX): Likewise.
6981         (addinnetgrX): Likewise.
6982         * nscd/pwdcache.c (cache_addpw): Likewise.
6983         * nscd/servicescache.c (cache_addserv): Likewise.
6984
6985 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6986             Atsushi Onoe  <atsushi@onoe.org>
6987
6988         [BZ #14308]
6989         [BZ #12994]
6990         [BZ #13651]
6991         * resolv/res_query.c (__libc_res_nsearch): Return if at least
6992         one response is valid.
6993         * resolv/res_send.c (send_dg): Check for validity of other
6994         response if the current response is a referral.
6995
6996 2014-04-29  Steve Ellcey  <sellcey@mips.com>
6997
6998         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6999
7000 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
7001
7002         [BZ #16823]
7003         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7004         Always divide by positive zero when computing -Inf result.
7005         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7006         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7007
7008 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7009
7010         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7011         FPSCR if value do not change.
7012         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7013         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7014         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7015         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7016         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7017         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7018         function.
7019
7020 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
7021
7022         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7023         * sysdeps/unix/sysv/linux/hppa: Move directory from
7024         ports/systeps/unix/sysv/linux/hppa.
7025         * README: Update listing for hppa-*-linux-gnu.
7026
7027 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
7028
7029         [BZ #16754]
7030         * manual/stdio.texi (Hook functions): Fix types of stream hook
7031         functions.
7032         [BZ #16854]
7033         * socket/sys/socket.h: Fix typo in comment.
7034
7035 2014-04-28  Wilco  <wdijkstr@arm.com>
7036
7037         * sysdeps/arm/fenv_private.h: New file.
7038         * sysdeps/arm/math_private.h: New file.
7039         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7040
7041 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
7042
7043         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7044         with __int128_t.
7045         (La_x86_64_retval): Likewise.
7046
7047 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
7048
7049         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7050         fpsr if value didn't change.
7051         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7052         to fpcr if value didn't change.
7053         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7054         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7055         fpsr or fpcr if value didn't change.
7056         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7057         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7058         fpcr if value didn't change.
7059         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7060         to fpsr if value didn't change.
7061
7062 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7063
7064         * nptl/tst-sem3.c: Use test-skeleton.c
7065         (main): Rename to do_test.  Use return instead of
7066         exit.
7067         * nptl/tst-sem4.c: Use test-skeleton.c
7068         (main): Rename to do_test.
7069
7070 2014-04-22  David S. Miller  <davem@davemloft.net>
7071
7072         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7073         (struct sigaction): New struct member __glibc_reserved0, change
7074         type of sa_flags to int.
7075
7076 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
7077
7078         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7079         (COUNT_LEADING_ZEROS_0): Define for AArch64.
7080
7081 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7082
7083         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7084         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7085
7086 2014-04-22  Will Newton  <will.newton@linaro.org>
7087             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
7088
7089         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7090         (__longjmp): Add longjmp and longjmp_target SystemTap
7091         probes.
7092         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7093         (__sigsetjmp): Add setjmp SystemTap probe.
7094
7095 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
7096
7097         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7098         match manual order.
7099
7100 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7101
7102         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7103
7104         * sysdeps/powerpc/fpu/fenv_private.h
7105         (libc_feholdexcept_setroundl_ctx): Define to
7106         libc_feholdexcept_setround_ppc_ctx.
7107         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7108         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7109         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7110         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7111
7112 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7113
7114         * sysdeps/aarch64/math-tests.h: New file.
7115
7116 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
7117
7118         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7119         New.
7120         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7121         Check and set bit_AVX2_Usable.
7122         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7123         macro.
7124         (bit_AVX2): Likewise.
7125         (index_AVX2_Usable): Likewise.
7126         (CPUID_AVX2): Likewise.
7127         (HAS_AVX2): Likewise.
7128
7129 2014-04-17  Will Newton  <will.newton@linaro.org>
7130
7131         * manual/setjmp.texi (System V contexts): Add note that
7132         calling setcontext on a context created by a call to a
7133         signal handler is undefined.  Update text to note that
7134         setcontext from a signal handler is possible but not
7135         recommended.
7136
7137         [BZ #16629]
7138         * stdlib/tst-setcontext.c: Include signal.h.
7139         (main): Check that the signal stack before and
7140         after swapcontext is the same.
7141
7142         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7143         Re-implement to restore registers in user code and avoid
7144         rt_sigreturn system call.
7145
7146 2014-04-17  Wilco  <wdijkstr@arm.com>
7147
7148         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7149         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7150         * math/test-fenv.c: Skip exception trap tests on targets which only
7151         support non-stop mode.
7152
7153 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7154             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7155
7156         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7157         (libc_feholdsetround_aarch64_ctx)
7158         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7159         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7160         (libc_feresetround_ctx, libc_feresetroundf_ctx)
7161         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7162         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7163         (libc_feresetround_noexl_ctx): Define.
7164
7165 2014-04-16  Richard Henderson  <rth@redhat.com>
7166
7167         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7168
7169         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7170         unwind tables.
7171
7172         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7173         const from the non-libc, non-ldso copy.
7174
7175         * sysdeps/alpha/libm-test-ulps: Regenerate.
7176
7177 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
7178             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7179
7180         * sysdeps/aarch64/fpu/math_private.h: New file.
7181
7182 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7183
7184         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7185
7186 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
7187
7188         [BZ #16275]
7189         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7190         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7191         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7192         Intel MPX bound registers before _dl_profile_fixup.
7193         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7194         registers after _dl_profile_fixup.  Save and restore bound
7195         registers bnd0/bnd1 when calling _dl_call_pltexit.
7196         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7197         (LR_BND_OFFSET): Likewise.
7198         (LRV_BND0_OFFSET): Likewise.
7199         (LRV_BND1_OFFSET): Likewise.
7200
7201 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7202
7203         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7204         to...
7205         * sysdeps/mach/hurd/i386/tls.h: ... here.
7206         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7207         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7208         fields.
7209
7210 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7211
7212         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7213
7214 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7215
7216         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7217
7218 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7219
7220         [BZ #14770]
7221         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7222         * sysdeps/s390/configure: Regenerate.
7223
7224         [BZ #16824]
7225         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7226         Set round-to-nearest internally to reduce error accumulation.
7227
7228 2014-04-16  Alan Modra  <amodra@gmail.com>
7229
7230         [BZ #16740]
7231         [BZ #16619]
7232         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7233         * math/libm-test.inc (frexp_test_data): Add tests.
7234         * NEWS: Update fixed bug list.
7235
7236 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7237
7238         * benchtests/Makefile: Depend on libraries in build directory.
7239         (bench-math): Separate out math tests.
7240         (bench-pthread): Separate out pthread tests.
7241         (bench): Include math and pthread tests.
7242
7243 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
7244
7245         [BZ #16831]
7246         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7247         _dl_debug_initialize.
7248
7249         * configure.ac: Remove SELinux header check.
7250         * configure: Regenerate.
7251         * nscd/selinux.c (perms): Array of const char* to permission names.
7252         (nscd_request_avc_has_perm): Call security_deny_unknown to find
7253         default policy. Call string_to_security_class and string_to_av_perm to
7254         translate strings. Enforce default policy and call avs_has_perm with
7255         results of translated strings.
7256
7257 2014-04-13  David S. Miller  <davem@davemloft.net>
7258
7259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7260
7261 2014-04-12  Allan McRae  <allan@archlinux.org>
7262
7263         [BZ #16838]
7264         * manual/string.texi (Collation Functions): Fix qsort argument
7265         order in example.
7266         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7267
7268 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
7269
7270         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7271         Make the test a no-op if there are no exceptions defined.
7272
7273 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7274
7275         * elf/Makefile (tests): make tst-dlopen-aout conditional on
7276         enable-hardcoded-path-in-tests
7277
7278 2014-04-11  Will Newton  <will.newton@linaro.org>
7279
7280         * benchtests/Makefile (extra-objs): Add json-lib.o.
7281         (bench-func): Tidy up JSON output.
7282         * benchtests/bench-skeleton.c: Include json-lib.h.
7283         (main): Use JSON library functions to do output of
7284         benchmark results.
7285         * benchtests/bench-timing-type.c (main): Output the
7286         timing type simply, leaving formatting to the user.
7287         * benchtests/json-lib.c: New file.
7288         * benchtests/json-lib.h: Likewise.
7289
7290 2014-04-11  Torvald Riegel  <triegel@redhat.com>
7291
7292         [BZ #15215]
7293         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7294         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
7295         memory barriers.  Add comments.
7296         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7297         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7298         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7299         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7300         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7301         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7302
7303 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7304
7305         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7306         * sysdeps/s390/s390-64/configure.ac: ... this ...
7307         * sysdeps/s390/configure.ac: ... to here.
7308         * sysdeps/s390/s390-32/configure: Delete file.
7309         * sysdeps/s390/s390-64/configure: Delete file.
7310         * sysdeps/s390/configure: Regenerate.
7311
7312 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
7313
7314         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7315
7316 2014-04-11  Will Newton  <will.newton@linaro.org>
7317
7318         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7319         to zero if it is not defined elsewhere.  (mtrim): Test
7320         the value of MALLOC_DEBUG with #if rather than #ifdef.
7321
7322 2014-04-10 Torvald Riegel  <triegel@redhat.com>
7323
7324         * benchtests/pthread_once-inputs: New file.
7325         * benchtests/pthread_once-source.c: New file.
7326         * benchtests/README: Update documentation.
7327
7328 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7329             H.J. Lu  <hongjiu.lu@intel.com>
7330
7331         [BZ #16275]
7332         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7333         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7334         * sysdeps/x86_64/configure: Regenerated.
7335         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7336         macro.
7337         (REGISTER_SAVE_RAX): Likewise.
7338         (REGISTER_SAVE_RCX): Likewise.
7339         (REGISTER_SAVE_RDX): Likewise.
7340         (REGISTER_SAVE_RSI): Likewise.
7341         (REGISTER_SAVE_RDI): Likewise.
7342         (REGISTER_SAVE_R8): Likewise.
7343         (REGISTER_SAVE_R9): Likewise.
7344         (REGISTER_SAVE_BND0): Likewise.
7345         (REGISTER_SAVE_BND1): Likewise.
7346         (REGISTER_SAVE_BND2): Likewise.
7347         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
7348         bound registers when calling _dl_fixup.
7349
7350 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7351
7352         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7353         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7354         of its definition.
7355         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7356         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7357         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7358         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7359         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7360         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7361         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7362
7363 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
7364
7365         [BZ #15514]
7366         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7367         pathconf(_PC_NAME_MAX).
7368
7369 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7370
7371         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7372         Remove macro usage.
7373         (__PTHREAD_SPINS): Move definition to ...
7374         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7375         (__PTHREAD_SPINS): ... here.
7376         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7377         (__PTHREAD_SPIN): Likewise.
7378         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7379         (__PTHREAD_SPIN): Likewise.
7380         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7381         (__PTHREAD_SPIN): Likewise.
7382         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7383         (__PTHREAD_SPIN): Likewise.
7384         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7385         (__PTHREAD_SPIN): Likewise.
7386         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7387         (__PTHREAD_SPIN): Likewise.
7388         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7389         (__PTHREAD_SPIN): Likewise.
7390         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7391         (__PTHREAD_SPIN): Likewise.
7392         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7393         (__PTHREAD_SPIN): Likewise.
7394         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7395         (__PTHREAD_SPIN): Likewise.
7396         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7397         (__PTHREAD_SPIN): Likewise.
7398         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7399         (__PTHREAD_SPIN): Likewise.
7400
7401         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7402         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7403         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7404         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7405         imply folder.
7406         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7407         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7408         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7409         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7410         correct imply path.
7411         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7412         strlen symbol for non multi-arch builds.
7413         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7414         missing hidden_def and weak_alias.
7415
7416 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
7417
7418         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7419
7420 2014-04-07  Will Newton  <will.newton@linaro.org>
7421
7422         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7423         and contents.  [!_LIBC] Remove #ifndef and contents.
7424         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
7425         * string/memccpy.c (__memccpy): Use ANSI prototype.
7426         * string/memfrob.c (memfrob): Likewise.
7427         * string/strcoll.c (STRCOLL): Likewise.
7428         * string/strlen.c (strlen): Likewise.
7429         * string/strtok.c (STRTOK): Likewise.
7430         * string/strcat.c: Remove unused #include of memcopy.h.
7431         (strcat): Use ANSI prototype.
7432         * string/strchr.c: Remove unused #include of memcopy.h.
7433         (strchr): Use ANSI prototype.
7434         * string/strcmp.c: Remove unused #include of memcopy.h.
7435         (strcmp): Use ANSI prototype.
7436         * string/strcpy.c: Remove unused #include of memcopy.h.
7437         (strcpy): Use ANSI prototype.
7438
7439 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7440
7441         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7442         * config.make.in (config-extra-cppflags): Set it from
7443         libc_extra_cppflags.
7444         * configure.ac (libc_extra_cflags): Make it accumulate over
7445         configure fragments.
7446         (libc_extra_cppflags): New flag.
7447         * configure. Regenerate.
7448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7449         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7450         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7452
7453         [BZ #16815]
7454         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7455         result for FE_DOWNWARD rounding mode.
7456         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7457         Likewise.
7458         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7459
7460 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
7461
7462         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7463         in function argument name.
7464
7465 2014-04-03  David Svoboda  <svoboda@cert.org>
7466
7467         [BZ #5666]
7468         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7469         explicitly.
7470
7471 2014-04-03  Roland McGrath  <roland@hack.frob.com>
7472
7473         * elf/dl-unmap-segments.h: New file.
7474         * sysdeps/generic/ldsodefs.h
7475         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7476         * elf/dl-close.c: Include <dl-unmap-segments.h>.
7477         * elf/dl-fptr.c: Likewise.
7478         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7479         * sysdeps/aarch64/tlsdesc.c: Likewise.
7480         * sysdeps/arm/tlsdesc.c: Likewise.
7481         * sysdeps/i386/tlsdesc.c: Likewise.
7482         * sysdeps/tile/dl-runtime.c: Likewise.
7483         * sysdeps/x86_64/tlsdesc.c: Likewise.
7484         * elf/dl-load.h: New file.
7485         * elf/dl-load.c: Include it.
7486         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7487         Macros moved to dl-load.h.
7488         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7489         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7490         Use _dl_unmap_segments in place of __munmap.
7491         Break out segment-mapping loop into ...
7492         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7493
7494 2014-04-03  Will Newton  <will.newton@linaro.org>
7495
7496         * elf/dl-lookup.c (do_lookup_x): Remove comment
7497         referring to nested function and move variable
7498         declarations down to before first use.
7499
7500 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
7501
7502         [BZ #16799]
7503         [BZ #16800]
7504         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7505         with 0 numerator.
7506         * math/s_catanf.c (__catanf): Likewise.
7507         * math/s_catanh.c (__catanh): Likewise.
7508         * math/s_catanhf.c (__catanhf): Likewise.
7509         * math/s_catanhl.c (__catanhl): Likewise.
7510         * math/s_catanl.c (__catanl): Likewise.
7511         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7512         by positive zero when computing -Inf result.
7513         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7514         (catanh_test): Likewise.
7515         * sysdeps/i386/fpu/libm-test-ulps: Update.
7516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7517
7518         [BZ #16789]
7519         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7520         instead of using underflowing value in computing result.
7521         * math/s_clog10.c (__clog10): Likewise.
7522         * math/s_clog10f.c (__clog10f): Likewise.
7523         * math/s_clog10l.c (__clog10l): Likewise.
7524         * math/s_clogf.c (__clogf): Likewise.
7525         * math/s_clogl.c (__clogl): Likewise.
7526         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7527         (clog10_test): Likewise.
7528         * sysdeps/i386/fpu/libm-test-ulps: Update.
7529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7530
7531 2014-04-02  Alan Modra  <amodra@gmail.com>
7532
7533         [BZ #16739]
7534         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7535         output when value is near a power of two.  Use int64_t for lx and
7536         remove casts.  Use decimal rather than hex exponent constants.
7537         Don't use long double multiplication when double will suffice.
7538         * math/libm-test.inc (nextafter_test_data): Add tests.
7539         * NEWS: Add 16739 and 16786 to bug list.
7540
7541         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7542
7543         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7544
7545 2014-04-01  Will Newton  <will.newton@linaro.org>
7546
7547         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7548         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
7549
7550 2014-04-01  Florian Weimer  <fweimer@redhat.com>
7551
7552         [BZ #13347]
7553         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7554         * nptl/tst-setuid2.c: New file.
7555         * nptl/Makefile (xtests): Add tst-setuid2.
7556
7557 2014-04-01  Alan Modra  <amodra@gmail.com>
7558
7559         [BZ #16786]
7560         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7561
7562 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7563
7564         [BZ #6803]
7565         [BZ #6804]
7566         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7567         set errno as appropriate.
7568         * math/w_scalbf.c (__scalbf): Likewise.
7569         * math/w_scalbl.c (__scalbl): Likewise.
7570         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7571         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7572         * math/libm-test.inc (scalb_test_data): Add errno expectations.
7573         Add more NaN tests.
7574
7575         [BZ #16349]
7576         * math/w_atan2.c: Include <errno.h>.
7577         (__atan2): Set errno for result underflowing to zero.
7578         * math/w_atan2f.c: Include <errno.h>.
7579         (__atan2f): Set errno for result underflowing to zero.
7580         * math/w_atan2l.c: Include <errno.h>.
7581         (__atan2l): Set errno for result underflowing to zero.
7582         * math/auto-libm-test-in: Don't allow missing errno for some atan2
7583         tests.
7584         * math/auto-libm-test-out: Regenerated.
7585
7586 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7587
7588         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7589         Encode instruction correctly in little endian.
7590         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7591         Likewise.
7592         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7593         Likewise.
7594         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7595         Likewise.
7596         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7597         Likewise.
7598
7599 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7600
7601         [BZ #9894]
7602         * sysdeps/unix/sysv/linux/kernel-features.h
7603         [__sparc__ && !__arch64__ && !__sparc_v9__]
7604         (__ASSUME_SET_ROBUST_LIST): Do not define.
7605         [__sparc__ && !__arch64__ && !__sparc_v9__]
7606         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7607         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7608         Likewise.
7609         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7610         (__ASSUME_FUTEX_LOCK_PI): Undefine.
7611         (__ASSUME_REQUEUE_PI): Likewise.
7612         (__ASSUME_SET_ROBUST_LIST): Likewise.
7613         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7614         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7615         Undefine.
7616         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7617         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7618         Likewise.
7619         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7620         Likewise.
7621         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7622         Likewise.
7623         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7624         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7625         Undefine.
7626         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7627         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7628         Likewise.
7629
7630         [BZ #16648]
7631         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7632         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7633         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7634
7635 2014-03-31  Will Newton  <will.newton@linaro.org>
7636
7637         * benchtests/Makefile (bench): Add ffs and ffsll to list
7638         of tests.
7639         * benchtests/ffs-inputs: New file.
7640         * benchtests/ffsll-inputs: Likewise.
7641
7642 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
7643
7644         [BZ #16770]
7645         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7646         too large before casting to int.
7647         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7648         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7649         * math/libm-test.inc (scalb_test_data): Add more tests.
7650
7651 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7652
7653         * benchtests/Makefile (DETAILED_OPT): New make option.
7654         (bench-func): Run benchmark program with -d if DETAILED_OPT is
7655         set.
7656         * benchtests/bench-skeleton.c: Include stdbool.h.
7657         (main): Store and print timings per input.
7658         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7659         member to each argument value.
7660         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7661         (_print_arg_data): Initialize per-input timing to 0.
7662
7663         * benchtests/Makefile (timing-type): New binary.
7664         (bench-clean): Also remove bench-timing-type.
7665         (bench): New target for timing-type.
7666         (bench-func): Print output in JSON format.
7667         * benchtests/bench-skeleton.c (main): Print output in JSON
7668         format.
7669         * benchtests/bench-timing-type.c: New file.
7670         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7671         (TIMING_PRINT_STATS): Remove.
7672         * benchtests/scripts/bench.py (_print_arg_data): Store variant
7673         name separately.
7674
7675         * benchtests/bench-modf.c: Remove.
7676         * benchtests/modf-inputs: New inputs file.
7677
7678 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
7679
7680         [BZ #16362]
7681         * math/s_clog10.c (M_PI_LOG10E): New macro.
7682         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7683         imaginary parts are 0.
7684         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7685         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7686         imaginary parts are 0.
7687         * math/s_clog10l.c (M_PI_LOG10El): New macro.
7688         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7689         imaginary parts are 0.
7690         * math/libm-test.inc (clog10_test_data): Update expected results
7691         for when real and imaginary parts are 0.
7692
7693 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
7694
7695         * elf/dl-load.c: Finish conversion of __builtin_expect into
7696         __glibc_{un}likely.
7697
7698 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
7699
7700         [BZ #16348]
7701         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7702         1+x for argument with exponent below -67.
7703         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7704         Likewise.
7705         * math/auto-libm-test-in: Add more tests of exp.
7706         * math/auto-libm-test-out: Regenerated.
7707
7708 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7709
7710         [BZ #16759]
7711         * inet/getnetgrent_r.c (get_nonempty_val): New function.
7712         (nscd_getnetgrent): Use it.
7713
7714         [BZ #16760]
7715         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7716         of stpcpy.
7717
7718 2014-03-27  Andi Kleen  <ak@linux.intel.com>
7719
7720         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7721         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7722         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7723         (lll_robust_unlock): Remove out of line section. Use cfi
7724         intrinsics.
7725         (LLL_STUB_UNWIND_INFO*): Remove.
7726         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7727         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7728         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7729         (lll_robust_unlock): Remove out of line section. Use cfi
7730         intrinsics.
7731         (LLL_STUB_UNWIND_INFO*): Remove.
7732
7733 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7734
7735         [BZ #16758]
7736         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7737         blank values.
7738
7739 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7740
7741         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7742
7743 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
7744
7745         [BZ #16198]
7746         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7747         fnstenv.
7748         * math/test-fenv-preserve.c: New file.
7749         * math/Makefile (tests): Add test-fenv-preserve.
7750
7751 2014-03-26  Will Newton <will.newton@linaro.org>
7752
7753         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7754
7755 2014-03-25  Roland McGrath  <roland@hack.frob.com>
7756
7757         * scripts/versionlist.awk: Partition the version sets and emit all
7758         GLIBC_* (sorted) before all others (sorted).
7759
7760 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7761
7762         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7763         GLIBC_2.2.5 version.
7764
7765 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7766
7767         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7768         calls.
7769
7770         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7771         previous change.
7772
7773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7774
7775 2014-03-25  Andreas Schwab  <schwab@suse.de>
7776
7777         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7778         label to be used after in6ailist is initialized.
7779
7780 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7781
7782         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7783         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7784
7785 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7786
7787         [BZ #16357]
7788         [BZ #16599]
7789         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7790         min_plus_half.
7791         (fp_formats): Update initializers.
7792         (init_fp_formats): Initialize new field.
7793         (output_for_one_input_case): Allow underflow for results up to
7794         min_plus_half.
7795         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7796         * math/auto-libm-test-in: Don't mark some underflows from asin and
7797         atanh as spurious.
7798         * math/auto-libm-test-out: Regenerated.
7799         * sysdeps/i386/fpu/libm-test-ulps: Update.
7800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7801
7802 2014-03-25  Andreas Schwab  <schwab@suse.de>
7803
7804         * libio/Makefile (tst-ftell-partial-wide-ENV)
7805         (tst-ftell-active-handler-ENV): Define.
7806
7807 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
7808
7809         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7810
7811 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7812
7813         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7814
7815 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7816
7817         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7818         * sysdeps/x86_64/fpu/multiarch/e_exp.c
7819         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7820
7821 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7822
7823         [BZ #16634]
7824         * elf/dl-load.c (open_verify): Add mode parameter.
7825         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7826         (open_path): Change from boolean 'secure' to complete flag 'mode'
7827         (_dl_map_object): Adjust.
7828         * elf/Makefile (tests): Add tst-dlopen-aout.
7829         * elf/tst-dlopen-aout.c: New test.
7830
7831 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
7832
7833         [BZ #16714]
7834         * sysdeps/unix/sysv/linux/s390/bits/stat.h
7835         (struct stat): Rename member pad0 to __glibc_reserved0.
7836
7837         [BZ #16712]
7838         * sysdeps/s390/s390-32/bits/wordsize.h
7839         (__WORDSIZE32_SIZE_ULONG): New define.
7840         * sysdeps/s390/s390-64/bits/wordsize.h
7841         (__WORDSIZE32_SIZE_ULONG): Likewise.
7842         * sysdeps/generic/stdint.h (SIZE_MAX):
7843         Define as UL if __WORDSIZE32_SIZE_ULONG.
7844
7845         [BZ #16713]
7846         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7847         (__glibc_reserved0): New variable.
7848         (sa_flags): Change type to int.
7849
7850         * posix/Makefile (before-compile): Use += before-compile instead
7851         of a :=.
7852
7853         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7854         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7855
7856 2014-03-20  Andreas Schwab  <schwab@suse.de>
7857
7858         [BZ #16743]
7859         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7860         non-matching result from nscd.
7861
7862 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7863
7864         * scripts/bench.py: Moved to ...
7865         * benchtests/scripts/bench.py: ... here.
7866         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7867
7868 2014-03-24  Andreas Schwab  <schwab@suse.de>
7869
7870         [BZ #16002]
7871         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7872         alloca_account and account alloca use for struct in6ailist.
7873
7874 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7875
7876         [BZ #16284]
7877         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7878         rounding mode to recompute results that overflow to infinity or
7879         underflow to zero.
7880         * math/auto-libm-test-in: Don't mark tests as expected to fail for
7881         bug 16284.
7882         * math/auto-libm-test-out: Regenerated.
7883         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7884         (ccosh_test): Likewise.
7885         (csin_test_data): Use plus_oflow.
7886         (csin_test): Use ALL_RM_TEST.
7887         (csinh_test_data): Use plus_oflow.
7888         (csinh_test): Use ALL_RM_TEST.
7889         * sysdeps/i386/fpu/libm-test-ulps: Update.
7890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7891
7892 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
7893
7894         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7895         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7896         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7897
7898         [BZ #16731]
7899         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7900         when x - 1 is zero.
7901         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7902         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7903         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7904         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7905         argument is 1.
7906         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7907         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7908         zero.
7909         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7910         * sysdeps/i386/fpu/libm-test-ulps: Update.
7911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7912
7913 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7914
7915         * scripts/bench.pl: Remove file.
7916         * scripts/bench.py: New benchmark script.
7917         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7918         * benchtests/README: Mention python dependency.
7919         * scripts/pylintrc: New file.
7920         * scripts/pylint: New file.
7921
7922         * bits/mathdef.h: Use #ifdef instead of #if.
7923         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7924         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7925         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7926         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7927         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7928         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7929
7930 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7931             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7932
7933         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7934         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7935         and strpbrk-ppc64 objects.
7936         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7937         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7938         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7939         multiarch strpbrk for POWER7.
7940         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7941         multiarch strpbrk for PPC64.
7942         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7943         ifunc selector.
7944         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7945         strpbrk for POWER7.
7946
7947 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7948
7949         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7950         (atan_test): Likewise.
7951         (atanh_test_data): Use NO_TEST_INLINE for two tests.
7952         (atanh_test): Use ALL_RM_TEST.
7953         (atan2_test_data): Likewise.
7954         (cabs_test): Likewise.
7955         (cacosh_test): Likewise.
7956         (carg_test): Likewise.
7957         (casin_test): Likewise.
7958         (casinh_test): Likewise.
7959         (cbrt_test): Likewise.
7960         (csqrt_test): Likewise.
7961         (erf_test): Likewise.
7962         (erfc_test): Likewise.
7963         (pow10_test): Likewise.
7964         (exp2_test): Likewise.
7965         (hypot_test): Likewise.
7966         (j0_test): Likewise.
7967         (j1_test): Likewise.
7968         (lgamma_test): Likewise.
7969         (gamma_test): Likewise.
7970         (sincos_test): Likewise.
7971         (tanh_test): Likewise.
7972         (y0_test): Likewise.
7973         (y1_test): Likewise.
7974         * sysdeps/i386/fpu/libm-test-ulps: Update.
7975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7976
7977 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7978
7979         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7980         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7981         and strcspn-ppc64 objects.
7982         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7983         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7984         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7985         multiarch strcspn for POWER7.
7986         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7987         multiarch strcspn for PPC64.
7988         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7989         ifunc selector.
7990         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7991         strcspn for POWER7.
7992
7993 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7994
7995         * math/gen-libm-test.pl (generate_testfile): Expect only function
7996         name as argument to AUTO_TESTS_* and pass results for all rounding
7997         modes to parse_args.
7998         (parse_auto_input): Separate inputs of automatic tests from
7999         outputs before storing in %auto_tests.
8000         * math/libm-test.inc (acos_test_data): Update call to
8001         AUTO_TESTS_f_f.
8002         (acos_test): Use ALL_RM_TEST.
8003         (acos_tonearest_test_data): Remove.
8004         (acos_test_tonearest): Likewise.
8005         (acos_towardzero_test_data): Likewise.
8006         (acos_test_towardzero): Likewise.
8007         (acos_downward_test_data): Likewise.
8008         (acos_test_downward): Likewise.
8009         (acos_upward_test_data): Likewise.
8010         (acos_test_upward): Likewise.
8011         (acosh_test_data): Update call to AUTO_TESTS_f_f.
8012         (asin_test_data): Likewise.
8013         (asin_test): Use ALL_RM_TEST.
8014         (asin_tonearest_test_data): Remove.
8015         (asin_test_tonearest): Likewise.
8016         (asin_towardzero_test_data): Likewise.
8017         (asin_test_towardzero): Likewise.
8018         (asin_downward_test_data): Likewise.
8019         (asin_test_downward): Likewise.
8020         (asin_upward_test_data): Likewise.
8021         (asin_test_upward): Likewise.
8022         (asinh_test_data): Update call to AUTO_TESTS_f_f.
8023         (atan_test_data): Likewise.
8024         (atanh_test_data): Likewise.
8025         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8026         (cabs_test_data): Update call to AUTO_TESTS_c_f.
8027         (carg_test_data): Likewise.
8028         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8029         (ccos_test_data): Update call to AUTO_TESTS_c_c.
8030         (ccosh_test_data): Likewise.
8031         (cexp_test_data): Likewise.
8032         (clog_test_data): Likewise.
8033         (clog10_test_data): Likewise.
8034         (cos_test_data): Update call to AUTO_TESTS_f_f.
8035         (cos_test): Use ALL_RM_TEST.
8036         (cos_tonearest_test_data): Remove.
8037         (cos_test_tonearest): Likewise.
8038         (cos_towardzero_test_data): Likewise.
8039         (cos_test_towardzero): Likewise.
8040         (cos_downward_test_data): Likewise.
8041         (cos_test_downward): Likewise.
8042         (cos_upward_test_data): Likewise.
8043         (cos_test_upward): Likewise.
8044         (cosh_test_data): Update call to AUTO_TESTS_f_f.
8045         (cosh_test): Use ALL_RM_TEST.
8046         (cosh_tonearest_test_data): Remove.
8047         (cosh_test_tonearest): Likewise.
8048         (cosh_towardzero_test_data): Likewise.
8049         (cosh_test_towardzero): Likewise.
8050         (cosh_downward_test_data): Likewise.
8051         (cosh_test_downward): Likewise.
8052         (cosh_upward_test_data): Likewise.
8053         (cosh_test_upward): Likewise.
8054         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8055         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8056         (ctan_test_data): Likewise.
8057         (ctan_test): Use ALL_RM_TEST.
8058         (ctan_tonearest_test_data): Remove.
8059         (ctan_test_tonearest): Likewise.
8060         (ctan_towardzero_test_data): Likewise.
8061         (ctan_test_towardzero): Likewise.
8062         (ctan_downward_test_data): Likewise.
8063         (ctan_test_downward): Likewise.
8064         (ctan_upward_test_data): Likewise.
8065         (ctan_test_upward): Likewise.
8066         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8067         (ctanh_test): Use ALL_RM_TEST.
8068         (ctanh_tonearest_test_data): Remove.
8069         (ctanh_test_tonearest): Likewise.
8070         (ctanh_towardzero_test_data): Likewise.
8071         (ctanh_test_towardzero): Likewise.
8072         (ctanh_downward_test_data): Likewise.
8073         (ctanh_test_downward): Likewise.
8074         (ctanh_upward_test_data): Likewise.
8075         (ctanh_test_upward): Likewise.
8076         (erf_test_data): Update call to AUTO_TESTS_f_f.
8077         (erfc_test_data): Likewise.
8078         (exp_test_data): Likewise.
8079         (exp_test): Use ALL_RM_TEST.
8080         (exp_tonearest_test_data): Remove.
8081         (exp_test_tonearest): Likewise.
8082         (exp_towardzero_test_data): Likewise.
8083         (exp_test_towardzero): Likewise.
8084         (exp_downward_test_data): Likewise.
8085         (exp_test_downward): Likewise.
8086         (exp_upward_test_data): Likewise.
8087         (exp_test_upward): Likewise.
8088         (exp10_test_data): Update call to AUTO_TESTS_f_f.
8089         (exp10_test): Use ALL_RM_TEST.
8090         (exp10_tonearest_test_data): Remove.
8091         (exp10_test_tonearest): Likewise.
8092         (exp10_towardzero_test_data): Likewise.
8093         (exp10_test_towardzero): Likewise.
8094         (exp10_downward_test_data): Likewise.
8095         (exp10_test_downward): Likewise.
8096         (exp10_upward_test_data): Likewise.
8097         (exp10_test_upward): Likewise.
8098         (exp2_test_data): Update call to AUTO_TESTS_f_f.
8099         (expm1_test_data): Likewise.
8100         (expm1_test): Use ALL_RM_TEST.
8101         (expm1_tonearest_test_data): Remove.
8102         (expm1_test_tonearest): Likewise.
8103         (expm1_towardzero_test_data): Likewise.
8104         (expm1_test_towardzero): Likewise.
8105         (expm1_downward_test_data): Likewise.
8106         (expm1_test_downward): Likewise.
8107         (expm1_upward_test_data): Likewise.
8108         (expm1_test_upward): Likewise.
8109         (fma_test_data): Update call to AUTO_TESTS_fff_f.
8110         (fma_test): Use ALL_RM_TEST.
8111         (fma_towardzero_test_data): Remove.
8112         (fma_test_towardzero): Likewise.
8113         (fma_downward_test_data): Likewise.
8114         (fma_test_downward): Likewise.
8115         (fma_upward_test_data): Likewise.
8116         (fma_test_upward): Likewise.
8117         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8118         (j0_test_data): Update call to AUTO_TESTS_f_f.
8119         (j1_test_data): Likewise.
8120         (jn_test_data): Update call to AUTO_TESTS_if_f.
8121         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8122         (log_test_data): Update call to AUTO_TESTS_f_f.
8123         (log10_test_data): Likewise.
8124         (log1p_test_data): Likewise.
8125         (log2_test_data): Likewise.
8126         (pow_test_data): Update call to AUTO_TESTS_ff_f.
8127         (pow_tonearest_test_data): Likewise.
8128         (sin_test_data): Update call to AUTO_TESTS_f_f.
8129         (sin_test): Use ALL_RM_TEST.
8130         (sin_tonearest_test_data): Remove.
8131         (sin_test_tonearest): Likewise.
8132         (sin_towardzero_test_data): Likewise.
8133         (sin_test_towardzero): Likewise.
8134         (sin_downward_test_data): Likewise.
8135         (sin_test_downward): Likewise.
8136         (sin_upward_test_data): Likewise.
8137         (sin_test_upward): Likewise.
8138         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8139         (sinh_test_data): Update call to AUTO_TESTS_f_f.
8140         (sinh_test): Use ALL_RM_TEST.
8141         (sinh_tonearest_test_data): Remove.
8142         (sinh_test_tonearest): Likewise.
8143         (sinh_towardzero_test_data): Likewise.
8144         (sinh_test_towardzero): Likewise.
8145         (sinh_downward_test_data): Likewise.
8146         (sinh_test_downward): Likewise.
8147         (sinh_upward_test_data): Likewise.
8148         (sinh_test_upward): Likewise.
8149         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8150         (sqrt_test): Use ALL_RM_TEST.
8151         (sqrt_tonearest_test_data): Remove.
8152         (sqrt_test_tonearest): Likewise.
8153         (sqrt_towardzero_test_data): Likewise.
8154         (sqrt_test_towardzero): Likewise.
8155         (sqrt_downward_test_data): Likewise.
8156         (sqrt_test_downward): Likewise.
8157         (sqrt_upward_test_data): Likewise.
8158         (sqrt_test_upward): Likewise.
8159         (tan_test_data): Update call to AUTO_TESTS_f_f.
8160         (tan_test): Use ALL_RM_TEST.
8161         (tan_tonearest_test_data): Remove.
8162         (tan_test_tonearest): Likewise.
8163         (tan_towardzero_test_data): Likewise.
8164         (tan_test_towardzero): Likewise.
8165         (tan_downward_test_data): Likewise.
8166         (tan_test_downward): Likewise.
8167         (tan_upward_test_data): Likewise.
8168         (tan_test_upward): Likewise.
8169         (tanh_test_data): Update call to AUTO_TESTS_f_f.
8170         (tgamma_test_data): Likewise.
8171         (y0_test_data): Likewise.
8172         (y1_test_data): Likewise.
8173         (yn_test_data): Update call to AUTO_TESTS_if_f.
8174         (main): Do not call removed functions.
8175
8176 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8177
8178         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8179         (ldexp_test_data): Remove.
8180         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
8181         scalbn_test_data.
8182         (scalb_test): Use ALL_RM_TEST.
8183
8184 2014-03-19  Andreas Schwab  <schwab@suse.de>
8185
8186         * nscd/nscd.service: Also invalidate netgroup cache on reload.
8187
8188 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8189
8190         [BZ #16649]
8191         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8192         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8193         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8194         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8195         (__ASSUME_PREADV): Undefine.
8196         (__ASSUME_PWRITEV): Likewise.
8197
8198 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8199
8200         * bits/mman-linux.h: Add comment about non-Linux use.
8201         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8202         bits/mman-linux.h resting place.
8203
8204         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8205         * bits/mman-linux.h: ... here.
8206
8207 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8208
8209         * conform/conformtest.pl: Add standard definition when calling C
8210         preprocessor on data files.
8211         (checknamespace): Remove unused variable.
8212
8213 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8214
8215         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8216         minus_oflow, plus_uflow and minus_uflow in expected results.
8217         * math/libm-test.inc (scalbn_test_data): Add more tests of
8218         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
8219         minus_uflow.
8220         (scalbn_test): Use ALL_RM_TEST.
8221         (scalbln_test_data): Add more tests of negative arguments.  Use
8222         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8223         (scalbln_test): Use ALL_RM_TEST.
8224
8225 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8226
8227         * scripts/abilist.awk: Ignore symbols marked with .hidden.
8228
8229 2014-03-18  Will Newton  <will.newton@linaro.org>
8230
8231         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8232         inaccurate comment.
8233
8234 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8235
8236         * Makerules [!subdir] (check-abi): Exit with error status if a
8237         test failed.
8238
8239 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8240
8241         * math/libm-test.inc (nearbyint_test_data): Include all tests used
8242         for rint.  Include results for all rounding modes.
8243         (nearbyint_test): Use ALL_RM_TEST.
8244         (rint_test_data): Include all tests used for nearbyint.
8245
8246 2014-03-17  Will Newton  <will.newton@linaro.org>
8247
8248         * nptl/sysdeps/pthread/pthread.h: Revert previous
8249         change.
8250
8251         * sysdeps/generic/ldsodefs.h: Revert previous
8252         change.
8253
8254         * libio/genops.c: Revert previous change.
8255         * libio/libioP.h: Likewise.
8256         * stdio-common/vfprintf.c: Likewise.
8257
8258         * sysdeps/generic/math_private.h: Revert previous
8259         change.
8260
8261         * sysdeps/generic/math_private.h: Check whether
8262         HAVE_RM_CTX is defined with #ifdef rather
8263         than #if.
8264
8265         * argp/argp-fmtstream.h: Check whether
8266         __STRICT_ANSI__ is defined with #ifdef rather
8267         than #if.
8268         * argp/argp.h: Likewise.
8269
8270         * libio/genops.c: Check whether
8271         _IO_JUMPS_OFFSET is defined with #ifdef rather
8272         than #if.
8273         * libio/libioP.h: Likewise.
8274         * stdio-common/vfprintf.c: Likewise.
8275
8276         * sysdeps/generic/ldsodefs.h: Check whether
8277         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8278         than #if.
8279
8280         * nptl/sysdeps/pthread/pthread.h: Check
8281         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8282         its value.
8283
8284 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8285
8286         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8287         setting O_APPEND.
8288         * libio/tst-ftell-active-handler.c (do_append_test): Add a
8289         test case.
8290
8291         [BZ #16680]
8292         * libio/fileops.c (_IO_file_open): Seek to end of file but
8293         don't cache the offset.
8294         (get_file_offset): Remove function.
8295         (do_ftell): Use cached offset when available.
8296         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8297         don't cache the offset.
8298         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8299         case.
8300         (do_one_test): Call it.
8301         (do_ftell_test): Fix up expected old offset for a+ mode.
8302         * libio/wfileops.c (do_ftell_wide): Used cached offset when
8303         available.
8304
8305         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8306         up test status with function return status.
8307         (do_write_test): Likewise.
8308         (do_append_test): Likewise.
8309
8310         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8311         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8312         Remove.
8313
8314 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8315
8316         * math/gen-libm-test.pl (parse_args): Handle results specified for
8317         each rounding mode separately.
8318         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8319         tests and results from lrint_tonearest_test_data,
8320         lrint_towardzero_test_data, lrint_downward_test_data and
8321         lrint_upward_test_data.
8322         (lrint_test): Use ALL_RM_TEST.
8323         (lrint_tonearest_test_data): Remove.
8324         (lrint_test_tonearest): Likewise.
8325         (lrint_towardzero_test_data): Likewise.
8326         (lrint_test_towardzero): Likewise.
8327         (lrint_downward_test_data): Likewise.
8328         (lrint_test_downward): Likewise.
8329         (lrint_upward_test_data): Likewise.
8330         (lrint_test_upward): Likewise.
8331         (llrint_test_data): Merge in per-rounding-mode tests and results
8332         from llrint_tonearest_test_data, llrint_towardzero_test_data,
8333         llrint_downward_test_data and llrint_upward_test_data.
8334         (llrint_test): Use ALL_RM_TEST.
8335         (llrint_tonearest_test_data): Remove.
8336         (llrint_test_tonearest): Likewise.
8337         (llrint_towardzero_test_data): Likewise.
8338         (llrint_test_towardzero): Likewise.
8339         (llrint_downward_test_data): Likewise.
8340         (llrint_test_downward): Likewise.
8341         (llrint_upward_test_data): Likewise.
8342         (llrint_test_upward): Likewise.
8343         (rint_test_data): Merge in per-rounding-mode tests and results
8344         from rint_tonearest_test_data, rint_towardzero_test_data,
8345         rint_downward_test_data and rint_upward_test_data.  Add
8346         per-rounding-mode results for tests not in those arrays.
8347         (rint_test): Use ALL_RM_TEST.
8348         (rint_tonearest_test_data): Remove.
8349         (rint_test_tonearest): Likewise.
8350         (rint_towardzero_test_data): Likewise.
8351         (rint_test_towardzero): Likewise.
8352         (rint_downward_test_data): Likewise.
8353         (rint_test_downward): Likewise.
8354         (rint_upward_test_data): Likewise.
8355         (rint_test_upward): Likewise.
8356         (main): Don't call removed functions.
8357
8358 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8359
8360         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8361         "Compiled on ..." crapola.  It is anti-useful.
8362
8363 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
8364
8365         * scripts/evaluate-test.sh: Handle fourth argument to determine
8366         whether test run should stop on failure.
8367         * Makeconfig (stop-on-test-failure): New variable.
8368         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8369         $(stop-on-test-failure).
8370         * Makefile (tests): Give a summary of results from testing and
8371         exit with failure status if they include an ERROR or FAIL.
8372         (xtests): Likewise.
8373         * manual/install.texi (Configuring and compiling): Mention
8374         stop-on-test-failure=y.
8375         * INSTALL: Regenerated.
8376
8377 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8378
8379         * scripts/versionlist.awk: New file.
8380         * Makerules [$(build-shared) = yes]
8381         (postclean-generated): Add Versions.def, not Versions.def.v and
8382         Versions.def.v.i.
8383         ($(common-objpfx)Versions.def.v.i): Target removed.
8384         ($(common-objpfx)Versions.def): New target.
8385         ($(common-objpfx)Versions.all): Depend on that rather that
8386         $(common-objpfx)Versions.def.v.
8387         * Versions.def: File removed.
8388
8389         * Makeconfig (+gccwarn): Add -Wundef.
8390         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8391         a dl-sysdep.h breaking its contract.
8392         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8393         * include/stackinfo.h: New file.
8394         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8395         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8396         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8397         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8398         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8399         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8400         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8401         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8402         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8403         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8404         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8405         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8406         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8407         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8408         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8409
8410 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8411
8412         [BZ #16707]
8413         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8414         implementation.
8415         * math/libm-test.inc (round_test_data): Add more tests.
8416
8417         [BZ #16706]
8418         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8419         implementation.
8420         * math/libm-test.inc (nearbyint_test_data): Add more tests.
8421
8422         [BZ #16701]
8423         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8424         implementation.
8425         * math/libm-test.inc (ceil_test_data): Add more tests.
8426
8427         * math/libm-test.inc (trunc_test_data): Add more tests related to
8428         BZ#16414.
8429
8430 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8431
8432         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8433         with #if rather than #ifdef.
8434         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8435
8436 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
8437
8438         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8439         first.  Disable AVX-512 GCC support if assembler doesn't support
8440         it.
8441         * sysdeps/x86_64/configure: Regenerated.
8442
8443 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
8444
8445         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8446         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8447         (__old_pthread_attr_setstack): Likewise.
8448         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8449         [!_STACK_GROWS_DOWN]: Likewise.
8450
8451 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
8452
8453         * config.make.in (have-bash2): Delete.
8454         * configure.ac (libc_cv_have_bash2): Delete.
8455         * configure: Regenerate.
8456         * elf/Makefile (common-ldd-rewrite): Rename to ...
8457         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
8458         (sh-ldd-rewrite): Delete.
8459         (bash-ldd-rewrite): Delete.
8460         (have-bash2): Delete checks.
8461         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8462         ldd-rewrite.
8463
8464         * config.make.in (have-ksh): Delete.
8465         (KSH): Delete.
8466         * configure.ac (libc_cv_have_ksh): Delete.
8467         * configure: Regenerate.
8468
8469         * elf/Makefile: Delete $(have-ksh) check.
8470         ($(objpfx)sotruss): Change KSH to BASH.
8471         * elf/sotruss.ksh: Rename to ...
8472         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
8473         function style to match POSIX.  Drop ksh vim mode setting.
8474
8475         * manual/time.texi (Specifying the Time Zone with TZ): Change
8476         Tuesday to Thursday.
8477
8478         * debug/tst-longjmp_chk2.c: Update header comment.
8479         (stackoverflow_handler): Add comment.  Call assert on pass value.
8480
8481 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8482
8483         [BZ #16194]
8484         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8485         (HAVE_AVX512_ASM_SUPPORT): Likewise.
8486         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8487         (La_x86_64_vector): Add zmm.
8488         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8489         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8490         ($(objpfx)tst-audit10): New target.
8491         ($(objpfx)tst-audit10.out): Likewise.
8492         (tst-audit10-ENV): New.
8493         (AVX512-CFLAGS): Likewise.
8494         (CFLAGS-tst-audit10.c): Likewise.
8495         (CFLAGS-tst-auditmod10a.c): Likewise.
8496         (CFLAGS-tst-auditmod10b.c): Likewise.
8497         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8498         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8499         * sysdeps/x86_64/configure: Regenerated.
8500         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8501         AVX-512 zmm register support.
8502         (_dl_x86_64_save_sse): Likewise.
8503         (_dl_x86_64_restore_sse): Likewise.
8504         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8505         size vector registers.
8506         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8507         (ZMM_SIZE): Likewise.
8508         * sysdeps/x86_64/tst-audit10.c: New file.
8509         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8510         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8511
8512 2014-03-13  Roland McGrath  <roland@hack.frob.com>
8513
8514         * configure.ac (HAVE_EHDR_START): New check.
8515         * configure: Regenerated.
8516         * config.h.in (HAVE_EHDR_START): New #undef.
8517         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8518         assuming the lowest-addressed segment maps the start of the file.
8519
8520 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
8521
8522         * INSTALL: Regenerated.
8523
8524 2014-03-13  Will Newton  <will.newton@linaro.org>
8525
8526         * manual/setjmp.texi (System V contexts): Improve
8527         clarity and grammar of documentation.
8528
8529 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8530
8531         [BZ #16381]
8532         * elf/Makefile (tests): Add tst-pie2.
8533         (tests-pie): Add tst-pie2.
8534         * elf/tst-pie2.c: New file.
8535         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8536         for ET_EXEC.
8537         * elf/rtld.c (map_doit): Load executable as lt_executable.
8538         (dl_main): Likewise.
8539
8540 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
8541
8542         [BZ #16642]
8543         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8544         (__ASSUME_PSELECT): Undefine.
8545
8546 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8547
8548         [BZ #16689]
8549         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8550         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8551         static build.
8552         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8553         selector for static builds.
8554
8555 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8556
8557         [BZ #16695]
8558         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8559         key in the buffer.
8560
8561 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8562
8563         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8564         IFUNC selector for static builds.
8565
8566 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
8567
8568         * sysdeps/mips/math_private.h [__mips_hard_float]
8569         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8570         libc_feresetround_mips_ctx.
8571         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8572         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8573         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8574
8575         [BZ #16677]
8576         * math/s_nextafter.c (__nextafter): Do not return value from
8577         overflowing computation.
8578         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8579         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8580         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8581         Likewise.
8582         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8583         Likewise.
8584         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8585         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8586
8587 2014-03-11  Roland McGrath  <roland@hack.frob.com>
8588
8589         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8590         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8591         Move sfi_sp use from the load-multiple (that no longer sets sp) to
8592         the new mov targetting sp.
8593
8594 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8595
8596         [BZ #16683]
8597         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8598         Define it for static builds as well.
8599         (NO_BZERO_IMPL): Likewise.
8600
8601 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8602
8603         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8604         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8605         multiarch strspn for PPC64.
8606         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8607         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8609         (__libc_ifunc_impl_list): Likewise.
8610         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8611         multiarch optimizations
8612         * string/strspn.c (strspn): Using macro to redefine symbol name.
8613
8614 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8615             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8616
8617         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8618         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8619         multiarch strncat for PPC64.
8620         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8621         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8623         (__libc_ifunc_impl_list): Likewise.
8624         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8625         multiarch optimizations
8626
8627 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8628
8629         [BZ #16639]
8630         * nscd/nscd.service: Make service type forking.
8631
8632 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8633
8634         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8635         sign in non default rounding modes.
8636         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8637
8638 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
8639
8640         * math/libm-test.inc (ALL_RM_TEST): New macro.
8641         (ceil_test): Use ALL_RM_TEST.
8642         (cimag_test): Likewise.
8643         (conj_test): Likewise.
8644         (copysign_test): Likewise.
8645         (cproj_test): Likewise.
8646         (creal_test): Likewise.
8647         (fabs_test): Likewise.
8648         (floor_test): Likewise.
8649         (fmax_test): Likewise.
8650         (fmin_test): Likewise.
8651         (fmod_test): Likewise.
8652         (fpclassify_test): Likewise.
8653         (frexp_test): Likewise.
8654         (ilogb_test): Likewise.
8655         (isfinite_test): Likewise.
8656         (finite_test): Likewise.
8657         (isgreater_test): Likewise.
8658         (isgreaterequal_test): Likewise.
8659         (isinf_test): Likewise.
8660         (isless_test): Likewise.
8661         (islessequal_test): Likewise.
8662         (islessgreater_test): Likewise.
8663         (isnan_test): Likewise.
8664         (isnormal_test): Likewise.
8665         (issignaling_test): Likewise.
8666         (isunordered_test): Likewise.
8667         (logb_test): Likewise.
8668         (logb_downward_test_data): Remove.
8669         (logb_test_downward): Likewise.
8670         (lround_test): Use ALL_RM_TEST.
8671         (llround_test): Likewise.
8672         (modf_test): Likewise.
8673         (nexttoward_test): Likewise.
8674         (remainder_test): Likewise.
8675         (drem_test): Likewise.
8676         (remainder_tonearest_test_data): Likewise.
8677         (remainder_test_tonearest): Likewise.
8678         (drem_test_tonearest): Likewise.
8679         (remainder_towardzero_test_data): Likewise.
8680         (remainder_test_towardzero): Likewise.
8681         (drem_test_towardzero): Likewise.
8682         (remainder_downward_test_data): Likewise.
8683         (remainder_test_downward): Likewise.
8684         (drem_test_downward): Likewise.
8685         (remainder_upward_test_data): Likewise.
8686         (remainder_test_upward): Likewise.
8687         (drem_test_upward): Likewise.
8688         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
8689         (round_test): Use ALL_RM_TEST.
8690         (signbit_test): Likewise.
8691         (trunc_test): Likewise.
8692         (significand_test): Likewise.
8693         (main): Don't call removed functions.
8694
8695 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8696
8697         [BZ #16674]
8698         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8699         || __USE_XOPEN2K8].
8700         (ILL_ILLOPN): Likewise.
8701         (ILL_ILLADR): Likewise.
8702         (ILL_ILLTRP): Likewise.
8703         (ILL_PRVOPC): Likewise.
8704         (ILL_PRVREG): Likewise.
8705         (ILL_COPROC): Likewise.
8706         (ILL_BADSTK): Likewise.
8707         (FPE_INTDIV): Likewise.
8708         (FPE_INTOVF): Likewise.
8709         (FPE_FLTDIV): Likewise.
8710         (FPE_FLTOVF): Likewise.
8711         (FPE_FLTUND): Likewise.
8712         (FPE_FLTRES): Likewise.
8713         (FPE_FLTINV): Likewise.
8714         (FPE_FLTSUB): Likewise.
8715         (SEGV_MAPERR): Likewise.
8716         (SEGV_ACCERR): Likewise.
8717         (BUS_ADRALN): Likewise.
8718         (BUS_ADRERR): Likewise.
8719         (BUS_OBJERR): Likewise.
8720         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8721         (TRAP_TRACE): Likewise.
8722         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8723         __USE_XOPEN2K8].
8724         (CLD_KILLED): Likewise.
8725         (CLD_DUMPED): Likewise.
8726         (CLD_TRAPPED): Likewise.
8727         (CLD_STOPPED): Likewise.
8728         (CLD_CONTINUED): Likewise.
8729         (POLL_IN): Likewise.
8730         (POLL_OUT): Likewise.
8731         (POLL_MSG): Likewise.
8732         (POLL_ERR): Likewise.
8733         (POLL_PRI): Likewise.
8734         (POLL_HUP): Likewise.
8735         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8736         Likewise.
8737         (ILL_ILLOPN): Likewise.
8738         (ILL_ILLADR): Likewise.
8739         (ILL_ILLTRP): Likewise.
8740         (ILL_PRVOPC): Likewise.
8741         (ILL_PRVREG): Likewise.
8742         (ILL_COPROC): Likewise.
8743         (ILL_BADSTK): Likewise.
8744         (FPE_INTDIV): Likewise.
8745         (FPE_INTOVF): Likewise.
8746         (FPE_FLTDIV): Likewise.
8747         (FPE_FLTOVF): Likewise.
8748         (FPE_FLTUND): Likewise.
8749         (FPE_FLTRES): Likewise.
8750         (FPE_FLTINV): Likewise.
8751         (FPE_FLTSUB): Likewise.
8752         (SEGV_MAPERR): Likewise.
8753         (SEGV_ACCERR): Likewise.
8754         (BUS_ADRALN): Likewise.
8755         (BUS_ADRERR): Likewise.
8756         (BUS_OBJERR): Likewise.
8757         (BUS_MCEERR_AR): Likewise.
8758         (BUS_MCEERR_AO): Likewise.
8759         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8760         (TRAP_TRACE): Likewise.
8761         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8762         __USE_XOPEN2K8].
8763         (CLD_KILLED): Likewise.
8764         (CLD_DUMPED): Likewise.
8765         (CLD_TRAPPED): Likewise.
8766         (CLD_STOPPED): Likewise.
8767         (CLD_CONTINUED): Likewise.
8768         (POLL_IN): Likewise.
8769         (POLL_OUT): Likewise.
8770         (POLL_MSG): Likewise.
8771         (POLL_ERR): Likewise.
8772         (POLL_PRI): Likewise.
8773         (POLL_HUP): Likewise.
8774         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8775         (ILL_ILLOPN): Likewise.
8776         (ILL_ILLADR): Likewise.
8777         (ILL_ILLTRP): Likewise.
8778         (ILL_PRVOPC): Likewise.
8779         (ILL_PRVREG): Likewise.
8780         (ILL_COPROC): Likewise.
8781         (ILL_BADSTK): Likewise.
8782         (FPE_INTDIV): Likewise.
8783         (FPE_INTOVF): Likewise.
8784         (FPE_FLTDIV): Likewise.
8785         (FPE_FLTOVF): Likewise.
8786         (FPE_FLTUND): Likewise.
8787         (FPE_FLTRES): Likewise.
8788         (FPE_FLTINV): Likewise.
8789         (FPE_FLTSUB): Likewise.
8790         (SEGV_MAPERR): Likewise.
8791         (SEGV_ACCERR): Likewise.
8792         (BUS_ADRALN): Likewise.
8793         (BUS_ADRERR): Likewise.
8794         (BUS_OBJERR): Likewise.
8795         (BUS_MCEERR_AR): Likewise.
8796         (BUS_MCEERR_AO): Likewise.
8797         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8798         (TRAP_TRACE): Likewise.
8799         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8800         __USE_XOPEN2K8].
8801         (CLD_KILLED): Likewise.
8802         (CLD_DUMPED): Likewise.
8803         (CLD_TRAPPED): Likewise.
8804         (CLD_STOPPED): Likewise.
8805         (CLD_CONTINUED): Likewise.
8806         (POLL_IN): Likewise.
8807         (POLL_OUT): Likewise.
8808         (POLL_MSG): Likewise.
8809         (POLL_ERR): Likewise.
8810         (POLL_PRI): Likewise.
8811         (POLL_HUP): Likewise.
8812         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8813         Likewise.
8814         (ILL_ILLOPN): Likewise.
8815         (ILL_ILLADR): Likewise.
8816         (ILL_ILLTRP): Likewise.
8817         (ILL_PRVOPC): Likewise.
8818         (ILL_PRVREG): Likewise.
8819         (ILL_COPROC): Likewise.
8820         (ILL_BADSTK): Likewise.
8821         (ILL_BADIADDR): Likewise.
8822         (ILL_BREAK): Likewise.
8823         (FPE_INTDIV): Likewise.
8824         (FPE_INTOVF): Likewise.
8825         (FPE_FLTDIV): Likewise.
8826         (FPE_FLTOVF): Likewise.
8827         (FPE_FLTUND): Likewise.
8828         (FPE_FLTRES): Likewise.
8829         (FPE_FLTINV): Likewise.
8830         (FPE_FLTSUB): Likewise.
8831         (FPE_DECOVF): Likewise.
8832         (FPE_DECDIV): Likewise.
8833         (FPE_DECERR): Likewise.
8834         (FPE_INVASC): Likewise.
8835         (FPE_INVDEC): Likewise.
8836         (SEGV_MAPERR): Likewise.
8837         (SEGV_ACCERR): Likewise.
8838         (SEGV_PSTKOVF): Likewise.
8839         (BUS_ADRALN): Likewise.
8840         (BUS_ADRERR): Likewise.
8841         (BUS_OBJERR): Likewise.
8842         (BUS_MCEERR_AR): Likewise.
8843         (BUS_MCEERR_AO): Likewise.
8844         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8845         (TRAP_TRACE): Likewise.
8846         (TRAP_BRANCH): Likewise.
8847         (TRAP_HWBKPT): Likewise.
8848         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8849         __USE_XOPEN2K8].
8850         (CLD_KILLED): Likewise.
8851         (CLD_DUMPED): Likewise.
8852         (CLD_TRAPPED): Likewise.
8853         (CLD_STOPPED): Likewise.
8854         (CLD_CONTINUED): Likewise.
8855         (POLL_IN): Likewise.
8856         (POLL_OUT): Likewise.
8857         (POLL_MSG): Likewise.
8858         (POLL_ERR): Likewise.
8859         (POLL_PRI): Likewise.
8860         (POLL_HUP): Likewise.
8861         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8862         (ILL_ILLOPN): Likewise.
8863         (ILL_ILLADR): Likewise.
8864         (ILL_ILLTRP): Likewise.
8865         (ILL_PRVOPC): Likewise.
8866         (ILL_PRVREG): Likewise.
8867         (ILL_COPROC): Likewise.
8868         (ILL_BADSTK): Likewise.
8869         (FPE_INTDIV): Likewise.
8870         (FPE_INTOVF): Likewise.
8871         (FPE_FLTDIV): Likewise.
8872         (FPE_FLTOVF): Likewise.
8873         (FPE_FLTUND): Likewise.
8874         (FPE_FLTRES): Likewise.
8875         (FPE_FLTINV): Likewise.
8876         (FPE_FLTSUB): Likewise.
8877         (SEGV_MAPERR): Likewise.
8878         (SEGV_ACCERR): Likewise.
8879         (BUS_ADRALN): Likewise.
8880         (BUS_ADRERR): Likewise.
8881         (BUS_OBJERR): Likewise.
8882         (BUS_MCEERR_AR): Likewise.
8883         (BUS_MCEERR_AO): Likewise.
8884         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8885         (TRAP_TRACE): Likewise.
8886         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8887         __USE_XOPEN2K8].
8888         (CLD_KILLED): Likewise.
8889         (CLD_DUMPED): Likewise.
8890         (CLD_TRAPPED): Likewise.
8891         (CLD_STOPPED): Likewise.
8892         (CLD_CONTINUED): Likewise.
8893         (POLL_IN): Likewise.
8894         (POLL_OUT): Likewise.
8895         (POLL_MSG): Likewise.
8896         (POLL_ERR): Likewise.
8897         (POLL_PRI): Likewise.
8898         (POLL_HUP): Likewise.
8899         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8900         (ILL_ILLOPN): Likewise.
8901         (ILL_ILLADR): Likewise.
8902         (ILL_ILLTRP): Likewise.
8903         (ILL_PRVOPC): Likewise.
8904         (ILL_PRVREG): Likewise.
8905         (ILL_COPROC): Likewise.
8906         (ILL_BADSTK): Likewise.
8907         (FPE_INTDIV): Likewise.
8908         (FPE_INTOVF): Likewise.
8909         (FPE_FLTDIV): Likewise.
8910         (FPE_FLTOVF): Likewise.
8911         (FPE_FLTUND): Likewise.
8912         (FPE_FLTRES): Likewise.
8913         (FPE_FLTINV): Likewise.
8914         (FPE_FLTSUB): Likewise.
8915         (SEGV_MAPERR): Likewise.
8916         (SEGV_ACCERR): Likewise.
8917         (BUS_ADRALN): Likewise.
8918         (BUS_ADRERR): Likewise.
8919         (BUS_OBJERR): Likewise.
8920         (BUS_MCEERR_AR): Likewise.
8921         (BUS_MCEERR_AO): Likewise.
8922         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8923         (TRAP_TRACE): Likewise.
8924         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8925         __USE_XOPEN2K8].
8926         (CLD_KILLED): Likewise.
8927         (CLD_DUMPED): Likewise.
8928         (CLD_TRAPPED): Likewise.
8929         (CLD_STOPPED): Likewise.
8930         (CLD_CONTINUED): Likewise.
8931         (POLL_IN): Likewise.
8932         (POLL_OUT): Likewise.
8933         (POLL_MSG): Likewise.
8934         (POLL_ERR): Likewise.
8935         (POLL_PRI): Likewise.
8936         (POLL_HUP): Likewise.
8937         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8938         (ILL_ILLOPN): Likewise.
8939         (ILL_ILLADR): Likewise.
8940         (ILL_ILLTRP): Likewise.
8941         (ILL_PRVOPC): Likewise.
8942         (ILL_PRVREG): Likewise.
8943         (ILL_COPROC): Likewise.
8944         (ILL_BADSTK): Likewise.
8945         (FPE_INTDIV): Likewise.
8946         (FPE_INTOVF): Likewise.
8947         (FPE_FLTDIV): Likewise.
8948         (FPE_FLTOVF): Likewise.
8949         (FPE_FLTUND): Likewise.
8950         (FPE_FLTRES): Likewise.
8951         (FPE_FLTINV): Likewise.
8952         (FPE_FLTSUB): Likewise.
8953         (SEGV_MAPERR): Likewise.
8954         (SEGV_ACCERR): Likewise.
8955         (BUS_ADRALN): Likewise.
8956         (BUS_ADRERR): Likewise.
8957         (BUS_OBJERR): Likewise.
8958         (BUS_MCEERR_AR): Likewise.
8959         (BUS_MCEERR_AO): Likewise.
8960         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8961         (TRAP_TRACE): Likewise.
8962         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8963         __USE_XOPEN2K8].
8964         (CLD_KILLED): Likewise.
8965         (CLD_DUMPED): Likewise.
8966         (CLD_TRAPPED): Likewise.
8967         (CLD_STOPPED): Likewise.
8968         (CLD_CONTINUED): Likewise.
8969         (POLL_IN): Likewise.
8970         (POLL_OUT): Likewise.
8971         (POLL_MSG): Likewise.
8972         (POLL_ERR): Likewise.
8973         (POLL_PRI): Likewise.
8974         (POLL_HUP): Likewise.
8975         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8976         (ILL_ILLOPN): Likewise.
8977         (ILL_ILLADR): Likewise.
8978         (ILL_ILLTRP): Likewise.
8979         (ILL_PRVOPC): Likewise.
8980         (ILL_PRVREG): Likewise.
8981         (ILL_COPROC): Likewise.
8982         (ILL_BADSTK): Likewise.
8983         (ILL_DBLFLT): Likewise.
8984         (ILL_HARDWALL): Likewise.
8985         (FPE_INTDIV): Likewise.
8986         (FPE_INTOVF): Likewise.
8987         (FPE_FLTDIV): Likewise.
8988         (FPE_FLTOVF): Likewise.
8989         (FPE_FLTUND): Likewise.
8990         (FPE_FLTRES): Likewise.
8991         (FPE_FLTINV): Likewise.
8992         (FPE_FLTSUB): Likewise.
8993         (SEGV_MAPERR): Likewise.
8994         (SEGV_ACCERR): Likewise.
8995         (BUS_ADRALN): Likewise.
8996         (BUS_ADRERR): Likewise.
8997         (BUS_OBJERR): Likewise.
8998         (BUS_MCEERR_AR): Likewise.
8999         (BUS_MCEERR_AO): Likewise.
9000         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9001         (TRAP_TRACE): Likewise.
9002         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9003         __USE_XOPEN2K8].
9004         (CLD_KILLED): Likewise.
9005         (CLD_DUMPED): Likewise.
9006         (CLD_TRAPPED): Likewise.
9007         (CLD_STOPPED): Likewise.
9008         (CLD_CONTINUED): Likewise.
9009         (POLL_IN): Likewise.
9010         (POLL_OUT): Likewise.
9011         (POLL_MSG): Likewise.
9012         (POLL_ERR): Likewise.
9013         (POLL_PRI): Likewise.
9014         (POLL_HUP): Likewise.
9015         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9016         (ILL_ILLOPN): Likewise.
9017         (ILL_ILLADR): Likewise.
9018         (ILL_ILLTRP): Likewise.
9019         (ILL_PRVOPC): Likewise.
9020         (ILL_PRVREG): Likewise.
9021         (ILL_COPROC): Likewise.
9022         (ILL_BADSTK): Likewise.
9023         (FPE_INTDIV): Likewise.
9024         (FPE_INTOVF): Likewise.
9025         (FPE_FLTDIV): Likewise.
9026         (FPE_FLTOVF): Likewise.
9027         (FPE_FLTUND): Likewise.
9028         (FPE_FLTRES): Likewise.
9029         (FPE_FLTINV): Likewise.
9030         (FPE_FLTSUB): Likewise.
9031         (SEGV_MAPERR): Likewise.
9032         (SEGV_ACCERR): Likewise.
9033         (BUS_ADRALN): Likewise.
9034         (BUS_ADRERR): Likewise.
9035         (BUS_OBJERR): Likewise.
9036         (BUS_MCEERR_AR): Likewise.
9037         (BUS_MCEERR_AO): Likewise.
9038         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9039         (TRAP_TRACE): Likewise.
9040         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9041         __USE_XOPEN2K8].
9042         (CLD_KILLED): Likewise.
9043         (CLD_DUMPED): Likewise.
9044         (CLD_TRAPPED): Likewise.
9045         (CLD_STOPPED): Likewise.
9046         (CLD_CONTINUED): Likewise.
9047         (POLL_IN): Likewise.
9048         (POLL_OUT): Likewise.
9049         (POLL_MSG): Likewise.
9050         (POLL_ERR): Likewise.
9051         (POLL_PRI): Likewise.
9052         (POLL_HUP): Likewise.
9053         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9054         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9055
9056         [BZ #16670]
9057         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9058         before #include of <time.h>.
9059         [!__USE_XOPEN2K] (__need_timespec): Likewise.
9060         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9061         (test-xfail-UNIX98/sched.h/conform): Likewise.
9062
9063 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9064
9065         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9066         error absence of trapping exception support.
9067         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9068
9069 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9070
9071         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9072         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9073         * timezone/Makefile (testdata): Move definition above include of
9074         Rules.
9075         (test-zones): New variable.
9076         (tests-special): Add zone files.
9077         (build-testdata): Use $(evaluate-test).
9078
9079         * elf/Makefile (tests-special): Rename tests to end with .out.
9080         ($(objpfx)noload-mem): Likewise.
9081         ($(objpfx)tst-leaks1-mem): Likewise.
9082         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9083         * iconv/Makefile (xtests-special): Change test-iconvconfig to
9084         $(objpfx)test-iconvconfig.out.
9085         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
9086         set -e inside subshell and redirect output to file.
9087         * iconvdata/Makefile (generated): Rename tests to end with .out.
9088         Correct type.
9089         (tests-special): Rename tests to end with .out.
9090         ($(objpfx)mtrace-tst-loading): Likewise.
9091         * intl/Makefile (generated): Likewise.
9092         (tests-special): Likewise.
9093         ($(objpfx)mtrace-tst-gettext): Likewise.
9094         * misc/Makefile (generated): Likewise.
9095         (tests-special): Likewise.
9096         ($(objpfx)tst-error1-mem): Likewise.
9097         * nptl/Makefile (tests-special): Likewise.
9098         ($(objpfx)tst-stack3-mem): Likewise.
9099         (generated): Likewise.
9100         * posix/Makefile (generated): Likewise.
9101         (tests-special): Likewise.
9102         (xtests-special): Likewise.
9103         ($(objpfx)tst-fnmatch-mem): Likewise.
9104         ($(objpfx)bug-regex2-mem): Likewise.
9105         ($(objpfx)bug-regex14-mem): Likewise.
9106         ($(objpfx)bug-regex21-mem): Likewise.
9107         ($(objpfx)bug-regex31-mem): Likewise.
9108         ($(objpfx)tst-vfork3-mem): Likewise.
9109         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9110         ($(objpfx)tst-pcre-mem): Likewise.
9111         ($(objpfx)tst-boost-mem): Likewise.
9112         ($(objpfx)bug-ga2-mem): Likewise.
9113         ($(objpfx)bug-glob2-mem): Likewise.
9114         * resolv/Makefile (generate): Likewise.
9115         (tests-special): Likewise.
9116         (xtests-special): Likewise.
9117         (generated): Likewise.
9118         ($(objpfx)mtrace-tst-leaks): Likewise.
9119         ($(objpfx)mtrace-tst-leaks2): Likewise.
9120
9121         * scripts/merge-test-results.sh: New file.
9122         * Makefile (tests-special-notdir): New variable.
9123         (tests): Run merge-test-results.sh.
9124         (xtests): Likewise.
9125         * Rules (tests-special-notdir): New variable.
9126         (xtests-special-notdir): Likewise.
9127         (tests): Run merge-test-results.sh
9128         (xtests): Likewise.
9129
9130         * Makeconfig (test-xfail-name): New variable.
9131         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9132         compute variable name for expected failures.
9133         * conform/Makefile (conformtest-headers-data): New variable.
9134         (conformtest-standards): Likewise.
9135         (conformtest-headers-ISO): Likewise.
9136         (conformtest-headers-ISO99): Likewise.
9137         (conformtest-headers-ISO11): Likewise.
9138         (conformtest-headers-POSIX): Likewise.
9139         (conformtest-headers-XPG3): Likewise.
9140         (conformtest-headers-XPG4): Likewise.
9141         (conformtest-headers-UNIX98): Likewise.
9142         (conformtest-headers-XOPEN2K): Likewise.
9143         (conformtest-headers-POSIX2008): Likewise.
9144         (conformtest-headers-XOPEN2K8): Likewise.
9145         (conformtest-header-list-base): Likewise.
9146         (conformtest-header-list-tests): Likewise.
9147         (conformtest-header-base): Likewise.
9148         (conformtest-header-tests): Likewise.
9149         (tests-special): Add $(conformtest-header-list-tests).  If
9150         [$(fast-check) && !$(cross-compiling)], add
9151         $(conformtest-header-tests) instead of
9152         $(objpfx)run-conformtest.out.
9153         (generated): Add $(conformtest-header-list-base).  If
9154         [$(fast-check) && !$(cross-compiling)], add
9155         $(conformtest-header-base).  Remove previous setting.
9156         ($(conformtest-header-list-tests)): New target.
9157         (test-xfail-run-conformtest): Remove variable.
9158         ($(objpfx)run-conformtest.out): Remove target.
9159         (test-xfail-ISO11/complex.h/conform): New variable.
9160         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9161         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9162         (test-xfail-XPG3/varargs.h/conform): Likewise.
9163         (test-xfail-XPG4/varargs.h/conform): Likewise.
9164         (test-xfail-UNIX98/varargs.h/conform): Likewise.
9165         (test-xfail-XPG4/ndbm.h/conform): Likewise.
9166         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9167         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9168         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9169         (test-xfail-XPG3/fcntl.h/conform): Likewise.
9170         (test-xfail-XPG3/ftw.h/conform): Likewise.
9171         (test-xfail-XPG3/grp.h/conform): Likewise.
9172         (test-xfail-XPG3/langinfo.h/conform): Likewise.
9173         (test-xfail-XPG3/limits.h/conform): Likewise.
9174         (test-xfail-XPG3/pwd.h/conform): Likewise.
9175         (test-xfail-XPG3/search.h/conform): Likewise.
9176         (test-xfail-XPG3/signal.h/conform): Likewise.
9177         (test-xfail-XPG3/stdio.h/conform): Likewise.
9178         (test-xfail-XPG3/stdlib.h/conform): Likewise.
9179         (test-xfail-XPG3/string.h/conform): Likewise.
9180         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9181         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9182         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9183         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9184         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9185         (test-xfail-XPG3/sys/types.h/conform): Likewise.
9186         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9187         (test-xfail-XPG3/termios.h/conform): Likewise.
9188         (test-xfail-XPG3/time.h/conform): Likewise.
9189         (test-xfail-XPG3/unistd.h/conform): Likewise.
9190         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9191         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9192         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9193         (test-xfail-XPG4/netdb.h/conform): Likewise.
9194         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9195         (test-xfail-XPG4/signal.h/conform): Likewise.
9196         (test-xfail-XPG4/stdio.h/conform): Likewise.
9197         (test-xfail-XPG4/stdlib.h/conform): Likewise.
9198         (test-xfail-XPG4/stropts.h/conform): Likewise.
9199         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9200         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9201         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9202         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9203         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9204         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9205         (test-xfail-XPG4/sys/time.h/conform): Likewise.
9206         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9207         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9208         (test-xfail-XPG4/termios.h/conform): Likewise.
9209         (test-xfail-XPG4/ucontext.h/conform): Likewise.
9210         (test-xfail-XPG4/unistd.h/conform): Likewise.
9211         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9212         (test-xfail-POSIX/sched.h/conform): Likewise.
9213         (test-xfail-POSIX/signal.h/conform): Likewise.
9214         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9215         (test-xfail-POSIX/tar.h/conform): Likewise.
9216         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9217         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9218         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9219         (test-xfail-UNIX98/netdb.h/conform): Likewise.
9220         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9221         (test-xfail-UNIX98/sched.h/conform): Likewise.
9222         (test-xfail-UNIX98/signal.h/conform): Likewise.
9223         (test-xfail-UNIX98/stdio.h/conform): Likewise.
9224         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9225         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9226         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9227         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9228         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9229         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9230         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9231         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9232         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9233         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9234         (test-xfail-UNIX98/unistd.h/conform): Likewise.
9235         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9236         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9237         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9238         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9239         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9240         (test-xfail-XOPEN2K/math.h/conform): Likewise.
9241         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9242         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9243         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9244         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9245         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9246         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9247         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9248         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9249         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9250         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9251         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9252         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9253         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9254         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9255         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9256         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9257         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9258         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9259         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9260         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9261         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9262         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9263         (test-xfail-POSIX2008/signal.h/conform): Likewise.
9264         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9265         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9266         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9267         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9268         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9269         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9270         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9271         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9272         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9273         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9274         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9275         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9276         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9277         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9278         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9279         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9280         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9281         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9282         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9283         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9284         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9285         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9286         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9287         (conformtest-cc-flags): Likewise.
9288         ($(conformtest-header-tests): New target.
9289         * conform/check-header-lists.sh: New file.
9290         * conform/run-conformtest.sh: Remove.
9291
9292         * conform/conformtest.pl: Allow ' and \ in values given for
9293         constants.
9294         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9295         inclusion.
9296         [POSIX] (sys/types.h): Likewise.
9297         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9298         inclusion.
9299         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9300         inclusion.
9301         * conform/data/signal.h-data (SIGIO): Remove expectation.
9302         [XPG3] (SIGBUS): Do not expect.
9303         [POSIX || XPG3] (SIGPOLL): Likewise.
9304         [POSIX || XPG3] (SIGPROF): Likewise.
9305         [POSIX || XPG3] (SIGSYS): Likewise.
9306         [XPG3] (SIGTRAP): Likewise.
9307         [POSIX || XPG3] (SIGURG): Likewise.
9308         [POSIX || XPG3] (SIGVTALRM): Likewise.
9309         [POSIX || XPG3] (SIGXCPU): Likewise.
9310         [POSIX || XPG3] (SIGXFSZ): Likewise.
9311         [POSIX] (SA_SIGINFO): Expect.
9312         [XPG3] (siginfo_t): Do not expect type or contents.
9313         [POSIX] (si_pid): Do not expect element.
9314         [POSIX] (si_uid): Likewise.
9315         [POSIX] (si_addr): Likewise.
9316         [POSIX] (si_status): Likewise.
9317         [POSIX] (si_band): Likewise.
9318         [XPG4] (si_value): Likewise.
9319         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9320         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9321         [POSIX || XPG3] (ILL_ILLADR): Likewise.
9322         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9323         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9324         [POSIX || XPG3] (ILL_PRVREG): Likewise.
9325         [POSIX || XPG3] (ILL_COPROC): Likewise.
9326         [POSIX || XPG3] (ILL_BADSTK): Likewise.
9327         [POSIX || XPG3] (FPE_INTDIV): Likewise.
9328         [POSIX || XPG3] (FPE_INTOVF): Likewise.
9329         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9330         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9331         [POSIX || XPG3] (FPE_FLTUND): Likewise.
9332         [POSIX || XPG3] (FPE_FLTRES): Likewise.
9333         [POSIX || XPG3] (FPE_FLTINV): Likewise.
9334         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9335         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9336         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9337         [POSIX || XPG3] (BUS_ADRALN): Likewise.
9338         [POSIX || XPG3] (BUS_ADRERR): Likewise.
9339         [POSIX || XPG3] (BUS_OBJERR): Likewise.
9340         [POSIX || XPG3] (CLD_EXITED): Likewise.
9341         [POSIX || XPG3] (CLD_KILLED): Likewise.
9342         [POSIX || XPG3] (CLD_DUMPED): Likewise.
9343         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9344         [POSIX || XPG3] (CLD_STOPPED): Likewise.
9345         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9346         [POSIX || XPG3] (POLL_IN): Likewise.
9347         [POSIX || XPG3] (POLL_OUT): Likewise.
9348         [POSIX || XPG3] (POLL_MSG): Likewise.
9349         [POSIX || XPG3] (POLL_ERR): Likewise.
9350         [POSIX || XPG3] (POLL_PRI): Likewise.
9351         [POSIX || XPG3] (POLL_HUP): Likewise.
9352         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9353         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9354         (SIG*): Do not allow.
9355         [XPG3] (si_*): Likewise.
9356         [XPG3] (SI_*): Likewise.
9357         [XPG3 || XPG4] (sigev_*): Likewise.
9358         [XPG3 || XPG4] (SIGEV_*): Likewise.
9359         [XPG3 || XPG4] (sival_*): Likewise.
9360         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9361         [POSIX || XPG3] (BUS_*): Likewise.
9362         [POSIX || XPG3] (CLD_*): Likewise.
9363         [POSIX || XPG3] (FPE_*): Likewise.
9364         [POSIX || XPG3] (ILL_*): Likewise.
9365         [POSIX || XPG3] (POLL_*): Likewise.
9366         [POSIX || XPG3] (SEGV_*): Likewise.
9367         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9368         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9369         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9370         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9371         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9372         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9373         Specify type and value.
9374         (TVERSLEN): Likewise.
9375         (REGTYPE): Likewise.
9376         (AREGTYPE): Likewise.
9377         (LNKTYPE): Likewise.
9378         (SYMTYPE): Likewise.
9379         (CHRTYPE): Likewise.
9380         (BLKTYPE): Likewise.
9381         (DIRTYPE): Likewise.
9382         (FIFOTYPE): Likewise.
9383         (CONTTYPE): Likewise.
9384         (TSUID): Likewise.
9385         (TSGID): Likewise.
9386         (TSVTX): Likewise.
9387         (TUREAD): Likewise.
9388         (TUWRITE): Likewise.
9389         (TUEXEC): Likewise.
9390         (TGREAD): Likewise.
9391         (TGWRITE): Likewise.
9392         (TGEXEC): Likewise.
9393         (TOREAD): Likewise.
9394         (TOWRITE): Likewise.
9395         (TOEXEC): Likewise.
9396         [POSIX] (TSVTX): Expect constant.
9397
9398 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
9399
9400         * Makefile (tests): Change dependencies to ....
9401         (tests-special): ... additions to this variable.
9402         (tests): Depend on $(tests-special).
9403         * Makerules (check-abi-list): New variable.
9404         (check-abi): Depend on $(check-abi-list).
9405         [$(subdir) = elf] (tests-special): Add
9406         $(objpfx)check-abi-libc.out.
9407         [$(build-shared) = yes && subdir] (tests-special): Add
9408         $(check-abi-list).
9409         [$(build-shared) = yes && subdir] (tests): Do not depend on
9410         check-abi.
9411         * Rules (tests): Depend on $(tests-special).
9412         (xtests): Depend on $(xtests-special).
9413         * catgets/Makefile (tests): Change dependencies to ....
9414         (tests-special): ... additions to this variable.
9415         * conform/Makefile (tests): Change dependencies to ....
9416         (tests-special): ... additions to this variable.
9417         * elf/Makefile (tests): Change dependencies to ....
9418         (tests-special): ... additions to this variable.
9419         * grp/Makefile (tests): Change dependencies to ....
9420         (tests-special): ... additions to this variable.
9421         * iconv/Makefile (xtests): Change dependencies to ....
9422         (xtests-special): ... additions to this variable.
9423         * iconvdata/Makefile (tests): Change dependencies to ....
9424         (tests-special): ... additions to this variable.
9425         * intl/Makefile (tests): Change dependencies to ....
9426         (tests-special): ... additions to this variable.  Also add
9427         $(objpfx)tst-gettext.out.
9428         * io/Makefile (tests): Change dependencies to ....
9429         (tests-special): ... additions to this variable.
9430         * libio/Makefile (tests): Change dependencies to ....
9431         (tests-special): ... additions to this variable.
9432         * malloc/Makefile (tests): Change dependencies to ....
9433         (tests-special): ... additions to this variable.
9434         * misc/Makefile (tests): Change dependencies to ....
9435         (tests-special): ... additions to this variable.
9436         * nptl/Makefile (tests): Change dependencies to ....
9437         (tests-special): ... additions to this variable.
9438         * nptl_db/Makefile (tests): Change dependencies to ....
9439         (tests-special): ... additions to this variable.
9440         * posix/Makefile (tests): Change dependencies to ....
9441         (tests-special): ... additions to this variable.
9442         (xtests): Change dependencies to ....
9443         (xtests-special): ... additions to this variable.
9444         * resolv/Makefile (tests): Change dependencies to ....
9445         (tests-special): ... additions to this variable.
9446         (xtests): Change dependencies to ....
9447         (xtests-special): ... additions to this variable.
9448         * stdio-common/Makefile (tests): Change dependencies to ....
9449         (tests-special): ... additions to this variable.
9450         (do-tst-unbputc): Remove target.
9451         (do-tst-printf): Likewise.
9452         * stdlib/Makefile (tests): Change dependencies to ....
9453         (tests-special): ... additions to this variable.
9454         * string/Makefile (tests): Change dependencies to ....
9455         (tests-special): ... additions to this variable.
9456         * sysdeps/x86/Makefile (tests): Change dependencies to ....
9457         (tests-special): ... additions to this variable.
9458
9459         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9460         whole file.
9461         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9462         whole file.
9463         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9464         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9465
9466         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9467         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9468         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9469         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9470         * conform/data/libgen.h-data [XPG3]: Likewise.
9471         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9472         * conform/data/ndbm.h-data [XPG3]: Likewise.
9473         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9474         * conform/data/netdb.h-data [XPG3]: Likewise.
9475         * conform/data/netinet/in.h-data [XPG3]: Likewise.
9476         * conform/data/poll.h-data [XPG3]: Likewise.
9477         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9478         * conform/data/strings.h-data [XPG3]: Likewise.
9479         * conform/data/stropts.h-data [XPG3]: Likewise.
9480         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9481         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9482         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9483         Likewise.
9484         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9485         * conform/data/sys/time.h-data [XPG3]: Likewise.
9486         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9487         * conform/data/sys/uio.h-data [XPG3]: Likewise.
9488         * conform/data/sys/un.h-data [XPG3]: Likewise.
9489         * conform/data/syslog.h-data [XPG3]: Likewise.
9490         * conform/data/ucontext.h-data [XPG3]: Likewise.
9491         * conform/data/utmpx.h-data [XPG3]: Likewise.
9492         * conform/data/varargs.h-data [UNIX98]: Enable file.
9493
9494         * manual/Makefile (INSTALL_INFO): Remove variable setting.
9495
9496         * math/libm-test.inc (struct test_f_f_data): Move expected results
9497         into structure for each rounding mode.
9498         (struct test_ff_f_data): Likewise.
9499         (struct test_ff_f_data_nexttoward): Likewise.
9500         (struct test_fi_f_data): Likewise.
9501         (struct test_fl_f_data): Likewise.
9502         (struct test_if_f_data): Likewise.
9503         (struct test_fff_f_data): Likewise.
9504         (struct test_c_f_data): Likewise.
9505         (struct test_f_f1_data): Likewise.
9506         (struct test_fF_f1_data): Likewise.
9507         (struct test_ffI_f1_data): Likewise.
9508         (struct test_c_c_data): Likewise.
9509         (struct test_cc_c_data): Likewise.
9510         (struct test_f_i_data): Likewise.
9511         (struct test_ff_i_data): Likewise.
9512         (struct test_f_l_data): Likewise.
9513         (struct test_f_L_data): Likewise.
9514         (struct test_fFF_11_data): Likewise.
9515         (RM_): New macro.
9516         (RM_FE_DOWNWARD): Likewise.
9517         (RM_FE_TONEAREST): Likewise.
9518         (RM_FE_TOWARDZERO): Likewise.
9519         (RM_FE_UPWARD): Likewise.
9520         (RUN_TEST_LOOP_f_f): Update references to expected results.
9521         (RUN_TEST_LOOP_2_f): Likewise.
9522         (RUN_TEST_LOOP_fff_f): Likewise.
9523         (RUN_TEST_LOOP_c_f): Likewise.
9524         (RUN_TEST_LOOP_f_f1): Likewise.
9525         (RUN_TEST_LOOP_fF_f1): Likewise.
9526         (RUN_TEST_LOOP_fI_f1): Likewise.
9527         (RUN_TEST_LOOP_ffI_f1): Likewise.
9528         (RUN_TEST_LOOP_c_c): Likewise.
9529         (RUN_TEST_LOOP_cc_c): Likewise.
9530         (RUN_TEST_LOOP_f_i): Likewise.
9531         (RUN_TEST_LOOP_f_i_tg): Likewise.
9532         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9533         (RUN_TEST_LOOP_f_b): Likewise.
9534         (RUN_TEST_LOOP_f_b_tg): Likewise.
9535         (RUN_TEST_LOOP_f_l): Likewise.
9536         (RUN_TEST_LOOP_f_L): Likewise.
9537         (RUN_TEST_LOOP_fFF_11): Likewise.
9538         * math/gen-libm-test.pl (parse_args): Output four copies of
9539         expected results for each test.
9540
9541         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9542         (__ASSUME_UTIMES): Remove.
9543         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9544         (__ASSUME_UTIMES): Likewise.
9545
9546         * math/gen-auto-libm-tests.c: Update comment on output format.
9547         (output_for_one_input_case): Generate before-rounding and
9548         after-rounding information as conditions on output flags not
9549         floating-point format.
9550         * math/auto-libm-test-out: Regenerated.
9551         * math/gen-libm-test.pl (cond_value): New function.
9552         (or_cond_value): Use cond_value.
9553         (generate_testfile): Handle conditional exceptions.
9554
9555 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
9556
9557         * math/libm-test.inc (max_valid_error): New variable.
9558         (init_max_error): Take new argument specifying whether function
9559         results are exactly determined.  Set max_valid_error and bound
9560         other variables for errors based on this argument.
9561         (set_max_error): Do not record results above max_valid_error.
9562         (check_float_internal): Only accept errors of up to 0.5ulps if
9563         also at most max_valid_error.
9564         (START): Take new argument EXACT and pass it to init_max_error.
9565         (acos_test): Update call to START.
9566         (acos_test_tonearest): Likewise.
9567         (acos_test_towardzero): Likewise.
9568         (acos_test_downward): Likewise.
9569         (acos_test_upward): Likewise.
9570         (acosh_test): Likewise.
9571         (asin_test): Likewise.
9572         (asin_test_tonearest): Likewise.
9573         (asin_test_towardzero): Likewise.
9574         (asin_test_downward): Likewise.
9575         (asin_test_upward): Likewise.
9576         (asinh_test): Likewise.
9577         (atan_test): Likewise.
9578         (atanh_test): Likewise.
9579         (atan2_test): Likewise.
9580         (cabs_test): Likewise.
9581         (cacos_test): Likewise.
9582         (cacosh_test): Likewise.
9583         (carg_test): Likewise.
9584         (casin_test): Likewise.
9585         (casinh_test): Likewise.
9586         (catan_test): Likewise.
9587         (catanh_test): Likewise.
9588         (cbrt_test): Likewise.
9589         (ccos_test): Likewise.
9590         (ccosh_test): Likewise.
9591         (ceil_test): Likewise.
9592         (cexp_test): Likewise.
9593         (cimag_test): Likewise.
9594         (clog_test): Likewise.
9595         (clog10_test): Likewise.
9596         (conj_test): Likewise.
9597         (copysign_test): Likewise.
9598         (cos_test): Likewise.
9599         (cos_test_tonearest): Likewise.
9600         (cos_test_towardzero): Likewise.
9601         (cos_test_downward): Likewise.
9602         (cos_test_upward): Likewise.
9603         (cosh_test): Likewise.
9604         (cosh_test_tonearest): Likewise.
9605         (cosh_test_towardzero): Likewise.
9606         (cosh_test_downward): Likewise.
9607         (cosh_test_upward): Likewise.
9608         (cpow_test): Likewise.
9609         (cproj_test): Likewise.
9610         (creal_test): Likewise.
9611         (csin_test): Likewise.
9612         (csinh_test): Likewise.
9613         (csqrt_test): Likewise.
9614         (ctan_test): Likewise.
9615         (ctan_test_tonearest): Likewise.
9616         (ctan_test_towardzero): Likewise.
9617         (ctan_test_downward): Likewise.
9618         (ctan_test_upward): Likewise.
9619         (ctanh_test): Likewise.
9620         (ctanh_test_tonearest): Likewise.
9621         (ctanh_test_towardzero): Likewise.
9622         (ctanh_test_downward): Likewise.
9623         (ctanh_test_upward): Likewise.
9624         (erf_test): Likewise.
9625         (erfc_test): Likewise.
9626         (exp_test): Likewise.
9627         (exp_test_tonearest): Likewise.
9628         (exp_test_towardzero): Likewise.
9629         (exp_test_downward): Likewise.
9630         (exp_test_upward): Likewise.
9631         (exp10_test): Likewise.
9632         (exp10_test_tonearest): Likewise.
9633         (exp10_test_towardzero): Likewise.
9634         (exp10_test_downward): Likewise.
9635         (exp10_test_upward): Likewise.
9636         (pow10_test): Likewise.
9637         (exp2_test): Likewise.
9638         (expm1_test): Likewise.
9639         (expm1_test_tonearest): Likewise.
9640         (expm1_test_towardzero): Likewise.
9641         (expm1_test_downward): Likewise.
9642         (expm1_test_upward): Likewise.
9643         (fabs_test): Likewise.
9644         (fdim_test): Likewise.
9645         (floor_test): Likewise.
9646         (fma_test): Likewise.
9647         (fma_test_towardzero): Likewise.
9648         (fma_test_downward): Likewise.
9649         (fma_test_upward): Likewise.
9650         (fmax_test): Likewise.
9651         (fmin_test): Likewise.
9652         (fmod_test): Likewise.
9653         (fpclassify_test): Likewise.
9654         (frexp_test): Likewise.
9655         (hypot_test): Likewise.
9656         (ilogb_test): Likewise.
9657         (isfinite_test): Likewise.
9658         (finite_test): Likewise.
9659         (isgreater_test): Likewise.
9660         (isgreaterequal_test): Likewise.
9661         (isinf_test): Likewise.
9662         (isless_test): Likewise.
9663         (islessequal_test): Likewise.
9664         (islessgreater_test): Likewise.
9665         (isnan_test): Likewise.
9666         (isnormal_test): Likewise.
9667         (issignaling_test): Likewise.
9668         (isunordered_test): Likewise.
9669         (j0_test): Likewise.
9670         (j1_test): Likewise.
9671         (jn_test): Likewise.
9672         (ldexp_test): Likewise.
9673         (lgamma_test): Likewise.
9674         (gamma_test): Likewise.
9675         (lrint_test): Likewise.
9676         (lrint_test_tonearest): Likewise.
9677         (lrint_test_towardzero): Likewise.
9678         (lrint_test_downward): Likewise.
9679         (lrint_test_upward): Likewise.
9680         (llrint_test): Likewise.
9681         (llrint_test_tonearest): Likewise.
9682         (llrint_test_towardzero): Likewise.
9683         (llrint_test_downward): Likewise.
9684         (llrint_test_upward): Likewise.
9685         (log_test): Likewise.
9686         (log10_test): Likewise.
9687         (log1p_test): Likewise.
9688         (log2_test): Likewise.
9689         (logb_test): Likewise.
9690         (logb_test_downward): Likewise.
9691         (lround_test): Likewise.
9692         (llround_test): Likewise.
9693         (modf_test): Likewise.
9694         (nearbyint_test): Likewise.
9695         (nextafter_test): Likewise.
9696         (nexttoward_test): Likewise.
9697         (pow_test): Likewise.
9698         (pow_test_tonearest): Likewise.
9699         (pow_test_towardzero): Likewise.
9700         (pow_test_downward): Likewise.
9701         (pow_test_upward): Likewise.
9702         (remainder_test): Likewise.
9703         (drem_test): Likewise.
9704         (remainder_test_tonearest): Likewise.
9705         (drem_test_tonearest): Likewise.
9706         (remainder_test_towardzero): Likewise.
9707         (drem_test_towardzero): Likewise.
9708         (remainder_test_downward): Likewise.
9709         (drem_test_downward): Likewise.
9710         (remainder_test_upward): Likewise.
9711         (drem_test_upward): Likewise.
9712         (remquo_test): Likewise.
9713         (rint_test): Likewise.
9714         (rint_test_tonearest): Likewise.
9715         (rint_test_towardzero): Likewise.
9716         (rint_test_downward): Likewise.
9717         (rint_test_upward): Likewise.
9718         (round_test): Likewise.
9719         (scalb_test): Likewise.
9720         (scalbn_test): Likewise.
9721         (scalbln_test): Likewise.
9722         (signbit_test): Likewise.
9723         (sin_test): Likewise.
9724         (sin_test_tonearest): Likewise.
9725         (sin_test_towardzero): Likewise.
9726         (sin_test_downward): Likewise.
9727         (sin_test_upward): Likewise.
9728         (sincos_test): Likewise.
9729         (sinh_test): Likewise.
9730         (sinh_test_tonearest): Likewise.
9731         (sinh_test_towardzero): Likewise.
9732         (sinh_test_downward): Likewise.
9733         (sinh_test_upward): Likewise.
9734         (sqrt_test): Likewise.
9735         (sqrt_test_tonearest): Likewise.
9736         (sqrt_test_towardzero): Likewise.
9737         (sqrt_test_downward): Likewise.
9738         (sqrt_test_upward): Likewise.
9739         (tan_test): Likewise.
9740         (tan_test_tonearest): Likewise.
9741         (tan_test_towardzero): Likewise.
9742         (tan_test_downward): Likewise.
9743         (tan_test_upward): Likewise.
9744         (tanh_test): Likewise.
9745         (tgamma_test): Likewise.
9746         (trunc_test): Likewise.
9747         (y0_test): Likewise.
9748         (y1_test): Likewise.
9749         (yn_test): Likewise.
9750         (significand_test): Likewise.
9751
9752         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9753         individual tests in comment.
9754         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9755         (prev_max_error): New variable.
9756         (prev_real_max_error): Likewise.
9757         (prev_imag_max_error): Likewise.
9758         (compare_ulp_data): Don't refer to test names in comment.
9759         (find_test_ulps): Remove function.
9760         (find_function_ulps): Likewise.
9761         (find_complex_function_ulps): Likewise.
9762         (init_max_error): Take function name as argument.  Look up ulps
9763         for that function.
9764         (print_ulps): Remove function.
9765         (print_max_error): Use prev_max_error instead of calling
9766         find_function_ulps.
9767         (print_complex_max_error): Use prev_real_max_error and
9768         prev_imag_max_error instead of calling find_complex_function_ulps.
9769         (check_float_internal): Take max_ulp parameter instead of calling
9770         find_test_ulps.  Don't call print_ulps.
9771         (check_float): Update call to check_float_internal.
9772         (check_complex): Update calls to check_float_internal.
9773         (START): Pass argument to init_max_error.
9774         * math/gen-libm-test.pl (%results): Don't include "kind"
9775         information.
9776         (parse_ulps): Don't handle ulps of individual tests.
9777         (print_ulps_file): Likewise.
9778         (output_ulps): Likewise.
9779         * math/README.libm-test: Update.
9780         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9781         individual tests.
9782         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9783         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9784         * sysdeps/arm/libm-test-ulps: Likewise.
9785         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9786         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9787         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9788         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9789         * sysdeps/microblaze/libm-test-ulps: Likewise.
9790         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9791         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9792         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9793         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9794         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9795         * sysdeps/sh/libm-test-ulps: Likewise.
9796         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9797         * sysdeps/tile/libm-test-ulps: Likewise.
9798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9799
9800 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
9801
9802         * math/libm-test.inc (print_complex_max_error): Check separately
9803         whether real and imaginary errors are within allowed range and
9804         pass 0 to print_complex_function_ulps instead of value within
9805         allowed range.
9806
9807 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9808
9809         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9810         formatting.
9811         (get_handles_fopen): Likewise.
9812         (do_write_test): Likewise.
9813
9814         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9815
9816         * libio/fileops.c (do_ftell): Use cached offset when
9817         available.
9818         * libio/iofwide.c (do_ftell_wide): Likewise.
9819         * libio/iofdopen.c (_IO_new_fdopen): Don't use
9820         _IO_file_attach.
9821         * libio/wfileops.c (_IO_fwide): Don't cache offset.
9822
9823         [BZ #16532]
9824         * libio/libioP.h (get_file_offset): New function.
9825         * libio/fileops.c (get_file_offset): Likewise.
9826         (do_ftell): Likewise.
9827         (_IO_new_file_seekoff): Split out ftell logic.
9828         * libio/wfileops.c (do_ftell_wide): Likewise.
9829         (_IO_wfile_seekoff): Split out ftell logic.
9830         * libio/tst-ftell-active-handler.c: New test case.
9831         * libio/Makefile (tests): Add it.
9832
9833 2014-03-03  Roland McGrath  <roland@hack.frob.com>
9834
9835         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9836         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9837
9838 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9839
9840         [BZ #16639]
9841         * nscd/connections.c (nscd_init): Call do_exit.
9842         (start_threads): Call do_exit and notify_parent.
9843         (begin_drop_privileges): Call do_exit.
9844         (finish_drop_privileges): Likewise.
9845         * nscd/selinux.c (preserve_capabilities): Likewise.
9846         (install_real_capabilities): Likewise.
9847         (nscd_selinux_enabled): Likewise.
9848         (avc_create_thread): Likewise.
9849         (avc_alloc_lock): Likewise.
9850         (nscd_avc_init): Likewise.
9851         * nscd/nscd.c (parent_fd): New static variable.
9852         (main): Create a pipe between parent and child processes.
9853         Skip closing parent_fd.
9854         (monitor_child): New function.
9855         (do_exit): Likewise.
9856         (notify_parent): Likewise.
9857         * nscd/nscd.h (notify_parent): Likewise.
9858         (do_exit): Likewise.
9859
9860 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
9861
9862         * malloc/malloc.c (__libc_calloc): Revert last change.
9863
9864 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9865
9866         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9867
9868 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9869
9870         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9871         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9872         implementation.
9873         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9874         (__libc_ifunc_impl_list): Likewise.
9875         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9876         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9877         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9878         * string/strrchr.c: Define STRRCHR.
9879
9880 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
9881
9882         * benchtest/bench-strtok.c (simple_strtok): Delete.
9883         (strtok_string): Use as benchmark.
9884         * string/strtok (STRTOK): New macro.
9885
9886 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
9887
9888         * manual/threads.texi: Add header and standard comments to all
9889         functions.
9890
9891         * elf/dl-lookup.c (check_match): New function.
9892         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9893         (do_lookup_x): Remove nested function check_match. Use non-nested
9894         function check_match.
9895
9896 2014-02-28  Roland McGrath  <roland@hack.frob.com>
9897
9898         * csu/Makefile (generated, before-compile): Use += rather than =.
9899         * catgets/Makefile (generated, generated-dirs): Likewise.
9900         * debug/Makefile (generated): Likewise.
9901         * dlfcn/Makefile (generated): Likewise.
9902         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9903         * iconvdata/Makefile (before-compile, generated): Likewise.
9904         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9905         * libio/Makefile (generated): Likewise.
9906         * malloc/Makefile (generated): Likewise.
9907         * manual/Makefile (generated, generated-dirs): Likewise.
9908         * misc/Makefile (generated): Likewise.
9909         * posix/Makefile (generated): Likewise.
9910         * resolv/Makefile (generated): Likewise.
9911         * sunrpc/Makefile (generated, generated-dirs): Likewise.
9912         * timezone/Makefile (generated, generated-dirs): Likewise.
9913
9914         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9915
9916 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9917
9918         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9919         power8 implementation.
9920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9921         file: POWER8 llround ifunc implementation.
9922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9923         (__lllround): Add POWER8 implementation.
9924         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9925         POWER8 llround implementation.
9926
9927         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9928         power8 implementation.
9929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9930         file: POWER8 llrint ifunc implementation.
9931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9932         Add POWER8 implementation.
9933         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9934         POWER8 llrint implementation.
9935
9936         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9937         power8 implementation.
9938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9939         file: POWER8 finite ifunc implementation.
9940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9941         Add POWER8 implementation.
9942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9943         Likewise.
9944         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9945         POWER8 finite implementation.
9946         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9947
9948         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9949         power8 implementation.
9950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9951         file: POWER8 isinf ifunc implementation.
9952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9953         POWER8 implementation.
9954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9955         Likewise.
9956         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9957         isinf implementation.
9958         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9959
9960         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9961         (INIT_ARCH): Add hwcap2 initialization.
9962         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9963         power8 implementation.
9964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9965         file: POWER8 isnan ifunc implementation.
9966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9967         POWER8 implementation.
9968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9969         Likewise.
9970         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9971         isnan implementation.
9972         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9973
9974 2014-02-27  Joey Ye  <joey.ye@arm.com>
9975
9976         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9977         (_FP_NANFRAC_Q): Set to zero.
9978
9979 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9980
9981         [BZ #16623]
9982         * math/auto-libm-test-in: New test inputs.
9983         * math/auto-libm-test-out: Regenerate.
9984         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9985         and DA.
9986         (__cos): Likewise.
9987         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9988
9989 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
9990
9991         * scripts/evaluate-test.sh: Take new argument indicating whether
9992         failure is expected.
9993         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9994         indicating whether failure is expected.
9995         * conform/Makefile (test-xfail-run-conformtest): New variable.
9996         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9997         level.
9998         * posix/Makefile (test-xfail-annexc): New variable.
9999         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10000
10001 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
10002
10003         * argp/Makefile: Include Makeconfig immediately after defining
10004         subdir.
10005         * assert/Makefile: Likewise.
10006         * benchtests/Makefile: Likewise.
10007         * catgets/Makefile: Likewise.
10008         * conform/Makefile: Likewise.
10009         * crypt/Makefile: Likewise.
10010         * csu/Makefile: Likewise.
10011         (all): Remove target.
10012         * ctype/Makefile: Include Makeconfig immediately after defining
10013         subdir.
10014         * debug/Makefile: Likewise.
10015         * dirent/Makefile: Likewise.
10016         * dlfcn/Makefile: Likewise.
10017         * gmon/Makefile: Likewise.
10018         * gnulib/Makefile: Likewise.
10019         * grp/Makefile: Likewise.
10020         * gshadow/Makefile: Likewise.
10021         * hesiod/Makefile: Likewise.
10022         * hurd/Makefile: Likewise.
10023         (all): Remove target.
10024         * iconvdata/Makefile: Include Makeconfig immediately after
10025         defining subdir.
10026         * inet/Makefile: Likewise.
10027         * intl/Makefile: Likewise.
10028         * io/Makefile: Likewise.
10029         * libio/Makefile: Likewise.
10030         (all): Remove target.
10031         * locale/Makefile: Include Makeconfig immediately after defining
10032         subdir.
10033         * login/Makefile: Likewise.
10034         * mach/Makefile: Likewise.
10035         (all): Remove target.
10036         * malloc/Makefile: Include Makeconfig immediately after defining
10037         subdir.
10038         (all): Remove target.
10039         * manual/Makefile: Include Makeconfig immediately after defining
10040         subdir.
10041         * math/Makefile: Likewise.
10042         * misc/Makefile: Likewise.
10043         * nis/Makefile: Likewise.
10044         * nss/Makefile: Likewise.
10045         * po/Makefile: Likewise.
10046         (all): Remove target.
10047         * posix/Makefile: Include Makeconfig immediately after defining
10048         subdir.
10049         * pwd/Makefile: Likewise.
10050         * resolv/Makefile: Likewise.
10051         * resource/Makefile: Likewise.
10052         * rt/Makefile: Likewise.
10053         * setjmp/Makefile: Likewise.
10054         * shadow/Makefile: Likewise.
10055         * signal/Makefile: Likewise.
10056         * socket/Makefile: Likewise.
10057         * soft-fp/Makefile: Likewise.
10058         * stdio-common/Makefile: Likewise.
10059         * stdlib/Makefile: Likewise.
10060         * streams/Makefile: Likewise.
10061         * string/Makefile: Likewise.
10062         * sunrpc/Makefile: Likewise.
10063         (all): Remove target.
10064         * sysvipc/Makefile: Include Makeconfig immediately after defining
10065         subdir.
10066         * termios/Makefile: Likewise.
10067         * time/Makefile: Likewise.
10068         * timezone/Makefile: Likewise.
10069         (all): Remove target.
10070         * wcsmbs/Makefile: Include Makeconfig immediately after defining
10071         subdir.
10072         * wctype/Makefile: Likewise.
10073
10074 2014-02-26  Steve Ellcey  <sellcey@mips.com>
10075
10076         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10077         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10078         (libc_feholdexcept_setround_mips): Ditto.
10079         (libc_feholdsetround): New.
10080         (libc_feholdsetroundf): New.
10081         (libc_feholdsetroundl): New.
10082         (libc_feupdateenv_test_mips): New.
10083         (libc_feupdateenv_test): New.
10084         (libc_feupdateenv_testf): New.
10085         (libc_feupdateenv_testl): New.
10086         (libc_feresetround): New.
10087         (libc_feresetroundf): New.
10088         (libc_feresetroundl): New.
10089         (libc_fetestexcept_mips): New.
10090         (libc_fetestexcept): New.
10091         (libc_fetestexceptf): New.
10092         (libc_fetestexceptl): New.
10093         (HAVE_RM_CTX): New.
10094         (libc_feholdexcept_setround_mips_ctx): New.
10095         (libc_feholdexcept_setround_ctx): New.
10096         (libc_feholdexcept_setroundf_ctx): New.
10097         (libc_feholdexcept_setroundl_ctx): New.
10098         (libc_fesetenv_mips_ctx): New.
10099         (libc_fesetenv_ctx): New.
10100         (libc_fesetenv_ctxf): New.
10101         (libc_fesetenv_ctxl): New.
10102         (libc_feupdateenv_mips_ctx): New.
10103         (libc_feupdateenv_ctx): New.
10104         (libc_feupdateenvf_ctx): New.
10105         (libc_feupdateenvl_ctx): New.
10106         (libc_feholdsetround_mips_ctx): New.
10107         (libc_feholdsetround_ctx): New.
10108         (libc_feholdsetroundf_ctx): New.
10109         (libc_feholdsetroundl_ctx): New.
10110         (libc_feresetround_mips_ctx): New.
10111         (libc_feresetround_ctx): New.
10112         (libc_feresetroundf_ctx): New.
10113         (libc_feresetroundl_ctx): New.
10114
10115 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
10116
10117         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10118
10119         * manual/ipc.texi: New file.
10120         * manual/Makefile (chapters): Add ipc.
10121         * manual/job.texi: Add "Inter-Process Communication" to next.
10122         * manual/process.texi: Add "Inter-Process Communication" to prev.
10123
10124 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10125
10126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10127
10128 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
10129
10130         * malloc/malloc.c (__libc_calloc): Simplify implementation.
10131
10132         * manual/arith.texi: Fix spaces after sentences.
10133         * manual/charset.texi: Likewise.
10134         * manual/errno.texi: Likewise.
10135         * manual/install.texi: Likewise.
10136         * manual/llio.texi: Likewise.
10137         * manual/locale.texi: Likewise.
10138         * manual/maint.texi: Likewise.
10139         * manual/math.texi: Likewise.
10140         * manual/memory.texi: Likewise.
10141         * manual/message.texi: Likewise.
10142         * manual/probes.texi: Likewise.
10143         * manual/resource.texi: Likewise.
10144         * manual/signal.texi: Likewise.
10145         * manual/socket.texi: Likewise.
10146         * manual/stdio.texi: Likewise.
10147         * manual/string.texi: Likewise.
10148         * manual/time.texi: Likewise.
10149         * manual/users.texi: Likewise.
10150
10151 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
10152
10153         [BZ #16632]
10154         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10155         _DEFAULT_SOURCE is defined.
10156
10157 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
10158             Carlos O'Donell  <carlos@redhat.com>
10159
10160         [BZ #16613]
10161         * elf/dl-tls.c (_dl_count_modids): New function.
10162         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10163         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10164         audit library and increment generation counter.
10165         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10166         * elf/tst-audit9.c: New file.
10167         * elf/tst-auditmod9a.c: New file.
10168         * elf/tst-auditmod9b.c: New file.
10169         * elf/Makefile: Add rules to build and run tst-audit9.
10170
10171 2014-02-25  Florian Weimer  <fweimer@redhat.com>
10172
10173         [BZ #15347]
10174         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10175
10176 2014-02-25  Will Newton  <will.newton@linaro.org>
10177
10178         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10179         (__longjmp): Restore sp and lr before restoring callee
10180         saved registers.  Add longjmp and longjmp_target
10181         SystemTap probe point.
10182         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10183         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10184         Define to zero to match jmpbuf layout.
10185         * sysdeps/arm/setjmp.S: Include stap-probe.h.
10186         (__sigsetjmp): Save sp and lr before saving callee
10187         saved registers.  Add setjmp SystemTap probe point.
10188
10189 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10190
10191         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10192
10193 2014-02-24  Andreas Schwab  <schwab@suse.de>
10194
10195         [BZ #15804]
10196         * elf/pldd.c (wait_for_ptrace_stop): New function.
10197         (main): Call it after attaching.
10198
10199 2014-02-22  Roland McGrath  <roland@hack.frob.com>
10200
10201         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10202         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10203         Versions files is now verboten.
10204         * hurd/Versions (libc: GLIBC_2.0):
10205         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10206         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10207         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10208         * mach/Versions: Likewise.
10209
10210         * csu/Versions: Remove unused %include.
10211         * resolv/Versions: Likewise.
10212
10213 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
10214
10215         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10216         ($(objpfx)check-local-headers.out): Likewise.
10217         ($(objpfx)begin-end-check.out): Likewise.
10218         * Makerules (check-abi-%.out): Likewise.
10219         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10220         ($(objpfx)test2.cat): Likewise.
10221         ($(objpfx)de/libc.cat): Likewise.
10222         ($(objpfx)test-gencat.out): Likewise.
10223         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10224         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10225         ($(objpfx)noload-mem): Likewise.
10226         ($(objpfx)tst-pathopt.out): Likewise.
10227         ($(objpfx)tst-rtld-load-self.out): Likewise.
10228         ($(objpfx)tst-array1-cmp.out): Likewise.
10229         ($(objpfx)tst-array1-static-cmp.out): Likewise.
10230         ($(objpfx)tst-array2-cmp.out): Likewise.
10231         ($(objpfx)tst-array3-cmp.out): Likewise.
10232         ($(objpfx)tst-array4-cmp.out): Likewise.
10233         ($(objpfx)tst-array5-cmp.out): Likewise.
10234         ($(objpfx)tst-array5-static-cmp.out): Likewise.
10235         ($(objpfx)check-textrel.out): Likewise.
10236         ($(objpfx)check-execstack.out): Likewise.
10237         ($(objpfx)check-localplt.out): Likewise.
10238         ($(objpfx)order2-cmp.out): Likewise.
10239         ($(objpfx)tst-leaks1-mem): Likewise.
10240         ($(objpfx)tst-leaks1-static-mem): Likewise.
10241         ($(objpfx)tst-initorder-cmp.out): Likewise.
10242         ($(objpfx)tst-initorder2-cmp.out): Likewise.
10243         ($(objpfx)tst-unused-dep.out): Likewise.
10244         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10245         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10246         * iconv/Makefile (test-iconvconfig): Likewise.
10247         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10248         ($(objpfx)iconv-test.out): Likewise.
10249         ($(objpfx)tst-tables.out): Likewise.
10250         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10251         ($(objpfx)tst-gettext.out): Likewise.
10252         ($(objpfx)tst-translit.out): Likewise.
10253         ($(objpfx)tst-gettext2.out): Likewise.
10254         ($(objpfx)tst-gettext4.out): Likewise.
10255         ($(objpfx)tst-gettext6.out): Likewise.
10256         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10257         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10258         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10259         ($(objpfx)tst-fopenloc-mem.out): Likewise.
10260         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10261         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10262         * posix/Makefile ($(objpfx)globtest.out): Likewise.
10263         ($(objpfx)wordexp-tst.out): Likewise.
10264         ($(objpfx)annexc.out): Likewise.
10265         ($(objpfx)tst-fnmatch-mem): Likewise.
10266         ($(objpfx)bug-regex2-mem): Likewise.
10267         ($(objpfx)bug-regex14-mem): Likewise.
10268         ($(objpfx)bug-regex21-mem): Likewise.
10269         ($(objpfx)bug-regex31-mem): Likewise.
10270         ($(objpfx)tst-vfork3-mem): Likewise.
10271         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10272         ($(objpfx)tst-pcre-mem): Likewise.
10273         ($(objpfx)tst-boost-mem): Likewise.
10274         ($(objpfx)tst-getconf.out): Likewise.
10275         ($(objpfx)bug-ga2-mem): Likewise.
10276         ($(objpfx)bug-glob2-mem): Likewise.
10277         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10278         ($(objpfx)mtrace-tst-leaks2): Likewise.
10279         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10280         ($(objpfx)tst-printf.out): Likewise.
10281         ($(objpfx)tst-setvbuf1.out): Likewise.
10282         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10283         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10284         ($(objpfx)tst-fmtmsg.out): Likewise.
10285         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10286         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10287
10288         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10289         * bits/sigaction.h [__USE_MISC]: Likewise.
10290         * bits/waitstatus.h: Update #endif comments.
10291         * ctype/ctype.h: Likewise.
10292         * dirent/dirent.h: Likewise.
10293         [__USE_MISC]: Remove redundant conditionals.
10294         * grp/grp.h: Update #endif comments.
10295         [__USE_GNU]: Remove redundant conditionals.
10296         [__USE_MISC]: Likewise.
10297         * inet/netinet/in.h [__USE_GNU]: Likewise.
10298         * io/sys/stat.h [__USE_MISC]: Likewise.
10299         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10300         * libio/bits/stdio.h: Update #endif comments.
10301         [__USE_MISC]: Remove redundant conditionals.
10302         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10303         * libio/stdio.h: Update #endif comments.
10304         [__USE_MISC]: Remove redundant conditionals.
10305         * math/bits/math-finite.h [__USE_MISC]: Likewise.
10306         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10307         * math/math.h: Update #else and #endif comments.
10308         [__USE_MISC]: Remove redundant conditionals.
10309         * misc/sys/uio.h: Update #endif comments.
10310         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10311         * posix/glob.h [__USE_MISC]: Likewise.
10312         * posix/sys/types.h: Update #endif comments.
10313         [__USE_MISC]: Remove redundant conditionals.
10314         * posix/sys/wait.h: Update #endif comments.
10315         [__USE_MISC]: Remove redundant conditionals.
10316         * posix/unistd.h: Update #endif comments.
10317         [__USE_MISC]: Remove redundant conditionals.
10318         * pwd/pwd.h [__USE_GNU]: Likewise.
10319         [__USE_MISC]: Likewise.
10320         * resolv/netdb.h [__USE_GNU]: Likewise.
10321         * signal/signal.h: Update #endif comments.
10322         [__USE_MISC]: Remove redundant conditionals.
10323         * stdlib/stdlib.h: Update #else and #endif comments.
10324         [__USE_MISC]: Remove redundant conditionals.
10325         [__USE_GNU]: Likewise.
10326         * string/bits/string2.h [__USE_MISC]: Likewise.
10327         * string/string.h: Update #endif comments.
10328         [__USE_MISC]: Remove redundant conditionals.
10329         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10330         Likewise.
10331         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10332         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10333         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10334         Likewise.
10335         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10336         Likewise.
10337         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10338         comments.
10339         [__USE_MISC]: Remove redundant conditionals.
10340         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10341         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10342         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10343         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10344         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10345         Likewise.
10346         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10347         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10348         Likewise.
10349         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10350         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10351         Likewise.
10352         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10353         Likewise.
10354         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10355         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10356         Likewise.
10357         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10358         Likewise.
10359         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10360         * sysdeps/x86/bits/string.h: Update #endif comments.
10361         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10362         conditionals.
10363         * time/sys/time.h: Update #endif comments.
10364         * time/time.h: Likewise.
10365         [__USE_MISC]: Remove redundant conditionals.
10366
10367 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
10368
10369         [BZ #16600]
10370         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10371
10372 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
10373
10374         * Versions.def (librt): Add GLIBC_2.17.
10375
10376 2014-02-21  Adam Conrad  <adconrad@0c3.net>
10377
10378         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10379         synonym for _SYS_AUXV_H to allow direct inclusion.
10380         * sysdeps/sparc/bits/hwcap.h: Likewise.
10381         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10382         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10383         * sysdeps/sparc/sysdep.h: Likewise.
10384
10385 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10386
10387         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10388
10389 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10390
10391         * benchtests/bench-strrchr.c: Print length instead of position.
10392
10393 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
10394
10395         [BZ #16611]
10396         * sysdeps/unix/sysv/linux/kernel-features.h
10397         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10398         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10399         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10400         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10401         Likewise.
10402         [__i386__ || __powerpc__ || __sh__ || __sparc__]
10403         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10404         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10405         (__ASSUME_SENDMMSG): Define instead of using previous
10406         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10407         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10408         (__ASSUME_SENDMMSG_SYSCALL): Define.
10409         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10410         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10411         Likewise.
10412         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10413         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10414         Likewise.
10415         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10416         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10417         Likewise.
10418         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10419         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10420         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10421         [__ASSUME_SENDMMSG]: Change conditionals to
10422         [__ASSUME_SENDMMSG_SOCKETCALL].
10423         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10424         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10425         Define.
10426         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10427         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10428         Likewise.
10429         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10430         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10431         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10432         [!__ASSUME_SENDMMSG]: Change conditional to
10433         [!__ASSUME_SENDMMSG_SOCKETCALL].
10434         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10435         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10436         Define.
10437
10438         [BZ #16610]
10439         * sysdeps/unix/sysv/linux/kernel-features.h
10440         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10441         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10442         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10443         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10444         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10445         [__i386__ || __sparc__]
10446         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10447         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10448         (__ASSUME_RECVMMSG): Define instead of using previous
10449         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10450         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10451         (__ASSUME_RECVMMSG_SYSCALL): Define.
10452         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10453         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10454         Likewise.
10455         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10456         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10457         Likewise.
10458         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10459         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10460         Likewise.
10461         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10462         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10463         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10464         [__ASSUME_RECVMMSG]: Change condition to
10465         [__ASSUME_RECVMMSG_SOCKETCALL].
10466         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10467         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10468         Define.
10469         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10470         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10471         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10472         Likewise.
10473         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10474         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10475         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10476         [!__ASSUME_RECVMMSG]: Change condition to
10477         [!__ASSUME_RECVMMSG_SOCKETCALL].
10478         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10479         (__ASSUME_RECVMMSG_SYSCALL): Define.
10480
10481         [BZ #16609]
10482         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10483         __powerpc__ || __s390__ || __sh__ || __sparc__]
10484         (__ASSUME_SOCKETCALL): Define.
10485         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10486         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10487         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10488         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10489         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10490         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10491         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10492         (__ASSUME_ACCEPT4): Define instead of using previous
10493         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10494         __powerpc__ || __sparc__ || __s390__)] condition.
10495         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10496         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10497         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10498         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10499         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10500         [!__ASSUME_ACCEPT4]: Change condition to
10501         [!__ASSUME_ACCEPT4_SOCKETCALL].
10502         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10503         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
10504         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10505         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10506         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10507         __ASSUME_ACCEPT4_SYSCALL.
10508         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10509         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10510         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10511         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10512         __ASSUME_ACCEPT4_SYSCALL.
10513         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10514         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10515         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10516         [__ASSUME_ACCEPT4]: Change condition to
10517         [__ASSUME_ACCEPT4_SOCKETCALL].
10518         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10519         (__ASSUME_SOCKETCALL): Define.
10520         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10521         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10522         (__ASSUME_SOCKETCALL): Define.
10523         (__ASSUME_ACCEPT4): Remove.
10524         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10525         Define.
10526         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10527         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10528         Likewise.
10529         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10530         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10531
10532         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10533         macro.
10534         (HWCAP_ARM_LPAE): Likewise.
10535         (HWCAP_ARM_EVTSTRM): Likewise.
10536         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10537         Add vpfd32, lpae and evtstrm.
10538         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10539         Increase to 22.
10540
10541 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
10542
10543         * math/auto-libm-test-in: Add tests of clog10.
10544         * math/auto-libm-test-out: Regenerated.
10545         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10546         * sysdeps/i386/fpu/libm-test-ulps: Update.
10547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10548
10549 2014-02-18  Andreas Schwab  <schwab@suse.de>
10550
10551         [BZ #16574]
10552         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10553         Store non-zero if the second buffer was newly allocated.
10554         (send_dg): Likewise.
10555         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10556         to send_vc and send_dg.
10557         (res_nsend): Pass NULL for ansp2_malloced.
10558         * resolv/res_query.c (__libc_res_nquery): Add parameter
10559         answerp2_malloced and pass it down to __libc_res_nsend.
10560         (res_nquery): Pass additional NULL to __libc_res_nquery.
10561         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10562         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
10563         second answer buffer if answerp2_malloced was set.
10564         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10565         (__libc_res_nquerydomain): Add parameter
10566         answerp2_malloced and pass it down to __libc_res_nquery.
10567         (res_nquerydomain): Pass additional NULL to
10568         __libc_res_nquerydomain.
10569         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10570         additional NULL to __libc_res_nsend and __libc_res_nquery.
10571         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10572         additional NULL to __libc_res_nsearch.
10573         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
10574         parameter of __libc_res_nsearch to check for separately allocated
10575         second buffer.
10576         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10577         __libc_res_nquery.
10578         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10579         additional NULL to __libc_res_nquery.
10580         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10581         __libc_res_nsearch.
10582         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10583         * include/resolv.h: Update prototypes of __libc_res_nquery,
10584         __libc_res_nsearch, __libc_res_nsend.
10585
10586 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
10587
10588         * math/auto-libm-test-in: Add tests of fma.
10589         * math/auto-libm-test-out: Regenerated.
10590         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10591         (fma_towardzero_test_data): Likewise.
10592         (fma_downward_test_data): Likewise.
10593         (fma_upward_test_data): Likewise.
10594         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10595         mpc_mode.
10596         (rounding_modes): Add values for new field.
10597         (func_calc_method): Add value mpfr_fff_f.
10598         (func_calc_desc): Add mpfr_fff_f union field.
10599         (test_function): Add field exact_args.
10600         (FUNC): Add macro argument EXACT_ARGS.
10601         (FUNC_mpfr_f_f): Update call to FUNC.
10602         (FUNC_mpfr_f_f): Likewise.
10603         (FUNC_mpfr_ff_f): Likewise.
10604         (FUNC_mpfr_if_f): Likewise.
10605         (FUNC_mpc_c_f): Likewise.
10606         (FUNC_mpc_c_c): Likewise.
10607         (test_functions): Add fma.  Update calls to FUNC.
10608         (handle_input_arg): Add argument exact_args.
10609         (add_test): Update call to handle_input_arg.
10610         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
10611         (output_for_one_input_case): Update call to calc_generic_results.
10612         Recalculate exact zero results in each rounding mode.
10613
10614         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10615         non-negative before setting low bit.
10616         * math/auto-libm-test-in: Mark one asin test possibly having
10617         spurious underflow.
10618         * math/auto-libm-test-out: Regenerated.
10619         * sysdeps/i386/fpu/libm-test-ulps: Update.
10620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10621
10622 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
10623
10624         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10625         * sysdeps/unix/sysv/linux/microblaze: Move directory from
10626         ports/sysdeps/unix/sysv/linux/microblaze.
10627         * README: Add missing listing for microblaze*-*-linux-gnu.
10628
10629 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
10630
10631         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10632         duplicate code
10633
10634 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
10635
10636         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10637         * sysdeps/unix/sysv/linux/ia64: Move directory from
10638         ports/sysdeps/unix/sysv/linux/ia64.
10639         * README: Update listing for ia64-*-linux-gnu.
10640
10641 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
10642             Joseph Myers  <joseph@codesourcery.com>
10643
10644         * Makeconfig (test-name): New variable.
10645         (evaluate-test): Likewise.
10646         * Makerules (do-test-clean): Remove .test-result files.
10647         (common-mostlyclean): Likewise.
10648         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10649         * scripts/evaluate-test.sh: New file.
10650
10651 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
10652
10653         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10654         separate $(objpfx)tst-fopenloc-cmp.out and
10655         $(objpfx)tst-fopenloc-mem.out targets.
10656         (tests): Update dependencies.
10657         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10658         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10659         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10660         (tst-rxspencer-no-utf8-ARGS): New variable.
10661         (tst-rxspencer-no-utf8-ENV): Likewise.
10662         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10663         instead of $(objpfx)tst-rxspencer-mem.
10664         ($(objpfx)tst-rxspencer-mem): Change target to
10665         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
10666         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10667         * posix/tst-rxspencer-no-utf8.c: New file.
10668
10669         * elf/Makefile ($(objpfx)order.out): Remove rule.
10670         [$(run-built-tests) = yes] (tests): Depend on
10671         $(objpfx)order-cmp.out.
10672         ($(objpfx)order-cmp.out): New rule.
10673         [$(run-built-tests) = yes] (tests): Depend on
10674         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10675         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10676         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10677         $(objpfx)tst-array5-static-cmp.out.
10678         ($(objpfx)tst-array1.out): Remove rule.
10679         ($(objpfx)tst-array1-cmp.out): New rule.
10680         ($(objpfx)tst-array1-static.out): Remove rule.
10681         ($(objpfx)tst-array1-static-cmp.out): New rule.
10682         ($(objpfx)tst-array2.out): Remove rule.
10683         ($(objpfx)tst-array2-cmp.out): New rule.
10684         ($(objpfx)tst-array3.out): Remove rule.
10685         ($(objpfx)tst-array3-cmp.out): New rule.
10686         ($(objpfx)tst-array4.out): Remove rule.
10687         ($(objpfx)tst-array4-cmp.out): New rule.
10688         ($(objpfx)tst-array5.out): Remove rule.
10689         ($(objpfx)tst-array5-cmp.out): New rule.
10690         ($(objpfx)tst-array5-static.out): Remove rule.
10691         ($(objpfx)tst-array5-static-cmp.out): New rule.
10692         [$(run-built-tests) = yes] (tests): Depend on
10693         $(objpfx)order2-cmp.out.
10694         ($(objpfx)order2.out): Remove rule.
10695         ($(objpfx)order2-cmp.out): New rule.
10696         ($(objpfx)tst-initorder.out): Remove rule.
10697         [$(run-built-tests) = yes] (tests): Depend on
10698         $(objpfx)tst-initorder-cmp.out.
10699         ($(objpfx)tst-initorder-cmp.out): New rule.
10700         ($(objpfx)tst-initorder2.out): Remove rule.
10701         [$(run-built-tests) = yes] (tests): Depend on
10702         $(objpfx)tst-initorder2-cmp.out.
10703         ($(objpfx)tst-initorder2-cmp.out): New rule.
10704         [$(run-built-tests) = yes] (tests): Depend on
10705         $(objpfx)tst-unused-dep-cmp.out.
10706         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10707         ($(objpfx)tst-unused-dep-cmp.out): New rule.
10708         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10709         on $(objpfx)tst-setvbuf1-cmp.out.
10710         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10711         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10712         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10713         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10714         ($(objpfx)tst-svc.out): Remove rule.
10715         ($(objpfx)tst-svc-cmp.out): New rule.
10716
10717 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
10718
10719         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10720         * ctype/ctype.h [__USE_MISC]: Likewise.
10721         * dirent/dirent.h [__USE_MISC]: Likewise.
10722         * grp/grp.h [__USE_MISC]: Likewise.
10723         * io/fcntl.h [__USE_MISC]: Likewise.
10724         * io/sys/stat.h [__USE_MISC]: Likewise.
10725         * libio/stdio.h [__USE_MISC]: Likewise.
10726         * posix/unistd.h [__USE_MISC]: Likewise.
10727         * pwd/pwd.h [__USE_MISC]: Likewise.
10728         * stdlib.h [__USE_MISC]: Likewise.
10729         * string/bits/string2.h [__USE_MISC]: Likewise.
10730         * string/string.h [__USE_MISC]: Likewise.
10731         * time/time.h [__USE_MISC]: Likewise.
10732
10733 2014-02-13  Andreas Schwab  <schwab@suse.de>
10734
10735         [BZ #16574]
10736         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10737         second answer buffer if it was separately allocated.
10738
10739 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
10740
10741         * sysdeps/mips/math-tests.h: Include <features.h>.
10742         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10743         (ROUNDING_TESTS_long_double): Do not define.
10744         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10745         (EXCEPTION_TESTS_long_double): Likewise.
10746         * sysdeps/mips/mips64/libm-test-ulps: Update.
10747
10748         * include/features.h (__USE_BSD): Remove macro definitions.
10749         (__USE_SVID): Likewise.
10750         (_BSD_SOURCE): Likewise.
10751         (_SVID_SOURCE): Likewise.
10752         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10753         from definition of _DEFAULT_SOURCE.
10754         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10755         [_DEFAULT_SOURCE].
10756         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10757         * bits/mman.h [__USE_BSD]: Likewise.
10758         * bits/termios.h [__USE_BSD]: Likewise.
10759         * bits/waitstatus.h [__USE_BSD]: Likewise.
10760         * ctype/ctype.h [__USE_SVID]: Likewise.
10761         * dirent/dirent.h [__USE_BSD]: Likewise.
10762         * grp/grp.h [__USE_SVID]: Likewise.
10763         [__USE_BSD]: Likewise.
10764         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10765         * io/fcntl.h [__USE_BSD]: Likewise.
10766         * io/ftw.h [__USE_BSD]: Likewise.
10767         * io/sys/stat.h [__USE_BSD]: Likewise.
10768         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10769         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10770         * libio/stdio.h [__USE_SVID]: Likewise.
10771         [__USE_BSD]: Likewise.
10772         * math/math.h [__USE_SVID]: Likewise.
10773         [__USE_BSD]: Likewise.
10774         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10775         * misc/bits/syslog.h [__USE_BSD]: Likewise.
10776         * misc/search.h [__USE_SVID]: Likewise.
10777         * misc/sys/mman.h [__USE_BSD]: Likewise.
10778         * misc/sys/syslog.h [__USE_BSD]: Likewise.
10779         * misc/sys/uio.h [__USE_BSD]: Likewise.
10780         * posix/bits/unistd.h [__USE_BSD]: Likewise.
10781         * posix/glob.h [__USE_BSD]: Likewise.
10782         * posix/regex.h [__USE_BSD]: Likewise.
10783         * posix/sys/types.h [__USE_BSD]: Likewise.
10784         [__USE_SVID]: Likewise.
10785         * posix/sys/utsname.h [__USE_SVID]: Likewise.
10786         * posix/sys/wait.h [__USE_BSD]: Likewise.
10787         [__USE_SVID]: Likewise.
10788         * posix/unistd.h [__USE_BSD]: Likewise.
10789         [__USE_SVID]: Likewise.
10790         * pwd/pwd.h [__USE_SVID]: Likewise.
10791         * resolv/netdb.h [__USE_BSD]: Likewise.
10792         * setjmp/setjmp.h [__USE_BSD]: Likewise.
10793         * signal/signal.h [__USE_BSD]: Likewise.
10794         [__USE_SVID]: Likewise.
10795         * socket/sys/socket.h [__USE_BSD]: Likewise.
10796         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10797         * stdlib/stdlib.h [__USE_BSD]: Likewise.
10798         [__USE_SVID]: Likewise.
10799         * string/bits/string2.h [__USE_BSD]: Likewise.
10800         [__USE_SVID]: Likewise.
10801         * string/bits/string3.h [__USE_BSD]: Likewise.
10802         * string/endian.h [__USE_BSD]: Likewise.
10803         * string/string.h [__USE_SVID]: Likewise.
10804         [__USE_BSD]: Likewise.
10805         * string/strings.h [__USE_BSD]: Likewise.
10806         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10807         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10808         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10809         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10810         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10811         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10812         Likewise.
10813         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10814         Likewise.
10815         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10816         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10817         Likewise.
10818         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10819         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10820         Likewise.
10821         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10822         Likewise.
10823         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10824         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10825         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10826         Likewise.
10827         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10828         Likewise.
10829         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10830         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10831         * termios/termios.h [__USE_BSD]: Likewise.
10832         * time/sys/time.h [__USE_BSD]: Likewise.
10833         * time/time.h [__USE_BSD]: Likewise.
10834         [__USE_SVID]: Likewise.
10835
10836         * Makefile (subdir_targets): Remove subdir_lint.out.
10837
10838         * stdio-common/Makefile (do-tst-unbputc): Remove target.
10839         (do-tst-printf): Likewise.
10840         (tests): Depend directly on $(objpfx)tst-unbputc.out and
10841         $(objpfx)tst-printf.out.
10842
10843         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10844
10845         * Makerules (check-abi-%): Change target to
10846         $(objpfx)check-abi-%.out.
10847         (check-abi target): Update dependencies.
10848         (check-abi-pattern variable): Redirect output of diff to $@.
10849         (check-abi variable): Likewise.
10850         * elf/Makefile (check-abi): Update dependencies.
10851
10852         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10853         unused.
10854         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10855         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10856         subnormal range.
10857         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10858         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10859         value has largest subnormal exponent.
10860         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10861         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10862         * sysdeps/aarch64/soft-fp/sfp-machine.h
10863         (_FP_TININESS_AFTER_ROUNDING): New macro.
10864         * sysdeps/alpha/soft-fp/sfp-machine.h
10865         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10866         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10867         Likewise.
10868         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10869         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10870         * sysdeps/mips/soft-fp/sfp-machine.h
10871         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10872         * sysdeps/powerpc/soft-fp/sfp-machine.h
10873         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10874         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10875         Likewise.
10876         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10877         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10878         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10879         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10880         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10881         Likewise.
10882
10883 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
10884
10885         [BZ #16545]
10886         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10887         model 1.
10888
10889 2014-02-12  Richard Henderson  <rth@redhat.com>
10890
10891         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10892         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10893         * sysdeps/unix/sysv/linux/alpha: Move directory from
10894         ports/sysdeps/unix/sysv/linux/alpha.
10895         * README: Update listing for alpha-*-linux-gnu.
10896
10897 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
10898
10899         * include/features.h: Update comment documenting feature test
10900         macros.
10901         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
10902         _DEFAULT_SOURCE.
10903         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10904         (_SVID_SOURCE): Likewise.
10905         (_DEFAULT_SOURCE): Update description of default features.
10906         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10907         with _GNU_SOURCE.
10908         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10909         (S_ISVTX): Likewise.
10910         * manual/math.texi (Mathematical Constants): Likewise.
10911         * manual/signal.texi (Interrupted Primitives): Likewise.
10912         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10913         * math/test-matherr.c (_SVID_SOURCE): Do not define.
10914         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10915         Don't refer to _SVID_SOURCE in warning text.
10916
10917         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10918
10919         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10920         already defined.
10921         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10922         * sysdeps/mips/dl-lookup.c: Remove.
10923         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10924
10925 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10926
10927         [BZ #16447]
10928         * math/auto-libm-test-in: Add testcase for expl.
10929         * math/auto-libm-test-out: Regenerate.
10930         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10931         calculation of unsafe.
10932         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10933
10934 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10935
10936         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10937         * sysdeps/unix/sysv/linux/aarch64: Move directory from
10938         ports/sysdeps/unix/sysv/linux/aarch64.
10939         * README: Update listing for aarch64*-*-linux-gnu.
10940
10941 2014-02-11  Will Newton  <will.newton@linaro.org>
10942
10943         * manual/probes.texi (Mathematical Function Probes): Use
10944         "triggered" instead of "hit".
10945
10946         * manual/probes.texi (Internal Probes): Add documentation
10947         of setjmp, longjmp and longjmp_target probes.
10948
10949         * include/stap-probe.h: Add comment about probe argument
10950         format.
10951
10952         * malloc/mtrace.c (attribute_hidden): Remove unused macro
10953         definition.  (tr_where, tr_freehook, tr_mallochook,
10954         tr_reallochook, tr_memalignhook): Use ANSI protoype.
10955
10956 2014-02-11  David S. Miller  <davem@davemloft.net>
10957
10958         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10959         processing int_tests.
10960
10961 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
10962
10963         * sysdeps/mips: Move directory from ports/sysdeps/mips.
10964         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10965         * sysdeps/unix/sysv/linux/mips: Move directory from
10966         ports/sysdeps/unix/sysv/linux/mips.
10967         * README: Update listing for mips-*-linux-gnu and
10968         mips64-*-linux-gnu.
10969
10970 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
10971
10972         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10973         * sysdeps/unix/sysv/linux/m68k: Move directory from
10974         ports/sysdeps/unix/sysv/linux/m68k.
10975         * README: Update listing for m68k-*-linux-gnu.
10976
10977 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
10978
10979         * sysdeps/tile: Move directory from ports/sysdeps/tile.
10980         * sysdeps/unix/sysv/linux/generic: Move directory from
10981         ports/sysdeps/unix/sysv/linux/generic.
10982         * sysdeps/unix/sysv/linux/tile: Move directory from
10983         ports/sysdeps/unix/sysv/linux/tile.
10984         * README: Update listing for tile*-*-linux-gnu.
10985
10986 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
10987
10988         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10989         __builtin_expect.
10990         * benchtests/bench-memmem.c (simple_memmem): Likewise.
10991         * catgets/open_catalog.c (__open_catalog): Likewise.
10992         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10993         * debug/confstr_chk.c: Likewise.
10994         * debug/fread_chk.c (__fread_chk): Likewise.
10995         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10996         * debug/getgroups_chk.c: Likewise.
10997         * debug/mbsnrtowcs_chk.c: Likewise.
10998         * debug/mbsrtowcs_chk.c: Likewise.
10999         * debug/mbstowcs_chk.c: Likewise.
11000         * debug/memcpy_chk.c: Likewise.
11001         * debug/memmove_chk.c: Likewise.
11002         * debug/mempcpy_chk.c: Likewise.
11003         * debug/memset_chk.c: Likewise.
11004         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11005         * debug/strcat_chk.c (__strcat_chk): Likewise.
11006         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11007         * debug/strncat_chk.c (__strncat_chk): Likewise.
11008         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11009         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11010         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11011         * debug/wcpncpy_chk.c: Likewise.
11012         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11013         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11014         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11015         * debug/wcsncpy_chk.c: Likewise.
11016         * debug/wcsnrtombs_chk.c: Likewise.
11017         * debug/wcsrtombs_chk.c: Likewise.
11018         * debug/wcstombs_chk.c: Likewise.
11019         * debug/wmemcpy_chk.c: Likewise.
11020         * debug/wmemmove_chk.c: Likewise.
11021         * debug/wmempcpy_chk.c: Likewise.
11022         * debug/wmemset_chk.c: Likewise.
11023         * dirent/scandirat.c (SCANDIRAT): Likewise.
11024         * dlfcn/dladdr1.c (dladdr1): Likewise.
11025         * dlfcn/dladdr.c (dladdr): Likewise.
11026         * dlfcn/dlclose.c (dlclose_doit): Likewise.
11027         * dlfcn/dlerror.c (__dlerror): Likewise.
11028         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11029         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11030         * dlfcn/dlopen.c (dlopen_doit): Likewise.
11031         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11032         * dlfcn/dlsym.c (dlsym_doit): Likewise.
11033         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11034         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11035         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11036         Likewise.
11037         * elf/dl-conflict.c: Likewise.
11038         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11039         * elf/dl-dst.h: Likewise.
11040         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11041         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11042         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11043         * elf/dl-init.c (call_init, _dl_init): Likewise.
11044         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11045         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11046         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11047         Likewise.
11048         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11049         Likewise.
11050         * elf/dl-minimal.c (__libc_memalign): Likewise.
11051         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11052         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11053         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11054         * elf/dl-sym.c (do_sym): Likewise.
11055         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11056         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11057         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11058         * elf/dl-writev.h (_dl_writev): Likewise.
11059         * elf/ldconfig.c (search_dir): Likewise.
11060         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11061         (dl_main): Likewise.
11062         * elf/setup-vdso.h (setup_vdso): Likewise.
11063         * grp/compat-initgroups.c (compat_call): Likewise.
11064         * grp/fgetgrent.c (fgetgrent): Likewise.
11065         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11066         * grp/putgrent.c (putgrent): Likewise.
11067         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11068         Likewise.
11069         * hurd/hurdinit.c: Likewise.
11070         * iconvdata/8bit-gap.c (struct): Likewise.
11071         * iconvdata/ansi_x3.110.c : Likewise.
11072         * iconvdata/big5.c : Likewise.
11073         * iconvdata/big5hkscs.c : Likewise.
11074         * iconvdata/cp1255.c: Likewise.
11075         * iconvdata/cp1258.c : Likewise.
11076         * iconvdata/cp932.c : Likewise.
11077         * iconvdata/euc-cn.c: Likewise.
11078         * iconvdata/euc-jisx0213.c : Likewise.
11079         * iconvdata/euc-jp.c: Likewise.
11080         * iconvdata/euc-jp-ms.c : Likewise.
11081         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11082         * iconvdata/gb18030.c : Likewise.
11083         * iconvdata/gbbig5.c (const): Likewise.
11084         * iconvdata/gbgbk.c: Likewise.
11085         * iconvdata/gbk.c : Likewise.
11086         * iconvdata/ibm1364.c : Likewise.
11087         * iconvdata/ibm930.c : Likewise.
11088         * iconvdata/ibm932.c: Likewise.
11089         * iconvdata/ibm933.c : Likewise.
11090         * iconvdata/ibm935.c : Likewise.
11091         * iconvdata/ibm937.c : Likewise.
11092         * iconvdata/ibm939.c : Likewise.
11093         * iconvdata/ibm943.c: Likewise.
11094         * iconvdata/iso_11548-1.c: Likewise.
11095         * iconvdata/iso-2022-cn.c : Likewise.
11096         * iconvdata/iso-2022-cn-ext.c : Likewise.
11097         * iconvdata/iso-2022-jp-3.c: Likewise.
11098         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11099         * iconvdata/iso-2022-kr.c : Likewise.
11100         * iconvdata/iso646.c (gconv_end): Likewise.
11101         * iconvdata/iso_6937-2.c : Likewise.
11102         * iconvdata/iso_6937.c : Likewise.
11103         * iconvdata/iso8859-1.c: Likewise.
11104         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11105         * iconvdata/shift_jisx0213.c : Likewise.
11106         * iconvdata/sjis.c : Likewise.
11107         * iconvdata/t.61.c : Likewise.
11108         * iconvdata/tcvn5712-1.c : Likewise.
11109         * iconvdata/tscii.c: Likewise.
11110         * iconvdata/uhc.c : Likewise.
11111         * iconvdata/unicode.c (gconv_end): Likewise.
11112         * iconvdata/utf-16.c (gconv_end): Likewise.
11113         * iconvdata/utf-32.c (gconv_end): Likewise.
11114         * iconvdata/utf-7.c (base64): Likewise.
11115         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11116         * iconv/gconv_close.c (__gconv_close): Likewise.
11117         * iconv/gconv_open.c (__gconv_open): Likewise.
11118         * iconv/gconv_simple.c (internal_ucs4_loop_single)
11119         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11120         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11121         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11122         (ucs4le_internal_loop_single): Likewise.
11123         * iconv/iconv.c (iconv): Likewise.
11124         * iconv/iconv_close.c: Likewise.
11125         * iconv/loop.c (SINGLE): Likewise.
11126         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11127         * include/atomic.h: Likewise.
11128         * inet/inet6_option.c (option_alloc): Likewise.
11129         * intl/bindtextdom.c (set_binding_values): Likewise.
11130         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11131         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11132         * intl/localealias.c (read_alias_file): Likewise.
11133         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11134         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11135         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11136         * libio/fmemopen.c (fmemopen): Likewise.
11137         * libio/iofgets.c (_IO_fgets): Likewise.
11138         * libio/iofgets_u.c (fgets_unlocked): Likewise.
11139         * libio/iofgetws.c (fgetws): Likewise.
11140         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11141         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11142         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11143         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11144         * locale/findlocale.c (_nl_find_locale): Likewise.
11145         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11146         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11147         Likewise.
11148         * locale/setlocale.c (setlocale): Likewise.
11149         * login/programs/pt_chown.c (main): Likewise.
11150         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11151         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11152         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11153         (mmap, mmap64, mremap, munmap): Likewise.
11154         * math/e_exp2l.c: Likewise.
11155         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11156         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11157         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11158         * math/s_catan.c (__catan): Likewise.
11159         * math/s_catanf.c (__catanf): Likewise.
11160         * math/s_catanh.c (__catanh): Likewise.
11161         * math/s_catanhf.c (__catanhf): Likewise.
11162         * math/s_catanhl.c (__catanhl): Likewise.
11163         * math/s_catanl.c (__catanl): Likewise.
11164         * math/s_ccosh.c (__ccosh): Likewise.
11165         * math/s_ccoshf.c (__ccoshf): Likewise.
11166         * math/s_ccoshl.c (__ccoshl): Likewise.
11167         * math/s_cexp.c (__cexp): Likewise.
11168         * math/s_cexpf.c (__cexpf): Likewise.
11169         * math/s_cexpl.c (__cexpl): Likewise.
11170         * math/s_clog10.c (__clog10): Likewise.
11171         * math/s_clog10f.c (__clog10f): Likewise.
11172         * math/s_clog10l.c (__clog10l): Likewise.
11173         * math/s_clog.c (__clog): Likewise.
11174         * math/s_clogf.c (__clogf): Likewise.
11175         * math/s_clogl.c (__clogl): Likewise.
11176         * math/s_csin.c (__csin): Likewise.
11177         * math/s_csinf.c (__csinf): Likewise.
11178         * math/s_csinh.c (__csinh): Likewise.
11179         * math/s_csinhf.c (__csinhf): Likewise.
11180         * math/s_csinhl.c (__csinhl): Likewise.
11181         * math/s_csinl.c (__csinl): Likewise.
11182         * math/s_csqrt.c (__csqrt): Likewise.
11183         * math/s_csqrtf.c (__csqrtf): Likewise.
11184         * math/s_csqrtl.c (__csqrtl): Likewise.
11185         * math/s_ctan.c (__ctan): Likewise.
11186         * math/s_ctanf.c (__ctanf): Likewise.
11187         * math/s_ctanh.c (__ctanh): Likewise.
11188         * math/s_ctanhf.c (__ctanhf): Likewise.
11189         * math/s_ctanhl.c (__ctanhl): Likewise.
11190         * math/s_ctanl.c (__ctanl): Likewise.
11191         * math/w_pow.c: Likewise.
11192         * math/w_powf.c: Likewise.
11193         * math/w_powl.c: Likewise.
11194         * math/w_scalb.c (sysv_scalb): Likewise.
11195         * math/w_scalbf.c (sysv_scalbf): Likewise.
11196         * math/w_scalbl.c (sysv_scalbl): Likewise.
11197         * misc/error.c (error_tail): Likewise.
11198         * misc/pselect.c (__pselect): Likewise.
11199         * nis/nis_callback.c (__nis_create_callback): Likewise.
11200         * nis/nis_call.c (__nisfind_server): Likewise.
11201         * nis/nis_creategroup.c (nis_creategroup): Likewise.
11202         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11203         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11204         * nis/nis_getservlist.c (nis_getservlist): Likewise.
11205         * nis/nis_lookup.c (nis_lookup): Likewise.
11206         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11207         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11208         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11209         * nis/nis_xdr.c (xdr_endpoint): Likewise.
11210         * nis/nss_compat/compat-grp.c (getgrent_next_file)
11211         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11212         * nis/nss_compat/compat-initgroups.c (add_group)
11213         (internal_getgrent_r): Likewise.
11214         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11215         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11216         * nis/nss_compat/compat-spwd.c (getspent_next_file)
11217         (internal_getspnam_r): Likewise.
11218         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11219         (_nss_nis_getaliasbyname_r): Likewise.
11220         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11221         (_nss_nis_getntohost_r): Likewise.
11222         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11223         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11224         (_nss_nis_getgrgid_r): Likewise.
11225         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11226         (internal_nis_gethostent_r, internal_gethostbyname2_r)
11227         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11228         (_nss_nis_gethostbyname4_r): Likewise.
11229         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11230         (initgroups_netid): Likewise.
11231         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11232         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11233         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11234         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11235         (_nss_nis_getprotobynumber_r): Likewise.
11236         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11237         (_nss_nis_getsecretkey): Likewise.
11238         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11239         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11240         (_nss_nis_getpwuid_r): Likewise.
11241         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11242         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11243         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11244         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11245         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11246         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11247         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11248         Likewise.
11249         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11250         (_nss_nisplus_getntohost_r): Likewise.
11251         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11252         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11253         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11254         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11255         Likewise.
11256         * nis/nss_nisplus/nisplus-initgroups.c
11257         (_nss_nisplus_initgroups_dyn): Likewise.
11258         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11259         (_nss_nisplus_getnetbyaddr_r): Likewise.
11260         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11261         (_nss_nisplus_getprotobynumber_r): Likewise.
11262         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11263         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11264         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11265         Likewise.
11266         * nis/nss_nisplus/nisplus-service.c
11267         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11268         (_nss_nisplus_getservbyport_r): Likewise.
11269         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11270         (_nss_nisplus_getspnam_r): Likewise.
11271         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11272         Likewise.
11273         * nscd/aicache.c (addhstaiX): Likewise.
11274         * nscd/cache.c (cache_search, prune_cache): Likewise.
11275         * nscd/connections.c (register_traced_file, send_ro_fd)
11276         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11277         (main_loop_epoll): Likewise.
11278         * nscd/grpcache.c (addgrbyX): Likewise.
11279         * nscd/hstcache.c (addhstbyX): Likewise.
11280         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11281         * nscd/mem.c (gc, mempool_alloc): Likewise.
11282         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11283         (addinnetgrX): Likewise.
11284         * nscd/nscd-client.h (__nscd_acquire_maplock)
11285         (__nscd_drop_map_ref): Likewise.
11286         * nscd/nscd_getai.c (__nscd_getai): Likewise.
11287         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11288         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11289         Likewise.
11290         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11291         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11292         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11293         (__nscd_get_map_ref): Likewise.
11294         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11295         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11296         Likewise.
11297         * nscd/pwdcache.c (addpwbyX): Likewise.
11298         * nscd/selinux.c (preserve_capabilities): Likewise.
11299         * nscd/servicescache.c (addservbyX): Likewise.
11300         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11301         * posix/fnmatch.c (fnmatch): Likewise.
11302         * posix/getopt.c (_getopt_internal_r): Likewise.
11303         * posix/glob.c (glob, glob_in_dir): Likewise.
11304         * posix/wordexp.c (exec_comm_child): Likewise.
11305         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11306         (getanswer_r, gaih_getanswer_slice): Likewise.
11307         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11308         * resolv/res_init.c: Likewise.
11309         * resolv/res_mkquery.c (res_nmkquery): Likewise.
11310         * resolv/res_query.c (__libc_res_nquery): Likewise.
11311         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11312         Likewise.
11313         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11314         * stdio-common/perror.c (perror): Likewise.
11315         * stdio-common/printf_fp.c (___printf_fp): Likewise.
11316         * stdio-common/tmpnam.c (tmpnam): Likewise.
11317         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11318         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11319         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11320         Likewise.
11321         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11322         * stdlib/putenv.c (putenv): Likewise.
11323         * stdlib/setenv.c (__add_to_environ): Likewise.
11324         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11325         * stdlib/strtol_l.c (INTERNAL): Likewise.
11326         * string/memmem.c (memmem): Likewise.
11327         * string/strerror.c (strerror): Likewise.
11328         * string/strnlen.c (__strnlen): Likewise.
11329         * string/test-memmem.c (simple_memmem): Likewise.
11330         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11331         * sunrpc/pm_getport.c (__get_socket): Likewise.
11332         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11333         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11334         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11335         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11336         Likewise.
11337         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11338         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11339         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11340         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11341         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11342         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11343         Likewise.
11344         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11345         Likewise.
11346         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11347         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11348         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11349         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11350         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11351         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11352         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11353         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11354         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11355         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11356         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11357         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11358         Likewise.
11359         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11360         Likewise.
11361         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11362         Likewise.
11363         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11364         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11365         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11366         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11367         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11368         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11369         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11370         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11371         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11372         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11373         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11374         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11375         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11376         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11377         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11378         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11379         Likewise.
11380         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11381         Likewise.
11382         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11383         Likewise.
11384         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11385         Likewise.
11386         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11387         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11388         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11389         Likewise.
11390         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11391         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11392         * sysdeps/posix/opendir.c (__opendirat): Likewise.
11393         * sysdeps/posix/sleep.c: Likewise.
11394         * sysdeps/posix/tempname.c: Likewise.
11395         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11396         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11397         Likewise.
11398         * sysdeps/powerpc/powerpc32/dl-machine.h
11399         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11400         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11401         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11402         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11403         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11404         Likewise.
11405         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11406         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11407         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11408         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11409         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11410         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11411         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11412         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11413         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11414         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11415         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11416         (elf_machine_lazy_rel): Likewise.
11417         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11418         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11419         (elf_machine_lazy_rel): Likewise.
11420         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11421         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11422         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11423         * sysdeps/unix/grantpt.c (grantpt): Likewise.
11424         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11425         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11426         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11427         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11428         Likewise.
11429         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11430         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11431         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11432         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11433         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11434         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11435         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11436         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11437         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11438         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11439         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11440         Likewise.
11441         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11442         (__posix_fallocate64_l64): Likewise.
11443         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11444         (posix_fallocate): Likewise.
11445         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11446         Likewise.
11447         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11448         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11449         (getifaddrs_internal): Likewise.
11450         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11451         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11452         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11453         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11454         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11455         (__posix_fallocate64_l64): Likewise.
11456         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11457         Likewise.
11458         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11459         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11460         (__get_clockfreq): Likewise.
11461         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11462         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11463         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11464         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11465         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11466         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11467         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11468         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11469         Likewise.
11470         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11471         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11472         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11473         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11474         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11475         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11476         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11477         Likewise.
11478         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11479         (posix_fallocate): Likewise.
11480         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11481         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11482         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11483         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11484         (elf_machine_rela, elf_machine_rela_relative)
11485         (elf_machine_lazy_rel): Likewise.
11486         * time/asctime.c (asctime_internal): Likewise.
11487         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11488         * time/tzset.c (__tzset_parse_tz): Likewise.
11489         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11490         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11491         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11492         * wcsmbs/wcsmbsload.h: Likewise.
11493
11494         [BZ #15894]
11495         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11496
11497         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11498         (arena_get2): Remove THREAD_STATS conditionals.
11499         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11500         (__malloc_stats, int): Likewise.
11501
11502 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
11503
11504         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11505         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
11506
11507         * manual/setjmp.texi: Fix typos/grammar errors.
11508
11509         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11510         Only return early when n is <= 0.  Delete unused return statement.
11511
11512         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11513         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11514         * debug/tst-longjmp_chk3.c: New file.
11515
11516         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11517         (test_main): Replace code with set_fortify_handler call.
11518         * debug/test-strcpy_chk.c: Likewise.
11519         * debug/tst-chk1.c: Likewise.
11520         * debug/tst-longjmp_chk.c: Likewise.
11521         * test-skeleton.c: Include fcntl.h & paths.h
11522         (set_fortify_handler): Define.
11523
11524         * debug/tst-longjmp_chk.c: Add header comment and include
11525         ../test-skeleton.c.
11526         (do_test): Mark static.
11527         (TEST_FUNCTION): Define.
11528
11529         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11530         (IP_PMTUDISC_INTERFACE): Likewise.
11531         (IP_MULTICAST_IF): Likewise.
11532         (IP_MULTICAST_TTL): Likewise.
11533         (IP_MULTICAST_LOOP): Likewise.
11534         (IP_ADD_MEMBERSHIP): Likewise.
11535         (IP_DROP_MEMBERSHIP): Likewise.
11536         (IP_UNBLOCK_SOURCE): Likewise.
11537         (IP_BLOCK_SOURCE): Likewise.
11538         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11539         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11540         (IP_MSFILTER): Likewise.
11541         (MCAST_JOIN_GROUP): Likewise.
11542         (MCAST_BLOCK_SOURCE): Likewise.
11543         (MCAST_UNBLOCK_SOURCE): Likewise.
11544         (MCAST_LEAVE_GROUP): Likewise.
11545         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11546         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11547         (MCAST_MSFILTER): Likewise.
11548         (IP_MULTICAST_ALL): Likewise.
11549         (IP_UNICAST_IF): Likewise.
11550
11551         * timezone/Makefile: Delete $(have-ksh) check.
11552         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11553         * timezone/tzselect.ksh: Add +x mode bits.
11554
11555         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11556         (ANON_INODE_FS_MAGIC): Likewise.
11557         (BDEVFS_MAGIC): Likewise.
11558         (BINFMTFS_MAGIC): Likewise.
11559         (BTRFS_TEST_MAGIC): Likewise.
11560         (CRAMFS_MAGIC_WEND): Likewise.
11561         (DEBUGFS_MAGIC): Likewise.
11562         (ECRYPTFS_SUPER_MAGIC): Likewise.
11563         (EXT3_SUPER_MAGIC): Likewise.
11564         (EXT4_SUPER_MAGIC): Likewise.
11565         (FUTEXFS_SUPER_MAGIC): Likewise.
11566         (HOSTFS_SUPER_MAGIC): Likewise.
11567         (HUGETLBFS_MAGIC): Likewise.
11568         (MINIX3_SUPER_MAGIC): Likewise.
11569         (MTD_INODE_FS_MAGIC): Likewise.
11570         (NILFS_SUPER_MAGIC): Likewise.
11571         (OPENPROM_SUPER_MAGIC): Likewise.
11572         (PIPEFS_MAGIC): Likewise.
11573         (PSTOREFS_MAGIC): Likewise.
11574         (QNX6_SUPER_MAGIC): Likewise.
11575         (RAMFS_MAGIC): Likewise.
11576         (REISERFS_SUPER_MAGIC_STRING): Likewise.
11577         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11578         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11579         (SECURITYFS_MAGIC): Likewise.
11580         (SELINUX_MAGIC): Likewise.
11581         (SMACK_MAGIC): Likewise.
11582         (SOCKFS_MAGIC): Likewise.
11583         (SQUASHFS_MAGIC): Likewise.
11584         (STACK_END_MAGIC): Likewise.
11585         (TMPFS_MAGIC): Likewise.
11586         (USBDEVICE_SUPER_MAGIC): Likewise.
11587         (V9FS_MAGIC): Likewise.
11588         (XENFS_SUPER_MAGIC): Likewise.
11589         (CRAMFS_MAGIC): Fix typo in comment.
11590         (EXT2_SUPER_MAGIC): Update comment.
11591         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11592
11593 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
11594
11595         * sysdeps/arm: Move directory from ports/sysdeps/arm.
11596         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11597         * sysdeps/unix/sysv/linux/arm: Move directory from
11598         ports/sysdeps/unix/sysv/linux/arm.
11599         * README: Update listing for arm-*-linux-gnueabi.
11600
11601         * README: Remove mention of am33.
11602
11603 2014-02-07  Roland McGrath  <roland@hack.frob.com>
11604
11605         * bits/sigset.h (__sigemptyset): Use a statement expression rather
11606         than the comma operator, to avoid "rhs of comma has no effect"
11607         compiler warnings.
11608         (__sigfillset, __sigandset, __sigorset): Likewise.
11609         * include/signal.h (__sigemptyset): Likewise.
11610         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11611
11612 2014-02-07  Allan McRae  <allan@archlinux.org>
11613
11614         * version.h (RELEASE): Set to "development".
11615         (VERSION): Set to "2.19.90"
11616         * NEWS: Add 2.20 section.
11617
11618 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
11619
11620         [BZ #16529]
11621         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11622
11623 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11624
11625         * manual/contrib.texi: Update entry for Carlos O'Donell,
11626         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11627
11628 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
11629
11630         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11631
11632         * sysdeps/unix/sysv/linux/kernel-features.h
11633         [__LINUX_KERNEL_VERSION >= 0x020621]
11634         (__ASSUME_PROC_PID_TASK_COMM): Define.
11635
11636 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11637
11638         [BZ #16398]
11639         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11640         conversion when destination buffer does not have enough space.
11641         * libio/tst-ftell-partial-wide.c: New test case.
11642         * libio/Makefile (tests): Add tst-ftell-partial-wide.
11643
11644         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11645         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
11646         Leonard and Allan McRae.
11647
11648 2014-02-04  David S. Miller  <davem@davemloft.net>
11649
11650         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11651         32-bit.
11652
11653 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11654
11655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11656         New file
11657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11658         New file
11659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11660         New file.
11661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11662         New file.
11663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11664         New file.
11665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11666         New file.
11667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11668         New file.
11669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11670         New file.
11671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11672         New file.
11673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11674         New file.
11675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11676         New file.
11677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11678         New file.
11679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11680         New file.
11681
11682 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11683
11684         * nptl/shlib-versions: Change powerpc*le start to 2.17.
11685         * shlib-versions: Likewise.
11686
11687 2014-02-04  Roland McGrath  <roland@hack.frob.com>
11688             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11689
11690         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11691         (abilist-pattern): New variable, set to %-le.abilist.
11692
11693         * Makerules (abilist-pattern): New variable.
11694         (vpath): Use $(abilist-pattern) in place of %.abilist.
11695         (check-abi-% pattern rule): Likewise.
11696         (check-abi, update-abi): Likewise.
11697
11698 2014-02-04  Eric Wong  <normalperson@yhbt.net>
11699
11700         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11701
11702 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
11703
11704         * manual/startup.texi: Add next, previous, and top entries for
11705         the `Program Arguments' and `Environment Variables' nodes.
11706
11707 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
11708
11709         * manual/macros.texi: Add comments before MTASC-safety macros.
11710
11711         * manual/users.texi: Document MTASC-safety properties.
11712
11713         * manual/threads.texi (pthread_key_create, pthread_key_delete)
11714         (pthread_getspecific, pthread_setspecific): Format with
11715         @deftypefun, and add @safety note.
11716         * manual/signal.texi: Move comments that analyze the above
11717         functions to their home place.
11718
11719 2014-02-03  Allan McRae  <allan@archlinux.org>
11720
11721         * po/sl.po: Update Slovenian translation from translation project.
11722
11723 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
11724
11725         * manual/time.texi (timegm): Add missing blank after @c.
11726         Reported by Joseph Myers <joseph@codesourcery.com>.
11727
11728 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
11729
11730         * manual/check-safety.sh: New.
11731         * manual/Makefile ($(objpfx)stamp-summary): Run it.
11732
11733         * manual/terminal.texi: Document MTASC-safety properties.
11734
11735         * manual/filesys.texi: Document MTASC-safety properties.
11736
11737         * manual/errno.texi: Document MTASC-safety properties.
11738
11739         * manual/intro.texi: Document safety identifiers and
11740         conditionals.
11741
11742         * manual/string.texi (wcstok): Fix prototype.
11743         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11744
11745         * manual/time.texi: Document MTASC-safety properties.
11746
11747         * manual/string.texi: Document MTASC-safety properties.
11748
11749         * manual/threads.texi: Document MTASC-safety properties.
11750
11751         * manual/stdio.texi: Document MTASC-safety properties.
11752
11753         * manual/syslog.texi: Document MTASC-safety properties.
11754
11755         * manual/sysinfo.texi: Document MTASC-safety properties.
11756
11757         * manual/startup.texi: Document MTASC-safety properties.
11758
11759         * manual/socket.texi: Document MTASC-safety properties.
11760
11761         * manual/signal.texi: Document MTASC-safety properties.
11762
11763 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
11764
11765         * manual/setjmp.texi: Document MTASC-safety properties.
11766
11767         * manual/search.texi: Document MTASC-safety properties.
11768
11769         * manual/resource.texi: Document MTASC-safety properties.
11770
11771         * manual/process.texi: Document MTASC-safety properties.
11772
11773         * manual/platform.texi: Document MTASC-safety properties.
11774
11775         * manual/pipe.texi: Document MTASC-safety properties.
11776
11777         * manual/pattern.texi: Document MTASC-safety properties.
11778
11779         * manual/message.texi: Document MTASC-safety properties.
11780
11781         [BZ #12751]
11782         * manual/memory.texi: Document MTASC-safety properties.
11783
11784         * manual/math.texi: Document MTASC-safety properties.
11785
11786         * manual/locale.texi: Document MTASC-safety properties.
11787
11788         * manual/llio.texi: Document MTASC-safety properties.
11789
11790         * manual/libdl.texi: New.
11791
11792         * manual/lang.texi: Document MTASC-safety properties.
11793
11794         * manual/job.texi: Document MTASC-safety properties.
11795
11796         * manual/getopt.texi: Document MTASC-safety properties.
11797
11798         * manual/ctype.texi: Document MTASC-safety properties.
11799
11800 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
11801
11802         [BZ #16046]
11803         * csu/libc-tls.c (static_map): Remove variable.
11804         (__libc_setup_tls): Use main executable's link map for TLS data.
11805         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11806         casing for LM_ID_BASE and GL(dl_nns).
11807         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11808         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
11809         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11810         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11811         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11812         member.
11813         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11814         l_phnum members.
11815
11816 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
11817
11818         * manual/debug.texi: Document MTASC-safety properties.
11819
11820 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
11821
11822         [BZ #16510]
11823         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11824         of __x86_64__ when disabling x87 inline functions.
11825
11826 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
11827
11828         * manual/charset.texi: Document MTASC-safety properties.
11829
11830         * manual/crypt.texi: Document MTASC-safety properties.
11831
11832         * manual/conf.texi: Document MTASC-safety properties.
11833
11834         * manual/arith.texi: Document MTASC-safety properties.
11835
11836         * manual/argp.texi: Document MTASC-safety properties.
11837
11838         * manual/macros.texi: Introduce macros to document multi
11839         thread, asynchronous signal and asynchronous cancellation
11840         safety properties.
11841         * manual/intro.texi: Introduce the properties themselves.
11842
11843 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11844
11845         * sysdeps/sh/sh4/Makefile: New file.
11846
11847 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
11848
11849         * math/gen-libm-test.pl ($srcdir): New variable.
11850         ($auto_input): Use it.
11851
11852 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11853
11854         [BZ #16506]
11855         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11856         access beyond array bounds when parsing netgroups file.
11857
11858         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11859         the old buffer before realloc.
11860
11861 2014-01-27  Allan McRae  <allan@archlinux.org>
11862
11863         * po/fr.po: Update French translation from translation project.
11864
11865 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11866
11867         * sysdeps/sh/libm-test-ulps: Regenerate.
11868
11869 2014-01-24  David S. Miller  <davem@davemloft.net>
11870
11871         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11872
11873 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11874
11875         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11876         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11877
11878 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11879
11880         [BZ #16474]
11881         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11882         string pointers after reallocation.
11883
11884 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11885
11886         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11887         __SH4A__ instead of __SH_FPU_ANY__.
11888
11889 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11890
11891         * sysdeps/sh/fpu_control.h: New file.
11892         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11893         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11894         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11895         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11896         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11897         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11898         * sysdeps/sh/sys/ucontext.h: Remove.
11899         * sysdeps/sh/sys: Remove directory.
11900
11901 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11902
11903         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11904         s390/sys/ucontext.h.
11905         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11906         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11907
11908 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
11909
11910         [BZ #15605]
11911         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11912
11913 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11914
11915         [BZ#16431]
11916         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11917         Adjust the vDSO correctly for internal calls.
11918         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11919
11920 2014-01-20  Allan McRae  <allan@archlinux.org>
11921
11922         * po/ca.po: Update Catalan translation from translation project.
11923
11924 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
11925
11926         * sysdeps/s390/sotruss-lib.c: New file.
11927
11928 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11929
11930         [BZ#16430]
11931         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11932         (__GI___gettimeofday): Alias for a different internal symbol to avoid
11933         local calls issues by not having a PLT stub required for IFUNC calls.
11934         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11935
11936 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
11937
11938         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11939         * math/test-fpucw-static.c: Likewise.
11940
11941 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11942
11943         [BZ #16453]
11944         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11945
11946 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11947
11948         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11949         implementation for powerpc.
11950
11951 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
11952
11953         [BZ #14782]
11954         * sysdeps/posix/system.c (__libc_system): Do not enable
11955         asynchronous cancellation.
11956
11957 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11958
11959         [BZ #16427]
11960         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11961         handling only for numbers special also in the IEEE case.
11962
11963 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11964
11965         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11966
11967 2014-01-11  Allan McRae  <allan@archlinux.org>
11968
11969         * po/bg.po: Update Bulgarian translation from translation project.
11970
11971         * po/de.po: Update German translation from translation project.
11972
11973 2014-01-10  Roland McGrath  <roland@hack.frob.com>
11974
11975         * sysdeps/generic/gcc-compat.h: New file.
11976
11977 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11978
11979         * benchtests/asin-inputs: Correct slow inputs.
11980         * benchtests/acos-inputs: Likewise.
11981
11982 2014-01-10  Allan McRae  <allan@archlinux.org>
11983
11984         * po:sv.po: Update Swedish translation from translation project.
11985
11986         * po/vi.po: Update Vietnamese translation from translation project.
11987
11988         * po/eo.po: Update Esperanto translation from translation project.
11989
11990         * po/cs.po: Update Czech translation from translation project.
11991
11992         * po/nl.po: Update Dutch translation from translation project.
11993
11994         * po/pl.po: Update Polish translation from translation project.
11995
11996         * po/ru.po: Update Russian translation from translation project.
11997
11998         * po/uk.po: Update Ukrainian translation from translation project.
11999
12000 2014-01-08  Brooks Moses  <bmoses@google.com>
12001
12002         * elf/dl-load.c: Fix comment typo.
12003
12004 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
12005
12006         * po/header.pot: Rename to...
12007         * po/pot.header: ... this.
12008         * po/Makefile: Use pot.header.
12009
12010 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
12011             Maxim Kuvyrkov  <maxim@kugelworks.com>
12012
12013         [BZ #16394]
12014         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12015         SRC and DEST against LEN.
12016
12017 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12018
12019         [BZ #16414]
12020         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12021         implementation.
12022         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12023
12024 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12025
12026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12027
12028 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
12029
12030         [BZ #16408]
12031         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12032         for large positive arguments.
12033
12034 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
12035
12036         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12037
12038         * math/auto-libm-test-in: Mark various tests with
12039         xfail-rounding:ldbl-128ibm.
12040         * math/auto-libm-test-out: Regenerated.
12041
12042         [BZ #16407]
12043         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12044         Increase overflow threshold.
12045
12046 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
12047
12048         [BZ #14286]
12049         * stdio-common/vfprintf.c: Check for integer overflow.
12050
12051 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12052
12053         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12054         the first argument and return value of __tls_get_addr_internal.
12055
12056 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12057
12058         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12059         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12060
12061 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12062
12063         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12064         * sysdeps/s390/rtld-global-offsets.sym: New file.
12065         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12066         GLIBC_2.19 symbol.
12067         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12068         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12069         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12070         ... this.
12071         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12072         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12073         ... this.
12074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12075         Regenerate.
12076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12077         Regenerate.
12078         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12079         halfs of GPRs for high_gprs contexts.
12080         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12081         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
12082         field.
12083         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12084         uc_flags field.
12085         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12086         64 bit versions:
12087         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12088         for high GPRs (uc_high_gprs) and for future extensions
12089         (__reserved).
12090         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12091         for future extensions (__reserved).
12092         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12093         64 bit versions:
12094         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12095         SC_HIGHGPRS offset definition.
12096         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12097         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12098
12099         * Versions.def: Add GLIBC_2.19 for libpthread.
12100         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12101         siglongjmp for libpthread with GLIBC_2.19 symver.
12102         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12103         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12104         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12105         * sysdeps/s390/__longjmp.c: New file.
12106         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12107         * sysdeps/s390/longjmp.c: New file.
12108         * sysdeps/s390/setjmp.S: New file.
12109         * sysdeps/s390/sigjmp.S: New file.
12110         * sysdeps/s390/v1-longjmp.c: New file.
12111         * sysdeps/s390/v1-setjmp.h: New file.
12112         * sysdeps/s390/v1-sigjmp.c: New file.
12113         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12114         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12115         GLIBC_2.19 version.
12116         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12117         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12118         versioned symbols for ____longjmp_chk.
12119         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12120         Likewise.
12121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12122         Regenerate.
12123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12124         Regenerate.
12125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12126         Regenerate.
12127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12128         Regenerate.
12129         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12130         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12131         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12132         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12133         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12134         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12135         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12136         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12137         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12138         * sysdeps/s390/rtld-__longjmp.c: New file.
12139         * sysdeps/s390/rtld-setjmp.S: New file.
12140
12141 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
12142
12143         [BZ #16400]
12144         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12145         Return -__logl (x) for small positive arguments without evaluating
12146         a polynomial.
12147
12148 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
12149
12150         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12151         Rename to ...
12152         (__ptrace_peeksiginfo_args): ... this.
12153         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12154         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12155         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12156
12157 2014-01-06  Allan McRae  <allan@archlinux.org>
12158
12159         * inet/netinet/in.h: Fix typo in comment.
12160
12161 2014-01-05  Andreas Jaeger  <aj@suse.de>
12162
12163         * sysdeps/i386/fpu/libm-test-ulps: Update.
12164
12165 2014-01-05  Allan McRae  <allan@archlinux.org>
12166
12167         * po/libc.pot: Regenerated.
12168
12169         * malloc/memusagestat.c: Fix gettext call formatting.
12170
12171 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
12172
12173         * nscd/nscd.c: Improve usage() output.
12174
12175 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
12176
12177         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12178         * sysdeps/unix/sysv/linux/configure: Regenerated.
12179         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12180         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12181
12182 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12183
12184         [BZ #16390]
12185         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12186         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12187
12188 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12189
12190         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12191         extra tokens at end of #undef directive.
12192         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12193         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12194         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12195
12196 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12197
12198         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12199
12200         * math/auto-libm-test-in: Mark various tests with
12201         xfail-rounding:ldbl-128ibm.
12202         * math/auto-libm-test-out: Regenerated.
12203
12204 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
12205
12206         [BZ #16386]
12207         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12208         numbers with subnormal high part when calculating exponent.
12209
12210         [BZ #16385]
12211         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12212         fabs.
12213
12214         [BZ #16384]
12215         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12216         M_LN2l.
12217         (__ieee754_acoshl): Use __log1pl not __log1p.
12218
12219 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
12220
12221         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12222         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12223         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12224         (grow_heap, heap_trim, _int_new_arena, get_free_list)
12225         (reused_arena, arena_get2): Convert to GNU style.
12226         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12227         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12228         (memalign_check, __malloc_set_state): Likewise.
12229         * malloc/mallocbug.c (main): Likewise.
12230         * malloc/malloc.c (__malloc_assert, malloc_init_state)
12231         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12232         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12233         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12234         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12235         (__posix_memalign, malloc_info): Likewise.
12236         * malloc/malloc.h: Likewise.
12237         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12238         (mallochook, memalignhook, reallochook, mabort): Likewise.
12239         * malloc/mcheck.h: Likewise.
12240         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12241         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12242         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12243         * malloc/morecore.c (__default_morecore): Likewise.
12244         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12245         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12246         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12247         (print_and_abort): Likewise.
12248         * malloc/obstack.h: Likewise.
12249         * malloc/set-freeres.c (__libc_freeres): Likewise.
12250         * malloc/tst-mallocstate.c (main): Likewise.
12251         * malloc/tst-mtrace.c (main): Likewise.
12252         * malloc/tst-realloc.c (do_test): Likewise.
12253
12254 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12255
12256         [BZ #16366]
12257         * nscd/netgroupcache.c (do_notfound): New function.
12258         (addgetnetgrentX): Use it.
12259
12260         [BZ # 16365]
12261         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12262         NSS_STATUS_NOTFOUND.
12263
12264 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
12265
12266         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12268
12269 2014-01-01  Allan McRae  <allan@archlinux.org>
12270
12271         * scripts/update-copyrights: Update configure input file suffix.
12272
12273         * NEWS: Update copyright year.
12274         * catgets/gencat.c: Likewise.
12275         * csu/version.c: Likewise.
12276         * debug/catchsegv.sh: Likewise.
12277         * debug/pcprofiledump.c: Likewise.
12278         * debug/xtrace.sh: Likewise.
12279         * elf/ldconfig.c: Likewise.
12280         * elf/ldd.bash.in: Likewise.
12281         * elf/pldd.c: Likewise.
12282         * elf/sotruss.ksh: Likewise.
12283         * elf/sprof.c: Likewise.
12284         * iconv/iconv_prog.c: Likewise.
12285         * iconv/iconvconfig.c: Likewise.
12286         * locale/programs/locale.c: Likewise.
12287         * locale/programs/localedef.c: Likewise.
12288         * login/programs/pt_chown.c: Likewise.
12289         * malloc/memusage.sh: Likewise.
12290         * malloc/memusagestat.c: Likewise.
12291         * malloc/mtrace.pl: Likewise.
12292         * manual/libc.texinfo: Likewise.
12293         * nscd/nscd.c: Likewise.
12294         * nss/getent.c: Likewise.
12295         * nss/makedb.c: Likewise.
12296         * posix/getconf.c: Likewise.
12297         * scripts/test-installation.pl: Likewise.
12298
12299         * All files with FSF copyright notices: Update copyright dates
12300         using scripts/update-copyrights.
12301         * intl/plural.c: Regenerated.
12302         * locale/programs/charmap-kw.h: Likewise.
12303         * locale/programs/locfile-kw.h: Likewise.
12304
12305 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
12306
12307         * sysdeps/unix/sysv/linux/configure: Regenerated.
12308         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12309         the linux/fanotify.h header.
12310         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12311         HAVE_LINUX_FANOTIFY_H is defined.
12312
12313 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12314
12315         * benchtests/cos-inputs: New inputs.
12316         * benchtests/sin-inputs: Likewise.
12317
12318         * benchtests/atan-inputs: New inputs. Fix name of multiple
12319         precision fallback inputs.
12320
12321         * benchtests/atanh-inputs: New inputs.
12322         * benchtests/tanh-inputs: Likewise.
12323
12324         * benchtests/acosh-inputs: New inputs.
12325         * benchtests/asinh-inputs: Likewise.
12326
12327         * benchtests/cosh-inputs: New inputs.
12328         * benchtests/sinh-inputs: Likewise.
12329
12330         * benchtests/acos-inputs: Add more inputs.
12331         * benchtests/asin-inputs: Likewise.
12332
12333 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
12334
12335         [BZ #16375]
12336         * manual/arith.texi: Fix spelling.
12337         * manual/charset.texi: Likewise.
12338         * manual/errno.texi: Likewise.
12339         * manual/filesys.texi: Likewise.
12340         * manual/lang.texi: Likewise.
12341         * manual/llio.texi: Likewise.
12342         * manual/locale.texi: Likewise.
12343         * manual/message.texi: Likewise.
12344         * manual/resource.texi: Likewise.
12345         * manual/search.texi: Likewise.
12346         * manual/setjmp.texi: Likewise.
12347         * manual/stdio.texi: Likewise.
12348         * manual/string.texi: Likewise.
12349         * manual/sysinfo.texi: Likewise.
12350         * manual/time.texi: Likewise.
12351
12352 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
12353
12354         * po/sl.po: New file.
12355
12356 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
12357
12358         * .gitignore: Add core/.gdbinit/.gdb_history.
12359
12360 2013-12-27  Allan McRae  <allan@archlinux.org>
12361
12362         [BZ #16369]
12363         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12364         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12365
12366 2013-12-24  Brooks Moses  <bmoses@google.com>
12367
12368         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12369         all compilers that claim C++98 compliance, not just GCC.
12370         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12371         Likewise.
12372
12373 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12374
12375         * NEWS: Restore accidentally deleted bug-fix entries.
12376
12377 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12378             Ondřej Bílka  <neleai@seznam.cz>
12379
12380         [BZ #15073]
12381         * malloc/malloc.c (_int_free): Perform sanity check only if we
12382         have_lock.
12383
12384 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
12385
12386         [BZ #12986]
12387         * manual/stdio.texi (String Input Conversions): Clarify that character
12388         classes are not supported.
12389
12390 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12391
12392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12393
12394 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
12395
12396         [BZ #16337]
12397         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12398         Calculate results for small negative arguments directly rather
12399         than using reflection formula with special underflow handling.
12400
12401         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12402         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12403         sysdeps/unix/bsd/bsd4.4/syscalls.list.
12404         (fchflags): Likewise.
12405         (revoke): Likewise.
12406         (setlogin): Likewise.
12407         (sigaltstack): Likewise.
12408         (wait4): Likewise.
12409         (sigblock): Remove.
12410         (sigsetmask): Likewise.
12411         (wait3): Likewise.
12412         (waitpid): Likewise.
12413         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12414         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12415         file.
12416         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12417         * sysdeps/unix/bsd/Makefile: ... here.
12418         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12419         * sysdeps/unix/bsd/Versions: ... here.
12420         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12421         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12422         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12423         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12424         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12425         * sysdeps/unix/bsd/sigblock.c: ... here.
12426         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12427         * sysdeps/unix/bsd/sigsetmask.c: ... here.
12428         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12429         * sysdeps/unix/bsd/sigvec.c: ... here.
12430         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12431         * sysdeps/unix/bsd/tcdrain.c: ... here.
12432         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12433         * sysdeps/unix/bsd/tcgetattr.c: ... here.
12434         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12435         * sysdeps/unix/bsd/tcsetattr.c: ... here.
12436         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12437         * sysdeps/unix/bsd/wait.c: ... here.
12438         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12439         * sysdeps/unix/bsd/wait3.c: ... here.
12440         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12441         * sysdeps/unix/bsd/waitpid.c: ... here.
12442
12443 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
12444
12445         [BZ #16356]
12446         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12447         round-to-nearest for [!USE_AS_EXPM1L].
12448         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12449         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
12450         more tests of exp and exp10.  Expect some exp10 tests to miss
12451         exceptions or fail in directed rounding modes.
12452         * math/auto-libm-test-out: Regenerated.
12453         * math/libm-test.inc (exp10_tonearest_test_data): New array.
12454         (exp10_test_tonearest): New function.
12455         (exp10_towardzero_test_data): New array.
12456         (exp10_test_towardzero): New function.
12457         (exp10_downward_test_data): New array.
12458         (exp10_test_downward): New function.
12459         (exp10_upward_test_data): New array.
12460         (exp10_test_upward): New function.
12461         (main): Call the new functions.
12462         * sysdeps/i386/fpu/libm-test-ulps: Update.
12463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12464
12465 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
12466
12467         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12468         asinh, atan, atan2, atanh, cbrt, cos and cosh.
12469         * math/auto-libm-test-out: Regenerated.
12470         * math/libm-test.inc (acosh_test_data): Add more tests.
12471         (atanh_test_data): Likewise.
12472         (ceil_test_data): Likewise.
12473         (copysign_test_data): Likewise.
12474         * sysdeps/i386/fpu/libm-test-ulps: Update.
12475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12476
12477         * timezone/checktab.awk: Update from tzcode 2013i.
12478         * timezone/private.h: Likewise.
12479         * timezone/scheck.c: Likewise.
12480         * timezone/tzfile.h: Likewise.
12481         * timezone/tzselect.ksh: Likewise.
12482         * timezone/zdump.c: Likewise.
12483         * timezone/zic.c: Likewise.
12484
12485         * math/auto-libm-test-in: Add tests of cpow.
12486         * math/auto-libm-test-out: Regenerated.
12487         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12488         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12489         mpc_cc_c.
12490         (func_calc_desc): Add mpc_cc_c union field.
12491         (test_functions): Add cpow.
12492         (special_fill_2pi): New function.
12493         (special_real_inputs): Add 2pi.
12494         (calc_generic_results): Handle mpc_cc_c.
12495         * sysdeps/i386/fpu/libm-test-ulps: Update.
12496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12497
12498         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12499         csqrt, ctan and ctanh.
12500         * math/auto-libm-test-out: Regenerated.
12501         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12502         (TEST_COND_x86): Likewise.
12503         (ccos_test_data): Use AUTO_TESTS_c_c.
12504         (ccosh_test_data): Likewise.
12505         (cexp_test_data): Likewise.
12506         (clog_test_data): Likewise.
12507         (csqrt_test_data): Likewise.
12508         (ctan_test_data): Likewise.
12509         (ctan_tonearest_test_data): Likewise.
12510         (ctan_towardzero_test_data): Likewise.
12511         (ctan_downward_test_data): Likewise.
12512         (ctan_upward_test_data): Likewise.
12513         (ctanh_test_data): Likewise.
12514         (ctanh_tonearest_test_data): Likewise.
12515         (ctanh_towardzero_test_data): Likewise.
12516         (ctanh_downward_test_data): Likewise.
12517         (ctanh_upward_test_data): Likewise.
12518         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12519         mpc_c_c.
12520         (func_calc_desc): Add mpc_c_c union field.
12521         (FUNC_mpc_c_c): New macro.
12522         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12523         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12524         ctanh.
12525         (special_fill_min_subnorm_p120): New function.
12526         (special_real_inputs): Add min_subnorm_p120.
12527         (calc_generic_results): Handle mpc_c_c.
12528         * sysdeps/i386/fpu/libm-test-ulps: Update.
12529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12530
12531 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12532
12533         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12534         (do_sin_slow): New functions.
12535         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12536         (cslow2, csloww1, csloww2): Use the new functions.
12537
12538         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12539         Use M to change sign of result instead of X.  Assume X is
12540         positive.
12541         (csloww1): Likewise.
12542         (__sin): Adjust.
12543         (__cos): Adjust.
12544
12545         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12546         arguments A and DA.
12547         (__sin): Adjust.
12548         (__cos): Likewise.
12549
12550         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12551         (__cos): Likewise.
12552         (sloww1): Don't adjust sign of DX.
12553         (csloww1): Likewise.
12554         (sloww2): Use X directly and don't adjust sign of DX.
12555         (csloww2): Likewise.
12556
12557 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12558
12559         * math/auto-libm-test-in: Add tests of cabs and carg.
12560         * math/auto-libm-test-out: Regenerated.
12561         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12562         (carg_test_data): Likewise.
12563         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12564         mpc_c_f.
12565         (func_calc_desc): Add mpc_c_f union field.
12566         (test_functions): Add cabs and carg.
12567         (calc_generic_results): Handle mpc_c_f.
12568
12569         * sysdeps/powerpc/powerpc32/libgcc-compat.S
12570         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12571         as a macro and a compat symbol.
12572         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12573         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12574         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12575         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12576         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12577         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12578         not use .hidden.
12579         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12580         Likewise.
12581         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12582         Likewise.
12583         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12584         Likewise.
12585         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12586         Likewise.
12587         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12588         Likewise.
12589         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12590         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12591         from GLIBC_2.3.2.
12592
12593 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12594
12595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12596
12597 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12598
12599         * manual/texinfo.tex: Update to version 2013-11-26.10 with
12600         trailing whitespace removed.
12601         * scripts/config.guess: Update to version 2013-11-29.
12602         * scripts/config.sub: Update to version 2013-10-01.
12603
12604         * math/auto-libm-test-in: Add tests of sincos.
12605         * math/auto-libm-test-out: Regenerated.
12606         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12607         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12608         mpfr_f_11.
12609         (func_calc_desc): Add mpfr_f_11 union field.
12610         (test_functions): Add sincos.
12611         (calc_generic_results): Handle mpfr_f_11.
12612         * sysdeps/i386/fpu/libm-test-ulps: Update.
12613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12614
12615 2013-12-19  Andreas Schwab  <schwab@suse.de>
12616
12617         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12618         CALL_MCOUNT.
12619         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12620         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12621         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12622
12623 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12624
12625         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12626         * sysdeps/i386/fpu/libm-test-ulps: Update.
12627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12628
12629         [BZ #16293]
12630         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12631         round-to-nearest mode when using frndint.
12632         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12633         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12634         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12635         Likewise.
12636         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
12637         sinh test to fail.
12638         * math/auto-libm-test-out: Regenerated.
12639         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12640         (TEST_COND_x86): Likewise.
12641         (expm1_tonearest_test_data): New array.
12642         (expm1_test_tonearest): New function.
12643         (expm1_towardzero_test_data): New array.
12644         (expm1_test_towardzero): New function.
12645         (expm1_downward_test_data): New array.
12646         (expm1_test_downward): New function.
12647         (expm1_upward_test_data): New array.
12648         (expm1_test_upward): New function.
12649         (main): Run the new test functions.
12650         * sysdeps/i386/fpu/libm-test-ulps: Update.
12651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12652
12653         * include/features.h: Update comment documenting feature test
12654         macros.  Mention _DEFAULT_SOURCE in comment.
12655         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12656         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12657         _BSD_SOURCE and _SVID_SOURCE.
12658         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12659         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12660         !_SVID_SOURCE]: Likewise.
12661         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12662         (__USE_POSIX_IMPLICITLY): Define.
12663         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12664         (_POSIX_SOURCE): Undefine and redefine.
12665         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12666         (_POSIX_C_SOURCE): Likewise.
12667         * manual/creature.texi (_DEFAULT_SOURCE): Document.
12668         (Feature Test Macros): Update documentation of default features.
12669
12670 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12671
12672         * benchtests/Makefile: Add bench-strtok.
12673         * benchtests/bench-strtok.c: New file: strtok benchtest.
12674
12675 2013-12-19  Allan McRae  <allan@archlinux.org>
12676
12677         * manual/install.texi: Suppress menu for plain text output.
12678         * INSTALL: Regenerated.
12679
12680 2013-12-18  Brooks Moses  <bmoses@google.com>
12681
12682         [BZ #15846]
12683         * misc/getauxval.c: Include errno.h.
12684         (__getauxval): Set errno to ENOENT if the requested type is not
12685         found.
12686         * misc/sys/auxv.h (getauxval): Document that it may set errno;
12687         don't declare with __attribute_const__.
12688         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12689         * manual/startup.texi: Document that getauxval sets errno.
12690
12691 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12692
12693         * math/auto-libm-test-in: Add tests of jn and yn.
12694         * math/auto-libm-test-out: Regenerated.
12695         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12696         (yn_test_data): Likewise.
12697         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12698         mpfr_if_f.
12699         (func_calc_desc): Add mpfr_if_f union field.
12700         (FUNC_mpfr_if_f): New macro.
12701         (test_functions): Add jn and yn.
12702         (calc_generic_results): Assert type of second input for
12703         mpfr_ff_f.  Handle mpfr_if_f.
12704         (output_for_one_input_case): Disable all checking for arguments
12705         fitting floating-point types in case of an integer argument.
12706         * sysdeps/i386/fpu/libm-test-ulps: Update.
12707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12708
12709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12710         Don't expect fegetround reference in libm.so.
12711
12712 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12713
12714         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12715         $(config-cflags-nofma).
12716
12717 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12718
12719         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12720         * math/auto-libm-test-out: Regenerated.
12721
12722         [BZ #16338]
12723         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12724         to determine exponent and adjust argument to have exponent of -1.
12725         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12726         log2.
12727         * math/auto-libm-test-out: Regenerated.
12728         * sysdeps/i386/fpu/libm-test-ulps: Update.
12729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12730
12731 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
12732
12733         * manual/probes.texi: Remove cases when per-thread arenas are
12734         disabled.
12735
12736 2013-12-18  Andreas Schwab  <schwab@suse.de>
12737
12738         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12739         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12740         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12741         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12742         * sysdeps/i386/i686/multiarch/Makefile: Update.
12743         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12744
12745 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12746
12747         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12748         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12749
12750 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
12751
12752         [BZ #15968]
12753         Support TZ transition times < 00:00:00.
12754         This is needed for version-3 tz-format files; it supports time
12755         stamps past 2037 for America/Godthab (the only entry in the tz
12756         database for which this change is relevant).
12757         * manual/time.texi (TZ Variable): Document transition times
12758         from -167:59:59 through -00:00:01.
12759         * time/tzset.c (tz_rule): Time of day is now signed.
12760         (__tzset_parse_tz): Parse negative time of day.
12761
12762         Document TZ transition times >= 25:00:00.
12763         * manual/time.texi (TZ Variable): Document transition times from
12764         25:00:00 through 167:59:59.  These are already supported, and this
12765         support will help with version-3 tz-format files.
12766
12767         * manual/time.texi (TZ Variable): Modernize North America example
12768         to reflect current (i.e., 2007-and-later) daylight saving rules.
12769
12770         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12771
12772 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12773
12774         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12775         * sysdeps/unix/bsd/bits/stat.h: Likewise.
12776         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12777         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12778         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12779         * sysdeps/unix/bsd/bsdstat.h: Likewise.
12780         * sysdeps/unix/bsd/clock.c: Likewise.
12781         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12782         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12783         * sysdeps/unix/bsd/init-posix.c: Likewise.
12784         * sysdeps/unix/bsd/poll.c: Likewise.
12785         * sysdeps/unix/bsd/ptsname.c: Likewise.
12786         * sysdeps/unix/bsd/seekdir.c: Likewise.
12787         * sysdeps/unix/bsd/setegid.c: Likewise.
12788         * sysdeps/unix/bsd/seteuid.c: Likewise.
12789         * sysdeps/unix/bsd/setgid.c: Likewise.
12790         * sysdeps/unix/bsd/setrgid.c: Likewise.
12791         * sysdeps/unix/bsd/setruid.c: Likewise.
12792         * sysdeps/unix/bsd/setsid.c: Likewise.
12793         * sysdeps/unix/bsd/setuid.c: Likewise.
12794         * sysdeps/unix/bsd/sigaction.c: Likewise.
12795         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12796         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12797         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12798         * sysdeps/unix/bsd/telldir.c: Likewise.
12799         * sysdeps/unix/bsd/times.c: Likewise.
12800         * sysdeps/unix/bsd/usleep.c: Likewise.
12801
12802         * misc/Makefile (install-lib): Remove libbsd-compat.a.
12803         ($(objpfx)libbsd-compat.a): Remove rule.
12804
12805         * include/features.h (__FAVOR_BSD): Do not define.
12806         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12807         features conflicting with POSIX.
12808         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12809         (_BSD_SOURCE): Remove description of not being a subset of other
12810         feature test macros.
12811         * manual/job.texi (getpgrp): Do not document BSD version.
12812         (getpgid): Do not document by reference to BSD getpgrp.
12813         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12814         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12815         * signal/signal.h [__FAVOR_BSD]: Likewise.
12816         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12817         instead of making contents conditional on [__FAVOR_BSD].
12818         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12819
12820 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12821
12822         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12823
12824 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12825
12826         [BZ #16314]
12827         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12828         values below 2**-450, not 2**-500.
12829         * math/auto-libm-test-in: Don't allow spurious underflow from
12830         hypot.
12831         * math/auto-libm-test-out: Regenerated.
12832
12833         [BZ #16316]
12834         [BZ #16330]
12835         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12836         values of ha and hb and sort them after adjusting subnormal
12837         arguments.
12838         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12839         Likewise.
12840         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12841         values of ea and eb and sort them after adjusting subnormal
12842         arguments.
12843         * math/auto-libm-test-in: Do not expect some hypot tests of
12844         subnormals to fail.  Add more hypot tests.
12845         * math/auto-libm-test-out: Regenerated.
12846
12847 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12848
12849         [BZ #13304]
12850         * sysdeps/sh/s_fma.c: New file.
12851         * sysdeps/sh/s_fmaf.c: New file.
12852         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
12853         version.
12854         * sysdeps/sh/Implies: Add sh/soft-fp.
12855
12856 2013-12-16  Roland McGrath  <roland@hack.frob.com>
12857
12858         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
12859         level of indirection to members `objname', `errstring', `malloced'.
12860         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12861         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
12862         it as the __longjmp argument (just pass 1 instead).
12863         (_dl_catch_error): Initialize C with argument pointers and address of
12864         volatile local ERRCODE rather than copying values out of C at return.
12865
12866 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
12867
12868         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12869         * math/auto-libm-test-out: Regenerated.
12870         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12871         (hypot_test_data): Likewise.
12872         (pow_test_data): Likewise.
12873         (pow_tonearest_test_data): Likewise.
12874         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12875         mpfr_ff_f.
12876         (func_calc_desc): Add mpfr_ff_f union field.
12877         (FUNC_mpfr_ff_f): New macro.
12878         (test_functions): Add atan2, hypot and pow.
12879         (special_fill_min): New function.
12880         (special_fill_minus_min): Likewise.
12881         (special_fill_min_subnorm): Likewise.
12882         (special_fill_minus_min_subnorm): Likewise.
12883         (special_real_inputs): Add min, -min, min_subnorm and
12884         -min_subnorm.
12885         (calc_generic_results): Handle mpfr_ff_f.
12886         * sysdeps/i386/fpu/libm-test-ulps: Update.
12887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12888
12889 2013-12-16  Will Newton  <will.newton@linaro.org>
12890
12891         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12892         (Aligned Memory Blocks): Add documentation for aligned_alloc
12893         and suggest it as an alternative to posix_memalign.
12894         (Hooks for Malloc): Document __memalign_hook is also called
12895         for aligned_alloc.  (Summary of Malloc): Add summary for
12896         aligned alloc.  Document __memalign_hook is also called
12897         for aligned_alloc.
12898
12899 2013-12-16  Will Newton  <will.newton@linaro.org>
12900
12901         * manual/memory.texi (Malloc Examples): Clarify default
12902         alignment documentation.  Suggest posix_memalign rather
12903         than memalign or valloc.
12904         (Aligned Memory Blocks): Remove suggestion to use memalign
12905         or valloc.  Remove obsolete comment about BSD.
12906         Document memalign errno values and mark the function obsolete.
12907         Document posix_memalign returned error codes.  Mark valloc
12908         as obsolete.  (Hooks for Malloc): __memalign_hook is also
12909         called for posix_memalign and valloc.
12910         (Summary of Malloc): Add posix_memalign to function summary.
12911         __memalign_hook is also called for posix_memalign and valloc.
12912
12913 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12914
12915         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12916         TAYLOR_SIN.
12917         (__sin): Adjust.
12918         (__cos): Likewise.
12919         (sloww): Use mynumber union.  Expand ternary operator into
12920         if-else statements.
12921         (cslow): use mynumber union.
12922
12923 2013-12-16  Allan McRae  <allan@archlinux.org>
12924
12925         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12926         * configure: Regenerated.
12927
12928         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12929
12930         [BZ #14120]
12931         * configure.ac: Added --enable-maintainer-mode. Check for
12932         autoconf when enabled.
12933         * configure: Regenerated.
12934
12935         * nscd/nscd.service: New file.
12936         * nscd/nscd.tmpfiles: New file.
12937
12938 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
12939
12940         [BZ #12100]
12941         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12942         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12943         * sysdeps/x86_64/multiarch/strstr.c: ... here.
12944         (strstr): Add __strstr_sse2_unaligned ifunc.
12945         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12946         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12947         (strcasestr): Remove __strcasestr_sse42 ifunc.
12948         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12949         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12950         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12951
12952 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12953
12954         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12955         * sysdeps/sh/bits/fenv.h: ... here.
12956         * sysdeps/sh/sh4/fpu/bits: Remove directory.
12957
12958 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12959
12960         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12961
12962         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12963         hypotf multiarch implementations.
12964         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12965         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12966         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12967         multiarch hypot for PPC64.
12968         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12969         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12970         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12971         multiarch hypotf for PPC64.
12972
12973         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12974         modff multiarch implementations.
12975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12978         multiarch modf for PPC64.
12979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12982         multiarch modff for PPC64.
12983
12984         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12985         and logl multiarch implementations.
12986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12989         multiarch logb for PPC64.
12990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12993         multiarch logb for PPC64.
12994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12997         multiarch logb for PPC64.
12998
12999         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13000         isinff multiarch implementation.
13001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13002         file.
13003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13005         multiarch isinf for PPC64.
13006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13007         file.
13008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13009         multiarch isinff for PPC64.
13010
13011         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13012         finitef multiarch implementation.
13013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13014         file.
13015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13017         multiarch finite for PPC64.
13018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13019         file.
13020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13021         multiarch finitef for PPC64.
13022
13023         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13024         lrint multiarch implementation.
13025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13026         file.
13027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13029         multiarch llrint for PPC64.
13030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13031         multiarch lrint for PPC64.
13032
13033         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13034         copysignf multiarch implementation.
13035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13036         file.
13037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13038         file.
13039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13040         multiarch copysign for PPC64.
13041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13042         multiarch copysignf for PPC64.
13043
13044         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13045         multiarch implementation.
13046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13047         file.
13048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13049         file.
13050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13051         file.
13052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13053         file.
13054         multiarch llround for PPC64.
13055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13056         multiarch trunc for PPC64.
13057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13058         multiarch truncf for PPC64.
13059
13060         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13061         multiarch implementation.
13062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13063         file.
13064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13065         file.
13066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13067         file.
13068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13069         file.
13070         multiarch llround for PPC64.
13071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13072         multiarch round for PPC64.
13073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13074         multiarch roundf for PPC64.
13075
13076         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13077         multiarch implementation.
13078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13079         file.
13080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13081         file.
13082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13083         file.
13084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13085         file.
13086         multiarch llround for PPC64.
13087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13088         multiarch floor for PPC64.
13089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13090         multiarch floorf for PPC64.
13091
13092         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13093         multiarch implementation.
13094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13095         file.
13096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13097         file.
13098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13099         file.
13100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13101         file.
13102         multiarch llround for PPC64.
13103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13104         multiarch ceil for PPC64.
13105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13106         multiarch ceilf for PPC64.
13107
13108         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13109         multiarch implementation.
13110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13111         file.
13112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13113         file.
13114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13115         file.
13116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13117         multiarch llround for PPC64.
13118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13119         multiarch lround for PPC64.
13120
13121         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13122         multiarch implementation.
13123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13126         file.
13127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13130         multiarch isnan for PPC64.
13131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13132         multiarch isnanf for PPC64.
13133
13134         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13135         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13136         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13137         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13138         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13140
13141         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13142         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13143         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13144         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13145
13146         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13147         multiarch implementations.
13148         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13149         (__libc_ifunc_impl_list): Likewise.
13150         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13151         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13152         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13153         multiarch stpcpy for PPC64.
13154
13155         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13156         multiarch implementations.
13157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13158         (__libc_ifunc_impl_list): Likewise.
13159         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13160         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13161         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13162         multiarch strcpy for PPC64.
13163
13164         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13165         redefine function name.
13166         (_wordcopy_fwd_dest_aligned): Likewise.
13167         (_wordcopy_bwd_aligned): Likewise.
13168         (_wordcopy_bwd_dest_aligned): Likewise.
13169         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13170         multiarch implementations.
13171         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13172         (__libc_ifunc_impl_list): Likewise.
13173         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13174         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13175         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13176         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13177         multiarch wcscpy for PPC64.
13178
13179         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13180         multiarch implementations.
13181         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13182         (__libc_ifunc_impl_list): Likewise.
13183         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13184         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13185         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13186         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13187         multiarch wcscpy for PPC64.
13188
13189         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13190         multiarch implementations.
13191         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13192         (__libc_ifunc_impl_list): Likewise.
13193         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13194         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13195         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13196         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13197         multiarch wcsrchr for PPC64.
13198
13199         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13200         multiarch implementations.
13201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13202         (__libc_ifunc_impl_list): Likewise.
13203         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13204         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13205         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13206         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13207         multiarch wcschr for PPC64.
13208
13209         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13210         multiarch implementations.
13211         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13212         (__libc_ifunc_impl_list): Likewise.
13213         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13214         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13215         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13216         multiarch strchrnul for PPC64.
13217
13218         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13219         implementations.
13220         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13221         (__libc_ifunc_impl_list): Likewise.
13222         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13223         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13224         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13225         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13226         strchr for PPC64.
13227
13228         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13229         implementations.
13230         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13231         (__libc_ifunc_impl_list): Likewise.
13232         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13233         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13234         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13235         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13236         strncmp for PPC64.
13237
13238         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13239         multiarch implementations.
13240         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13241         (__libc_ifunc_impl_list): Likewise.
13242         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13243         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13244         strncasecmp for PPC64.
13245         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13246         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13247         multiarch strncasecmp_l for PPC64.
13248
13249         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13250         multiarch implementations.
13251         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13252         (__libc_ifunc_impl_list): Likewise.
13253         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13254         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13255         multiarch strcasecmp for PPC64.
13256         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13257         file.
13258         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13259         multiarch strcasecmp_l for PPC64.
13260
13261         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13262         implementations.
13263         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13264         (__libc_ifunc_impl_list): Likewise.
13265         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13266         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13267         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13268         strnlen for PPC64.
13269
13270         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13271         implementations.
13272         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13273         (__libc_ifunc_impl_list): Likewise.
13274         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13275         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13276         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13277         strlen for PPC64.
13278
13279         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13280         implementations.
13281         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13282         (__libc_ifunc_impl_list): Likewise.
13283         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13284         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13285         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13286         rawmemrchr for PPC64.
13287
13288         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13289         implementation.
13290         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13291         (__libc_ifunc_impl_list): Likewise.
13292         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13293         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13294         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13295         memrchr for PPC64.
13296
13297         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13298         implementation.
13299         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13300         (__libc_ifunc_impl_list): Likewise.
13301         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13302         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13303         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13304         memchr for PPC64.
13305
13306         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13307         implementation.
13308         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13309         (__libc_ifunc_impl_list): Likewise.
13310         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13311         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13312         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13313         mempcpy for PPC64.
13314
13315         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13316         avoid cretion of __bzero symbol.
13317         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13318         Likewise.
13319         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13320         Likewise.
13321         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13322         Likewise.
13323         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13324         multiarch implementations.
13325         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13326         (__libc_ifunc_impl_list): Likewise.
13327         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13328         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13329         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13330         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13331         bzero for PPC32.
13332         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13333         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13334         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13335         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13336         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13337         memset for PPC64.
13338         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13339
13340         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13341         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13342         implementations.
13343         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13344         (__libc_ifunc_impl_list): Likewise.
13345         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13346         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13347         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13348         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13349         memcmp for PPC64.
13350
13351         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13352         multiarch for POWER/PPC64.
13353         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13354         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13355         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13356         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13357         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13358         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13359         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13360         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13361         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13362         memcpy for PPC64.
13363
13364         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13365         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13366         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13367         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13368         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13369         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13370         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13371         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13372         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13373         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13374         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13375         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13376         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13377         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13378         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13386
13387 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13388
13389         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13390
13391 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13392
13393         * benchtests/Makefile (bench): Add exp2 and log2.
13394         (LDLIBS-bench-exp2): Add -lm.
13395         (LDLIBS-bench-log2): Likewise.
13396         * benchtests/exp2-inputs: New inputs file.
13397         * benchtests/log2-inputs: New inputs file.
13398         * benchtests/log-inputs: Add new inputs.
13399         * benchtests/tan-inputs: Likewise.
13400
13401 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13402
13403         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13404         definition...
13405         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13406         (csloww2): ... from here.
13407
13408         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13409         instead of structures.
13410         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13411         (POLYNOMIAL): Likewise.
13412         (TAYLOR_SLOW): Likewise.
13413         (__sin): Likewise.
13414         (__cos): Likewise.
13415         (slow1): Likewise.
13416         (slow2): Likewise.
13417         (sloww): Likewise.
13418         (sloww1); Likewise.
13419         (sloww2): Likewise.
13420         (bsloww1): Likewise.
13421         (bsloww2): Likewise.
13422         (cslow2): Likewise.
13423         (csloww): Likewise.
13424         (csloww1): Likewise.
13425         (csloww2): Likewise.
13426
13427 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
13428
13429         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13430         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13431         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13432         * malloc/hooks.c (realloc_check): Likewise.
13433
13434         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13435         * malloc/arena.c: Remove PER_THREAD conditional.
13436         [!PER_THREAD]: Remove code.
13437         (ptmalloc_unlock_all2): Likewise.
13438         (ptmalloc_init): Likewise.
13439         (_int_new_arena): Likewise.
13440         (arena_get2): Likewise.
13441         * malloc/hooks.c (__malloc_get_state): Likewise.
13442         (__malloc_set_state): Likewise.
13443         * malloc/malloc.c: Likewise.
13444         (struct malloc_state): Likewise.
13445         (struct malloc_par): Likewise.
13446         (__libc_realloc): Likewise.
13447         (__libc_mallopt): Likewise.
13448
13449 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13450
13451         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13452
13453 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
13454
13455         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13456         macro to a function.  Check for zero perturb_byte.
13457         (_int_malloc, _int_free): Remove zero perturb_byte checks.
13458
13459         * malloc/malloc.c: (force_reg): Remove.
13460         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13461         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13462         force_reg by atomic_forced_read.
13463         * malloc/arena.c (ptmalloc_init): Likewise.
13464         * malloc/hooks.c (top_check): Likewise.
13465
13466 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13467
13468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13469
13470 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
13471
13472         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13473
13474 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
13475
13476         * math/auto-libm-test-in: Add tests of lgamma.
13477         * math/auto-libm-test-out: Regenerated.
13478         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13479         (M_LOG_2_SQRT_PIl): Likewise.
13480         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13481         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13482         mpfr_f_f1.
13483         (func_calc_desc): Add mpfr_f_f1 union field.
13484         (ARGS1): New macro.
13485         (ARGS2): Likewise.
13486         (ARGS3): Likewise.
13487         (ARGS4): Likewise.
13488         (RET1): Likewise.
13489         (RET2): Likewise.
13490         (CALC): Likewise.
13491         (FUNC): Likewise.
13492         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13493         (test_functions): Add lgamma.
13494         (calc_generic_results): Handle mpfr_f_f1.
13495         * sysdeps/i386/fpu/libm-test-ulps: Update.
13496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13497
13498 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13499
13500         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13501         __mpn_add_n for PowerPC64/POWER7.
13502         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13503         __mpn_sub_n for PowerPC64/POWER7.
13504
13505         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13506         __mpn_addmul_1 for PowerPC64.
13507         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13508         __mpn_submul_1 for PowerPC64.
13509         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13510         for PowerPC64.
13511         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13512         for PowerPC64.
13513
13514 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
13515
13516         [BZ #15089]
13517         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13518
13519 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13520
13521         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13522
13523         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13524         add multiarch folders.
13525         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13526         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13527         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13528         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13529         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13530         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13531         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13532         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13533         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13534         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13535         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13542
13543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13544         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13546         New file.
13547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13548         New file.
13549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13550         multiarch __ieee754_hypot for PowerPC32.
13551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13552         New file.
13553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13554         New file.
13555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13556         multiarch __ieee754_hypotf for PowerPC32.
13557
13558         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13559         long_double_symbol only if __logbl is defined.
13560         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13561         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13562         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13563         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13564         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13565         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13566         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13567         path for implementation.
13568         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13569         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13571         logb, and logbl multiarch implementations for PowerPC32.
13572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13573         file.
13574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13575         file.
13576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13577         multiarch logb for PowerPC32.
13578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13579         file.
13580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13581         file.
13582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13583         multiarch logbf for PowerPC32.
13584         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13586         file.
13587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13588         multiarch logbl implementation for PowerPC32.
13589
13590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13591         and modff multiarch implementations.
13592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13593         New file.
13594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13595         New file.
13596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13597         multiarch modf for PowerPC32.
13598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13599         New file.
13600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13601         New file.
13602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13603         multiarch modff for PowerPC32.
13604
13605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13606         and lrintf multiarch implementations.
13607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13608         New file.
13609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13610         New file.
13611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13612         multiarch lrint for PowerPC32.
13613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13614         file: multiarch lrintf for PowerPC32.
13615
13616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13617         and lroundf multiarch implementations.
13618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13619         New file.
13620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13621         New file.
13622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13623         New file.
13624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13625         multiarch lround for PowerPC32.
13626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13627         file: multiarch lroundf for PowerPC32.
13628
13629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13630         copysign and copysignf multiarch implementations.
13631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13632         New file.
13633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13634         New file.
13635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13636         file: multiarch copysign for PowerPC32.
13637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13638         file: multiarch copysignf for PowerPC32.
13639
13640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13641         and truncf multiarch implementations.
13642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13643         New file.
13644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13645         file.
13646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13647         multiarch trunc for PowerPC32.
13648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13649         New file.
13650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13651         New file.
13652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13653         multiarch truncf for PowerPC32.
13654
13655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13656         and roundf multiarch implementations.
13657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13658         New file.
13659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13660         file.
13661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13662         multiarch round for PowerPC32.
13663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13664         New file.
13665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13666         New file.
13667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13668         multiarch roundf for PowerPC32.
13669
13670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13671         and floorf multiarch implementations.
13672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13673         New file.
13674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13675         file.
13676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13677         multiarch floor for PowerPC32.
13678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13679         New file.
13680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13681         New file.
13682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13683         multiarch floorf for PowerPC32.
13684
13685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13686         and ceilf multiarch implementations.
13687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13688         New file.
13689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13690         file.
13691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13692         multiarch ceil for PowerPC32.
13693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13694         New file.
13695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13696         file.
13697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13698         multiarch ceilf for PowerPC32.
13699
13700         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13701         is defined.
13702         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13703         FINITEF is defined.
13704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13705         and finitef multiarch implementations.
13706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13707         New file.
13708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13709         file.
13710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13711         multiarch finite for PowerPC32.
13712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13713         New file.
13714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13715         file: multiarch finitef for PowerPC32.
13716
13717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13718         and isinff multiarch implementations.
13719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13720         file.
13721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13722         file.
13723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13724         multiarch isinf for PowerPC32.
13725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13726         New file.
13727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13728         multiarch isinff for PowerPC32.
13729
13730         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13731         alias when __isnan is defined.
13732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13733         and isnanf multiarch implementations.
13734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13735         file.
13736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13737         file.
13738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13739         file.
13740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13741         file.
13742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13743         multiarch isnan for PowerPC32.
13744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13745         New file.
13746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13747         New file.
13748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13749         multiarch isnanf for PowerPC32.
13750
13751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13752         and sqrtf multiarch implementations.
13753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13754         file.
13755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13756         file.
13757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13758         multiarch sqrt for PowerPC32.
13759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13760         file.
13761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13762         file.
13763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13764         multiarch sqrtf for PowerPC32.
13765
13766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13767         and llroundf multiarch implementations.
13768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13769         New file.
13770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13771         New file.
13772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13773         New file.
13774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13775         file: multiarch llround for PowerPC32.
13776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13777         file: multiarch llroundf for PowerPC32.
13778
13779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13780         multiarch PowerPC32 fpu implementations.
13781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13782         New file.
13783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13784         New file.
13785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13786         multiarch llrint for PowerPC32.
13787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13788         New file.
13789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13790         New file.
13791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13792         file.
13793
13794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13795
13796         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13797         file.
13798         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13799         file.
13800         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13801         file.
13802         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13803         multiarch wordcopy for PPC32.
13804         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13805         wordcopy objects.
13806         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13807         (__libc_ifunc_impl_list): Likewise.
13808         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13809         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13810         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13811         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13812         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13813         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13814
13815         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13816         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13817         file.
13818         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13819         file.
13820         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13821         file.
13822         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13823         multiarch wcscpy for PPC32.
13824         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13825         multiarch objects.
13826         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13827         (__libc_ifunc_impl_list): Likewise.
13828         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13829         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13830         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13831         sysdeps/powerpc/power6/wcscpy.c.
13832
13833         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13834         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13835         file.
13836         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13837         file.
13838         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13839         file.
13840         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13841         multiarch wcsrchr for PPC32.
13842         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13843         multiarch objects.
13844         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13845         (__libc_ifunc_impl_list): Likewise.
13846         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13847         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13848         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13849         sysdeps/powerpc/power6/wcsrchr.c.
13850
13851         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13852         file.
13853         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13854         file.
13855         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13856         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13857         multiarch wcschr for PPc32.
13858         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13859         multiarch objects.
13860         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13861         (__libc_ifunc_impl_list): Likewise.
13862         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13863         * sysdeps/powerpc/power6/wcschr.c: ... to here.
13864         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13865         sysdeps/powerpc/power6/wcschr.c.
13866
13867         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13868         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13869         file.
13870         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13871         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13872         file: multiarch strchr for PPC32.
13873         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13874         multiarch objects.
13875         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13876         (__libc_ifunc_impl_list): Likewise.
13877
13878         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13879         name.
13880         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13881         file.
13882         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13883         file.
13884         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13885         multiarch strchrnul for PPC32.
13886         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13887         multiarch objects.
13888         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13889         (__libc_ifunc_impl_list): Likewise.
13890
13891         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13892         file.
13893         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13894         multiarch strncasecmp for PPC32.
13895         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13896         file.
13897         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13898         multiarch strncasecmp_l for PPC32.
13899         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13900         strncasecmp multiarch objects.
13901         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13902         (__libc_ifunc_impl_list): Likewise.
13903
13904         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13905         file.
13906         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13907         multiarch strncasecmp for PPC32.
13908         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13909         New file.
13910         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13911         multiarch strcasecmp_l for PPC32.
13912         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13913         multiarch objects.
13914         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13915         (__libc_ifunc_impl_list): Likewise.
13916
13917         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13918         file.
13919         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13920         file.
13921         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13922         multiarch strncmp for PPC32.
13923         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13924         multiarch objects.
13925         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13926         (__libc_ifunc_impl_list): Likewise.
13927
13928         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13929         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13930         file.
13931         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13932         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13933         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13934         multiarch objects.
13935         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13936         (__libc_ifunc_impl_list): Likewise.
13937
13938         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13939         file.
13940         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13941         file.
13942         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13943         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13944         multiarch objects.
13945         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13946         (__libc_ifunc_impl_list): Likewise.
13947
13948         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13949         file.
13950         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13951         file.
13952         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13953         multiarch rawmemchr for PPC32.
13954         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13955         multiarch objects.
13956         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13957         (__libc_ifunc_impl_list): Likewise.
13958
13959         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13960         file.
13961         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13962         file.
13963         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13964         file: memrchr multiarch for PPC32.
13965         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13966         multiarch objects.
13967         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13968         (__libc_ifunc_impl_list): Likewise.
13969
13970         * string/memchr.c (__memchr): Using macro to redefine symbol name.
13971         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13972         file.
13973         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13974         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13975         multiarch memchr for PPC32.
13976         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13977         multiarch objects.
13978         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13979         (__libc_ifunc_impl_list): Likewise.
13980
13981         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13982         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13983         file.
13984         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13985         file.
13986         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13987         file: multiarch mempcpy for PPC32.
13988         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13989         multiarch objects.
13990         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13991         (__libc_ifunc_impl_list): Likewise.
13992
13993         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13994         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13995         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13996         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13997         multiarch bzero for PPC32.
13998         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13999         file.
14000         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14001         file.
14002         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14003         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14004         file: multiarch memset for PPC32.
14005         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14006         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14007         memset multiarch objects.
14008         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14009         (__libc_ifunc_impl_list): Likewise.
14010
14011         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14012         file.
14013         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14014         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14015         memcmp for PPC32.
14016         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14017         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14018         multiarch objects.
14019         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14020         (__libc_ifunc_impl_list): Likewise.
14021
14022         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14023         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14024         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14025         file.
14026         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14027         file.
14028         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14029         file.
14030         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14031         multiarch memcpy for PPC32.
14032         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14033         multiarch objects.
14034         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14035         (__libc_ifunc_impl_list): Likewise.
14036
14037         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14038         support multiarch for POWER/PPC32.
14039         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14040         Likewise.
14041         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14043         Implies file to make multiarch folder appers before the fpu and
14044         default folder for power4 configuration.
14045
14046 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14047
14048         * scripts/bench.pl: Append volatile keyword to type.
14049
14050 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14051
14052         * sysdeps/sh/sotruss-lib.c: New file.
14053         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14054
14055 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14056
14057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14058
14059 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
14060
14061         [BZ #6810]
14062         * math/w_tgamma.c: Include <errno.h>.
14063         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
14064         * math/w_tgammaf.c: Include <errno.h>.
14065         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
14066         * math/w_tgammal.c: Include <errno.h>.
14067         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
14068         * math/auto-libm-test-in: Do not allow missing errno on tgamma
14069         underflow.  Add more tgamma tests.
14070         * math/auto-libm-test-out: Regenerated.
14071         * sysdeps/i386/fpu/libm-test-ulps: Update.
14072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14073
14074         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14075         sin, sinh, tan, tanh, tgamma, y0 and y1.
14076         * math/auto-libm-test-out: Regenerated.
14077         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14078         (TEST_COND_x86): Likewise.
14079         (M_E2l): Remove macro.
14080         (M_E3l): Likewise.
14081         (M_2_SQRT_PIl): Likewise.
14082         (M_SQRT_PIl): Likewise.
14083         (M_1_DIV_El): Likewise.
14084         (log_test_data): Use AUTO_TESTS_f_f.
14085         (log10_test_data): Likewise.
14086         (log1p_test_data): Likewise.
14087         (log2_test_data): Likewise.
14088         (sin_test_data): Likewise.
14089         (sin_tonearest_test_data): Likewise.
14090         (sin_towardzero_test_data): Likewise.
14091         (sin_downward_test_data): Likewise.
14092         (sin_upward_test_data): Likewise.
14093         (sinh_test_data): Likewise.
14094         (sinh_tonearest_test_data): Likewise.
14095         (sinh_towardzero_test_data): Likewise.
14096         (sinh_downward_test_data): Likewise.
14097         (sinh_upward_test_data): Likewise.
14098         (tan_test_data): Likewise.
14099         (tan_tonearest_test_data): Likewise.
14100         (tan_towardzero_test_data): Likewise.
14101         (tan_downward_test_data): Likewise.
14102         (tan_upward_test_data): Likewise.
14103         (tanh_test_data): Likewise.
14104         (tgamma_test_data): Likewise.
14105         (y0_test_data): Likewise.
14106         (y1_test_data): Likewise.
14107         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14108         (special_real_inputs): Add pi/4.
14109         * sysdeps/i386/fpu/libm-test-ulps: Update.
14110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14111
14112 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14113
14114         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14115         "longjmp_target" static probes.
14116         (__longjmp): Rename to __longjmp_symbol.
14117         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14118         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14119         on which longjmp to generate.
14120         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14121         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14122         probe.
14123         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14124         (__sigjmp_save): Rename to __sigjmp_save_symbol.
14125         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14126         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14127         and __sigjmp_save_symbol based on which sigsetjmp to generated.
14128         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14130         __longjmp_symbol based on which __longjmp to generate.
14131         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14132         probe.
14133         (setjmp): Rename to setjmp_symbol.
14134         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14135         (_setjmp): Rename to _setjmp_symbol.
14136         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14137         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14138         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14139         which setjmp to generate.
14140         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14141         "longjmp_target" static probes.
14142
14143 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14144
14145         * benchtests/README: Add note about output arguments.
14146         * benchtests/bench-sincos.c: Remove file.
14147         * benchtests/sincos-inputs: New file.
14148         * scripts/bench.pl: Identify output arguments and define
14149         static variables for them.
14150
14151         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14152
14153         [BZ #15941]
14154         * Makefile (INSTALL): Add install-plain.texi as the primary
14155         dependency.
14156         * manual/install-plain.texi: New file.
14157         * manual/install.texi: Include node directive only for
14158         non-plaintext output.
14159
14160 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
14161
14162         * stdlib/longlong.h: Update from GCC.
14163
14164         [BZ #6807]
14165         [BZ #15901]
14166         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14167         * math/w_j0f.c (y0f): Likewise.
14168         * math/w_j0l.c (__y0l): Likewise.
14169         * math/w_j1.c (y1): Likewise.
14170         * math/w_j1f.c (y1f): Likewise.
14171         * math/w_j1l.c (__y1l): Likewise
14172         * math/w_jn.c (yn): Likewise.
14173         * math/w_jnf.c (ynf): Likewise.
14174         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14175         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
14176         value for Bessel function domain errors outside _SVID_ mode.
14177         Adjust sign of return value for yn (negative integer, 0).
14178         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14179         by zero in return for negative x and set sign appropriately for
14180         negative n.
14181         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14182         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14183         * math/libm-test.inc (y0_test_data): Add more tests and adjust
14184         expectations in error cases.
14185         (y1_test_data): Likewise.
14186         (yn_test_data): Likewise.
14187         * sysdeps/i386/fpu/libm-test-ulps: Update.
14188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14189
14190 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14191
14192         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14193         "64" to "64-v1".  Add "64-v2".
14194         (abi-64-options): Rename to ...
14195         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
14196         (abi-64-condition): Rename to ...
14197         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
14198         (abi-64-ld-soname): Rename to ...
14199         (abi-64-v1-ld-soname): ... this.
14200         (abi-64-v2-options): Define.
14201         (abi-64-v2-condition): Likewise.
14202         (abi-64-v2-ld-soname): Likewise.
14203         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14204         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14208
14209 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14210             Alan Modra  <amodra@gmail.com>
14211
14212         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14213         New versions for use with the ELFv2 ABI.
14214         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14215         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14216         declaration.
14217         (struct La_ppc64v2_retval): Likewise.
14218         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14219         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14220         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14221         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14222         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14223         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14224         Do not save or restore CR.
14225         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14226         (_dl_profile_resolve): Do no save or restore CR.  Support extended
14227         return values for ELFv2 ABI.  Fix location of FPR return registers.
14228         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14229         updated values for _CALL_ELF == 2.
14230         (La_regs, La_retval, int_retval): Likewise.
14231
14232 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14233
14234         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14235         (FRAME_MIN_SIZE_PARM): Likewise.
14236         (FRAME_BACKCHAIN): Likewise.
14237         (FRAME_CR_SAVE): Likewise.
14238         (FRAME_LR_SAVE): Likewise.
14239         (FRAME_TOC_SAVE): Likewise.
14240         (FRAME_PARM_SAVE): Likewise.
14241         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14242         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14243         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14244         (call_mcount_parm_offset): New macro.
14245         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14246         (PROF): Use symbolic stack frame offsets.
14247         (TAIL_CALL_SYSCALL_ERROR): Likewise.
14248         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14249         Redefine in terms of FRAME_MIN_SIZE.
14250         (_dl_runtime_resolve): Use symbolic stack frame offsets.
14251         (_dl_profile_resolve): Likewise.  Update comment.
14252         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14253         symbols stack frame offsets.
14254         (__sigsetjmp): Likewise.
14255         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14256         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14257         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14258         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14259
14260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14261         (FRAME_BACKCHAIN): Remove.
14262         (FRAME_CR_SAVE): Likewise.
14263         (FRAME_LR_SAVE): Likewise.
14264         (FRAME_COMPILER_DW): Likewise.
14265         (FRAME_LINKER_DW): Likewise.
14266         (FRAME_TOC_SAVE): Likewise.
14267         (FRAME_PARM_SAVE): Likewise.
14268         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14269         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14270         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14272         (CHECK_SP): Use symbolic stack frame offsets.
14273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14274         zone" instead of caller's parameter save area for temp storage.
14275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14276         Likewise.  Also, use symbolic stack frame offsets.
14277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14278         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14279         our own stack frame instead of the caller's.
14280         (__socket): Use symbolic stack frame offsets.
14281
14282 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14283             Alan Modra  <amodra@gmail.com>
14284
14285         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14286         Define.
14287         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14288         (PPC64_LOCAL_ENTRY_OFFSET): Define.
14289         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14290         New function.
14291         (elf_machine_fixup_plt): Call it.
14292         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
14293         reloc arguments.
14294         (elf_machine_rela): Update call to elf_machine_plt_conflict.
14295         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14296         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14297         r2 before calling target.
14298
14299 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14300             Alan Modra  <amodra@gmail.com>
14301
14302         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14303         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14304         versions of macros to support ELFv2 ABI.
14305         (LOCALENTRY): New macro.
14306         (ENTRY, EALIGN): Use it.
14307         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14308         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14309         fall through into ENTRY entry point.
14310         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14311         Only define if _CALL_ELF != 2.
14312
14313         (elf_machine_matches_host): Verify ABI version matches.
14314         (RTLD_START): Use LOCALENTRY.
14315         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14316         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14317         (PLT_ENTRY_WORDS): New macro.
14318         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14319         (elf_machine_runtime_setup): Support ELFv2 ABI.
14320         (elf_machine_fixup_plt): Likewise.
14321         (elf_machine_plt_conflict): Likewise.
14322         (resolve_ifunc): Likewise.
14323         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14324         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14325         Likewise.
14326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14327         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14329         (makecontext): Support ELFv2 ABI.
14330         * elf/elf.h (EF_PPC64_ABI): Define.
14331
14332 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14333
14334         * sysdeps/powerpc/powerpc64/sysdep.h
14335         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14336         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14337         (ENTRY) [ASSEMBLER]: ... but instead here ...
14338         (EALIGN) [ASSEMBLER]: ... and here.
14339         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14340         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14341         (ENTRY_2) [!ASSEMBLER]: Use it.
14342         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14343         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
14344         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14345         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14346         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14348         Use PPC64_LOAD_FUNCPTR.
14349
14350         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14351
14352 2013-12-04  Alan Modra  <amodra@gmail.com>
14353
14354         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14355         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14356         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14357         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14358
14359         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14360         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14361         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14362         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14363         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14364         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14365
14366 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14367
14368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14369         (__makecontext): Fix incorrect CFI when backtracing out of
14370         context created via makecontext.
14371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14372         (__setcontext): Fix incorrect CFI during switch to new context.
14373         (__novec_setcontext): Likewise.
14374
14375 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14376
14377         [BZ #4772]
14378         * time/strptime_l.c (__strptime_internal): Allow modifiers
14379         in strptime.
14380         * time/tst-strptime.c (day_tests): Add testcase.
14381
14382 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14383
14384         * scripts/bench.pl: Skip over blank lines.
14385
14386 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14387
14388         [BZ #926]
14389         * manual/time.texi (Calendar Time): Clarify what timezone functions
14390         use.
14391
14392 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14393
14394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14395
14396 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14397
14398         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14399         implementation.
14400         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14401         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14402         * debug/memset_chk.c (__memset_chk): Likewise.
14403         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14404         * debug/strncpy_chk.c: Likewise.
14405
14406 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14407
14408         [BZ #15268]
14409         [BZ #15425]
14410         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14411         (__ieee754_exp): For possibly underflowing results, check size of
14412         result and force underflow exception if required.
14413         * math/auto-libm-test-in: Add more tests of exp.
14414         * math/auto-libm-test-out: Regenerated.
14415         * sysdeps/i386/fpu/libm-test-ulps: Update.
14416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14417
14418         [BZ #16283]
14419         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14420         * math/w_exp2f.c (__exp2f): Likewise.
14421         * math/w_exp2l.c (__exp2l): Likewise.
14422         * math/auto-libm-test-in: Do not allow missing errno on exp2
14423         underflow.
14424         * math/auto-libm-test-out: Regenerated.
14425
14426 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
14427
14428         [BZ #16274]
14429         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14430         handle filename validation.
14431         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14432         (do_open): Delete.
14433
14434 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14435
14436         [BZ #6786]
14437         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14438         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14439         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14440         <float.h>.
14441         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14442         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14443         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14444         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14445         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14446         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14447         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14448         * math/auto-libm-test-in: Don't allow missing errno from erfc.
14449         Add more erfc tests.
14450         * math/auto-libm-test-out: Regenerated.
14451         * sysdeps/i386/fpu/libm-test-ulps: Update.
14452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14453
14454         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14455         exp2, expm1, j0 and j1.
14456         * math/auto-libm-test-out: Regenerated.
14457         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14458         (erfc_test_data): Likewise.
14459         (exp_test_data): Likewise.
14460         (exp_tonearest_test_data): Likewise.
14461         (exp_towardzero_test_data): Likewise.
14462         (exp_downward_test_data): Likewise.
14463         (exp_upward_test_data): Likewise.
14464         (exp10_test_data): Likewise.
14465         (exp2_test_data): Likewise.
14466         (expm1_test_data): Likewise.
14467         (j0_test_data): Likewise.
14468         (j1_test_data): Likewise.
14469         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14470         (input_flag_type): Add flag_xfail_rounding.
14471         (input_flags): Add xfail-rounding.
14472         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14473         (output_for_one_input_case): Handle flag_xfail_rounding.
14474         * sysdeps/i386/fpu/libm-test-ulps: Update.
14475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14476
14477 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14478
14479         [BZ #16289]
14480         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14481         division by 0.
14482
14483 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14484
14485         [BZ #16195]
14486         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14487         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14488         (STAP_PROBE0): New macro.
14489         (STAP_PROBE1): Likewise.
14490         (STAP_PROBE2): Likewise.
14491         (STAP_PROBE3): Likewise.
14492         (STAP_PROBE4): Likewise.
14493
14494 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
14495
14496         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14497
14498 2013-12-02  Steve Ellcey  <sellcey@mips.com>
14499
14500         * benchtests/Makefile (bench): Add sqrt.
14501         (LDLIBS-bench-sqrt): New.
14502         * benchtests/sqrt-input: New.
14503
14504 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
14505
14506         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14507         (GAIH_EAI): Likewise.
14508         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14509         (gaih_inet): Likewise.
14510         (getaddrinfo): Don't use GAIH_EAI.
14511
14512         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14513         (struct gaih): Remove definition.
14514
14515 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14516
14517         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14518         Use HERRNOP directly.
14519
14520 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14521
14522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14523
14524 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
14525
14526         * math/gen-auto-libm-tests.c (test_functions): Add more
14527         single-argument functions.
14528         (special_fill_pi_2): New function.
14529         (special_fill_minus_pi_2): Likewise.
14530         (special_fill_pi_6): Likewise.
14531         (special_fill_minus_pi_6): Likewise.
14532         (special_fill_pi_3): Likewise.
14533         (special_fill_2pi_3): Likewise.
14534         (special_fill_e): Likewise.
14535         (special_fill_1_e): Likewise.
14536         (special_fill_e_minus_1): Likewise.
14537         (special_real_inputs): Add more special inputs.
14538         (output_for_one_input_case): Do not require ERANGE on underflow to
14539         zero if round-to-nearest result does not underflow to zero, unless
14540         exact results required.
14541         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14542         atan, atanh, cbrt, cos and cosh.
14543         * math/auto-libm-test-out: Regenerated.
14544         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14545         (acos_tonearest_test_data): Likewise.
14546         (acos_towardzero_test_data): Likewise.
14547         (acos_downward_test_data): Likewise.
14548         (acos_upward_test_data): Likewise.
14549         (acosh_test_data): Likewise.
14550         (asin_test_data): Likewise.
14551         (asin_tonearest_test_data): Likewise.
14552         (asin_towardzero_test_data): Likewise.
14553         (asin_upward_test_data): Likewise.
14554         (asinh_test_data): Likewise.
14555         (atan_test_data): Likewise.
14556         (atanh_test_data): Likewise.
14557         (cbrt_test_data): Likewise.
14558         (cos_test_data): Likewise.
14559         (cos_tonearest_test_data): Likewise.
14560         (cos_towardzero_test_data): Likewise.
14561         (cos_downward_test_data): Likewise.
14562         (cos_upward_test_data): Likewise.
14563         (cosh_test_data): Likewise.
14564         (cosh_tonearest_test_data): Likewise.
14565         (cosh_towardzero_test_data): Likewise.
14566         (cosh_downward_test_data): Likewise.
14567         (cosh_upward_test_data): Likewise.
14568         * sysdeps/i386/fpu/libm-test-ulps: Update.
14569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14570
14571 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
14572
14573         [BZ #6787]
14574         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14575         * math/w_exp10f.c (__exp10f): Likewise.
14576         * math/w_exp10l.c (__exp10l): Likewise.
14577         * math/libm-test.inc (exp10_test_data): Add more tests and expect
14578         errno settings in existing tests.
14579
14580         [BZ #14032]
14581         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14582         precision control set to double precision.
14583         * sysdeps/i386/fpu/w_sqrt.c: New file.
14584         * math/auto-libm-test-in: Add more tests.
14585         * math/auto-libm-test-out: Update.
14586
14587         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14588         (sqrt_test_tonearest): New function.
14589         (sqrt_towardzero_test_data): New variable.
14590         (sqrt_test_towardzero): New function.
14591         (sqrt_downward_test_data): New variable.
14592         (sqrt_test_downward): New function.
14593         (sqrt_upward_test_data): New variable.
14594         (sqrt_test_upward): New function.
14595         (main): Call the new functions.
14596
14597         * math/gen-auto-libm-tests.c: New file.
14598         * math/auto-libm-test-in: Likewise.
14599         * math/auto-libm-test-out: New generated file.
14600         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14601         variables.
14602         (%beautify): Add generated representations of zero.
14603         (top level): Set $auto_input and call parse_auto_input.
14604         (beautify): Remove trailing "f" from hex float constants.
14605         (parse_args): Handle XFAIL_TEST.
14606         (convert_condition): New function.
14607         (or_value): Likewise.
14608         (or_cond_value): Likewise.
14609         (generate_testfile): Handle AUTO_TESTS_* lines.
14610         (parse_auto_input): New function.
14611         * math/libm-test.inc (XFAIL_TEST): New macro.
14612         (ERRNO_UNCHANGED): Update value.
14613         (ERRNO_EDOM): Likewise.
14614         (ERRNO_ERANGE): Likewise.
14615         (IGNORE_RESULT): Likewise.
14616         (TEST_COND_flt_32): New macro.
14617         (TEST_COND_dbl_64): Likewise.
14618         (TEST_COND_ldbl_96_intel): Likewise.
14619         (TEST_COND_ldbl_96_m68k): Likewise.
14620         (TEST_COND_ldbl_128): Likewise.
14621         (TEST_COND_ldbl_128ibm): Likewise.
14622         (TEST_COND_long32): Likewise.
14623         (TEST_COND_long64): Likewise.
14624         (TEST_COND_before_rounding): Likewise.
14625         (TEST_COND_after_rounding): Likewise.
14626         (enable_test): Handle XFAIL_TEST flag.
14627         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14628         with finite results.
14629         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14630         auto-libm-test-out.
14631
14632 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14633             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14634
14635         [BZ #16214]
14636         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14637         __tls_get_addr_internal instead of __tls_get_offset in order to
14638         avoid GOT pointer dependency.  Make rtld export
14639         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14640         __tls_get_addr since we are a __tls_get_offset platform.
14641         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14642         GOT pointer being set up before.
14643         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14644
14645 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
14646
14647         * manual/math.texi (Errors in Math Functions): Document accuracy
14648         goals.
14649
14650         [BZ #15004]
14651         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14652         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14653         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14654         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14655         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14656         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14657         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14658         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14659         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14660         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14661         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14662         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14663         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14664         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14665         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14666         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14667
14668         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14669         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14670         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14671         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14672         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14673         Likewise.
14674         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14675         Likewise.
14676         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14677         Likewise.
14678         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14679         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14680         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14681         atomic-feupdateenv and flt-rounds.
14682         * sysdeps/powerpc/nofpu/Versions (libc): Add
14683         __atomic_feholdexcept, __atomic_feclearexcept,
14684         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14685         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14686         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14687         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14688         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14689         here.
14690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14691         Update.
14692
14693         * manual/arith.texi (FP Exceptions): Document that exceptions may
14694         not be raised when matherr is used.
14695         (Math Error Reporting): Document overflow in directed rounding
14696         modes.  Document that errno may not be set when finite values are
14697         returned on overflow.  Document intent to set errno on underflow
14698         only for underflow to zero.
14699
14700         [BZ #16271]
14701         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14702         round-to-nearest then adjust result for other rounding modes.
14703         * include/fenv.h (fegetround): Use libm_hidden_proto.
14704         * math/fegetround.c (fegetround): Use libm_hidden_def.
14705         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14706         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14707         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14708         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14709         Likewise.
14710         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14711         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14712         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14713         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14714
14715 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14716
14717         [BZ #16077]
14718         * nss/Versions (libnss_files): Add
14719         _nss_files_gethostbyname3_r.
14720         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14721         New function.
14722         (HOST_DB_LOOKUP): Remove macro.
14723         (_nss_files_gethostbyname_r): Implement function without the
14724         HOST_DB_LOOKUP macro.
14725         (_nss_files_gethostbyname2_r): Likewise.
14726
14727 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
14728
14729         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14730
14731 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
14732
14733         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14734         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14735         warning.
14736
14737 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14738
14739         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14740         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14741         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14742         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14743         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14744         __fe_nomask_env_priv and attribute_hidden.
14745         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14746         (libc_feupdateenv_test_ppc): Likewise.
14747         (libc_feresetround_ppc): Likewise.
14748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14749         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14750         compat_symbol macro.
14751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14752         (__fe_nomask_env): Likewise.
14753         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14754
14755 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14756
14757         * string/Makefile: Remove ifunc tests.
14758         * string/test-string.h: Define TEST_IFUNC.
14759         * string/test-bcopy-ifunc.c: Remove.
14760         * string/test-bzero-ifunc.c: Likewise.
14761         * string/test-memccpy-ifunc.c: Likewise.
14762         * string/test-memchr-ifunc.c: Likewise.
14763         * string/test-memcmp-ifunc.c: Likewise.
14764         * string/test-memcpy-ifunc.c: Likewise.
14765         * string/test-memmem-ifunc.c: Likewise.
14766         * string/test-memmove-ifunc.c: Likewise.
14767         * string/test-mempcpy-ifunc.c: Likewise.
14768         * string/test-memrchr-ifunc.c: Likewise.
14769         * string/test-memset-ifunc.c: Likewise.
14770         * string/test-rawmemchr-ifunc.c: Likewise.
14771         * string/test-stpcpy-ifunc.c: Likewise.
14772         * string/test-stpncpy-ifunc.c: Likewise.
14773         * string/test-strcasecmp-ifunc.c: Likewise.
14774         * string/test-strcasestr-ifunc.c: Likewise.
14775         * string/test-strcat-ifunc.c: Likewise.
14776         * string/test-strchr-ifunc.c: Likewise.
14777         * string/test-strchrnul-ifunc.c: Likewise.
14778         * string/test-strcmp-ifunc.c: Likewise.
14779         * string/test-strcpy-ifunc.c: Likewise.
14780         * string/test-strcspn-ifunc.c: Likewise.
14781         * string/test-strlen-ifunc.c: Likewise.
14782         * string/test-strncasecmp-ifunc.c: Likewise.
14783         * string/test-strncat-ifunc.c: Likewise.
14784         * string/test-strncmp-ifunc.c: Likewise.
14785         * string/test-strncpy-ifunc.c: Likewise.
14786         * string/test-strnlen-ifunc.c: Likewise.
14787         * string/test-strpbrk-ifunc.c: Likewise.
14788         * string/test-strrchr-ifunc.c: Likewise.
14789         * string/test-strspn-ifunc.c: Likewise.
14790         * string/test-strstr-ifunc.c: Likewise.
14791
14792 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14793
14794         * benchtests/Makefile: Remove ifunc tests.
14795         * benchtests/bench-string.h: Define TEST_IFUNC.
14796         * benchtests/bench-bcopy-ifunc.c: Remove.
14797         * benchtests/bench-bzero-ifunc.c: Likewise.
14798         * benchtests/bench-memccpy-ifunc.c: Likewise.
14799         * benchtests/bench-memchr-ifunc.c: Likewise.
14800         * benchtests/bench-memcmp-ifunc.c: Likewise.
14801         * benchtests/bench-memcpy-ifunc.c: Likewise.
14802         * benchtests/bench-memmem-ifunc.c: Likewise.
14803         * benchtests/bench-memmove-ifunc.c: Likewise.
14804         * benchtests/bench-mempcpy-ifunc.c: Likewise.
14805         * benchtests/bench-memrchr-ifunc.c: Likewise.
14806         * benchtests/bench-memset-ifunc.c: Likewise.
14807         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14808         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14809         * benchtests/bench-stpcpy-ifunc.c: Likewise.
14810         * benchtests/bench-stpncpy-ifunc.c: Likewise.
14811         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14812         * benchtests/bench-strcasestr-ifunc.c: Likewise.
14813         * benchtests/bench-strcat-ifunc.c: Likewise.
14814         * benchtests/bench-strchr-ifunc.c: Likewise.
14815         * benchtests/bench-strchrnul-ifunc.c: Likewise.
14816         * benchtests/bench-strcmp-ifunc.c: Likewise.
14817         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14818         * benchtests/bench-strcpy-ifunc.c: Likewise.
14819         * benchtests/bench-strcspn-ifunc.c: Likewise.
14820         * benchtests/bench-strlen-ifunc.c: Likewise.
14821         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14822         * benchtests/bench-strncat-ifunc.c: Likewise.
14823         * benchtests/bench-strncmp-ifunc.c: Likewise.
14824         * benchtests/bench-strncpy-ifunc.c: Likewise.
14825         * benchtests/bench-strnlen-ifunc.c: Likewise.
14826         * benchtests/bench-strpbrk-ifunc.c: Likewise.
14827         * benchtests/bench-strrchr-ifunc.c: Likewise.
14828         * benchtests/bench-strsep-ifunc.c: Likewise.
14829         * benchtests/bench-strspn-ifunc.c: Likewise.
14830         * benchtests/bench-strstr-ifunc.c: Likewise.
14831
14832 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14833
14834         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14835
14836 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14837
14838         * resolv/netdb.h: Use __glibc_reserved instead __unused.
14839         * rt/aio.h: Likewise.
14840         * sysdeps/gnu/bits/utmp.h: Likewise.
14841         * sysdeps/gnu/bits/utmpx.h: Likewise.
14842         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14843         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14844         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14845         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14846         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14847         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14848         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14849         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14850         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14851         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14852         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14853         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14854         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14856         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14857         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14858         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14859         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14860         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14861         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14862         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14863         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14864         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14865         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14866         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14867         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14868         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14869         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14870         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14871         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14872         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14873         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14874         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14875         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14876         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14877         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14878         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14879         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14880         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14881         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14882         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14883         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14884
14885 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
14886
14887         [BZ #16245]
14888         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14889         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14890
14891 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
14892
14893         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14894         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14895         Likewise.
14896
14897 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14898
14899         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14900         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14901         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14902         (__fesetround): Remove define.
14903         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14904         rounding and exceptions handling.
14905         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14906         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14907         (__fe_nomask_env): Likewise.
14908         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14909         __fegetround instead of fegetround.
14910         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14911         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14912
14913 2013-11-21  Roland McGrath  <roland@hack.frob.com>
14914
14915         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14916         it's there.
14917
14918         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14919
14920 2013-11-21  Meador Inge  <meadori@codesourcery.com>
14921
14922         [BZ #11157]
14923         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14924         (encrypt_r): Likewise.
14925         * malloc/obstack.h (obstack_free): Likewise.
14926         * posix/unistd.h (encrypt): Likewise.
14927
14928 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
14929
14930         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14931         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14932         DL_CALL_DT_FINI() that call the functions directly.
14933         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14934         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14935         * elf/dl-fini.c: Likewise.
14936
14937 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
14938
14939         * malloc/hooks.c (memalign_check): Add alignment rounding.
14940         * malloc/malloc.c (_mid_memalign): New function.
14941         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14942         Implement by calling _mid_memalign.
14943         * manual/probes.texi (Memory Allocation Probes): Remove
14944         memory_valloc_retry and memory_pvalloc_retry.
14945
14946 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14947
14948         * locale/programs/locarchive.c (open_archive): Add const
14949         qualifier to ARCHIVEFNAME and copy default fname to
14950         DEFAULT_FNAME.
14951
14952         [BZ #15601]
14953         * libio/tst-widetext.input: Rename Oriya to Odia.
14954         * locale/iso-639.def: Likewise.
14955
14956         * manual/probes.texi (Mathematical Function Probes): Add
14957         documentation for sin, cos, asin and acos probes.
14958         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14959         (__sin32): Add slowasin probe.
14960         (__cos32): Add slowacos probe.
14961         (__mpsin): Add slowsin probe.
14962         (__mpcos): Add slowcos probe.
14963
14964 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
14965
14966         [BZ #15483]
14967         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14968         thread-local __sim_exceptions_thread and global
14969         __sim_exceptions_global.
14970         (__sim_disabled_exceptions): Change to thread-local
14971         __sim_disabled_exceptions_thread and global
14972         __sim_disabled_exceptions_global.
14973         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14974         and global __sim_round_mode_global.
14975         (__simulate_exceptions): Use thread-local floating-point state and
14976         set global state from it as needed.
14977         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14978         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14979         __sim_round_mode_thread.
14980         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14981         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14982         and global __sim_exceptions_global.
14983         (__sim_disabled_exceptions): Change to thread-local
14984         __sim_disabled_exceptions_thread and global
14985         __sim_disabled_exceptions_global.
14986         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14987         and global __sim_round_mode_global.
14988         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14989         (SIM_SET_GLOBAL): Likewise.
14990         * sysdeps/powerpc/soft-fp/sfp-machine.h
14991         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14992         __sim_round_mode_thread.
14993         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14994         __sim_disabled_exceptions_thread.
14995         (__sim_exceptions): Change to __sim_exceptions_thread.
14996         (__sim_disabled_exceptions): Change to
14997         __sim_disabled_exceptions_thread.
14998         (__sim_round_mode): Change to __sim_round_mode_thread.
14999         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15000         thread-local floating-point state and set global state from it as
15001         needed.
15002         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15003         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15004         (__sim_disabled_exceptions): Remove extern declaration.
15005         (feenableexcept): Use thread-local floating-point state and set
15006         global state from it as needed.
15007         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15008         extern declaration.
15009         (__sim_disabled_exceptions): Likewise.
15010         (__sim_round_mode): Likewise.
15011         (__fegetenv): Use thread-local floating-point state.
15012         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15013         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15014         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15015         floating-point state and set global state from it as needed.
15016         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15017         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15018         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15019         Likewise.
15020         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15021         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15022         Likewise.
15023         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15024         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15025         Use __sim_round_mode_thread.
15026         * math/test-fenv-tls.c: New file.
15027         * math/Makefile (tests): Add test-fenv-tls.
15028         ($(objpfx)test-fenv-tls): Depend on
15029         $(common-objpfx)nptl/libpthread.so.
15030
15031 2013-11-19  Andreas Schwab  <schwab@suse.de>
15032
15033         * locale/programs/locale.c (show_info): Decode wordarray elements.
15034         * locale/categories.def (LC_MONETARY): Add element for
15035         _NL_MONETARY_CRNCYSTR.
15036         * locale/C-monetary.c (conversion_rate): New variable.
15037         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15038         element.
15039
15040 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
15041
15042         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15043         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15044
15045 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
15046
15047         * elf/Makefile (tst-auxv): New test.
15048         * elf/tst-auxv.c: New
15049         * elf/rtld.c (dl_main): Adjust AT_EXECFN
15050
15051 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
15052
15053         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15054         (hidden_proto): Caller changed.
15055         (hidden_tls_proto): New macro.
15056         (libc_hidden_tls_proto): Likewise.
15057         (rtld_hidden_tls_proto): Likewise.
15058         (libm_hidden_tls_proto): Likewise.
15059         (libresolv_hidden_tls_proto): Likewise.
15060         (librt_hidden_tls_proto): Likewise.
15061         (libdl_hidden_tls_proto): Likewise.
15062         (libnss_files_hidden_tls_proto): Likewise.
15063         (libnsl_hidden_tls_proto): Likewise.
15064         (libnss_nisplus_hidden_tls_proto): Likewise.
15065         (libutil_hidden_tls_proto): Likewise.
15066
15067 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
15068
15069         [BZ #10253]
15070         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15071         (decompose_rpath): Defer expansion to fillin_rpath.
15072         (_dl_init_paths): Pass linkmap to fillin_rpath.
15073
15074 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15075
15076         * benchtests/Makefile: Add strsep.
15077         * benchtests/bench-strsep.c: New file: strsep benchtest.
15078         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15079
15080 2013-11-18  Andreas Schwab  <schwab@suse.de>
15081
15082         * locale/programs/locale.c (show_info) [case byte]: Check for
15083         '\377' instead of '\177'.
15084         * locale/C-monetary.c (not_available): Always use "\377".
15085         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15086         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
15087         detect unavailable sign_posn locale elements.
15088         * locale/localeconv.c (__localeconv): For grouping and
15089         mon_grouping handle "\177" and "\377" like no grouping.
15090         (INT_ELEM): New macro.  Use it to set all numeric members.
15091         * locale/programs/ld-monetary.c (monetary_read)
15092         <tok_mon_grouping>: Normalize single -1 to the empty string.
15093         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15094         Likewise.
15095
15096 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15097
15098         [BZ #16055]
15099         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15100         when we match (nil).
15101         * stdio-common/tst-sscanf.c (struct test): Add testcase.
15102
15103 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
15104
15105         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15106         (NO_TEST_INLINE): Update value.
15107         (ERRNO_UNCHANGED): Likewise.
15108         (ERRNO_EDOM): Likewise.
15109         (ERRNO_ERANGE): Likewise.
15110         (IGNORE_RESULT): Likewise.
15111         (check_float_internal): Check signs of NaN results if
15112         TEST_NAN_SIGN used.
15113         (check_complex): Pass TEST_NAN_SIGN flag through to second
15114         check_float_internal call.
15115         (copysign_test_data): Add tests with quiet NaNs as second
15116         argument.  Use TEST_NAN_SIGN.
15117         (fabs_test_data): Add test of negative quiet NaN argument.  Use
15118         TEST_NAN_SIGN.
15119         (signbit_test_data): Add tests of quiet NaN argument.
15120         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15121
15122         * math/gen-libm-test.pl (show_exceptions): Take extra argument
15123         $ignore_result.
15124         (parse_args): Handle function results specified as IGNORE.
15125         * math/libm-test.inc (IGNORE_RESULT): New macro.
15126         (check_float_internal): Do not check numerical result if flag
15127         IGNORE_RESULT set.
15128         (check_complex): Pass through IGNORE_RESULT to second
15129         check_float_internal call.
15130         (check_int): Do not check numerical result if flag IGNORE_RESULT
15131         set.
15132         (check_long): Likewise.
15133         (check_bool): Likewise.
15134         (check_longlong): Likewise.
15135         (lrint_test_data): Add tests of infinite and NaN arguments.
15136         (lrint_tonearest_test_data): Likewise.
15137         (lrint_towardzero_test_data): Likewise.
15138         (lrint_downward_test_data): Likewise.
15139         (lrint_upward_test_data): Likewise.
15140         (llrint_test_data): Likewise.
15141         (llrint_tonearest_test_data): Likewise.
15142         (llrint_towardzero_test_data): Likewise.
15143         (llrint_downward_test_data): Likewise.
15144         (llrint_upward_test_data): Likewise.
15145         (lround_test_data): Likewise.
15146         (llround_test_data): Likewise.
15147
15148         * math/libm-test.inc (NO_TEST_INLINE): New macro.
15149         (ERRNO_UNCHANGED): Update value.
15150         (ERRNO_EDOM): Likewise.
15151         (ERRNO_ERANGE): Likewise.
15152         (NO_TEST_INLINE_FLOAT): New macro.
15153         (NO_TEST_INLINE_DOUBLE): Likewise.
15154         (enable_test): New function.
15155         (RUN_TEST_f_f): Check enable_test before running test.
15156         (RUN_TEST_2_f): Likewise.
15157         (RUN_TEST_fff_f): Likewise.
15158         (RUN_TEST_c_f): Likewise.
15159         (RUN_TEST_f_f1): Likewise.
15160         (RUN_TEST_fF_f1): Likewise.
15161         (RUN_TEST_fI_f1): Likewise.
15162         (RUN_TEST_ffI_f1): Likewise.
15163         (RUN_TEST_c_c): Likewise.
15164         (RUN_TEST_cc_c): Likewise.
15165         (RUN_TEST_f_i): Likewise.
15166         (RUN_TEST_f_i_tg): Likewise.
15167         (RUN_TEST_ff_i_tg): Likewise.
15168         (RUN_TEST_f_b): Likewise.
15169         (RUN_TEST_f_b_tg): Likewise.
15170         (RUN_TEST_f_l): Likewise.
15171         (RUN_TEST_f_L): Likewise.
15172         (RUN_TEST_fFF_11): Likewise.
15173         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15174         conditionals.
15175         (cosh_test_data): Likewise.
15176         (exp_test_data): Likewise.
15177         (expm1_test_data): Likewise.
15178         (hypot_test_data): Likewise.
15179         (pow_test_data): Likewise.
15180         (sinh_test_data): Likewise.
15181         (tanh_test_data): Likewise.
15182         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15183         flags argument.
15184
15185         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15186         tests with quiet NaN input and output.
15187         (acosh_test_data): Likewise.
15188         (asin_test_data): Likewise.
15189         (asinh_test_data): Likewise.
15190         (atan_test_data): Likewise.
15191         (atanh_test_data): Likewise.
15192         (atan2_test_data): Likewise.
15193         (cbrt_test_data): Likewise.
15194         (cos_test_data): Likewise.
15195         (cosh_test_data): Likewise.
15196         (erf_test_data): Likewise.
15197         (erfc_test_data): Likewise.
15198         (exp_test_data): Likewise.
15199         (exp10_test_data): Likewise.
15200         (exp2_test_data): Likewise.
15201         (expm1_test_data): Likewise.
15202         (hypot_test_data): Likewise.
15203         (j0_test_data): Likewise.
15204         (j1_test_data): Likewise.
15205         (jn_test_data): Likewise.
15206         (lgamma_test_data): Likewise.
15207         (log_test_data): Likewise.
15208         (log10_test_data): Likewise.
15209         (log1p_test_data): Likewise.
15210         (log2_test_data): Likewise.
15211         (pow_test_data): Likewise.
15212         (scalb_test_data): Likewise.
15213         (sin_test_data): Likewise.
15214         (sincos_test_data): Likewise.
15215         (sinh_test_data): Likewise.
15216         (tan_test_data): Likewise.
15217         (tanh_test_data): Likewise.
15218         (tgamma_test_data): Likewise.
15219         (y0_test_data): Likewise.
15220         (y1_test_data): Likewise.
15221         (yn_test_data): Likewise.
15222
15223         [BZ #16167]
15224         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15225         argument being NaN and avoid computations with second argument in
15226         that case.
15227         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15228         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15229         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15230
15231 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
15232
15233         * locale/iso-639.def: Add Chitwani Tharu (the).
15234
15235 2013-11-14  Andreas Schwab  <schwab@suse.de>
15236
15237         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15238         word instead of empty string.
15239
15240 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15241
15242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15243         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15245         (__fe_nomask_env): Likewise.
15246
15247 2013-11-13  Steve Ellcey  <sellcey@mips.com>
15248
15249         * benchtests/bench-timing.h: Include time.h.
15250
15251 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
15252
15253         [BZ #15997]
15254         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15255         to 3.4.0 for x32.
15256         * sysdeps/unix/sysv/linux/configure: Regenerated.
15257
15258 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
15259
15260         [BZ #16151]
15261         * stdlib/strtod_l.c (round_and_return): Do not consider
15262         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15263         exponent one less than half the least subnormal exponent.
15264         * stdlib/test-strtod-round-data: Add more tests.
15265         * stdlib/tst-strtod-round.c (tests): Regenerated.
15266
15267 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15268
15269         [BZ #14143]
15270         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15271         (__fe_mask_env): Likewise.
15272         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15273         libm_hidden_proto and add function prototype.
15274         (__fe_mask_env): Add function prototype.
15275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15276         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15278         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15280         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15281
15282 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15283
15284         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15285         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15286
15287 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15288
15289         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15290         of htab_find_slot().
15291
15292 2013-11-11  David S. Miller  <davem@davemloft.net>
15293
15294         [BZ #16150]
15295         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15296         symbol in the non-vis3 case in static builds.
15297         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15298         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15299         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15300         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15301
15302 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
15303
15304         [BZ #387]
15305         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15306         it is empty.
15307
15308 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15309
15310         * benchtests/Makefile: Add bench-strtod.
15311         * benchtests/bench-strtod.c: New file: strtod benchtest
15312
15313 2013-11-11  Andreas Schwab  <schwab@suse.de>
15314
15315         [BZ #16153]
15316         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15317         terminating NUL in key length.
15318
15319 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15320
15321         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15322         Add artificial ODP entry for vDSO symbol for PPC64.
15323         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15324         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15325
15326 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15327
15328         [BZ #15374]
15329         * nss/getent.c (services_keys): Recognize services starting with digit.
15330
15331 2013-11-06  David S. Miller  <davem@davemloft.net>
15332
15333         [BZ #15985]
15334         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15335         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15336
15337 2013-11-06  Will Newton  <will.newton@linaro.org>
15338
15339         * manual/memory.texi (Malloc Examples): Remove register
15340         keyword from examples.
15341
15342 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
15343
15344         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15345
15346 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
15347
15348         [BZ #6981]
15349         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15350         depending on [__GCC_IEC_559 > 0].
15351         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15352         depending on [__GCC_IEC_559_COMPLEX > 0].
15353
15354 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
15355
15356         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15357         to iso-639.def.
15358
15359 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
15360
15361         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15362
15363 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
15364
15365         [BZ #16112]
15366         * malloc/malloc (malloc_info): Do not handle first bin as
15367         special case.
15368
15369 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
15370
15371         * locale/iso-639.def: Add Central Nahuatl (nhn).
15372
15373 2013-11-01  Bruno Haible  <bruno@clisp.org>
15374
15375         [BZ #7003]
15376         * manual/math.texi (BSD Random): Specify range upper bound as
15377         in POSIX.
15378
15379 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
15380
15381         * locale/iso-639.def: Add Meadow Mari (mhr).
15382
15383 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
15384
15385         [BZ #14752], [BZ #15763]
15386         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15387         Validate name.
15388         * rt/tst_shm.c: Add test for escaping directory.
15389
15390 2013-10-31  Andreas Schwab  <schwab@suse.de>
15391
15392         [BZ #15917]
15393         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15394         followed by 'x' as part of digit sequence.
15395         * stdio-common/tst-sscanf.c (double_tests2): New tests.
15396
15397 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15398
15399         [BZ #16037]
15400         * configure.ac: allow GNU Make 4.0 and greater.
15401         * configure: Regenerated.
15402
15403 2013-10-30  Will Newton  <will.newton@linaro.org>
15404
15405         [BZ #16038]
15406         * malloc/hooks.c (memalign_check): Limit alignment to the
15407         maximum representable power of two.
15408         * malloc/malloc.c (__libc_memalign): Likewise.
15409         * malloc/tst-memalign.c (do_test): Add test for very
15410         large alignment values.
15411         * malloc/tst-posix_memalign.c (do_test): Likewise.
15412
15413 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15414
15415         [BZ #11087]
15416         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15417         (munmap_chunk): Likewise.
15418         (mremap_chunk): Likewise.
15419
15420 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15421
15422         [BZ #15799]
15423         * stdlib/div.c (div): Remove obsolete code.
15424         * stdlib/ldiv.c (ldiv): Likewise.
15425         * stdlib/lldiv.c (lldiv): Likewise.
15426
15427 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15428
15429         [BZ #16071]
15430         * nss/nss_files/files-XXX.c (get_contents_ret): New
15431         enumerator.
15432         (get_contents): New function.
15433         (internal_getent): Use it.  Expand size of LINEBUFLEN.
15434
15435 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
15436
15437         * configure.in: Moved to ...
15438         * configure.ac: ... here. Change reference to configure.in
15439         to configure.ac.
15440         * sysdeps/arm/preconfigure.ac: ... here.
15441         configure.in to configure.ac.
15442         * sysdeps/gnu/configure.in: Moved to ...
15443         * sysdeps/gnu/configure.ac: ... here.
15444         * sysdeps/i386/configure.in: Moved to ...
15445         * sysdeps/i386/configure.ac: ... here.
15446         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15447         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15448         * sysdeps/mach/configure.in: Moved to ...
15449         * sysdeps/mach/configure.ac: ... here.
15450         * sysdeps/mach/hurd/configure.in: Moved to ...
15451         * sysdeps/mach/hurd/configure.ac: ... here.
15452         * sysdeps/powerpc/configure.in: Moved to ...
15453         * sysdeps/powerpc/configure.ac: ... here.
15454         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15455         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15456         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15457         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15458         * sysdeps/s390/s390-32/configure.in: Moved to ...
15459         * sysdeps/s390/s390-32/configure.ac: ... here.
15460         * sysdeps/s390/s390-64/configure.in: Moved to ...
15461         * sysdeps/s390/s390-64/configure.ac: ... here.
15462         * sysdeps/sh/configure.in: Moved to ...
15463         * sysdeps/sh/configure.ac: ... here.
15464         * sysdeps/sparc/configure.in: Moved to ...
15465         * sysdeps/sparc/configure.ac: ... here.
15466         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15467         * sysdeps/unix/sysv/linux/configure.ac: ... here.
15468         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15469         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15470         * sysdeps/x86_64/configure.in: Moved to ...
15471         * sysdeps/x86_64/configure.ac: ... here.
15472         * sysdeps/x86_64/preconfigure.in: Moved to ...
15473         * sysdeps/x86_64/preconfigure.ac: ... here.
15474         * aclocal.m4: Change reference to configure.in to configure.ac.
15475         * config.h.in: Likewise.
15476         * manual/install.texi: Likewise.
15477         * manual/maint.texi: Likewise.
15478         * Makefile: Likewise.
15479         * malloc/Makefile: Likewise.
15480         * nscd/Makefile: Likewise.
15481         * Makeconfig: Change reference to configure.in and
15482         preconfigure.in to configure.ac and preconfigure.ac
15483         respectively.
15484         * INSTALL: Regenerated.
15485         * configure: Likewise.
15486         * sysdeps/gnu/configure: Likewise.
15487         * sysdeps/i386/configure: Likewise.
15488         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15489         * sysdeps/mach/configure: Likewise.
15490         * sysdeps/mach/hurd/configure: Likewise.
15491         * sysdeps/powerpc/configure: Likewise.
15492         * sysdeps/powerpc/powerpc32/configure: Likewise.
15493         * sysdeps/powerpc/powerpc64/configure: Likewise.
15494         * sysdeps/s390/s390-32/configure: Likewise.
15495         * sysdeps/s390/s390-64/configure: Likewise.
15496         * sysdeps/sh/configure: Likewise.
15497         * sysdeps/sparc/configure: Likewise.
15498         * sysdeps/unix/sysv/linux/configure: Likewise.
15499         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15500         * sysdeps/x86_64/configure: Likewise.
15501         * sysdeps/x86_64/preconfigure: Likewise.
15502
15503 2013-10-29  Andreas Schwab  <schwab@suse.de>
15504
15505         * stdio-common/Makefile (tst-swscanf-ENV): Define.
15506
15507 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15508
15509         * benchtests/pow-inputs: Add new inputs.
15510
15511         * benchtests/exp-inputs: Add new inputs.
15512
15513         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15514         conditional check for return value.
15515         (__cos32): Likewise.
15516
15517 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15518
15519         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15520         to provide a boost for large inputs with word alignment.
15521         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15522         implementation based on optimized PPC64 strcpy.
15523         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15524         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15525         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15526         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15527
15528 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15529
15530         [BZ #2801]
15531         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15532
15533 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15534
15535         [BZ #14876]
15536         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15537         * time/tst-strptime.c (day_tests): Add testcase.
15538
15539 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15540
15541         [BZ #14029]
15542         * manual/pattern.texi: Acknowledge that fnmatch can fail.
15543
15544 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
15545
15546         [BZ #16074]
15547         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15548         MAP_FAILED on error.
15549
15550 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15551
15552         [BZ #16072]
15553         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15554         heap for large requests.
15555
15556 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
15557
15558         [BZ #9954]
15559         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15560         result if the result has no associated interface.
15561         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15562         interface for all 127.X.Y.Z addresses.
15563
15564 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
15565
15566         * locale/iso-639.def: Add Ligurian (lij)
15567
15568 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
15569
15570         [BZ #15825]
15571         * sunrpc/rpc_main.c: Document rpcgen -5.
15572
15573 2013-10-19  Michael Stahl  <mstahl@redhat.com>
15574
15575         * elf/rtld.c (do_preload): Print the reason why preloading failed.
15576
15577 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15578
15579         [BZ #10278]
15580         * posix/glob.c: Match only directories when trailing slash is present.
15581         * posix/tst-gnuglob.c (my_opendir): Do not open files.
15582         (main): Add testcase.
15583
15584 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15585
15586         [BZ #15670]
15587         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15588
15589 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
15590
15591         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15592         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15593         AUTH_DES and cindex for FIPS 140-2.
15594         (DES Encryption): Add cindex FIPS 46-3.
15595
15596         * locale/locarchive.h (struct locarhandle): Add fname.
15597         * locale/programs/localedef.c (main): Pass ARGV[remaining]
15598         if an optional argument was specified to --list-archive,
15599         otherwise NULL.
15600         * locale/programs/locarchive.c (show_archive_content): Take new
15601         argument fname and pass it via ah.fname to open_archive.
15602         * locale/programs/localedef.h: Update decl.
15603         (open_archive): If AH->fname is non-null, open that file
15604         rather than the default file name, and don't ignore ENOENT.
15605         (create_archive): Set AH.fname to NULL.
15606         (delete_locales_from_archive): Likewise.
15607         (add_locales_to_archive): Likewise.
15608         * locale/programs/locfile.c (write_all_categories): Likewise.
15609
15610 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
15611             Aldy Hernandez  <aldyh@redhat.com>
15612
15613         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15614         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15615         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15616         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15617         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15618         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15619         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15620         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15621         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15622         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15623         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15624         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15625         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15626         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15627         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15628         Likewise.
15629         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15630         Likewise.
15631         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15632         Likewise.
15633         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15634         Likewise.
15635         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15636         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15637         Likewise.
15638         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15639         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15640         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15641         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15642         Likewise.
15643         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15644         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15645         * sysdeps/powerpc/preconfigure: Likewise.
15646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15647         Likewise.
15648         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15649         Replace contents of file by #include of <fenv_libc.h>.
15650         * sysdeps/powerpc/soft-fp/sfp-machine.h
15651         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15652         and <sys/prctl.h>.
15653         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15654         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15655         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15656         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15657         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15658         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15659         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15660         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15661         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15662         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15663         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15664         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15666         Allow copysignl PLT reference to be missing.
15667
15668 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
15669             Joseph Myers  <joseph@codesourcery.com
15670
15671         [BZ #15948]
15672         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15673         single character.
15674         (add_to_tablewc): Assert sequence of wide characters is nonempty.
15675
15676 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15677
15678         * elf/tst-tls-dlinfo.c: Don't include tls.h.
15679         * elf/tst-tls1.c: Likewise.
15680         * elf/tst-tls10.h: Likewise.
15681         * elf/tst-tls14.c: Likewise.
15682         * elf/tst-tls2.c: Likewise.
15683         * elf/tst-tls3.c: Likewise.
15684         * elf/tst-tls4.c: Likewise.
15685         * elf/tst-tls5.c: Likewise.
15686         * elf/tst-tls6.c: Likewise.
15687         * elf/tst-tls7.c: Likewise.
15688         * elf/tst-tls8.c: Likewise.
15689         * elf/tst-tls9.c: Likewise.
15690         * elf/tst-tlsmod1.c: Likewise.
15691         * elf/tst-tlsmod13.c: Likewise.
15692         * elf/tst-tlsmod13a.c: Likewise.
15693         * elf/tst-tlsmod14a.c: Likewise.
15694         * elf/tst-tlsmod16a.c: Likewise.
15695         * elf/tst-tlsmod16b.c: Likewise.
15696         * elf/tst-tlsmod2.c: Likewise.
15697         * elf/tst-tlsmod3.c: Likewise.
15698         * elf/tst-tlsmod4.c: Likewise.
15699         * elf/tst-tlsmod5.c: Likewise.
15700         * elf/tst-tlsmod6.c: Likewise.
15701
15702 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
15703
15704         [BZ #12486]
15705         * malloc/malloc.c: remove checks for statistics.
15706
15707 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15708
15709         [BZ #15277]
15710         * inet/inet_net.c (inet_network): Detect additional invalid strings.
15711         * inet/tst-network.c: Add testcase.
15712
15713 2013-10-17  Andreas Schwab  <schwab@suse.de>
15714
15715         [BZ #15218]
15716         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15717         to determine canonical name.
15718
15719 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15720
15721         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15722         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15723         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15724         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15725         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15726         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15727         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15728         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15729         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15730         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15731         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15732         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15733         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15734         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15735         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15736         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15737         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15738         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15739         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15740         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15741         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15742         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15743         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15744         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15745         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15746         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15747         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15748         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15749         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15750         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15751         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15752         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15753         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15754         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15755         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15756         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15757         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15758         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15759         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15760         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15761         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15762         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15763         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15764         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15765         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15766         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15767         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15768         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15769         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15770         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15771         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15772         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15773         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15774         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15775         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15776         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15777         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15778         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15779
15780 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
15781
15782         [BZ #16041]
15783         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15784         make result into a quiet NaN.
15785
15786 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
15787
15788         * soft-fp/adddf3.c: Fix horizontal whitespace.
15789         * soft-fp/addsf3.c: Likewise.
15790         * soft-fp/addtf3.c: Likewise.
15791         * soft-fp/divdf3.c: Likewise.
15792         * soft-fp/divsf3.c: Likewise.
15793         * soft-fp/divtf3.c: Likewise.
15794         * soft-fp/double.h: Likewise.
15795         * soft-fp/eqdf2.c: Likewise.
15796         * soft-fp/eqsf2.c: Likewise.
15797         * soft-fp/eqtf2.c: Likewise.
15798         * soft-fp/extenddftf2.c: Likewise.
15799         * soft-fp/extended.h: Likewise.
15800         * soft-fp/extendsfdf2.c: Likewise.
15801         * soft-fp/extendsftf2.c: Likewise.
15802         * soft-fp/extendxftf2.c: Likewise.
15803         * soft-fp/fixdfdi.c: Likewise.
15804         * soft-fp/fixdfsi.c: Likewise.
15805         * soft-fp/fixdfti.c: Likewise.
15806         * soft-fp/fixsfdi.c: Likewise.
15807         * soft-fp/fixsfsi.c: Likewise.
15808         * soft-fp/fixsfti.c: Likewise.
15809         * soft-fp/fixtfdi.c: Likewise.
15810         * soft-fp/fixtfsi.c: Likewise.
15811         * soft-fp/fixtfti.c: Likewise.
15812         * soft-fp/fixunsdfdi.c: Likewise.
15813         * soft-fp/fixunsdfsi.c: Likewise.
15814         * soft-fp/fixunsdfti.c: Likewise.
15815         * soft-fp/fixunssfdi.c: Likewise.
15816         * soft-fp/fixunssfsi.c: Likewise.
15817         * soft-fp/fixunssfti.c: Likewise.
15818         * soft-fp/fixunstfdi.c: Likewise.
15819         * soft-fp/fixunstfsi.c: Likewise.
15820         * soft-fp/fixunstfti.c: Likewise.
15821         * soft-fp/floatdidf.c: Likewise.
15822         * soft-fp/floatdisf.c: Likewise.
15823         * soft-fp/floatditf.c: Likewise.
15824         * soft-fp/floatsidf.c: Likewise.
15825         * soft-fp/floatsisf.c: Likewise.
15826         * soft-fp/floatsitf.c: Likewise.
15827         * soft-fp/floattidf.c: Likewise.
15828         * soft-fp/floattisf.c: Likewise.
15829         * soft-fp/floattitf.c: Likewise.
15830         * soft-fp/floatundidf.c: Likewise.
15831         * soft-fp/floatundisf.c: Likewise.
15832         * soft-fp/floatunditf.c: Likewise.
15833         * soft-fp/floatunsidf.c: Likewise.
15834         * soft-fp/floatunsisf.c: Likewise.
15835         * soft-fp/floatunsitf.c: Likewise.
15836         * soft-fp/floatuntidf.c: Likewise.
15837         * soft-fp/floatuntisf.c: Likewise.
15838         * soft-fp/floatuntitf.c: Likewise.
15839         * soft-fp/fmadf4.c: Likewise.
15840         * soft-fp/fmasf4.c: Likewise.
15841         * soft-fp/fmatf4.c: Likewise.
15842         * soft-fp/gedf2.c: Likewise.
15843         * soft-fp/gesf2.c: Likewise.
15844         * soft-fp/getf2.c: Likewise.
15845         * soft-fp/ledf2.c: Likewise.
15846         * soft-fp/lesf2.c: Likewise.
15847         * soft-fp/letf2.c: Likewise.
15848         * soft-fp/muldf3.c: Likewise.
15849         * soft-fp/mulsf3.c: Likewise.
15850         * soft-fp/multf3.c: Likewise.
15851         * soft-fp/negdf2.c: Likewise.
15852         * soft-fp/negsf2.c: Likewise.
15853         * soft-fp/negtf2.c: Likewise.
15854         * soft-fp/op-1.h: Likewise.
15855         * soft-fp/op-2.h: Likewise.
15856         * soft-fp/op-4.h: Likewise.
15857         * soft-fp/op-8.h: Likewise.
15858         * soft-fp/op-common.h: Likewise.
15859         * soft-fp/quad.h: Likewise.
15860         * soft-fp/single.h: Likewise.
15861         * soft-fp/soft-fp.h: Likewise.
15862         * soft-fp/sqrtdf2.c: Likewise.
15863         * soft-fp/sqrtsf2.c: Likewise.
15864         * soft-fp/sqrttf2.c: Likewise.
15865         * soft-fp/subdf3.c: Likewise.
15866         * soft-fp/subsf3.c: Likewise.
15867         * soft-fp/subtf3.c: Likewise.
15868         * soft-fp/truncdfsf2.c: Likewise.
15869         * soft-fp/trunctfdf2.c: Likewise.
15870         * soft-fp/trunctfsf2.c: Likewise.
15871         * soft-fp/trunctfxf2.c: Likewise.
15872         * soft-fp/unorddf2.c: Likewise.
15873         * soft-fp/unordsf2.c: Likewise.
15874         * soft-fp/unordtf2.c: Likewise.
15875
15876 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
15877
15878         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15879         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15880
15881 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
15882
15883         * elf/dl-libc.c: Clear initfini list after freeing.
15884
15885 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
15886
15887         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15888         * soft-fp/addsf3.c: Likewise.
15889         * soft-fp/addtf3.c: Likewise.
15890         * soft-fp/divdf3.c: Likewise.
15891         * soft-fp/divsf3.c: Likewise.
15892         * soft-fp/divtf3.c: Likewise.
15893         * soft-fp/double.h: Likewise.
15894         * soft-fp/eqdf2.c: Likewise.
15895         * soft-fp/eqsf2.c: Likewise.
15896         * soft-fp/eqtf2.c: Likewise.
15897         * soft-fp/extenddftf2.c: Likewise.
15898         * soft-fp/extended.h: Likewise.
15899         * soft-fp/extendsfdf2.c: Likewise.
15900         * soft-fp/extendsftf2.c: Likewise.
15901         * soft-fp/extendxftf2.c: Likewise.
15902         * soft-fp/fixdfdi.c: Likewise.
15903         * soft-fp/fixdfsi.c: Likewise.
15904         * soft-fp/fixdfti.c: Likewise.
15905         * soft-fp/fixsfdi.c: Likewise.
15906         * soft-fp/fixsfsi.c: Likewise.
15907         * soft-fp/fixsfti.c: Likewise.
15908         * soft-fp/fixtfdi.c: Likewise.
15909         * soft-fp/fixtfsi.c: Likewise.
15910         * soft-fp/fixtfti.c: Likewise.
15911         * soft-fp/fixunsdfdi.c: Likewise.
15912         * soft-fp/fixunsdfsi.c: Likewise.
15913         * soft-fp/fixunsdfti.c: Likewise.
15914         * soft-fp/fixunssfdi.c: Likewise.
15915         * soft-fp/fixunssfsi.c: Likewise.
15916         * soft-fp/fixunssfti.c: Likewise.
15917         * soft-fp/fixunstfdi.c: Likewise.
15918         * soft-fp/fixunstfsi.c: Likewise.
15919         * soft-fp/fixunstfti.c: Likewise.
15920         * soft-fp/floatdidf.c: Likewise.
15921         * soft-fp/floatdisf.c: Likewise.
15922         * soft-fp/floatditf.c: Likewise.
15923         * soft-fp/floatsidf.c: Likewise.
15924         * soft-fp/floatsisf.c: Likewise.
15925         * soft-fp/floatsitf.c: Likewise.
15926         * soft-fp/floattidf.c: Likewise.
15927         * soft-fp/floattisf.c: Likewise.
15928         * soft-fp/floattitf.c: Likewise.
15929         * soft-fp/floatundidf.c: Likewise.
15930         * soft-fp/floatundisf.c: Likewise.
15931         * soft-fp/floatunsidf.c: Likewise.
15932         * soft-fp/floatunsisf.c: Likewise.
15933         * soft-fp/floatuntidf.c: Likewise.
15934         * soft-fp/floatuntisf.c: Likewise.
15935         * soft-fp/floatuntitf.c: Likewise.
15936         * soft-fp/fmadf4.c: Likewise.
15937         * soft-fp/fmasf4.c: Likewise.
15938         * soft-fp/fmatf4.c: Likewise.
15939         * soft-fp/gedf2.c: Likewise.
15940         * soft-fp/gesf2.c: Likewise.
15941         * soft-fp/getf2.c: Likewise.
15942         * soft-fp/ledf2.c: Likewise.
15943         * soft-fp/lesf2.c: Likewise.
15944         * soft-fp/letf2.c: Likewise.
15945         * soft-fp/muldf3.c: Likewise.
15946         * soft-fp/mulsf3.c: Likewise.
15947         * soft-fp/multf3.c: Likewise.
15948         * soft-fp/negdf2.c: Likewise.
15949         * soft-fp/negsf2.c: Likewise.
15950         * soft-fp/negtf2.c: Likewise.
15951         * soft-fp/op-1.h: Likewise.
15952         * soft-fp/op-2.h: Likewise.
15953         * soft-fp/op-4.h: Likewise.
15954         * soft-fp/op-8.h: Likewise.
15955         * soft-fp/op-common.h: Likewise.
15956         * soft-fp/quad.h: Likewise.
15957         * soft-fp/single.h: Likewise.
15958         * soft-fp/soft-fp.h: Likewise.
15959         * soft-fp/sqrtdf2.c: Likewise.
15960         * soft-fp/sqrtsf2.c: Likewise.
15961         * soft-fp/sqrttf2.c: Likewise.
15962         * soft-fp/subdf3.c: Likewise.
15963         * soft-fp/subsf3.c: Likewise.
15964         * soft-fp/subtf3.c: Likewise.
15965         * soft-fp/truncdfsf2.c: Likewise.
15966         * soft-fp/trunctfdf2.c: Likewise.
15967         * soft-fp/trunctfsf2.c: Likewise.
15968         * soft-fp/trunctfxf2.c: Likewise.
15969         * soft-fp/unorddf2.c: Likewise.
15970         * soft-fp/unordsf2.c: Likewise.
15971         * soft-fp/unordtf2.c: Likewise.
15972
15973 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
15974
15975         [BZ #15672]
15976         * misc/error.c (error_tail): Fix possible buffer overflow.
15977
15978 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
15979
15980         [BZ #13028]
15981         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15982         address.
15983
15984 2013-10-14  P. J. McDermott  <pj@pehjota.net>
15985
15986         [BZ #832]
15987         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
15988         testing pipefail option.
15989
15990 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15991
15992         * soft-fp/double.h: Indent preprocessor directives inside #if.
15993         * soft-fp/extended.h: Likewise.
15994         * soft-fp/op-2.h: Likewise.
15995         * soft-fp/op-4.h: Likewise.
15996         * soft-fp/op-common.h: Likewise.
15997         * soft-fp/quad.h: Likewise.
15998         * soft-fp/single.h: Likewise.
15999         * soft-fp/soft-fp.h: Likewise.
16000
16001 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
16002
16003         * iconv/iconv_prog.c: Fix typos.
16004         * stdio-common/psiginfo-data.h: Likewise.
16005
16006 2013-10-12   Reuben Thomas <rrt@sc3d.org>
16007
16008         [BZ #15764]
16009         * locale/setlocale.c: Fix typo.
16010
16011 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16012
16013         [BZ #16036]
16014         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16015         signaling NaN arguments.
16016         * soft-fp/unordsf2.c (__unordsf2): Likewise.
16017         * soft-fp/unordtf2.c (__unordtf2): Likewise.
16018
16019         [BZ #14910]
16020         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16021         unordered operands.
16022         * soft-fp/gesf2.c (__gesf2): Likewise.
16023         * soft-fp/getf2.c (__getf2): Likewise.
16024         * soft-fp/ledf2.c (__ledf2): Likewise.
16025         * soft-fp/lesf2.c (__lesf2): Likewise.
16026         * soft-fp/letf2.c (__letf2): Likewise.
16027
16028         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16029         * soft-fp/eqsf2.c (__eqsf2): Likewise.
16030         * soft-fp/eqtf2.c (__eqtf2): Likewise.
16031         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16032         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16033         * soft-fp/fixdfti.c (__fixdfti): Likewise.
16034         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16035         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16036         * soft-fp/fixsfti.c (__fixsfti): Likewise.
16037         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16038         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16039         * soft-fp/fixtfti.c (__fixtfti): Likewise.
16040         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16041         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16042         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16043         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16044         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16045         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16046         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16047         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16048         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16049         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16050         * soft-fp/floatdisf.c (__floatdisf): Likewise.
16051         * soft-fp/floatsisf.c (__floatsisf): Likewise.
16052         * soft-fp/floattidf.c (__floattidf): Likewise.
16053         * soft-fp/floattisf.c (__floattisf): Likewise.
16054         * soft-fp/floattitf.c (__floattitf): Likewise.
16055         * soft-fp/floatundidf.c (__floatundidf): Likewise.
16056         * soft-fp/floatundisf.c (__floatundisf): Likewise.
16057         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16058         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16059         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16060         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16061         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16062         * soft-fp/gesf2.c (__gesf2): Likewise.
16063         * soft-fp/getf2.c (__getf2): Likewise.
16064         * soft-fp/ledf2.c (__ledf2): Likewise.
16065         * soft-fp/lesf2.c (__lesf2): Likewise.
16066         * soft-fp/letf2.c (__letf2): Likewise.
16067
16068         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16069         Undefine and redefine.
16070         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16071         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16072         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16073         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16074         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16075         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16076         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16077         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16078         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16079         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16080         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16081         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16082         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16083         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16084         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16085
16086         [BZ #16032]
16087         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16088         without decrementing exponent if mantissa >= that for the
16089         denominator, not >.
16090         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16091         denominator, not >.  Decrement exponent in < case instead of
16092         incrementing in >= case.
16093         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16094         without decrementing exponent if mantissa >= that for the
16095         denominator, not >.
16096
16097         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16098         computing saturated result for unsigned overflow.
16099
16100 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16101             Jeff Law  <law@redhat.com>
16102
16103         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16104         (atan2Mp): Add systemtap probe marker.
16105         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16106         (__ieee754_log): Add systemtap probe marker.
16107         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16108         (atanMp): Add systemtap probe marker.
16109         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16110         (tanMp): Add systemtap probe marker.
16111         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16112         (__slowexp): Add systemtap probe marker.
16113         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16114         (__slowpow): Add systemtap probe marker.
16115         * manual/probes.texi: Document probes.
16116
16117 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
16118
16119         [BZ #15362]
16120         * libio/fileops.c (_IO_new_file_write): Return count of bytes
16121         written.
16122         (_IO_new_file_xsputn): Don't return EOF if nothing has been
16123         written.
16124         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16125         written to buffer but not flushed.
16126         * libio/iofwrite_u.c:  Likewise.
16127         * libio/iopadn.c:  Return bytes returned even if EOF was
16128         encountered.
16129         * libio/iowpadn.c:  Likewise.
16130         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16131         if _IO_padn does not write the whole buffer.
16132         [!COMPILE_WPRINTF] (PAD): Likewise.
16133
16134 2013-10-10  David S. Miller  <davem@davemloft.net>
16135
16136         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16137         directory block.
16138
16139 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16140
16141         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
16142         instead of FSF address.
16143         * soft-fp/fixdfti.c: Likewise.
16144         * soft-fp/fixsfti.c: Likewise.
16145         * soft-fp/fixtfti.c: Likewise.
16146         * soft-fp/fixunsdfti.c: Likewise.
16147         * soft-fp/fixunssfti.c: Likewise.
16148         * soft-fp/fixunstfti.c: Likewise.
16149         * soft-fp/floattidf.c: Likewise.
16150         * soft-fp/floattisf.c: Likewise.
16151         * soft-fp/floattitf.c: Likewise.
16152         * soft-fp/floatuntidf.c: Likewise.
16153         * soft-fp/floatuntisf.c: Likewise.
16154         * soft-fp/floatuntitf.c: Likewise.
16155         * soft-fp/trunctfxf2.c: Likewise.
16156
16157         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
16158         * soft-fp/fixdfti.c: Likewise.
16159         * soft-fp/fixsfti.c: Likewise.
16160         * soft-fp/fixtfti.c: Likewise.
16161         * soft-fp/fixunsdfti.c: Likewise.
16162         * soft-fp/fixunssfti.c: Likewise.
16163         * soft-fp/fixunstfti.c: Likewise.
16164         * soft-fp/floattidf.c: Likewise.
16165         * soft-fp/floattisf.c: Likewise.
16166         * soft-fp/floattitf.c: Likewise.
16167         * soft-fp/floatuntidf.c: Likewise.
16168         * soft-fp/floatuntisf.c: Likewise.
16169         * soft-fp/floatuntitf.c: Likewise.
16170         * soft-fp/trunctfxf2.c: Likewise.
16171
16172 2013-10-10  David S. Miller  <davem@davemloft.net>
16173
16174         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16175
16176 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
16177
16178         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16179         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16180         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16181         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16182         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16183         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16184         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16185
16186         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16187         for NaNs before doing comparisons on argument.
16188         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16189         Likewise.
16190
16191 2013-10-10  Will Newton  <will.newton@linaro.org>
16192
16193         * malloc/hooks.c (memalign_check): Ensure the value of bytes
16194         passed to _int_memalign does not overflow.
16195
16196 2013-10-10  Torvald Riegel  <triegel@redhat.com>
16197
16198         * scripts/bench.pl: Add include-sources directive.
16199         * benchtests/README: Update documentation.
16200
16201 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16202
16203         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16204         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16205         instead of FP_INIT_ROUNDMODE.
16206         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16207         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16208
16209         [BZ #16034]
16210         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
16211         copy class of input value.
16212         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
16213         not handle exceptions.
16214         * soft-fp/negsf2.c (__negsf2): Likewise.
16215         * soft-fp/negtf2.c (__negtf2): Likewise.
16216         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16217
16218 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
16219
16220         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16221         semicolon.  From Linux kernel.
16222
16223 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
16224
16225         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16226
16227 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
16228
16229         [BZ #156]
16230         * manual/socket.texi: Added statement about buffer
16231         for gethostbyname2_r.
16232
16233 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
16234
16235         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16236         Use .p2align directive instead, throughout.
16237         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16238         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16239         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16240         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16241         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16242         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16243         * sysdeps/x86_64/strchr.S: Likewise.
16244         * sysdeps/x86_64/strrchr.S: Likewise.
16245
16246 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16247
16248         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16249
16250         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16251
16252         * sysdeps/generic/math_private.h (__mpsin1): Remove
16253         declaration.
16254         (__mpcos1): Likewise.
16255         (__mpsin): New argument __range_reduce.
16256         (__mpcos): Likewise.
16257         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16258         (slow): Use __mpsin and __mpcos.
16259         (slow1): Likewise.
16260         (slow2): Likewise.
16261         (sloww): Likewise.
16262         (sloww1): Likewise.
16263         (sloww2): Likewise.
16264         (bsloww): Likewise.
16265         (bsloww1): Likewise.
16266         (bsloww2): Likewise.
16267         (cslow2): Likewise.
16268         (csloww): Likewise.
16269         (csloww1): Likewise.
16270         (csloww2): Likewise.
16271         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16272         range_reduce.  Merge in __mpsin1.
16273         (__mpcos): Likewise.
16274         (__mpsin1): Remove.
16275         (__mpcos1): Likewise.
16276
16277 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
16278
16279         * locale/loadlocale.c (_nl_intern_locale_data): Use
16280         LOCFILE_ALIGNED_P.
16281         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16282         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16283         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16284         obstack data is appropriately aligned.
16285         (obstack_int32_grow_fast): Likewise.
16286         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16287         * locale/programs/locfile.c (add_locale_uint32): Likewise.
16288         (add_locale_uint32_array): Likewise.
16289
16290 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16291
16292         * benchtests/Makefile: Remove ARGLIST and RET variables.
16293         ($(objpfx)bench-%.c): Pass only function name to the script.
16294         * benchtests/README: Update documentation.
16295         * benchtests/acos-inputs: Add new directives.
16296         * benchtests/acosh-inputs: Likewise.
16297         * benchtests/asin-inputs: Likewise.
16298         * benchtests/asinh-inputs: Likewise.
16299         * benchtests/atan-inputs: Likewise.
16300         * benchtests/atanh-inputs: Likewise.
16301         * benchtests/cos-inputs: Likewise.
16302         * benchtests/cosh-inputs: Likewise.
16303         * benchtests/exp-inputs: Likewise.
16304         * benchtests/log-inputs: Likewise.
16305         * benchtests/pow-inputs: Likewise.
16306         * benchtests/rint-inputs: Likewise.
16307         * benchtests/sin-inputs: Likewise.
16308         * benchtests/sinh-inputs: Likewise.
16309         * benchtests/tan-inputs: Likewise.
16310         * benchtests/tanh-inputs: Likewise.
16311         * scripts/bench.pl: Add support for new directives.
16312
16313 2013-10-07  Alan Modra  <amodra@gmail.com>
16314
16315         * README: Fix careless merge.
16316
16317 2013-10-05  Alan Modra  <amodra@gmail.com>
16318
16319         * NEWS: Mention powerpc64le support and bugs fixed.
16320         * README: Both big-endian and little-endian powerpc64 supported.
16321
16322 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16323
16324         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16325         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16326         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16327         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16328
16329 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
16330
16331         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16332         match prototype.
16333
16334 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
16335
16336         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16337         Move -mhard-float appending from
16338         ports/sysdeps/powerpc/powerpc32/Makefile.
16339         [$(with-fp) = yes] (ASFLAGS): Likewise.
16340         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16341         * sysdeps/powerpc/nofpu: Move directory from
16342         ports/sysdeps/powerpc/nofpu.
16343         * sysdeps/powerpc/soft-fp: Move directory from
16344         ports/sysdeps/powerpc/soft-fp.
16345         * sysdeps/powerpc/powerpc32/405: Move directory from
16346         ports/sysdeps/powerpc/powerpc32/405.
16347         * sysdeps/powerpc/powerpc32/440: Move directory from
16348         ports/sysdeps/powerpc/powerpc32/440.
16349         * sysdeps/powerpc/powerpc32/464: Move directory from
16350         ports/sysdeps/powerpc/powerpc32/464.
16351         * sysdeps/powerpc/powerpc32/476: Move directory from
16352         ports/sysdeps/powerpc/powerpc32/476.
16353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16354         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16356         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16358         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16360         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16362         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16363         * README: Update for powerpc-*-linux-gnu software floating point
16364         support in libc.
16365
16366         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16367         case to powerpc/powerpc32*.
16368         * sysdeps/unix/sysv/linux/configure: Regenerated.
16369
16370         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16371         (_FPU_MASK_OM): Define as 0x04.
16372         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16373         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16374         0x00c10080.
16375         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16376         0x0000003c.
16377         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16378
16379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16380         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16381         getcontext_e500.
16382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16383         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16384         setcontext_e500.
16385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16386         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16387         and setcontext_e500.
16388
16389 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
16390
16391         * locale/iso-3166.def: Update iso-1366.def and related occurrences
16392
16393 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16394
16395         * manual/threads.texi (Default Thread Attributes): Fix typo.
16396
16397 2013-10-04  Will Newton  <will.newton@linaro.org>
16398
16399         * malloc/Makefile: Add tst-memalign.
16400         * malloc/tst-memalign.c: New file.
16401
16402         * malloc/tst-posix_memalign.c: Add comments.
16403         (do_test): Add comments and call free on all potentially
16404         allocated pointers. Add space after cast.
16405
16406         * malloc/tst-pvalloc.c: Add comments.
16407         (do_test): Add comments and call free on all potentially
16408         allocated pointers. Remove duplicate check for NULL pointer.
16409         Add space after cast.
16410
16411         * malloc/tst-valloc.c: Add comments.
16412         (do_test): Add comments and call free on all potentially
16413         allocated pointers. Remove duplicate check for NULL pointer.
16414         Add space after cast.
16415
16416 2013-10-04  Alan Modra  <amodra@gmail.com>
16417
16418         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16419         Use stdint types in rather than __attribute__((mode())).
16420         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16421
16422 2013-10-04  Alan Modra  <amodra@gmail.com>
16423
16424         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16425         Correct handling of unaligned relocs for little-endian.
16426         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16427
16428 2013-10-04  Alan Modra  <amodra@gmail.com>
16429
16430         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16431         * configure: Regenerate.
16432         * nptl/shlib-versions: Powerpc*le starts at 2.18.
16433         * shlib-versions: Likewise.
16434
16435 2013-10-04  Alan Modra  <amodra@gmail.com>
16436
16437         * string/tester.c (test_memrchr): Increment reported test cycle.
16438
16439 2013-10-04  Alan Modra  <amodra@gmail.com>
16440
16441         * string/test-memcpy.c (do_one_test): When reporting errors, print
16442         string address and don't overrun end of string.
16443
16444 2013-10-04  Alan Modra  <amodra@gmail.com>
16445
16446         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16447         insrdi.  Make better use of reg selection to speed exit slightly.
16448         Schedule entry path a little better.  Remove useless "are we done"
16449         checks on entry to main loop.  Handle wrapping around zero address.
16450         Correct main loop count.  Handle single left-over word from main
16451         loop inline rather than by using loop_small.  Remove extra word
16452         case in loop_small caused by wrong loop count.  Add little-endian
16453         support.
16454         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16455         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
16456         cache hint.
16457         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16458         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16459         support.  Avoid rlwimi.
16460         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16461
16462 2013-10-04  Alan Modra  <amodra@gmail.com>
16463
16464         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16465         insrdi.  Formatting.
16466         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16467         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16468         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16469         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16470         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16471         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16472
16473 2013-10-04  Alan Modra  <amodra@gmail.com>
16474
16475         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16476         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16477         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16478         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16479         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16480         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16481         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16482         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16483         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16484         use of regs.  Use power7 mtocrf.  Tidy function tails.
16485
16486 2013-10-04  Alan Modra  <amodra@gmail.com>
16487
16488         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16489         Formatting.  Consistently use rXXX register defines or rN defines.
16490         Use early exit labels that avoid restoring unused non-volatile regs.
16491         Make cr field use more consistent with rWORDn compares.  Rename
16492         regs used as shift registers for unaligned loop, using rN defines
16493         for short lifetime/multiple use regs.
16494         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16495         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
16496         addi 1,1,64 to pop stack frame.  Simplify return value code.
16497         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16498
16499 2013-10-04  Alan Modra  <amodra@gmail.com>
16500
16501         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16502         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
16503         rather than rlwimi.
16504         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16505         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16506         little-endian support.  Correct typos.
16507         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
16508         rather than rlwimi.
16509         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
16510         in loop and entry code to keep "and." results.
16511         (strchr): Add little-endian support.  Comment.  Move cntlzd
16512         earlier in tail.
16513         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16514
16515 2013-10-04  Alan Modra  <amodra@gmail.com>
16516
16517         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16518         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16519         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16520         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16521
16522 2013-10-04  Alan Modra  <amodra@gmail.com>
16523
16524         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16525         (rTMP): Define as r11.
16526         (strcmp): Add little-endian support.  Optimise tail.
16527         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16528         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16529         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16530         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16531         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16532         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16533         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16534
16535 2013-10-04  Alan Modra  <amodra@gmail.com>
16536
16537         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16538         little-endian support.  Remove unnecessary "are we done" tests.
16539         Handle "s" wrapping around zero and extremely large "size".
16540         Correct main loop count.  Handle single left-over word from main
16541         loop inline rather than by using small_loop.  Correct comments.
16542         Delete "zero" tail, use "end_max" instead.
16543         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16544
16545 2013-10-04  Alan Modra  <amodra@gmail.com>
16546
16547         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16548         support.  Don't branch over align.
16549         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16550         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16551         support.  Rearrange tmp reg use to suit.  Comment.
16552         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16553
16554 2013-10-04  Alan Modra  <amodra@gmail.com>
16555
16556         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16557
16558 2013-10-04  Alan Modra  <amodra@gmail.com>
16559
16560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16561         conditional form of branch and link when obtaining pc.
16562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16563
16564 2013-10-04  Alan Modra  <amodra@gmail.com>
16565
16566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16567         HIWORD/LOWORD.
16568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16570
16571 2013-10-04  Alan Modra  <amodra@gmail.com>
16572
16573         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16574         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16575         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16576         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16577         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16578         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16579         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16580         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16581         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16582         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16583
16584 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16585             Alistair Popple <alistair@ozlabs.au.ibm.com>
16586             Alan Modra <amodra@gmail.com>
16587
16588         [BZ #15723]
16589         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16590         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16591         _dl_hwcap access for little-endian.
16592         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
16593         destroy vmx regs when saving unaligned.
16594         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16595         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
16596         destroy vmx regs when saving unaligned.
16597
16598 2013-10-04  Alan Modra  <amodra@gmail.com>
16599
16600         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16601         Don't use a union to pack hi/low value.
16602
16603 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16604
16605         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16606         for little-endian.
16607         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16608         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16609         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16610         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16611         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16612
16613 2013-10-04  Alan Modra  <amodra@gmail.com>
16614
16615         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16616         constants to usual value for .cst8 section, and remove redundant
16617         high address load.
16618         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16619         constant for 0x1p52.  Load little-endian words of double from
16620         correct stack offsets.
16621
16622 2013-10-04  Alan Modra  <amodra@gmail.com>
16623
16624         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16625         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16626         words of double from correct stack offsets.
16627         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16628         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16629         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16630         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16631         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16632         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16633         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16634         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16635         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16636         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16637         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16638         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16639         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16640         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16641         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16642         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16643         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16644
16645 2013-10-04  Alan Modra  <amodra@gmail.com>
16646
16647         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16648         64-bit int/double union.
16649         (_FPU_SETCW): Likewise.
16650         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16651         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16652
16653 2013-10-04  Alan Modra  <amodra@gmail.com>
16654
16655         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16656         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16657
16658 2013-10-04  Alan Modra  <amodra@gmail.com>
16659
16660         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16661         use vector int constants.
16662         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16663
16664 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16665
16666         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16667         array with long long.
16668         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16669         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16670         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16671         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16672         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16673         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16674         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16675         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16676         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16677         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16678         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16679         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16680         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16681
16682 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16683
16684         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16685         (__signbit): Likewise.  Correct for little-endian.
16686         (__signbitl): Call __signbit.
16687         (lrint): Correct for little-endian.
16688         (lrintf): Call lrint.
16689
16690 2013-10-04  Alan Modra  <amodra@gmail.com>
16691
16692         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16693         union 32-bit int array member with 64-bit int array.
16694         (t515, tm256): Double rather than long double.
16695         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16696
16697 2013-10-04  Alan Modra  <amodra@gmail.com>
16698
16699         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16700         Delete.
16701         (IEEE854_LONG_DOUBLE_BIAS): Delete.
16702         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16703         version of math_ldbl.h.
16704
16705 2013-10-04  Alan Modra  <amodra@gmail.com>
16706
16707         [BZ #15734], [BZ #15735]
16708         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16709         all uses of ieee875 long double macros and unions.  Simplify test
16710         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
16711         ldbl_extract_mantissa value for ix,iy exponents.  Properly
16712         normalize after ldbl_extract_mantissa, and don't add hidden bit
16713         already handled.  Don't treat low word of ieee854 mantissa like
16714         low word of IBM long double and mask off bit when testing for
16715         zero.
16716         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16717         all uses of ieee875 long double macros and unions.  Simplify tests
16718         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
16719         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
16720         two1022, instead use their values.  Recognise that tests for large
16721         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
16722         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16723         Rewrite all uses of ieee875 long double macros and unions.  Simplify
16724         test for 0.0L and nan.  Correct negation.
16725         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16726         ieee875 long double macros and unions.  Correct output for large
16727         magnitude x.  Correct absolute value calculation.
16728         (__erfcl): Likewise.
16729         * math/libm-test.inc: Add tests for errors discovered in IBM long
16730         double versions of fmodl, remainderl, erfl and erfcl.
16731
16732 2013-10-04  Alan Modra  <amodra@gmail.com>
16733
16734         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16735         all uses of ieee854 long double macros and unions.  Simplify tests
16736         for long doubles that are fully specified by the high double.
16737         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16738         Likewise.
16739         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16740         Remove dead code too.
16741         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16742         (__ieee754_ynl): Likewise.
16743         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16744         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16745         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16746         Remove dead code too.
16747         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16748         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16749         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16750         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16751         Simplify.
16752         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16753         Simplify.
16754         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16755         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16756         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16757         Comment on variable precision.
16758         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16759         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16760         Likewise.
16761         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16762         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16763         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16764         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16765         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16766
16767 2013-10-04  Alan Modra  <amodra@gmail.com>
16768
16769         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16770         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16771         all uses of ieee854 long double macros and unions.
16772         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16773         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16774         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16775         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16776         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16777         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16778         Likewise.
16779         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16780         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16781         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16782         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16783         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16784         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16785         Simplify sign and nan test too.
16786         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16787         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16788         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16789         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16790         Likewise.
16791         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16792         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16793         Likewise.
16794         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16795         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16796         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16797         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16798         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16799         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16800
16801 2013-10-04  Alan Modra  <amodra@gmail.com>
16802
16803         * stdio-common/printf_size.c (__printf_size): Don't use
16804         union ieee854_long_double in fpnum union.
16805         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
16806         signbit macro to retrieve sign from long double.
16807         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16808         retrieve sign from long double.
16809         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16810         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16811         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16812         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16813         * math/test-misc.c (main): Don't use union ieee854_long_double.
16814
16815 2013-10-04  Alan Modra  <amodra@gmail.com>
16816
16817         [BZ #15680]
16818         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16819         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16820         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16821         calculation.  Remove unnecessary test for denormal exponent.
16822         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16823         Correct handling of denormals.  Avoid undefined shift behaviour.
16824         Correct normalisation of low mantissa when low double is denormal.
16825         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16826         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
16827         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16828         Correct normalisation of low mantissa.  Test for overflow of high
16829         mantissa and normalise.
16830         (ldbl_nearbyint): Use more readable constant for two52.
16831         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16832         (__mpn_construct_long_double): Fix test for overflow of high
16833         mantissa and correct normalisation.  Avoid undefined shift.
16834
16835 2013-10-04  Alan Modra  <amodra@gmail.com>
16836
16837         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16838         (union ibm_extended_long_double): Define as an array of ieee754_double.
16839         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16840         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16841         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16842         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16843         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16844         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16845         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16846         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16847         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16848         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16849         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16850
16851 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
16852
16853         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16854         page size instead of calling getpagesize.
16855
16856         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16857         (LOCFILE_ALIGN_MASK): Likewise.
16858         (LOCFILE_ALIGN_UP): Likewise.
16859         (LOCFILE_ALIGNED_P): Likewise.
16860         * locale/programs/ld-collate.c (collate_output): Use the new
16861         macros instead of __alignof__ (int32_t).
16862         * locale/weight.h (findidx): Likewise.
16863
16864 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
16865
16866         [BZ #431]
16867         * manual/string.texi: Fix strncat and wcsncat.
16868
16869 2013-10-03  Brooks Moses  <bmoses@google.com>
16870
16871         [BZ #15915]
16872         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16873         * Makerules: ...here, and adjust associated comments.
16874
16875 2013-10-02  Will Newton  <will.newton@linaro.org>
16876
16877         * malloc/Makefile: Add tst-pvalloc.
16878         * malloc/tst-pvalloc.c: New file.
16879
16880 2013-10-02  Will Newton  <will.newton@linaro.org>
16881
16882         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16883         improve test coverage.
16884
16885 2013-10-02  Will Newton  <will.newton@linaro.org>
16886
16887         * malloc/Makefile: Add tst-posix_memalign.
16888         * malloc/tst-posix_memalign.c: New file.
16889
16890 2013-10-01  Eric Blake  <eblake@redhat.com>
16891
16892         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16893         Use __THROWNL rather than __THROW on static functions.
16894
16895 2013-09-30  Petr Machata  <pmachata@redhat.com>
16896
16897         * elf/elf.h (R_AARCH64_ABS16): New macro.
16898         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16899         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16900         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16901         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16902         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16903         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16904         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16905         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16906         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16907         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16908         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16909         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16910         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16911         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16912         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16913         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16914         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16915         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16916         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16917         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16918         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16919         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16920         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16921         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16922         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16923         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16924         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16925         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16926         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16927         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16928         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16929         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16930         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16931         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16932         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16933         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16934         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16935         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16936         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16937         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16938         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16939         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16940         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16941         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16942         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16943         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16944         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16945         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16946         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16947         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16948         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16949         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16950         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16951         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16952         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16953         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16954         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16955         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16956         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16957         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16958         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16959         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16960         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16961         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16962         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16963         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16964         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16965         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16966         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16967         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16968         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16969         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16970         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16971         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16972         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16973         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16974         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16975         (R_AARCH64_TLSDESC_LDR): Likewise.
16976         (R_AARCH64_TLSDESC_ADD): Likewise.
16977         (R_AARCH64_TLSDESC_CALL): Likewise.
16978
16979 2013-09-30  Andreas Schwab  <schwab@suse.de>
16980
16981         [BZ #15048]
16982         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16983         the nss database lookup.
16984         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16985         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16986
16987 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
16988
16989         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16990
16991 2013-09-28  P. J. McDermott  <pj@pehjota.net>
16992
16993         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16994         ${Bash-specific parameter/pattern/string} parameter expansion.
16995         * sysdeps/unix/make-syscalls.sh: Likewise.
16996
16997 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16998
16999         * sysdeps/sh/stackguard-macros.h: New file.
17000
17001 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
17002
17003         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17004         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17005         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17006         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17007         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17008         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17009
17010 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17011
17012         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17013         Fix thread ID register.
17014
17015 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
17016
17017         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17018         [POSIX || UNIX98]: Require rather than permitting all symbols from
17019         <time.h>.
17020         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17021         element of struct sched_param.
17022         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17023         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17024         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17025         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17026         constant.
17027
17028 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
17029
17030         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17031         argument calculation.
17032
17033 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17034
17035         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17036         Expect macro.
17037         [POSIX] (pthread_attr_t): Do not require type.
17038         [POSIX] (pthread_cond_t): Likewise.
17039         [POSIX] (pthread_condattr_t): Likewise.
17040         [POSIX] (pthread_key_t): Likewise.
17041         [POSIX] (pthread_mutex_t): Likewise.
17042         [POSIX] (pthread_mutexattr_t): Likewise.
17043         [POSIX] (pthread_once_t): Likewise.
17044         [POSIX] (pthread_t): Likewise.
17045         [POSIX-based standards] (pthread_atfork): Expect function.
17046
17047 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17048             Richard Sandiford  <richard@codesourcery.com>
17049
17050         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17051         (swap_endianness_p): New extern variable.
17052         (set_big_endian): New inline function.
17053         (maybe_swap_uint32): Likewise.
17054         (maybe_swap_uint32_array): Likewise.
17055         (maybe_swap_uint32_obstack): Likewise.
17056         * locale/programs/locfile.c: Include <stdbool.h>.
17057         (swap_endianness_p): New variable.
17058         (add_locale_uint32): Call maybe_swap_uint32.
17059         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17060         (write_locale_data): Call maybe_swap_uint32_array.
17061         * locale/programs/ld-collate.c (obstack_int32_grow): Call
17062         maybe_swap_uint32.
17063         (obstack_int32_grow_fast): Likewise.
17064         (output_weightwc): Call maybe_swap_uint32_obstack.
17065         (collate_output): Likewise.
17066         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17067         (OPT_LITTLE_ENDIAN): Likewise.
17068         (options): Add --little-endian and --big-endian options.
17069         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17070         * locale/programs/locarchive.c: Include "locfile.h".
17071         (GET): New macro.
17072         (SET): Likewise.
17073         (INC): Likewise.
17074         (create_archive): Use the new macros to access fields of
17075         structures directly mapped from or written to locale archives.
17076         (oldlocrecentcmp): Likewise.
17077         (enlarge_archive): Likewise.
17078         (insert_name): Likewise.
17079         (add_alias): Likewise.
17080         (add_locale): Likewise.
17081         (delete_locales_from_archive): Likewise.
17082         (show_archive_content): Likewise.
17083         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
17084         locale data.
17085
17086 2013-09-24  Roland McGrath  <roland@hack.frob.com>
17087
17088         * manual/freemanuals.texi: Updated from (newly) canonical copy at
17089         http://www.gnu.org/doc/freemanuals.texi.
17090         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17091
17092 2013-09-24  Will Newton  <will.newton@linaro.org>
17093
17094         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17095         macro.
17096
17097 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
17098
17099         * locale/hashval.h (compute_hashval): Interpret bytes of key as
17100         unsigned char.
17101
17102 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
17103
17104         * manual/threads.texi (POSIX Threads): Fix a typo.
17105
17106 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17107
17108         [BZ #14547]
17109         * string/tst-strcoll-overflow.c: New test case.
17110         * string/Makefile (xtests): Add tst-strcoll-overflow.
17111         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17112         cache if string sizes may cause integer overflow.
17113
17114         [BZ #14547]
17115         * string/strcoll_l.c (coll_seq): New members rule, idx,
17116         save_idx and back_us.
17117         (get_next_seq_nocache): New function.
17118         (do_compare_nocache): New function.
17119         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17120         when malloc fails.
17121
17122 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
17123
17124         [BZ #15754]
17125         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17126         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17127         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17128
17129         [BZ #15754]
17130         * elf/Makefile (tests): Add tst-ptrguard1.
17131         (tests-static): Add tst-ptrguard1-static.
17132         (tst-ptrguard1-ARGS): Define.
17133         (tst-ptrguard1-static-ARGS): Define.
17134         * elf/tst-ptrguard1.c: New file.
17135         * elf/tst-ptrguard1-static.c: New file.
17136         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17137         * sysdeps/i386/stackguard-macros.h: Likewise.
17138         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17139         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17140         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17141         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17142         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17143         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17144
17145 2013-09-23  Hector Marco  <hecmargi@upv.es>
17146             Ismael Ripoll  <iripoll@disca.upv.es>
17147             Carlos O'Donell  <carlos@redhat.com>
17148
17149         [BZ #15754]
17150         * sysdeps/generic/stackguard-macros.h: Define
17151         __pointer_chk_guard_local and POINTER_CHK_GUARD.
17152         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17153         Define __pointer_chk_guard_local.
17154         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17155         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17156
17157 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
17158
17159         [BZ #15859]
17160         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17161
17162 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
17163
17164         * include/string.h (__ffs): Declare as hidden.
17165         * string/ffs.c (__ffs): Define as hidden.
17166         * sysdeps/i386/ffs.c (__ffs): Likewise.
17167         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17168         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17169         * sysdeps/s390/ffs.c (__ffs): Likewise.
17170         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17171
17172 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
17173
17174         * NEWS: Mention malloc probes.
17175
17176         * malloc/arena.c (new_heap): New memory_heap_new probe.
17177         (grow_heap): New memory_heap_more probe.
17178         (shrink_heap): New memory_heap_less probe.
17179         (heap_trim): New memory_heap_free probe.
17180         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17181         (systrim): New memory_sbrk_less probe.
17182         * manual/probes.texi: Document them.
17183
17184         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17185         * manual/probes.texi: Document it.
17186
17187         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17188         (__libc_realloc): Add memory_realloc_retry probe.
17189         (__libc_memalign): Add memory_memalign_retry probe.
17190         (__libc_valloc): Add memory_valloc_retry probe.
17191         (__libc_pvalloc): Add memory_pvalloc_retry probe.
17192         (__libc_calloc): Add memory_calloc_retry probe.
17193         * manual/probes.texi: Document them.
17194
17195         * malloc/arena.c (get_free_list): Add probe
17196         memory_arena_reuse_free_list.
17197         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17198         and memory_arena_reuse.
17199         (arena_get2) [!PER_THREAD]: Likewise.
17200         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17201         memory_arena_reuse_realloc.
17202         * manual/probes.texi: Document them.
17203
17204         * malloc/malloc.c (__libc_free): Add
17205         memory_mallopt_free_dyn_thresholds probe.
17206         (__libc_mallopt): Add multiple memory_mallopt probes.
17207         * manual/probes.texi: Document them.
17208
17209         * malloc/malloc.c: Include stap-probe.h.
17210         (__libc_mallopt): Add memory_mallopt probe.
17211         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17212         * manual/probes.texi: New.
17213         * manual/Makefile (chapters): Add probes.
17214         * manual/threads.texi: Set next node.
17215
17216 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
17217
17218         [BZ #15963, #13985]
17219         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17220         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17221         Add `Chinese' to `nan' entry name.
17222
17223 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17224
17225         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17226         (POLYNOMIAL): Likewise.
17227         (TAYLOR_SINCOS): Likewise.
17228         (TAYLOR_SLOW): Likewise.
17229         (__sin): Use TAYLOR_SINCOS.
17230         (__cos): Likewise.
17231         (slow): Use TAYLOR_SLOW.
17232         (sloww): Likewise.
17233         (bsloww): Likewise.
17234         (csloww): Likewise.
17235
17236 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17237
17238         * stdlib/strtod_l.c: Fix buffer overrun.
17239
17240 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17241
17242         * benchtests/Makefile (bench): Add sincos.
17243         * benchtests/bench-sincos.c: New file.
17244
17245         * math/libm-test.inc (cos_test_data): New test inputs.
17246         (sin_test_data): Likewise.
17247
17248         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17249         macro.
17250         (__sin): Use it.
17251         (__cos): Likewise.
17252         (slow1): Likewise.
17253         (slow2): Likewise.
17254         (sloww1): Likewise.
17255         (sloww2): Likewise.
17256         (bsloww1): Likewise.
17257         (bsloww2): Likewise.
17258         (cslow2): Likewise.
17259         (csloww1): Likewise.
17260         (csloww2): Likewise.
17261
17262         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17263         function.
17264         (__sin): Use it.
17265         (__cos): Likewise.
17266
17267         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17268         gotos.
17269         (__cos): Likewise.
17270
17271 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
17272
17273         * config.h.in (HAVE_MIPS_NAN2008): New macro.
17274         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17275         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17276         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17277         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17278         * elf/cache.c (print_entry): Handle the new cache flags.
17279
17280 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17281             Aldy Hernandez  <aldyh@redhat.com>
17282
17283         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17284         Change condition to [_SOFT_FLOAT].
17285         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17286         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17287         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17288         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17289         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17290         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17291         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17292         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17293         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17294         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17295         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17296         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17297         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17298         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17299         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17300         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17301         declaration.
17302
17303 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17304
17305         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17306         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17307         (__longjmp): Use LOAD_GP to load saved GPRs.
17308         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17309         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17310         (__sigsetjmp): Use SAVE_GP to save GPRs.
17311
17312         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17313         Do not append -msoft-float.
17314         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17315
17316 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17317
17318         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17319
17320 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
17321
17322         [BZ #15966]
17323         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17324         (_FPU_GETCW): Use initial "__" on variable and field names but not
17325         on macro parameter name.
17326         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
17327         parentheses around reference to macro parameter.
17328
17329 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
17330
17331         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17332         prototype.
17333         (ctype_startup): Use uint32_t in cast and sizeof for
17334         ctype->charnames.
17335
17336 2013-09-11  Jia Liu  <proljc@gmail.com>
17337
17338         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17339         __daddr_t_defined.
17340         [__FreeBSD__]: Likewise.
17341
17342 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
17343
17344         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17345         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17346         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17347         (strchr): Remove __strchr_sse42 ifunc selection.
17348         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17349         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17350
17351 2013-09-11  Will Newton  <will.newton@linaro.org>
17352
17353         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17354         parameter to RES. Remove hardcoded 1000 value.
17355         * benchtests/bench-skeleton.c (main): Pass RES parameter
17356         to TIMING_INIT and multiply result by 1000.
17357
17358 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17359
17360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17361
17362 2013-09-11  Andreas Schwab  <schwab@suse.de>
17363
17364         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17365         if not defined.
17366         (O_TMPFILE) [__USE_GNU]: Define.
17367         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17368         Define.
17369
17370 2013-09-11  Will Newton  <will.newton@linaro.org>
17371
17372         [BZ #15857]
17373         * malloc/malloc.c (__libc_memalign): Check the value of bytes
17374         does not overflow.
17375
17376 2013-09-11  Will Newton  <will.newton@linaro.org>
17377
17378         [BZ #15856]
17379         * malloc/malloc.c (__libc_valloc): Check the value of bytes
17380         does not overflow.
17381
17382 2013-09-11  Will Newton  <will.newton@linaro.org>
17383
17384         [BZ #15855]
17385         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17386         does not overflow.
17387
17388 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
17389
17390         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17391         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17392         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17393         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17394         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17395
17396 2013-09-10  Allan McRae  <allan@archlinux.org>
17397
17398         [BZ #15748]
17399         * manual/arith.texi (Parsing of Floats): Clarify
17400         cross-reference.
17401
17402         [BZ #15849]
17403         * manual/install.texi (Running make install): Mention
17404         --enable-pt-chown.
17405         * INSTALL: Regenerated.
17406
17407 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
17408
17409         * csu/init-first.c (_init): Remove the !SHARED condition around
17410         FPU control word initialization.
17411         * elf/dl-support.c (_dl_fpu_control): New variable.
17412         (_dl_aux_init) <AT_FPUCW>: Initialize it.
17413         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17414         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17415         * math/test-fpucw-static.c: New file.
17416         * math/test-fpucw-ieee.c: New file.
17417         * math/test-fpucw-ieee-static.c: New file.
17418         * math/Makefile (tests): Add `test-fpucw-ieee' and
17419         `$(tests-static)'.
17420         (tests-static): New variable.
17421         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17422         dependency to...
17423         [($(build-shared),yes)]
17424         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17425         ... this.
17426         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17427         New dependency.
17428
17429 2013-09-09  Allan McRae  <allan@archlinux.org>
17430
17431         [BZ #15939]
17432         * manual/string.texi (Collation Functions): Fix typo in
17433         strcoll example.
17434         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17435
17436         [BZ #15893]
17437         * stdlib/isomac.c (get_null_defines): Fix memory leak.
17438
17439         [BZ #15892]
17440         * libio/memstream.c (open_memstream): Fix memory leak.
17441         * libio/wmemstream.c (open_wmemstream): Likewise.
17442
17443         [BZ #15895]
17444         * nscd/netgroupcache.c: Fix nesting of ifdefs.
17445
17446 2013-09-09  Will Newton  <will.newton@linaro.org>
17447
17448         * malloc/Makefile: Add tst-realloc to tests.
17449         * malloc/tst-realloc.c: New file.
17450
17451 2013-09-09  Allan McRae  <allan@archlinux.org>
17452
17453         [BZ #15844]
17454         * COPYING: Update from GNU website to fix FSF address.
17455         * COPYING.LIB: Likewise.
17456
17457 2013-09-06  David S. Miller  <davem@davemloft.net>
17458
17459         * po/zh_TW.po: Update Chinese (traditional) translation from
17460         translation project.
17461
17462 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
17463             Joseph Myers  <joseph@codesourcery.com>
17464
17465         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17466         "localeinfo.h".
17467         (obstack_chunk_alloc): New macro.
17468         (obstack_chunk_free): Likewise.
17469         (record_offset): New function.
17470         (init_locale_data): Likewise.
17471         (align_locale_data): Likewise.
17472         (add_locale_empty): Likewise.
17473         (add_locale_raw_data): Likewise.
17474         (add_locale_raw_obstack): Likewise.
17475         (add_locale_string): Likewise.
17476         (add_locale_wstring): Likewise.
17477         (add_locale_uint32): Likewise.
17478         (add_locale_uint32_array): Likewise.
17479         (add_locale_char): Likewise.
17480         (start_locale_structure): Likewise.
17481         (end_locale_structure): Likewise.
17482         (start_locale_prelude): Likewise.
17483         (end_locale_prelude): Likewise.
17484         (write_locale_data): Take locale_file structure rather than an
17485         iovec.
17486         * locale/programs/locfile.h: Include "obstack.h".
17487         (struct locale_file): Change to store locale file contents instead
17488         of header.
17489         (init_locale_data): New prototype.
17490         (align_locale_data): Likewise.
17491         (add_locale_empty): Likewise.
17492         (add_locale_raw_data): Likewise.
17493         (add_locale_raw_obstack): Likewise.
17494         (add_locale_string): Likewise.
17495         (add_locale_wstring): Likewise.
17496         (add_locale_uint32): Likewise.
17497         (add_locale_uint32_array): Likewise.
17498         (add_locale_char): Likewise.
17499         (start_locale_structure): Likewise.
17500         (end_locale_structure): Likewise.
17501         (start_locale_prelude): Likewise.
17502         (end_locale_prelude): Likewise.
17503         (write_locale_data): Update prototype.
17504         * locale/programs/3level.h (struct TABLE): Remove result field.
17505         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17506         Use new locale_file interface.
17507         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17508         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17509         * locale/programs/ld-address.c (address_output): Use new
17510         locale_file interface.
17511         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17512         NO_ADD_LOCALE.
17513         (collate_finish): Don't call collseq_table_finalize.
17514         (collate_output): Use new locale_file interface.
17515         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17516         in file.
17517         (NO_FINALIZE): Change to NO_ADD_LOCALE.
17518         (TABLE): Move defines earlier in file.
17519         (ELEMENT): Likewise.
17520         (DEFAULT): Likewise.
17521         (wctrans_table_add): Move macro and inline function earlier in
17522         file.
17523         (struct wctype_table): Move type earlier in file.
17524         (add_locale_wctype_table): New static prototype.
17525         (struct locale_ctype_t): Use logical types instead of struct iovec
17526         pointers for members.
17527         (ctype_output): Use new locale_file interface.
17528         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
17529         new locale_file interface.
17530         (allocate_arrays): Update for use of new locale_file interface.
17531         * locale/programs/ld-identification.c (identification_output): Use
17532         new locale_file interface.
17533         * locale/programs/ld-measurement.c (measurement_output): Likewise.
17534         * locale/programs/ld-messages.c (messages_output): Likewise.
17535         * locale/programs/ld-monetary.c (monetary_output): Likewise.
17536         * locale/programs/ld-name.c (name_output): Likewise.
17537         * locale/programs/ld-numeric.c (numeric_output): Likewise.
17538         * locale/programs/ld-paper.c (paper_output): Likewise.
17539         * locale/programs/ld-telephone.c (telephone_output): Likewise.
17540         * locale/programs/ld-time.c (time_output): Likewise.
17541
17542 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17543
17544         * benchtests/Makefile: Add memrchr benchmark.
17545         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17546         benchmark as memrchr.
17547         * benchtests/bench-memrchr-ifunc.c: New file.
17548         * benchtests/bench-memrchr.c: New file.
17549
17550 2013-09-06   Will Newton  <will.newton@linaro.org>
17551
17552         * benchtests/Makefile (string-bench): Add memcpy.
17553
17554 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
17555             Cong Wang  <amwang@redhat.com>
17556
17557         [BZ #15850]
17558         * sysdeps/unix/sysv/linux/bits/in.h
17559         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17560         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17561         before __USE_KERNEL_IPV6_DEFS uses.
17562         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17563         IPPROTO_BEETPH.
17564         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17565         sockaddr_in6, or ipv6_mreq.
17566
17567 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17568
17569         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17570         memory access for final bytes in some large inputs.
17571         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17572
17573 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17574
17575         * string/test-memrchr.c: New file.
17576         * string/test-memrchr-ifunc.c: New file.
17577         * string/Makefile: Add new memrchr testcase.
17578
17579 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
17580
17581         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17582         fanotify_init returns EPERM.
17583
17584 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17585
17586         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17587         errors.
17588         (top level): Treat second token from macro or constant entries for
17589         allowed headers as allowed.
17590         * include/complex.h: Condition internal declarations on
17591         [!_ISOMAC].
17592         * include/fenv.h: Condition include of <stdbool.h> and internal
17593         declarations on [!_ISOMAC].
17594
17595 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
17596
17597         [BZ #15923]
17598         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17599
17600 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17601
17602         * configure.in (--enable-versioning): Remove configure option.
17603         (libc_cv_asm_symver_directive): Remove configure test.
17604         (libc_cv_ld_version_script_option): Likewise.
17605         (VERSIONING): Remove variable and AC_SUBST.
17606         (DO_VERSIONING): Remove AC_DEFINE.
17607         * configure: Regenerated.
17608         * config.h.in (DO_VERSIONING): Remove macro.
17609         * Makerules [$(versioning) = yes]: Change conditionals to
17610         [$(build-shared) = yes].
17611         * config.make.in (versioning): Remove variable.
17612         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17613         [$(build-shared) = yes].
17614         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17615         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17616         * elf/Makefile [$(versioning) = yes]: Change conditionals to
17617         [$(build-shared) = yes].
17618         * extra-lib.mk [$(versioning) = yes]: Likewise.
17619         * hurd/Makefile [$(versioning) = yes]: Likewise.
17620         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17621         [SHARED].
17622         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17623         [SHARED].
17624         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17625         [SHARED && !NO_HIDDEN].
17626         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17627         [SHARED].
17628         [SHARED && DO_VERSIONING]: Likewise..
17629         * libio/Makefile [$(versioning) = yes]: Change conditionals to
17630         [$(build-shared) = yes].
17631         * manual/install.texi (--disable-versioning): Remove
17632         documentation.
17633         * INSTALL: Regenerated.
17634         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17635         to [SHARED].
17636         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17637         [$(build-shared) = yes].
17638         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17639         * sysdeps/i386/i686/multiarch/strstr-c.c
17640         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17641         [SHARED && !NO_HIDDEN].
17642         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17643         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17644         * sysdeps/powerpc/powerpc32/dl-machine.c
17645         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17646         * sysdeps/powerpc/powerpc32/sysdep.h
17647         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17648         to [SHARED && PIC && !NO_HIDDEN].
17649         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17650         conditional to [SHARED].
17651
17652 2013-09-04   Will Newton  <will.newton@linaro.org>
17653
17654         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17655         * benchtests/bench-string.h: Include bench-timing.h instead
17656         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17657         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17658         call to HP_TIMING_DIFF_INIT.
17659         * benchtests/bench-memccpy.c: Use bench-timing.h macros
17660         instead of hp-timing.h macros.
17661         * benchtests/bench-memchr.c: Likewise.
17662         * benchtests/bench-memcmp.c: Likewise.
17663         * benchtests/bench-memcpy.c: Likewise.
17664         * benchtests/bench-memmem.c: Likewise.
17665         * benchtests/bench-memmove.c: Likewise.
17666         * benchtests/bench-memset.c: Likewise.
17667         * benchtests/bench-rawmemchr.c: Likewise.
17668         * benchtests/bench-strcasecmp.c: Likewise.
17669         * benchtests/bench-strcasestr.c: Likewise.
17670         * benchtests/bench-strcat.c: Likewise.
17671         * benchtests/bench-strchr.c: Likewise.
17672         * benchtests/bench-strcmp.c: Likewise.
17673         * benchtests/bench-strcpy.c: Likewise.
17674         * benchtests/bench-strcpy_chk.c: Likewise.
17675         * benchtests/bench-strlen.c: Likewise.
17676         * benchtests/bench-strncasecmp.c: Likewise.
17677         * benchtests/bench-strncat.c: Likewise.
17678         * benchtests/bench-strncmp.c: Likewise.
17679         * benchtests/bench-strncpy.c: Likewise.
17680         * benchtests/bench-strnlen.c: Likewise.
17681         * benchtests/bench-strpbrk.c: Likewise.
17682         * benchtests/bench-strrchr.c: Likewise.
17683         * benchtests/bench-strspn.c: Likewise.
17684         * benchtests/bench-strstr.c: Likewise.
17685
17686 2013-09-04  Will Newton  <will.newton@linaro.org>
17687
17688         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17689
17690 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
17691
17692         [BZ #15427]
17693         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17694         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17695         * math/libm-test.inc (lgamma_test_data): Add more tests.
17696         * sysdeps/i386/fpu/libm-test-ulps: Update.
17697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17698
17699 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
17700
17701         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17702         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17703         Add ifunc.
17704         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17705         Add strcmp-sse2-unaligned
17706         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17707
17708 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17709
17710         * Versions.def (libc): Add GLIBC_2.19.
17711
17712 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17713
17714         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17715         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17716
17717 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
17718
17719         [BZ #14155]
17720         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17721         intermediate calculations in recurrence.
17722         (__ieee754_ynf): Likewise.
17723         * math/libm-test.inc (jn_test_data): Do not allow spurious
17724         underflow exception.  Add more tests.
17725         (yn_test_data): Add more tests.
17726         * sysdeps/i386/fpu/libm-test-ulps: Update.
17727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17728
17729 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
17730
17731         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17732
17733 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17734
17735         * csu/init-first.c: Fix then/than typos.
17736         * locale/programs/ld-collate.c: Likewise.
17737         * locale/programs/linereader.h: Likewise.
17738         * manual/charset.texi: Likewise.
17739         * manual/filesys.texi: Likewise.
17740         * manual/stdio.texi: Likewise.
17741         * manual/string.texi: Likewise.
17742         * stdlib/fmtmsg.c: Likewise.
17743         * sysdeps/i386/stpncpy.S: Likewise.
17744         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17745         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17746         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17747         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17748
17749 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17750
17751         * elf/dl-open.c: Fix typos.
17752         * iconvdata/gbbig5.c: Likewise.
17753         * iconvdata/iso-2022-jp.c: Likewise.
17754         * iconv/gconv_int.h: Likewise.
17755         * iconv/loop.c: Likewise.
17756         * nis/rpcsvc/nis.h: Likewise.
17757         * resolv/ns_name.c: Likewise.
17758         * stdio-common/vfscanf.c: Likewise.
17759         * streams/stropts.h: Likewise.
17760         * sunrpc/rpc_thread.c: Likewise.
17761         * sysdeps/i386/strpbrk.S: Likewise.
17762         * sysdeps/ieee754/k_standard.c: Likewise.
17763         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17764         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17765         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17766         * sysdeps/mach/hurd/profil.c: Likewise.
17767         * sysdeps/s390/dl-procinfo.h: Likewise.
17768         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17769         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17770         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17771         * sysdeps/x86_64/dl-trampoline.S: Likewise.
17772         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17773
17774 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
17775
17776         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17777         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17778
17779 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
17780
17781         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17782         aix specific files.
17783         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17784         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17785         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17786         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17787         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17788         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17789         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17790         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17791
17792 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17793             Roland McGrath  <roland@hack.frob.com>
17794
17795         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17796         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17797
17798 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17799
17800         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17801         __executable_start symbol instead of _start.
17802
17803 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17804
17805         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17806         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17807         Move macros to...
17808         * sysdeps/gnu/ldsodefs.h: ... this new file.
17809
17810         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17811         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17812         instead of ELFOSABI_LINUX.
17813
17814         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17815         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17816         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17817         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17818         Likewise.
17819         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17820         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17821         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17822         Likewise.
17823         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17824         (ibm_extended_long_double): Add ieee_nan member.
17825         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17826         (do_test): New function.
17827
17828         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17829         TEST_TRUNC.
17830         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17831         functions, renamed from truncdfsf_test, trunctfsf_test,
17832         trunctfdf_test.
17833         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17834         functions.
17835         (do_test): Run all these.
17836
17837 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
17838
17839         * argp/argp-help.c: Fix typos.
17840         * argp/argp-parse.c: Likewise.
17841         * debug/backtracesyms.c: Likewise.
17842         * elf/elf.h: Likewise.
17843         * malloc/malloc.c: Likewise.
17844         * nis/nis_print.c: Likewise.
17845         * resolv/res_comp.c: Likewise.
17846         * stdlib/stdlib.h: Likewise.
17847         * sunrpc/clnt_tcp.c: Likewise.
17848         * sunrpc/clnt_udp.c: Likewise.
17849         * sunrpc/clnt_unix.c: Likewise.
17850         * sysdeps/unix/bsd/ptsname.c: Likewise.
17851         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17852         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17854         Likewise.
17855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17856         Likewise.
17857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17858         Likewise.
17859         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17860
17861 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17862
17863         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17864         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17865
17866 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
17867
17868         [BZ #15897]
17869         * dlfcn/Makefile (tests): Add bug-dl-leaf.
17870         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17871         ($(objpfx)bug-dl-leaf): New rule.
17872         ($(objpfx)bug-dl-leaf.so): Likewise.
17873         ($(objpfx)bug-dl-leaf.out): Likewise.
17874         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17875         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17876         * dlfcn/bug-dl-leaf.c: New test.
17877         * dlfcn/bug-dl-leaf-lib.c: Likewise.
17878         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17879         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17880         (dlclose): Likewise.
17881         (dlmopen): Likewise.
17882
17883 2013-08-27  Roland McGrath  <roland@hack.frob.com>
17884
17885         * include/netdb.h [!_ISOMAC]:
17886         Don't include <tls.h>.
17887         (h_errno, __libc_h_errno): Move declaration and macros out of
17888         [_LIBC_REENTRANT].
17889
17890         * include/resolv.h [_RESOLV_H_]:
17891         Don't include <tls.h>.
17892         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17893         * resolv/res_libc.c: Don't include <tls.h>.
17894         (_res): Use __attribute__ ((nocommon)) in place of
17895         __attribute__ ((section (".bss"))).
17896
17897         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17898         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17899
17900         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17901
17902         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17903         only under [SIOCGIFCONF && SIOCGIFNETMASK].
17904
17905         * resolv/res_mkquery.c: Include <sys/time.h>.
17906
17907         * inet/ifreq.c: Moved to ...
17908         * sysdeps/unix/ifreq.c: ... here.
17909         * inet/ifreq.c: New file, true stub version.
17910
17911         * socket/sa_len.c: New file.
17912         * socket/Makefile (aux): Add it.
17913         * sysdeps/unix/sysv/linux/Makefile
17914         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17915         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17916         and #include <socket/sa_len.c>.
17917         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17918         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17919
17920         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17921         * bits/socket.h: ... here.
17922
17923         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17924         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17925         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17926
17927 2013-08-27  Andreas Schwab  <schwab@suse.de>
17928
17929         [BZ #15736]
17930         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17931         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17932         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17933         * string/test-strcasecmp.c (test_main): Run tests in several
17934         locales.
17935         * string/test-strncasecmp.c (test_main): Likewise.
17936
17937         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17938         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17939         to __strcasecmp_nonascii and __strncasecmp_nonascii.
17940         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17941         (__strncasecmp_ssse3) [PIC]: Likewise.
17942
17943 2013-08-26  Roland McGrath  <roland@hack.frob.com>
17944
17945         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17946
17947         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17948         instead of explicitly declaring xdecrypt.
17949         * nis/nss_nis/nis-publickey.c: Likewise.
17950
17951 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17952
17953         [BZ #15890]
17954         * nscd/aicache.c: Include res_hconf.h.
17955         (addhstaiX): Initialize res_hconf.
17956
17957 2013-08-26  Andreas Schwab  <schwab@suse.de>
17958
17959         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17960         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17961
17962 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17963
17964         * nscd/aicache.c (addhstaiX): Fix indentation.
17965
17966 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
17967
17968         * configure.ac: Quote $build_pt_chown test.
17969         * configure: Regenerated.
17970
17971 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
17972
17973         [BZ #15532]
17974         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17975         * math/s_cexpf.c (__cexpf): Likewise.
17976         * math/s_cexpl.c (__cexpl): Likewise.
17977         * math/libm-test.inc (cexp_test_data): Correct expected return
17978         value for NaN + i0.  Add another test.
17979
17980 2013-08-22  David S. Miller  <davem@davemloft.net>
17981
17982         * po/ca.po: Update Catalan translation from translation project.
17983         * po/uk.po: Add Ukrainian translations from translation project.
17984
17985 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
17986
17987         [BZ #15797]
17988         * math/s_fdim.c (__fdim): Check for infinite arguments if result
17989         is infinite, not alongside NaN test.
17990         * math/s_fdimf.c (__fdimf): Likewise.
17991         * math/s_fdiml.c (__fdiml): Likewise.
17992         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
17993         errno is unchanged.
17994
17995 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
17996
17997         * argp/argp-help.c: Fix typos.
17998         * crypt/speeds.c: Likewise.
17999         * csu/check_fds.c: Likewise.
18000         * elf/dl-load.c: Likewise.
18001         * elf/dl-open.c: Likewise.
18002         * elf/reldep3.c: Likewise.
18003         * elf/reldep.c: Likewise.
18004         * elf/sprof.c: Likewise.
18005         * iconv/iconv_charmap.c: Likewise.
18006         * iconv/skeleton.c: Likewise.
18007         * iconv/strtab.c: Likewise.
18008         * io/lockf64.c: Likewise.
18009         * libio/libioP.h: Likewise.
18010         * resolv/gai_notify.c: Likewise.
18011         * resolv/ns_name.c: Likewise.
18012         * resolv/ns_samedomain.c: Likewise.
18013         * resolv/res_send.c: Likewise.
18014         * stdlib/random.c: Likewise.
18015         * sunrpc/rpc/xdr.h: Likewise.
18016         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18017         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18018         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18019         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18020         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18021         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18022         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18023         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18024         * sysdeps/mach/hurd/check_fds.c: Likewise.
18025         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18026         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18027         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18028         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18029         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18030         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18031         * sysdeps/pthread/aio_notify.c: Likewise.
18032         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18033         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18034         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18035         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18036         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18037
18038 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18039
18040         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18041         version if bit_Slow_SSE4_2 is set.
18042         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18043         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18044
18045 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18046
18047         [BZ #15867]
18048         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18049         trampoline stack frame information.
18050         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18051         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18052         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18053         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18054         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18055         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18056         (_libc_vdso_platform_setup): Initialize the signal trampolines.
18057         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18058         sa_flags value.
18059         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18060         interrupting a syscall and set with option SA_SIGINFO.
18061
18062 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18063
18064         [BZ #15531]
18065         * math/s_cproj.c (__cproj): Only return an infinity if one part of
18066         argument is infinite.
18067         * math/s_cprojf.c (__cprojf): Likewise.
18068         * math/s_cprojl.c (__cprojl): Likewise.
18069         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18070         * math/libm-test.inc (cproj_test_data): Add more tests.
18071
18072         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18073
18074         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18075         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18076         size.  Use __ffs to determine corresponding shift.
18077
18078 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18079             Roland McGrath  <roland@hack.frob.com>
18080
18081         * Makefile (INSTALL): Remove trailing blank lines from output of
18082         makeinfo.
18083
18084 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18085
18086         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18087         Align 32 bit compat elf_greg to 8 bytes.
18088
18089 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
18090
18091         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18092
18093 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18094
18095         * string/strcoll_l.c (coll_seq): New structure.
18096         (get_next_seq_cached): New function.
18097         (get_next_seq): New function.
18098         (do_compare): New function.
18099         (STRCOLL): Use GNU style definition.  Simplify implementation
18100         by using get_next_seq, get_next_seq_cached and do_compare.
18101
18102 2013-08-16  Florian Weimer  <fweimer@redhat.com>
18103
18104         [BZ #14699]
18105         CVE-2013-4237
18106         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18107         member.
18108         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18109         member.
18110         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18111         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18112         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
18113         conditional.
18114         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18115         GETDENTS_64BIT_ALIGNED.
18116         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18117         * manual/filesys.texi (Reading/Closing Directory): Document
18118         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
18119         strongly.
18120         * manual/conf.texi (Limits for Files): Add portability note to
18121         NAME_MAX, PATH_MAX.
18122         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18123
18124 2013-08-13  Andreas Schwab  <schwab@suse.de>
18125
18126         [BZ #15749]
18127         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18128         of fabs.
18129         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18130         LDBL_MAX_EXP >= 16384]: Add tests for it.
18131
18132 2013-08-12  David S. Miller  <davem@davemloft.net>
18133
18134         * version.h (RELEASE): Set to "development".
18135         (VERSION): Set to "2.18.90".
18136         * NEWS: Add 2.19 section.
18137
18138 2013-08-03  David S. Miller  <davem@davemloft.net>
18139
18140         * po/ko.po: Update Korean translation from translation project.
18141
18142 2013-08-01  David S. Miller  <davem@davemloft.net>
18143
18144         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
18145         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18146         Bilka.
18147
18148 2013-07-30  David S. Miller  <davem@davemloft.net>
18149
18150         * po/fr.po: Update French translation from translation project.
18151
18152 2013-07-28  David S. Miller  <davem@davemloft.net>
18153
18154         * po/cs.po: Update Czech translation from translation project.
18155
18156         * po/sv.po: Update Swedish translation from translation project.
18157
18158 2013-07-27  David S. Miller  <davem@davemloft.net>
18159
18160         * po/eo.po: Update Esperanto translation from translation project.
18161
18162         * po/vi.po: Update Vietnamese translation from translation project.
18163
18164         * po/de.po: Update German translation from translation project.
18165
18166 2013-07-26  David S. Miller  <davem@davemloft.net>
18167
18168         * po/bg.po: Update Bulgarian translation from translation project.
18169
18170         * po/nl.po: Update Dutch translation from translation project.
18171         * po/pl.po: Update Polish translation from translation project.
18172         * po/ru.po: Update Russian translation from translation project.
18173
18174 2013-07-24  David S. Miller  <davem@davemloft.net>
18175
18176         * po/libc.pot: Update.
18177
18178 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18179
18180         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18181         variable page size.
18182         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18183         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18184         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18185
18186 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18187
18188         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18189
18190 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18191             Andreas Schwab  <schwab@suse.de>
18192             Roland McGrath  <roland@hack.frob.com>
18193             Joseph Myers  <joseph@codesourcery.com>
18194             Carlos O'Donell  <carlos@redhat.com>
18195
18196         [BZ #15755]
18197         * config.h.in: Define HAVE_PT_CHOWN.
18198         * config.make.in (build-pt-chown): New variable.
18199         * configure.in (--enable-pt_chown): New configure option.
18200         * configure: Regenerate.
18201         * login/Makefile: Include Makeconfig.  Build pt_chown only if
18202         build-pt-chown is enabled.
18203         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18204         pt_chown to fix pty ownership.
18205         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18206         CLOSE_ALL_FDS.
18207         * manual/install.texi (Configuring and compiling): Mention
18208         --enable-pt_chown. Add @findex for grantpt.
18209         * INSTALL: Regenerate.
18210
18211 2013-07-20  David S. Miller  <davem@davemloft.net>
18212
18213         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18214         difference between 32-bit and 64-bit.
18215
18216 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
18217
18218         [BZ #15711]
18219         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18220         Avoid system header dependency with -ffreestanding.
18221         ($(objpfx)bits/syscall%d): Likewise.
18222
18223 2013-07-13  David S. Miller  <davem@davemloft.net>
18224
18225         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18226         underflows from atanl/atan2l due to bug 15319.
18227         (casinh_test_data): Likewise.
18228
18229 2013-07-07  David S. Miller  <davem@davemloft.net>
18230
18231         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18232
18233 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
18234
18235         * sysdeps/i386/fpu/libm-test-ulps: Update.
18236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18237
18238 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18239
18240         * configure.in (--enable-lock-elision): Fix message text.
18241         * INSTALL: Regenerate.
18242         * configure: Regenerate.
18243
18244 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18245
18246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18247
18248 2013-07-03  Andreas Jaeger  <aj@suse.de>
18249
18250         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18251         define.
18252         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18253         (ptrace_peeksiginfo_args): Add.
18254         (__ptrace_peeksiginfo_flags): Add.
18255         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18256         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18257         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18258
18259 2013-07-03  Allan McRae  <allan@archlinux.org>
18260
18261         * sysdeps/i386/fpu/libm-test-ulps: Update.
18262
18263 2013-07-02  David S. Miller  <davem@davemloft.net>
18264
18265         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18266
18267 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
18268
18269         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18270
18271 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18272
18273         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18275
18276 2013-07-02  Andi Kleen <ak@linux.intel.com>
18277
18278         * config.h.in (ENABLE_LOCK_ELISION): Add.
18279         * configure.in (--enable-lock-elision): Add option.
18280         * manual/install.texi: Document --enable lock elision.
18281         * configure: Regenerate
18282         * INSTALL: Regenerate.
18283
18284 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
18285
18286         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18287         SSE4.2 strcasecmp for libc.a.
18288         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18289
18290 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18291
18292         [BZ #13304]
18293         * soft-fp/op-common.h (_FP_FMA): New macro.
18294         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18295         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
18296         (_FP_MUL_MEAT_1_imm): ... here.
18297         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
18298         (_FP_MUL_MEAT_1_wide): ... here.
18299         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
18300         (_FP_MUL_MEAT_1_hard): ... here.
18301         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18302         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
18303         (_FP_MUL_MEAT_2_wide): ... here.
18304         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
18305         (_FP_MUL_MEAT_2_wide_3mul): ... here.
18306         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
18307         (_FP_MUL_MEAT_2_gmp): ... here.
18308         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18309         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
18310         (_FP_MUL_MEAT_4_wide): ... here.
18311         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
18312         (_FP_MUL_MEAT_4_gmp): ... here.
18313         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18314         (_FP_WFRACBITS_DW_S): Likewise.
18315         (_FP_WFRACXBITS_DW_S): Likewise.
18316         (_FP_HIGHBIT_DW_S): Likewise.
18317         (FP_FMA_S): Likewise.
18318         (_FP_FRAC_HIGH_DW_S): Likewise.
18319         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18320         (_FP_WFRACBITS_DW_D): Likewise.
18321         (_FP_WFRACXBITS_DW_D): Likewise.
18322         (_FP_HIGHBIT_DW_D): Likewise.
18323         (FP_FMA_D): Likewise.
18324         (_FP_FRAC_HIGH_DW_D): Likewise.
18325         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18326         (_FP_WFRACBITS_DW_E): Likewise.
18327         (_FP_WFRACXBITS_DW_E): Likewise.
18328         (_FP_HIGHBIT_DW_E): Likewise.
18329         (FP_FMA_E): Likewise.
18330         (_FP_FRAC_HIGH_DW_E): Likewise.
18331         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18332         (_FP_WFRACBITS_DW_Q): Likewise.
18333         (_FP_WFRACXBITS_DW_Q): Likewise.
18334         (_FP_HIGHBIT_DW_Q): Likewise.
18335         (FP_FMA_Q): Likewise.
18336         (_FP_FRAC_HIGH_DW_Q): Likewise.
18337         * soft-fp/fmasf4.c: New file.
18338         * soft-fp/fmadf4.c: Likewise.
18339         * soft-fp/fmatf4.c: Likewise.
18340
18341 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18342
18343         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18344         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18345         Silvermont.
18346         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18347         macro.
18348         (index_Slow_SSE4_2): Likewise.
18349         (index_Prefer_PMINUB_for_stringop): Likewise.
18350         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18351         bit_Slow_SSE4_2 is set.
18352         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18353         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18354
18355 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18356
18357         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18358         rtld_global._dl_hwcap2.
18359         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18360         POWER8.
18361         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18362         POWER8 feature descriptions defined in _dl_hwcap2.
18363         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18364         string handling for POWER8 feature bits.
18365         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18366         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18367         _dl_powerpc_cap_flags.
18368         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18369         * sysdeps/powerpc/rtld-global-offsets.sym
18370         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18371         _dl_hwcap2 in the rtld_global_ro structure.
18372
18373 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18374
18375         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18376         hardware capabilities in support of AT_HWCAP2.
18377         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18378         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18379         GLRO(dl_hwcap2).
18380         (_dl_show_auxv): Add support for calling _dl_procinfo to display
18381         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
18382         explicitly the unknown a_type display mechanism is used.
18383         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18384         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18385         struct member.
18386         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18387         to macro prototype for AT_HWCAP2 support.
18388         * sysdeps/i386/dl-procinfo.h: Likewise.
18389         * sysdeps/s390/dl-procinfo.h: Likewise.
18390         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18391         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
18392         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
18393         return -1 for unknown a_type display fallback.
18394         * sysdeps/sparc/dl-procinfo.h: Likewise.
18395         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18396         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18397
18398 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
18399
18400         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18401         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18402
18403 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
18404
18405         [BZ #12492]
18406         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18407         mprotect making __stack_prot writable.
18408
18409 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
18410             Joseph Myers  <joseph@codesourcery.com>
18411
18412         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18413         as being properly aligned.
18414
18415 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
18416
18417         * dlfcn/modstatic5.c: New file.
18418         * dlfcn/tststatic5.c: New file.
18419         * dlfcn/Makefile (tests): Add tststatic5.
18420         (tests-static): Likewise.
18421         (modules-names): Add modstatic5.
18422         (tststatic5-ENV): New variable.
18423         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18424
18425         [BZ #15022]
18426         * elf/dl-support.c (_dl_main_map): New variable.
18427         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18428         (_dl_nns, _dl_load_adds): Set to 1.
18429         (_dl_initial_searchlist): Refer to _dl_main_map.
18430         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18431         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18432         call to _dl_get_origin.
18433         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18434         around call_map.
18435         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18436         * dlfcn/modstatic3.c: New file.
18437         * dlfcn/tststatic3.c: New file.
18438         * dlfcn/tststatic4.c: New file.
18439         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18440         (tests-static): Likewise.
18441         (modules-names): Add modstatic3.
18442         (tststatic3-ENV, tststatic4-ENV): New variables.
18443         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18444         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18445
18446 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
18447
18448         * configure.in (CC): Require GCC version 4.4 or later.
18449         * configure: Regenerated.
18450         * manual/install.texi (Tools for Compilation): Update GCC version
18451         requirement.
18452         * INSTALL: Regenerated.
18453
18454 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18455
18456         [BZ #15674]
18457         * string/test-memcmp.c (check2): New.
18458         (main): Call check2.
18459
18460         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18461
18462 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
18463
18464         [BZ #15022]
18465         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18466         over to...
18467         (dl_open_worker) [!SHARED]: ... here.
18468
18469 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18470
18471         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18472
18473 2013-06-25  Richard Henderson  <rth@redhat.com>
18474
18475         * locale/programs/locarchive.c: Include <libc-internal.h>
18476
18477 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18478
18479         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18480         trailing whitespace removed.
18481
18482 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18483
18484         [BZ #10283]
18485         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18486         * locale/programs/locarchive.c: Include libc-mmap.h.
18487         (prepare_address_space): Take two new outputs (the mmap base and len).
18488         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
18489         values.
18490         (create_archive): Declare new mmap base and len values for
18491         prepare_address_space, and store the result in ah.
18492         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18493         (enlarge_archive): If ah->mmap_base is not NULL, use that and
18494         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18495         Declare new mmap base and len values for
18496         prepare_address_space, and store the result in new_ah.
18497         (open_archive): Declare new mmap base and len values for
18498         prepare_address_space, and store the result in ah.
18499         (close_archive): If ah->mmap_base is not NULL, use that and
18500         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18501         * sysdeps/generic/libc-mmap.h: New file.
18502
18503 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18504
18505         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18506         (ALIGN_UP): Likewise.
18507         (PTR_ALIGN_DOWN): Likewise.
18508         (PTR_ALIGN_UP): Likewise.
18509
18510 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18511
18512         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18513         entry mapped to PPC_PLATFORM_POWER8.
18514         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18515         POWER8.
18516         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18517         (_dl_string_platform): Add case for exporting platform position for
18518         POWER8.
18519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18520         search path to sysdeps/powerpc/powerpc32/power8 directory.
18521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18522         search path to sysdeps/powerpc/powerpc64/power8 directory.
18523         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18524         power7 directories.
18525         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18526         power7 directories.
18527
18528 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18529
18530         * INSTALL: Regenerate.
18531
18532         * nscd/connections.c (nscd_init): Fix comment.
18533
18534 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
18535
18536         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18537
18538         [BZ #15667]
18539         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18540         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18541
18542 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18543
18544         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18545         DL_DST_REQ_STATIC.
18546         (DL_DST_REQ_STATIC): Remove macro.
18547
18548 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
18549
18550         [BZ #7006]
18551         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18552         with a shift of 0 bits.
18553
18554 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18555
18556         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18557         $(tststatic-ENV).
18558
18559 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18560
18561         [BZ #15655]
18562         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18563
18564 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18565
18566         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18567         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18568         accepts -fno-tree-loop-distribute-patterns.
18569         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18570         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18571         recursive call.
18572         * string/memset.c (memset): Likewise.
18573         * string/test-memmove.c (simple_memmove): Disable loop transformation
18574         to library calls.
18575         * string/test-memset.c (simple_memset): Likewise.
18576         * benchtests/bench-memmove.c (simple_memmove): Likewise.
18577         * benchtests/bench-memset.c (simple_memset): Likewise.
18578         * configure: Regenerated.
18579
18580 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
18581
18582         * math/test-misc.c (main): Ignore fesetround failure when failures
18583         of subsequent rounding tests would be ignored.
18584
18585         [BZ #15654]
18586         * math/fedisblxcpt.c (fedisableexcept): Return 0.
18587         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18588         * math/fegetenv.c (__fegetenv): Return 0.
18589         * math/fegetexcept.c (fegetexcept): Return 0.
18590         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18591         FE_TONEAREST.
18592         * math/feholdexcpt.c (feholdexcept): Return 0.
18593         * math/fesetenv.c (__fesetenv): Return 0.
18594         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18595         argument FE_TONEAREST.
18596         * math/feupdateenv.c (__feupdateenv): Return 0.
18597         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18598
18599 2013-06-18  Roland McGrath  <roland@hack.frob.com>
18600
18601         * elf/rtld-Rules (rtld-compile-command.S): New variable.
18602         (rtld-compile-command.s, rtld-compile-command.c): New variables.
18603         ($(objpfx)rtld-%.os rules): Use them.
18604
18605 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18606
18607         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18608         fields.
18609
18610 2013-06-17  Roland McGrath  <roland@hack.frob.com>
18611
18612         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18613         length of target pattern, then descending length of dependency pattern.
18614         * configure.in (AWK): Require gawk 3.1.2 or newer.
18615         * manual/install.texi (Tools for Compilation): Say that we do.
18616         * configure: Regenerated.
18617
18618         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18619         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18620         * scripts/sysd-rules.awk: ... this new script.
18621         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18622         than a glob-style pattern.
18623
18624 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
18625
18626         * math/test-misc.c (main): Do not treat incorrectly rounded
18627         conversions as failure unless ROUNDING_TESTS passes.
18628
18629 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
18630
18631         [BZ #15631]
18632         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18633         restore exception state around main square root computation, then
18634         check for inexactness explicitly.
18635
18636         * math/libm-test.inc (fma_test_data): Add another test.
18637
18638 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18639
18640         * manual/threads.texi (Non-POSIX Extensions): New document
18641         node.  Document pthread_getattr_default_np and
18642         pthread_setattr_default_np.
18643
18644         * Versions.def (libpthread): Add GLIBC_2.18.
18645         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18647         Likewise.
18648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18649         Likewise.
18650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18651         Likewise.
18652         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18653         Likewise.
18654         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18655         Likewise.
18656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18657         Likewise.
18658         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18659         Likewise.
18660         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18661         Likewise.
18662         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18663         Likewise.
18664
18665 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18666
18667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18668         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18669
18670 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18671             H.J. Lu  <hjl.tools@gmail.com>
18672
18673         [BZ #15627]
18674         * sysdeps/x86_64/rtld-memset.c: Remove file.
18675         * sysdeps/x86_64/rtld-memset.S: New file.
18676
18677 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
18678
18679         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18680         (test_in_one_mode): Take arguments for whether the rounding mode
18681         is supported for each floating-point type.
18682         (do_test): Pass new arguments to test_in_one_mode using
18683         ROUNDING_TESTS.
18684
18685 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18686
18687         * posix/tst-waitid.c (do_test): Distinguish different instances of
18688         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
18689         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18690         before entering the kernel for waitpid.
18691
18692 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18693
18694         * NEWS: Fix note on clock function precision.  Text by Roland
18695         McGrath.
18696
18697 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18698
18699         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18700         it into place only when and if the sanity check passes.
18701
18702 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
18703
18704         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18705         output for whether conversion result is exact.  Take argument
18706         indicating whether type is IBM long double.
18707         (round_for_all): Change need_exact field to ibm_ld.
18708         * stdlib/tst-strtod-round.c (struct exactness): New type.
18709         (struct test): Change bool ld_ok field to struct exactness exact.
18710         (TEST): Update all definitions for change to field.
18711         (tests): Regenerate array contents.
18712         (test_in_one_mode): Take pointer to new field instead of old ld_ok
18713         field value.  Check for IBM long double here.
18714         (do_test): Update calls to test_in_one_mode.
18715
18716 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18717
18718         [BZ #12515]
18719         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18720         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18721
18722 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18723
18724         [BZ #15605]
18725         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18726         generated by the compiler on loop optimizations.
18727         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18728         general definitions.
18729
18730 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
18731
18732         * math/bug-nextafter.c: Include <math-tests.h>.
18733         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18734         the relevant type.
18735         * math/bug-nexttoward.c: Include <math-tests.h>.
18736         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18737         the relevant type.
18738         * math/test-misc.c: Include <math-tests.h>.
18739         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18740         the relevant type.
18741
18742 2013-06-12  Andreas Jaeger  <aj@suse.de>
18743
18744         * po/ia.po: Update Interlingua translation from translation
18745         project.
18746
18747 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18748
18749         * include/fenv.h: Include stdbool.h.
18750         (struct rm_ctx): New structure.
18751         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18752         Define macro.
18753         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18754         (SET_RESTORE_ROUNDF): Likewise.
18755         (SET_RESTORE_ROUNDL): Likewise.
18756         (SET_RESTORE_ROUND_NOEX): Likewise.
18757         (SET_RESTORE_ROUND_NOEXF): Likewise.
18758         (SET_RESTORE_ROUND_NOEXL): Likewise.
18759         (SET_RESTORE_ROUND_53BIT): Likewise.
18760         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18761         (libc_feresetround_noexf_ctx): Likewise.
18762         (libc_feresetround_noexl_ctx): Likewise.
18763         (libc_feholdsetround_53bit_ctx): Likewise.
18764         (libc_feresetround_53bit_ctx): Likewise.
18765         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18766         (libc_feholdexcept_setround_sse_ctx): New function.
18767         (libc_fesetenv_sse_ctx): Likewise.
18768         (libc_feupdateenv_sse_ctx): Likewise.
18769         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18770         (libc_feholdexcept_setround_387_ctx): Likewise.
18771         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18772         (libc_feholdsetround_387_prec_ctx): Likewise.
18773         (libc_feholdsetround_387_ctx): Likewise.
18774         (libc_feholdsetround_387_53bit_ctx): Likewise.
18775         (libc_feholdsetround_sse_ctx): Likewise.
18776         (libc_feresetround_sse_ctx): Likewise.
18777         (libc_feresetround_387_ctx): Likewise.
18778         (libc_feupdateenv_387_ctx): Likewise.
18779         (libc_feholdexcept_setroundf_ctx): Define macro.
18780         (libc_fesetenvf_ctx): Likewise.
18781         (libc_feupdateenvf_ctx): Likewise.
18782         (libc_feholdsetroundf_ctx): Likewise.
18783         (libc_feresetroundf_ctx): Likewise.
18784         (libc_feholdexcept_setround_ctx): Likewise.
18785         (libc_fesetenv_ctx): Likewise.
18786         (libc_feupdateenv_ctx): Likewise.
18787         (libc_feholdsetround_ctx): Likewise.
18788         (libc_feresetround_ctx): Likewise.
18789         (libc_feholdexcept_setroundl_ctx): Likewise.
18790         (libc_feupdateenvl_ctx): Likewise.
18791         (libc_feholdsetroundl_ctx): Likewise.
18792         (libc_feresetroundl_ctx): Likewise.
18793         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18794         (libc_feresetround_53bit_ctx): Likewise.
18795
18796 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18797
18798         * locale/iso-639.def: Convert to UTF-8.
18799
18800 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
18801
18802         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18803         (EXCEPTION_TESTS_double): Likewise.
18804         (EXCEPTION_TESTS_long_double): Likewise.
18805         (EXCEPTION_TESTS): Likewise.
18806         * math/libm-test.inc (test_exceptions): Only test exceptions if
18807         EXCEPTION_TESTS (FLOAT).
18808
18809 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18810
18811         * benchtests/Makefile (string-bench): Add strcpy_chk and
18812         stpcpy_chk.
18813         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18814         * benchtests/bench-stpcpy_chk.c: New file.
18815         * benchtests/bench-strcpy_chk-ifunc.c: New file.
18816         * benchtests/bench-strcpy_chk.c: New file.
18817         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18818         code.
18819         (do_test): Likewise.
18820
18821 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18822
18823         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18824         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18825         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18826         with tabs where appropriate.
18827         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18828         dl-procinfo.h.
18829         [PPC_PLATFORM_PPC440]: Likewise.
18830         [PPC_PLATFORM_PPC464]: Likewise.
18831         [PPC_PLATFORM_PPC476]: Likewise.
18832         (_dl_string_platform): Add support for detecting ppc405, ppc440,
18833         ppc464, and ppc476 platform strings merging from ports/
18834         dl-procinfo.h.
18835
18836 2013-06-11  Andreas Schwab  <schwab@suse.de>
18837
18838         [BZ #14991]
18839         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18840         (from_ucs4_idx): Regenerate.
18841         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18842         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18843         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18844         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18845         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18846         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18847         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18848         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18849         from FROM_LOOP and TO_LOOP specific macros.
18850         (BODY): Handle combining characters.
18851         * iconvdata/BIG5HKSCS.irreversible: Update.
18852         * iconvdata/BIG5HKSCS.precomposed: New file.
18853         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18854         characters.
18855         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18856
18857 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18858
18859         * include/sys/time.h: Fix indentation and add copyright header.
18860
18861         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18862         (do_test): Likewise.
18863         * string/test-memchr.c (do_one_test): Likewise.
18864         (do_test): Likewise.
18865         * string/test-memcmp.c (do_one_test): Likewise.
18866         (do_test): Likewise.
18867         * string/test-memcpy.c (do_one_test): Likewise.
18868         (do_test): Likewise.
18869         * string/test-memmem.c (do_one_test): Likewise.
18870         (do_test): Likewise.
18871         (do_random_tests): Likewise.
18872         * string/test-memmove.c (do_one_test): Likewise.
18873         (do_test): Likewise.
18874         * string/test-memset.c (do_one_test): Likewise.
18875         (do_test): Likewise.
18876         * string/test-rawmemchr.c (do_one_test): Likewise.
18877         (do_test): Likewise.
18878         * string/test-strcasecmp.c (do_one_test): Likewise.
18879         (do_test): Likewise.
18880         * string/test-strcasestr.c (do_one_test): Likewise.
18881         (do_test): Likewise.
18882         * string/test-strcat.c (do_one_test): Likewise.
18883         (do_test): Likewise.
18884         * string/test-strchr.c (do_one_test): Likewise.
18885         (do_test): Likewise.
18886         * string/test-strcmp.c (do_one_test): Likewise.
18887         (do_test): Likewise.
18888         * string/test-strcpy.c (do_one_test): Likewise.
18889         (do_test): Likewise.
18890         * string/test-string.h: Likewise.
18891         (test_init): Likewise.
18892         * string/test-strlen.c (do_one_test): Likewise.
18893         (do_test): Likewise.
18894         * string/test-strncasecmp.c (do_one_test): Likewise.
18895         (do_test): Likewise.
18896         * string/test-strncat.c (do_one_test): Likewise.
18897         (do_test): Likewise.
18898         * string/test-strncmp.c (do_one_test): Likewise.
18899         (do_test_limit): Likewise.
18900         (do_test): Likewise.
18901         * string/test-strncpy.c (do_one_test): Likewise.
18902         (do_test): Likewise.
18903         * string/test-strnlen.c (do_one_test): Likewise.
18904         (do_test): Likewise.
18905         * string/test-strpbrk.c (do_one_test): Likewise.
18906         (do_test): Likewise.
18907         * string/test-strrchr.c (do_one_test): Likewise.
18908         (do_test): Likewise.
18909         * string/test-strspn.c (do_one_test): Likewise.
18910         (do_test): Likewise.
18911         * string/test-strstr.c (do_one_test): Likewise.
18912         (do_test): Likewise.
18913
18914         * benchtests/Makefile (string-bench): Add string benchmarks.
18915         * benchtests/bench-bcopy-ifunc.c: New file.
18916         * benchtests/bench-bcopy.c: New file.
18917         * benchtests/bench-bzero-ifunc.c: New file.
18918         * benchtests/bench-bzero.c: New file.
18919         * benchtests/bench-memccpy-ifunc.c: New file.
18920         * benchtests/bench-memccpy.c: New file.
18921         * benchtests/bench-memchr-ifunc.c: New file.
18922         * benchtests/bench-memchr.c: New file.
18923         * benchtests/bench-memcmp-ifunc.c: New file.
18924         * benchtests/bench-memcmp.c: New file.
18925         * benchtests/bench-memmem-ifunc.c: New file.
18926         * benchtests/bench-memmem.c: New file.
18927         * benchtests/bench-memmove-ifunc.c: New file.
18928         * benchtests/bench-memmove.c: New file.
18929         * benchtests/bench-mempcpy-ifunc.c: New file.
18930         * benchtests/bench-mempcpy.c: New file.
18931         * benchtests/bench-memset-ifunc.c: New file.
18932         * benchtests/bench-memset.c: New file.
18933         * benchtests/bench-rawmemchr-ifunc.c: New file.
18934         * benchtests/bench-rawmemchr.c: New file.
18935         * benchtests/bench-stpcpy-ifunc.c: New file.
18936         * benchtests/bench-stpcpy.c: New file.
18937         * benchtests/bench-stpncpy-ifunc.c: New file.
18938         * benchtests/bench-stpncpy.c: New file.
18939         * benchtests/bench-strcasecmp-ifunc.c: New file.
18940         * benchtests/bench-strcasecmp.c: New file.
18941         * benchtests/bench-strcasestr-ifunc.c: New file.
18942         * benchtests/bench-strcasestr.c: New file.
18943         * benchtests/bench-strcat-ifunc.c: New file.
18944         * benchtests/bench-strcat.c: New file.
18945         * benchtests/bench-strchr-ifunc.c: New file.
18946         * benchtests/bench-strchr.c: New file.
18947         * benchtests/bench-strchrnul-ifunc.c: New file.
18948         * benchtests/bench-strchrnul.c: New file.
18949         * benchtests/bench-strcmp-ifunc.c: New file.
18950         * benchtests/bench-strcmp.c: New file.
18951         * benchtests/bench-strcpy-ifunc.c: New file.
18952         * benchtests/bench-strcpy.c: New file.
18953         * benchtests/bench-strcspn-ifunc.c: New file.
18954         * benchtests/bench-strcspn.c: New file.
18955         * benchtests/bench-strlen-ifunc.c: New file.
18956         * benchtests/bench-strlen.c: New file.
18957         * benchtests/bench-strncasecmp-ifunc.c: New file.
18958         * benchtests/bench-strncasecmp.c: New file.
18959         * benchtests/bench-strncat-ifunc.c: New file.
18960         * benchtests/bench-strncat.c: New file.
18961         * benchtests/bench-strncmp-ifunc.c: New file.
18962         * benchtests/bench-strncmp.c: New file.
18963         * benchtests/bench-strncpy-ifunc.c: New file.
18964         * benchtests/bench-strncpy.c: New file.
18965         * benchtests/bench-strnlen-ifunc.c: New file.
18966         * benchtests/bench-strnlen.c: New file.
18967         * benchtests/bench-strpbrk-ifunc.c: New file.
18968         * benchtests/bench-strpbrk.c: New file.
18969         * benchtests/bench-strrchr-ifunc.c: New file.
18970         * benchtests/bench-strrchr.c: New file.
18971         * benchtests/bench-strspn-ifunc.c: New file.
18972         * benchtests/bench-strspn.c: New file.
18973         * benchtests/bench-strstr-ifunc.c: New file.
18974         * benchtests/bench-strstr.c: New file.
18975
18976         * benchtests/Makefile: Disable parallel execution of targets.
18977         (string-bench): Add memcpy.
18978         (benchset): New variable to store a list of benchmark sets.
18979         (bench-func): Renamed from bench.
18980         (bench-set): New target.
18981         (bench): Depend on bench-func and bench-set.
18982         * benchtests/README: Add section on benchmark sets.
18983         * benchtests/bench-memcpy-ifunc.c: New file.
18984         * benchtests/bench-memcpy.c: New file.
18985         * benchtests/bench-string.h: New file.
18986
18987 2013-06-11  Andreas Schwab  <schwab@suse.de>
18988
18989         [BZ #15577]
18990         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18991         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18992         values in the triple.
18993         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18994         terminator in the group key.
18995
18996 2013-06-11  Andreas Jaeger  <aj@suse.de>
18997
18998         * po/zh_TW.po: Update Chinese (traditional) translation from
18999         translation project.
19000
19001 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19002
19003         * include/time.h (__clock_gettime): Add libc_hidden_proto.
19004         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19005         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
19006         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19007         (clock_getcpuclockid): Likewise.
19008         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19009         Add weak_alias and libc_hidden_def.
19010         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19011         * rt/clock_gettime.c (clock_gettime): Rename to
19012         __clock_gettime.  Add weak_alias and libc_hidden_def.
19013         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19014         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19015         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
19016         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19017         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19018         Likewise.
19019         * rt/clock_settime.c (clock_settime): Rename to
19020         __clock_settime.  Add weak_alias and libc_hidden_def.
19021         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19022
19023 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
19024
19025         * mach/err_boot.sub: Remove trailing whitespace.
19026         * mach/err_ipc.sub: Likewise.
19027         * mach/err_mach.sub: Likewise.
19028
19029         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19030         (ROUNDING_TESTS_double): Likewise.
19031         (ROUNDING_TESTS_long_double): Likewise.
19032         (ROUNDING_TESTS): Likewise.
19033         * math/libm-test.inc: Include <math-tests.h>.
19034         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19035         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19036         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19037         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19038
19039 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19040
19041         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19042         of assigning.
19043
19044 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
19045
19046         * sysdeps/gnu/errlist.awk: Do not generate space at end of
19047         otherwise empty TRANS lines.
19048         * sysdeps/gnu/errlist.c: Regenerated.
19049
19050         * catgets/gencat.c (error_print): Use (void) in function
19051         definition.
19052         * crypt/crypt_util.c (__init_des): Likewise.
19053         * crypt/speeds.c (Stop): Likewise.
19054         (main): Likewise.
19055         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19056         * inet/ruserpass.c (token): Likewise.
19057         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19058         * intl/localealias.c (extend_alias_table): Likewise.
19059         * intl/plural-exp.c (init_germanic_plural): Likewise.
19060         * libio/fcloseall.c (__fcloseall): Likewise.
19061         * libio/genops.c (_IO_flush_all): Likewise.
19062         (_IO_flush_all_linebuffered): Likewise.
19063         (_IO_cleanup): Likewise.
19064         (_IO_iter_begin): Likewise.
19065         (_IO_iter_end): Likewise.
19066         (_IO_list_lock): Likewise.
19067         (_IO_list_unlock): Likewise.
19068         (_IO_list_resetlock): Likewise.
19069         * libio/getchar.c (getchar): Likewise.
19070         * libio/getchar_u.c (getchar_unlocked): Likewise.
19071         * libio/getwchar.c (getwchar): Likewise.
19072         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19073         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19074         * login/getpt.c (__getpt): Likewise.
19075         * login/tst-utmp.c (main): Likewise.
19076         * malloc/hooks.c (__malloc_check_init): Likewise.
19077         * malloc/malloc.c (__malloc_stats): Likewise.
19078         * malloc/mtrace.c (tr_break): Likewise.
19079         (mtrace): Likewise.
19080         (muntrace): Likewise.
19081         * misc/fstab.c (endfsent): Likewise.
19082         * misc/getclktck.c (__getclktck): Likewise.
19083         * misc/getdtsz.c (__getdtablesize): Likewise.
19084         * misc/gethostid.c (gethostid): Likewise.
19085         * misc/getpagesize.c (__getpagesize): Likewise.
19086         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19087         (__get_nprocs): Likewise.
19088         (__get_phys_pages): Likewise.
19089         (__get_avphys_pages): Likewise.
19090         * misc/getttyent.c (getttyent): Likewise.
19091         (setttyent): Likewise.
19092         (endttyent): Likewise.
19093         * misc/getusershell.c (getusershell): Likewise.
19094         (endusershell): Likewise.
19095         (setusershell): Likewise.
19096         (initshells): Likewise.
19097         * misc/hsearch.c (__hdestroy): Likewise.
19098         * misc/sync.c (sync): Likewise.
19099         * misc/syslog.c (closelog_internal): Likewise.
19100         (closelog): Likewise.
19101         * misc/ttyslot.c (ttyslot): Likewise.
19102         * misc/vhangup.c (vhangup): Likewise.
19103         * posix/fork.c (__fork): Likewise.
19104         * posix/getegid.c (__getegid): Likewise.
19105         * posix/geteuid.c (__geteuid): Likewise.
19106         * posix/getgid.c (__getgid): Likewise.
19107         * posix/getpid.c (__getpid): Likewise.
19108         * posix/getppid.c (__getppid): Likewise.
19109         * posix/getuid.c (__getuid): Likewise.
19110         * posix/pause.c (pause): Likewise.
19111         * posix/setpgrp.c (setpgrp): Likewise.
19112         * posix/setsid.c (__setsid): Likewise.
19113         * posix/test-vfork.c (noop): Likewise.
19114         * resolv/gethnamaddr.c (_endhtent): Likewise.
19115         (_gethtent): Likewise.
19116         (ht_endhostent): Likewise.
19117         (gethostent): Likewise.
19118         (dns_service): Likewise.
19119         * stdlib/drand48.c (drand48): Likewise.
19120         * stdlib/lrand48.c (lrand48): Likewise.
19121         * stdlib/mrand48.c (mrand48): Likewise.
19122         * stdlib/rand.c (rand): Likewise.
19123         * stdlib/random.c (__random): Likewise.
19124         * stdlib/setenv.c (clearenv): Likewise.
19125         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19126         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19127         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19128         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19129         (__get_nprocs): Likewise.
19130         (__get_phys_pages): Likewise.
19131         (__get_avphys_pages): Likewise.
19132         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19133         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19134         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19135         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19136         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19137         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19138         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19139         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19140         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19141         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19142         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19143         * sysdeps/mach/hurd/sync.c (sync): Likewise.
19144         * sysdeps/posix/clock.c (clock): Likewise.
19145         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19146         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19147         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19148         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19149         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19150         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19151         (__get_nprocs_conf): Likewise.
19152         (__get_phys_pages): Likewise.
19153         (__get_avphys_pages): Likewise.
19154         * time/clock.c (clock): Likewise.
19155         * time/tzset.c (__tzname_max): Likewise.
19156
19157 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
19158
19159         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19160         (__bswap_32): Do not use "register".
19161         * crypt/crypt.c (_ufc_doit_r): Likewise.
19162         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19163         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19164         * gmon/gmon.c (__monstartup): Likewise.
19165         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19166         * hurd/hurdmalloc.c (more_memory): Likewise.
19167         (malloc): Likewise.
19168         (free): Likewise.
19169         (realloc): Likewise.
19170         (malloc_fork_prepare): Likewise.
19171         (malloc_fork_parent): Likewise.
19172         (malloc_fork_child): Likewise.
19173         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19174         (_svcauth_des): Likewise.
19175         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19176         * inet/inet_net.c (inet_network): Likewise.
19177         * inet/inet_netof.c (inet_netof): Likewise.
19178         * inet/rcmd.c (__validuser2_sa): Likewise.
19179         * io/fts.c (fts_open): Likewise.
19180         (fts_load): Likewise.
19181         (fts_close): Likewise.
19182         (fts_read): Likewise.
19183         (fts_children): Likewise.
19184         (fts_build): Likewise.
19185         (fts_stat): Likewise.
19186         (fts_sort): Likewise.
19187         (fts_alloc): Likewise.
19188         (fts_lfree): Likewise.
19189         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19190         (_IO_file_xsgetn): Likewise.
19191         (_IO_file_xsgetn_mmap): Likewise.
19192         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19193         (_IO_cookie_write): Likewise.
19194         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19195         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19196         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19197         * malloc/obstack.c (_obstack_begin): Likewise.
19198         (_obstack_begin_1): Likewise.
19199         (_obstack_newchunk): Likewise.
19200         (_obstack_allocated_p): Likewise.
19201         (obstack_free): Likewise.
19202         (_obstack_memory_used): Likewise.
19203         * misc/getttyent.c (getttynam): Likewise.
19204         (getttyent): Likewise.
19205         (skip): Likewise.
19206         (value): Likewise.
19207         * misc/getusershell.c (initshells): Likewise.
19208         * misc/syslog.c (__vsyslog_chk): Likewise.
19209         * misc/ttyslot.c (ttyslot): Likewise.
19210         * nis/nis_hash.c (__nis_hash): Likewise.
19211         * posix/fnmatch_loop.c (FCT): Likewise.
19212         * posix/getconf.c (print_all): Likewise.
19213         (main): Likewise.
19214         * posix/getopt.c (exchange): Likewise.
19215         * posix/glob.c (globfree): Likewise.
19216         (prefix_array): Likewise.
19217         (__glob_pattern_type): Likewise.
19218         * resolv/arpa/nameser.h (NS_GET16): Likewise.
19219         (NS_GET32): Likewise.
19220         (NS_PUT16): Likewise.
19221         (NS_PUT32): Likewise.
19222         * resolv/gethnamaddr.c (getanswer): Likewise.
19223         (gethostbyname2): Likewise.
19224         (gethostbyaddr): Likewise.
19225         (_gethtent): Likewise.
19226         (_gethtbyname2): Likewise.
19227         (_gethtbyaddr): Likewise.
19228         * resolv/ns_print.c (dst_s_get_int16): Likewise.
19229         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19230         * resolv/res_init.c (__res_vinit): Likewise.
19231         (net_mask): Likewise.
19232         * resolv/res_mkquery.c (outchar): Likewise.
19233         (PRINT): Likewise.
19234         * stdio-common/printf_fp.c (outchar): Likewise.
19235         (PRINT): Likewise.
19236         * stdio-common/printf_fphex.c (outchar): Likewise.
19237         (PRINT): Likewise.
19238         * stdio-common/printf_size.c (outchar): Likewise.
19239         (PRINT): Likewise.
19240         * stdio-common/test_rdwr.c (main): Likewise.
19241         * stdio-common/tfformat.c (matches): Likewise.
19242         * stdio-common/vfprintf.c (outchar): Likewise.
19243         (printf_unknown): Likewise.
19244         (buffered_vfprintf): Likewise.
19245         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19246         * stdio-common/xbug.c (AppendToBuffer): Likewise.
19247         (ReadFile): Likewise.
19248         * stdlib/qsort.c (SWAP): Likewise.
19249         (_quicksort): Likewise.
19250         * stdlib/setenv.c (__add_to_environ): Likewise.
19251         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19252         * stdlib/strtol_l.c (__strtol_l): Likewise.
19253         * stdlib/tst-strtod.c (main): Likewise.
19254         * stdlib/tst-strtol.c (main): Likewise.
19255         * stdlib/tst-strtoll.c (main): Likewise.
19256         * string/bits/string2.h (__strcmp_cc): Likewise.
19257         (__strcmp_cg): Likewise.
19258         (__strcspn_c1): Likewise.
19259         (__strcspn_c2): Likewise.
19260         (__strcspn_c3): Likewise.
19261         (__strspn_c1): Likewise.
19262         (__strspn_c2): Likewise.
19263         (__strspn_c3): Likewise.
19264         (__strsep_1c): Likewise.
19265         (__strsep_2c): Likewise.
19266         (__strsep_3c): Likewise.
19267         * string/memccpy.c (__memccpy): Likewise.
19268         * string/stpcpy.c (__stpcpy): Likewise.
19269         * string/strcmp.c (strcmp): Likewise.
19270         * string/strrchr.c (strrchr): Likewise.
19271         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19272         Likewise.
19273         * sysdeps/mach/hurd/getcwd.c
19274         (_hurd_canonicalize_directory_name_internal): Likewise.
19275         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19276         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19277         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19278         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19279         Likewise, in both definitions.
19280         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19281         definitions.
19282         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19283         64] (__bswap_64): Likewise.
19284         * time/test_time.c (main): Likewise.
19285         * time/tzfile.c (__tzfile_read): Likewise.
19286         (__tzfile_compute): Likewise.
19287         * time/tzset.c (__tzset_parse_tz): Likewise.
19288         (tzset_internal): Likewise.
19289         (compute_change): Likewise.
19290         * wcsmbs/wcscat.c (__wcscat): Likewise.
19291         * wcsmbs/wcschr.c (wcschr): Likewise.
19292         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19293         * wcsmbs/wcscspn.c (wcscspn): Likewise.
19294         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19295         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19296         * wcsmbs/wcsspn.c (wcsspn): Likewise.
19297         * wcsmbs/wcsstr.c (wcsstr): Likewise.
19298         * wcsmbs/wmemchr.c (wmemchr): Likewise.
19299         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19300         * wcsmbs/wmemset.c (wmemset): Likewise.
19301
19302 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
19303
19304         * scripts/config.guess: Update to version 2013-05-16.
19305         * scripts/config.sub: Update to version 2013-04-24.
19306         * scripts/install-sh: Update to version 2011-11-20.07.
19307         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19308         * scripts/move-if-change: Update to version 2012-01-06 07:23.
19309
19310 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
19311
19312         * debug/fgetws_u_chk.c: Fix leading whitespaces.
19313         * elf/sln.c: Likewise.
19314         * hurd/hurd/ioctl.h: Likewise.
19315         * hurd/hurdmalloc.c: Likewise.
19316         * hurd/xattr.c: Likewise.
19317         * include/shlib-compat.h: Likewise.
19318         * inet/ruserpass.c: Likewise.
19319         * libio/iofgets_u.c: Likewise.
19320         * libio/iofgetws_u.c: Likewise.
19321         * locale/programs/ld-identification.c: Likewise.
19322         * locale/programs/ld-time.c: Likewise.
19323         * mach/msg-destroy.c: Likewise.
19324         * nss/nss_files/files-netgrp.c: Likewise.
19325         * resolv/res_data.c: Likewise.
19326         * soft-fp/op-1.h: Likewise.
19327         * soft-fp/op-2.h: Likewise.
19328         * soft-fp/op-4.h: Likewise.
19329         * soft-fp/op-common.h: Likewise.
19330         * stdio-common/printf_fphex.c: Likewise.
19331         * stdlib/strtod_l.c: Likewise.
19332         * sunrpc/rpc/clnt.h: Likewise.
19333         * sysdeps/generic/framestate.c: Likewise.
19334         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19335         * sysdeps/i386/bsd-setjmp.S: Likewise.
19336         * sysdeps/i386/__longjmp.S: Likewise.
19337         * sysdeps/i386/setjmp.S: Likewise.
19338         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19339         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19340         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19341         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19342         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19343         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19344         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19345         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19346         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19347         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19348         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19349         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19350         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19351         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19352         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19353         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19354         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19355         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19356         * sysdeps/ieee754/support.c: Likewise.
19357         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19358         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19359         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19360         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19361         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19362         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19363         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19364         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19365         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19366         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19367         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19368         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19369         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19370         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19371         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19372         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19373         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19375
19376 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
19377
19378         * posix/transbug.c: Remove executable mode.
19379
19380 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
19381
19382         * crypt/speeds.c: Remove trailing whitespace.
19383         * dlfcn/default.c: Likewise.
19384         * elf/ifuncdep2.c: Likewise.
19385         * elf/ifuncmain1.c: Likewise.
19386         * elf/ifuncmain1vis.c: Likewise.
19387         * elf/testobj.h: Likewise.
19388         * elf/tst-stackguard1.c: Likewise.
19389         * gmon/sys/gmon.h: Likewise.
19390         * hurd/hurdmsg.c: Likewise.
19391         * hurd/new-fd.c: Likewise.
19392         * hurd/ports-get.c: Likewise.
19393         * iconvdata/ibm1008_420.c: Likewise.
19394         * inet/tst-getni1.c: Likewise.
19395         * inet/tst-getni2.c: Likewise.
19396         * libio/ioungetc.c: Likewise.
19397         * libio/wfiledoalloc.c: Likewise.
19398         * manual/libm-err-tab.pl: Likewise.
19399         * math/w_dremf.c: Likewise.
19400         * misc/ftruncate.c: Likewise.
19401         * posix/bug-glob2.c: Likewise.
19402         * posix/tst-pcre.c: Likewise.
19403         * posix/wait4.c: Likewise.
19404         * resolv/README: Likewise.
19405         * resolv/res_debug.h: Likewise.
19406         * resolv/tst-inet_ntop.c: Likewise.
19407         * setjmp/bug269-setjmp.c: Likewise.
19408         * soft-fp/extended.h: Likewise.
19409         * soft-fp/op-1.h: Likewise.
19410         * soft-fp/op-2.h: Likewise.
19411         * soft-fp/op-4.h: Likewise.
19412         * soft-fp/op-8.h: Likewise.
19413         * soft-fp/testit.c: Likewise.
19414         * stdio-common/bug16.c: Likewise.
19415         * stdlib/random.c: Likewise.
19416         * sunrpc/rpcsvc/rquota.x: Likewise.
19417         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19418         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19419         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19420         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19421         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19422         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19423         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19424         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19425         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19426         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19427         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19428         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19429         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19430         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19431         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19432         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19433         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19434         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19435         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19436         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19437         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19438         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19439         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19440         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19441         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19442         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19443         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19444         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19445         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19446         * sysdeps/ieee754/s_lib_version.c: Likewise.
19447         * sysdeps/mach/hurd/check_fds.c: Likewise.
19448         * sysdeps/mach/hurd/getsockname.c: Likewise.
19449         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19450         * sysdeps/mach/hurd/recvfrom.c: Likewise.
19451         * sysdeps/powerpc/bits/link.h: Likewise.
19452         * sysdeps/powerpc/dl-procinfo.c: Likewise.
19453         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19454         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19455         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19456         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19457         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19458         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19459         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19460         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19461         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19462         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19463         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19464         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19465         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19466         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19467         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19468         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19469         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19470         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19471         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19472         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19473         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19474         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19475         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19476         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19477         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19478         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19479         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19480         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19481         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19482         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19483         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19484         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19485         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19486         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19487         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19488         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19489         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19490         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19491         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19492         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19493         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19494         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19495         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19496         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19497         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19498         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19499         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19500         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19501         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19502         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19503         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19504         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19505         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19506         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19507         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19508         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19509         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19510         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19511         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19512         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19513         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19514         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19515         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19516         * sysdeps/powerpc/sysdep.h: Likewise.
19517         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19518         * sysdeps/s390/s390-64/sub_n.S: Likewise.
19519         * sysdeps/sh/dl-trampoline.S: Likewise.
19520         * sysdeps/sh/memset.S: Likewise.
19521         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19522         * sysdeps/sh/strlen.S: Likewise.
19523         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19524         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19525         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19526         * sysdeps/sparc/sparc32/rem.S: Likewise.
19527         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19528         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19529         * sysdeps/sparc/sparc32/strchr.S: Likewise.
19530         * sysdeps/sparc/sparc32/udiv.S: Likewise.
19531         * sysdeps/sparc/sparc32/urem.S: Likewise.
19532         * sysdeps/sparc/sparc64/add_n.S: Likewise.
19533         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19534         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19535         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19536         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19537         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19538         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19539         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19540         * sysdeps/unix/bsd/times.c: Likewise.
19541         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19542         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19546         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19547         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19548         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19549         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19550         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19551         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19552         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19553         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19554         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19555         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19556         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19557         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19558         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19559         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19560         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19561         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19562         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19563         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19564         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19565         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19566         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19567         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19568         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19569         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19570         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19571         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19572         * sysdeps/x86_64/strcspn.S: Likewise.
19573
19574 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19575
19576         * locale/C-translit.h: Revert #include <stdint.h> because this is a
19577         generated file.  Regenerate properly from gen-translit.pl.
19578         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
19579         locale/C-translit.h.
19580
19581 2013-06-05  Andreas Schwab  <schwab@suse.de>
19582
19583         [BZ #15100]
19584         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19585         week as 6 instead of -1.
19586         * time/tst-strptime.c (day_tests): Add test case.
19587
19588 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19589
19590         * sysdeps/generic/math_private.h
19591         (libc_feholdexcept_setround_53bit): Replace with
19592         libc_feholdsetround_53bit.
19593         (libc_feupdateenv_53bit): Replace with
19594         libc_feresetround_53bit.
19595         (SET_RESTORE_ROUND_53BIT): Adjust.
19596
19597 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19598
19599         * string/test-strchrnul.c: Add copyright header.
19600
19601         * posix/tst-getaddrinfo4.c: Increase test timeout.
19602
19603 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
19604
19605         [BZ #15536]
19606         * math/libm-test.inc (MAX_EXP): Remove
19607         (MIN_EXP): Define.
19608         (ulp): Use MIN_EXP - MANT_DIG.
19609         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19610
19611 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
19612
19613         * po/be.po: Revert last change.
19614         * po/zh_CN.po: Likewise.
19615         * po/header.pot: Likewise.
19616
19617 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
19618
19619         * Makefile ($(common-objpfx)linkobj/libc.so): Define
19620         link-libc-deps to empty as target-specific variable.
19621         * Makerules (link-libc-args): New variable.
19622         (libc-for-link): Likewise.
19623         (link-libc-deps): Likewise.
19624         (lib%.so): Depend on $(link-libc-deps).  Link with
19625         $(link-libc-args).
19626         (build-module): Link with $(link-libc-args).
19627         (build-module-asneeded): Likewise.
19628         (build-module-helper-objlist): Filter out $(link-libc-deps) from
19629         list of objects.
19630         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19631         target-specific variable.
19632         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19633         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19634         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19635         libc.
19636         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19637         libc and ld.so.
19638         ($(objpfx)libpcprofile.so): Likewise.
19639         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19640         libc_nonshared.a.
19641         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19642         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19643         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19644         $(link-libc-deps).
19645         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19646         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19647         * login/Makefile ($(objpfx)libutil.so): Likewise.
19648         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19649         * math/Makefile ($(objpfx)libm.so): Likewise.
19650         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19651         $(objpfx)libnsl.so): Define libc-for-link as target-specific
19652         variable instead of depending directly on libc.
19653         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19654         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19655         $(link-libc-deps).
19656         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19657         libc.
19658         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19659         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19660         ($(objpfx)libanl.so): Likewise.
19661         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19662         ld.so.
19663         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19664         $(link-libc-deps).
19665         * sysdeps/i386/fpu/Makefile: Remove file.
19666         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19667         ($(objpfx)libm.so): Remove dependency on ld.so.
19668
19669 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
19670
19671         [BZ # 15553]
19672         * nis/yp_xdr.c (XDRMAXNAME): Define.
19673         (XDRMAXRECORD): Define.
19674         (xdr_domainname): Use XDRMAXNAME.
19675         (xdr_mapname): Likewise.
19676         (xdr_peername): Likewise.
19677         (xdr_keydat): Use XDRMAXRECORD.
19678         (xdr_valdat): Likewise.
19679
19680 2013-05-30  Jeff Law  <law@redhat.com>
19681
19682         [BZ #14256]
19683         * manual/errno.texi (ESTALE): Update to account for more than
19684         just NFS file systems.
19685         * sysdeps/gnu/errlist.c: Regenerated.
19686
19687 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19688
19689         [BZ #15465]
19690         * elf/Makefile (tests): Add tst-null-argv.
19691         (modules-names):  Add tst-null-argv-lib.
19692         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19693         (tst-null-argv-ENV): Set environment for tst-null-argv.
19694         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19695         (RTLD_PROGNAME): New macro.
19696         * elf/tst-null-argv.c: New test case.
19697         * elf/tst-null-argv-lib.c: Library for test case.
19698         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19699         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19700         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19701         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19702         * elf/dl-init.c (call_init): Likewise.
19703         (_dl_init): Likewise.
19704         * elf/dl-load.c (print_search_path): Likewise.
19705         (_dl_map_object): Likewise.
19706         * elf/dl-lookup.c (do_lookup_x): Likewise.
19707         (add_dependency): Likewise.
19708         (_dl_lookup_symbol_x): Likewise.
19709         (_dl_debug_bindings): Likewise.
19710         * elf/dl-open.c (_dl_show_scope): Likewise.
19711         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19712         * elf/dl-version.c (match_symbol): Likewise.
19713         (_dl_check_map_versions): Likewise.
19714         * elf/rtld.c (dl_main): Likewise.
19715         (print_unresolved): Use RTLD_PROGNAME.
19716         (print_missing_version): Likewise.
19717         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19718         (elf_machine_rela): Likewise.
19719         * sysdeps/powerpc/powerpc32/dl-machine.c
19720         (__process_machine_rela): Likewise.
19721         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19722         Likewise.
19723         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19724         Likewise.
19725         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19726         Likewise.
19727         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19728         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19729         Likewise.
19730         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19731         Likewise.
19732         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19733
19734 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
19735
19736         * po/be.po: Add descriptive title.
19737         * po/zh_CN.po: Likewise.
19738         * po/header.pot: Likewise.
19739
19740 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
19741
19742         * locale/programs/locarchive.c (create_archive): Inlucde fname in
19743         error message.
19744         (enlarge_archive): Likewise.
19745
19746 2013-05-28  Ben North  <ben@redfrontdoor.org>
19747
19748         * manual/arith.texi (frexp): It is the magnitude of the return
19749         value which lies in [0.5, 1), not the return value itself.
19750
19751 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19752
19753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19754
19755 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
19756
19757         * stdio-common/bug26.c (main): Correct fscanf template.
19758
19759         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19760         declare _dl_skip_args.
19761
19762         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19763         Don't declare.
19764
19765         * manual/platform.texi: Add missing @end deftypefun.
19766
19767 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19768
19769         [BZ #15529]
19770         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19771         bit of mantissa of 2^16382.
19772         * math/libm-test.inc (hypot_test_data): Add more tests.
19773
19774         * math/libm-test.inc: Add drem and pow10 to list of tested
19775         functions.
19776         (pow10_test): New function.
19777         (drem_test): Likewise.
19778         (drem_test_tonearest): Likewise.
19779         (drem_test_towardzero): Likewise.
19780         (drem_test_downward): Likewise.
19781         (drem_test_upward): Likewise.
19782         (main): Call the new functions.
19783
19784         * math/libm-test.inc (finite_test_data): Remove.
19785         (finite_test): Run tests from isfinite_test_data.
19786         (gamma_test_data): Remove.
19787         (gamma_test): Run tests from lgamma_test_data.
19788         * sysdeps/i386/fpu/libm-test-ulps: Update.
19789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19790
19791 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19792
19793         * manual/platform.texi: Add PowerPC PPR function set documentation.
19794         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19795         implementation.
19796
19797 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
19798
19799         * math/libm-test.inc (MAX_EXP): Define.
19800         (ULPDIFF): Define.
19801         (ulp): New function.
19802         (check_float_internal): Use ULPDIFF.
19803         (cpow_test): Disable failing test.
19804         (check_ulp): Test ulp() implemetnation.
19805         (main): Call check_ulp before starting tests.
19806
19807 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19808
19809         * math/gen-libm-test.pl (generate_testfile): Do not handle
19810         START_DATA and END_DATA.
19811         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19812         END_DATA.
19813         (acos_tonearest_test_data): Likewise.
19814         (acos_towardzero_test_data): Likewise.
19815         (acos_downward_test_data): Likewise.
19816         (acos_upward_test_data): Likewise.
19817         (acosh_test_data): Likewise.
19818         (asin_test_data): Likewise.
19819         (asin_tonearest_test_data): Likewise.
19820         (asin_towardzero_test_data): Likewise.
19821         (asin_downward_test_data): Likewise.
19822         (asin_upward_test_data): Likewise.
19823         (asinh_test_data): Likewise.
19824         (atan_test_data): Likewise.
19825         (atanh_test_data): Likewise.
19826         (atan2_test_data): Likewise.
19827         (cabs_test_data): Likewise.
19828         (cacos_test_data): Likewise.
19829         (cacosh_test_data): Likewise.
19830         (carg_test_data): Likewise.
19831         (casin_test_data): Likewise.
19832         (casinh_test_data): Likewise.
19833         (catan_test_data): Likewise.
19834         (catanh_test_data): Likewise.
19835         (cbrt_test_data): Likewise.
19836         (ccos_test_data): Likewise.
19837         (ccosh_test_data): Likewise.
19838         (ceil_test_data): Likewise.
19839         (cexp_test_data): Likewise.
19840         (cimag_test_data): Likewise.
19841         (clog_test_data): Likewise.
19842         (clog10_test_data): Likewise.
19843         (conj_test_data): Likewise.
19844         (copysign_test_data): Likewise.
19845         (cos_test_data): Likewise.
19846         (cos_tonearest_test_data): Likewise.
19847         (cos_towardzero_test_data): Likewise.
19848         (cos_downward_test_data): Likewise.
19849         (cos_upward_test_data): Likewise.
19850         (cosh_test_data): Likewise.
19851         (cosh_tonearest_test_data): Likewise.
19852         (cosh_towardzero_test_data): Likewise.
19853         (cosh_downward_test_data): Likewise.
19854         (cosh_upward_test_data): Likewise.
19855         (cpow_test_data): Likewise.
19856         (cproj_test_data): Likewise.
19857         (creal_test_data): Likewise.
19858         (csin_test_data): Likewise.
19859         (csinh_test_data): Likewise.
19860         (csqrt_test_data): Likewise.
19861         (ctan_test_data): Likewise.
19862         (ctan_tonearest_test_data): Likewise.
19863         (ctan_towardzero_test_data): Likewise.
19864         (ctan_downward_test_data): Likewise.
19865         (ctan_upward_test_data): Likewise.
19866         (ctanh_test_data): Likewise.
19867         (ctanh_tonearest_test_data): Likewise.
19868         (ctanh_towardzero_test_data): Likewise.
19869         (ctanh_downward_test_data): Likewise.
19870         (ctanh_upward_test_data): Likewise.
19871         (erf_test_data): Likewise.
19872         (erfc_test_data): Likewise.
19873         (exp_test_data): Likewise.
19874         (exp_tonearest_test_data): Likewise.
19875         (exp_towardzero_test_data): Likewise.
19876         (exp_downward_test_data): Likewise.
19877         (exp_upward_test_data): Likewise.
19878         (exp10_test_data): Likewise.
19879         (exp2_test_data): Likewise.
19880         (expm1_test_data): Likewise.
19881         (fabs_test_data): Likewise.
19882         (fdim_test_data): Likewise.
19883         (finite_test_data): Likewise.
19884         (floor_test_data): Likewise.
19885         (fma_test_data): Likewise.
19886         (fma_towardzero_test_data): Likewise.
19887         (fma_downward_test_data): Likewise.
19888         (fma_upward_test_data): Likewise.
19889         (fmax_test_data): Likewise.
19890         (fmin_test_data): Likewise.
19891         (fmod_test_data): Likewise.
19892         (fpclassify_test_data): Likewise.
19893         (frexp_test_data): Likewise.
19894         (gamma_test_data): Likewise.
19895         (hypot_test_data): Likewise.
19896         (ilogb_test_data): Likewise.
19897         (isfinite_test_data): Likewise.
19898         (isgreater_test_data): Likewise.
19899         (isgreaterequal_test_data): Likewise.
19900         (isinf_test_data): Likewise.
19901         (isless_test_data): Likewise.
19902         (islessequal_test_data): Likewise.
19903         (islessgreater_test_data): Likewise.
19904         (isnan_test_data): Likewise.
19905         (isnormal_test_data): Likewise.
19906         (issignaling_test_data): Likewise.
19907         (isunordered_test_data): Likewise.
19908         (j0_test_data): Likewise.
19909         (j1_test_data): Likewise.
19910         (jn_test_data): Likewise.
19911         (ldexp_test_data): Likewise.
19912         (lgamma_test_data): Likewise.
19913         (lrint_test_data): Likewise.
19914         (lrint_tonearest_test_data): Likewise.
19915         (lrint_towardzero_test_data): Likewise.
19916         (lrint_downward_test_data): Likewise.
19917         (lrint_upward_test_data): Likewise.
19918         (llrint_test_data): Likewise.
19919         (llrint_tonearest_test_data): Likewise.
19920         (llrint_towardzero_test_data): Likewise.
19921         (llrint_downward_test_data): Likewise.
19922         (llrint_upward_test_data): Likewise.
19923         (log_test_data): Likewise.
19924         (log10_test_data): Likewise.
19925         (log1p_test_data): Likewise.
19926         (log2_test_data): Likewise.
19927         (logb_test_data): Likewise.
19928         (logb_downward_test_data): Likewise.
19929         (lround_test_data): Likewise.
19930         (llround_test_data): Likewise.
19931         (modf_test_data): Likewise.
19932         (nearbyint_test_data): Likewise.
19933         (nextafter_test_data): Likewise.
19934         (nexttoward_test_data): Likewise.
19935         (pow_test_data): Likewise.
19936         (pow_tonearest_test_data): Likewise.
19937         (pow_towardzero_test_data): Likewise.
19938         (pow_downward_test_data): Likewise.
19939         (pow_upward_test_data): Likewise.
19940         (remainder_test_data): Likewise.
19941         (remainder_tonearest_test_data): Likewise.
19942         (remainder_towardzero_test_data): Likewise.
19943         (remainder_downward_test_data): Likewise.
19944         (remainder_upward_test_data): Likewise.
19945         (remquo_test_data): Likewise.
19946         (rint_test_data): Likewise.
19947         (rint_tonearest_test_data): Likewise.
19948         (rint_towardzero_test_data): Likewise.
19949         (rint_downward_test_data): Likewise.
19950         (rint_upward_test_data): Likewise.
19951         (round_test_data): Likewise.
19952         (scalb_test_data): Likewise.
19953         (scalbn_test_data): Likewise.
19954         (scalbln_test_data): Likewise.
19955         (signbit_test_data): Likewise.
19956         (sin_test_data): Likewise.
19957         (sin_tonearest_test_data): Likewise.
19958         (sin_towardzero_test_data): Likewise.
19959         (sin_downward_test_data): Likewise.
19960         (sin_upward_test_data): Likewise.
19961         (sincos_test_data): Likewise.
19962         (sinh_test_data): Likewise.
19963         (sinh_tonearest_test_data): Likewise.
19964         (sinh_towardzero_test_data): Likewise.
19965         (sinh_downward_test_data): Likewise.
19966         (sinh_upward_test_data): Likewise.
19967         (sqrt_test_data): Likewise.
19968         (tan_test_data): Likewise.
19969         (tan_tonearest_test_data): Likewise.
19970         (tan_towardzero_test_data): Likewise.
19971         (tan_downward_test_data): Likewise.
19972         (tan_upward_test_data): Likewise.
19973         (tanh_test_data): Likewise.
19974         (tgamma_test_data): Likewise.
19975         (trunc_test_data): Likewise.
19976         (y0_test_data): Likewise.
19977         (y1_test_data): Likewise.
19978         (yn_test_data): Likewise.
19979         (significand_test_data): Likewise.
19980
19981         * math/gen-libm-test.pl (@functions): Remove variable.
19982         (generate_testfile): Don't handle START and END lines.
19983         * math/libm-test.inc (START): New macro.
19984         (END): Likewise.
19985         (END_COMPLEX): Likewise.
19986         (acos_test): Use END macro without arguments.
19987         (acos_test_tonearest): Likewise.
19988         (acos_test_towardzero): Likewise.
19989         (acos_test_downward): Likewise.
19990         (acos_test_upward): Likewise.
19991         (acosh_test): Likewise.
19992         (asin_test): Likewise.
19993         (asin_test_tonearest): Likewise.
19994         (asin_test_towardzero): Likewise.
19995         (asin_test_downward): Likewise.
19996         (asin_test_upward): Likewise.
19997         (asinh_test): Likewise.
19998         (atan_test): Likewise.
19999         (atanh_test): Likewise.
20000         (atan2_test): Likewise.
20001         (cabs_test): Likewise.
20002         (cacos_test): Use END_COMPLEX macro without arguments.
20003         (cacosh_test): Likewise.
20004         (carg_test): Use END macro without arguments.
20005         (casin_test): Use END_COMPLEX macro without arguments.
20006         (casinh_test): Likewise.
20007         (catan_test): Likewise.
20008         (catanh_test): Likewise.
20009         (cbrt_test): Use END macro without arguments.
20010         (ccos_test): Use END_COMPLEX macro without arguments.
20011         (ccosh_test): Likewise.
20012         (ceil_test): Use END macro without arguments.
20013         (cexp_test): Use END_COMPLEX macro without arguments.
20014         (cimag_test): Use END macro without arguments.
20015         (clog_test): Use END_COMPLEX macro without arguments.
20016         (clog10_test): Likewise.
20017         (conj_test): Likewise.
20018         (copysign_test): Use END macro without arguments.
20019         (cos_test): Likewise.
20020         (cos_test_tonearest): Likewise.
20021         (cos_test_towardzero): Likewise.
20022         (cos_test_downward): Likewise.
20023         (cos_test_upward): Likewise.
20024         (cosh_test): Likewise.
20025         (cosh_test_tonearest): Likewise.
20026         (cosh_test_towardzero): Likewise.
20027         (cosh_test_downward): Likewise.
20028         (cosh_test_upward): Likewise.
20029         (cpow_test): Use END_COMPLEX macro without arguments.
20030         (cproj_test): Likewise.
20031         (creal_test): Use END macro without arguments.
20032         (csin_test): Use END_COMPLEX macro without arguments.
20033         (csinh_test): Likewise.
20034         (csqrt_test): Likewise.
20035         (ctan_test): Likewise.
20036         (ctan_test_tonearest): Likewise.
20037         (ctan_test_towardzero): Likewise.
20038         (ctan_test_downward): Likewise.
20039         (ctan_test_upward): Likewise.
20040         (ctanh_test): Likewise.
20041         (ctanh_test_tonearest): Likewise.
20042         (ctanh_test_towardzero): Likewise.
20043         (ctanh_test_downward): Likewise.
20044         (ctanh_test_upward): Likewise.
20045         (erf_test): Use END macro without arguments.
20046         (erfc_test): Likewise.
20047         (exp_test): Likewise.
20048         (exp_test_tonearest): Likewise.
20049         (exp_test_towardzero): Likewise.
20050         (exp_test_downward): Likewise.
20051         (exp_test_upward): Likewise.
20052         (exp10_test): Likewise.
20053         (exp2_test): Likewise.
20054         (expm1_test): Likewise.
20055         (fabs_test): Likewise.
20056         (fdim_test): Likewise.
20057         (finite_test): Likewise.
20058         (floor_test): Likewise.
20059         (fma_test): Likewise.
20060         (fma_test_towardzero): Likewise.
20061         (fma_test_downward): Likewise.
20062         (fma_test_upward): Likewise.
20063         (fmax_test): Likewise.
20064         (fmin_test): Likewise.
20065         (fmod_test): Likewise.
20066         (fpclassify_test): Likewise.
20067         (frexp_test): Likewise.
20068         (gamma_test): Likewise.
20069         (hypot_test): Likewise.
20070         (ilogb_test): Likewise.
20071         (isfinite_test): Likewise.
20072         (isgreater_test): Likewise.
20073         (isgreaterequal_test): Likewise.
20074         (isinf_test): Likewise.
20075         (isless_test): Likewise.
20076         (islessequal_test): Likewise.
20077         (islessgreater_test): Likewise.
20078         (isnan_test): Likewise.
20079         (isnormal_test): Likewise.
20080         (issignaling_test): Likewise.
20081         (isunordered_test): Likewise.
20082         (j0_test): Likewise.
20083         (j1_test): Likewise.
20084         (jn_test): Likewise.
20085         (ldexp_test): Likewise.
20086         (lgamma_test): Likewise.
20087         (lrint_test): Likewise.
20088         (lrint_test_tonearest): Likewise.
20089         (lrint_test_towardzero): Likewise.
20090         (lrint_test_downward): Likewise.
20091         (lrint_test_upward): Likewise.
20092         (llrint_test): Likewise.
20093         (llrint_test_tonearest): Likewise.
20094         (llrint_test_towardzero): Likewise.
20095         (llrint_test_downward): Likewise.
20096         (llrint_test_upward): Likewise.
20097         (log_test): Likewise.
20098         (log10_test): Likewise.
20099         (log1p_test): Likewise.
20100         (log2_test): Likewise.
20101         (logb_test): Likewise.
20102         (logb_test_downward): Likewise.
20103         (lround_test): Likewise.
20104         (llround_test): Likewise.
20105         (modf_test): Likewise.
20106         (nearbyint_test): Likewise.
20107         (nextafter_test): Likewise.
20108         (nexttoward_test): Likewise.
20109         (pow_test): Likewise.
20110         (pow_test_tonearest): Likewise.
20111         (pow_test_towardzero): Likewise.
20112         (pow_test_downward): Likewise.
20113         (pow_test_upward): Likewise.
20114         (remainder_test): Likewise.
20115         (remainder_test_tonearest): Likewise.
20116         (remainder_test_towardzero): Likewise.
20117         (remainder_test_downward): Likewise.
20118         (remainder_test_upward): Likewise.
20119         (remquo_test): Likewise.
20120         (rint_test): Likewise.
20121         (rint_test_tonearest): Likewise.
20122         (rint_test_towardzero): Likewise.
20123         (rint_test_downward): Likewise.
20124         (rint_test_upward): Likewise.
20125         (round_test): Likewise.
20126         (scalb_test): Likewise.
20127         (scalbn_test): Likewise.
20128         (scalbln_test): Likewise.
20129         (signbit_test): Likewise.
20130         (sin_test): Likewise.
20131         (sin_test_tonearest): Likewise.
20132         (sin_test_towardzero): Likewise.
20133         (sin_test_downward): Likewise.
20134         (sin_test_upward): Likewise.
20135         (sincos_test): Likewise.
20136         (sinh_test): Likewise.
20137         (sinh_test_tonearest): Likewise.
20138         (sinh_test_towardzero): Likewise.
20139         (sinh_test_downward): Likewise.
20140         (sinh_test_upward): Likewise.
20141         (sqrt_test): Likewise.
20142         (tan_test): Likewise.
20143         (tan_test_tonearest): Likewise.
20144         (tan_test_towardzero): Likewise.
20145         (tan_test_downward): Likewise.
20146         (tan_test_upward): Likewise.
20147         (tanh_test): Likewise.
20148         (tgamma_test): Likewise.
20149         (trunc_test): Likewise.
20150         (y0_test): Likewise.
20151         (y1_test): Likewise.
20152         (yn_test): Likewise.
20153         (significand_test): Likewise.
20154
20155 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
20156
20157         [BZ #15381]
20158         * libio/genops.c (_IO_no_init): Initialize wide struct info.
20159
20160 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20161
20162         [BZ #14894]
20163         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20164         __ppc_mdoio and __ppc_mdoom.
20165         * manual/platform.texi: Document new functions __ppc_yield,
20166         __ppc_mdoio and __ppc_mdoom.
20167
20168 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
20169
20170         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20171         (main): Mention "tls" pseudo-hwcap is legacy.
20172         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20173
20174 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20175
20176         * math/gen-libm-test.pl (parse_args): Output only string of
20177         arguments as text for test name, not full call or descriptions of
20178         tests for extra outputs.
20179         (generate_testfile): Do not pass function name to parse_args.
20180         Generate this_func variable from START.
20181         * math/libm-test.inc (struct test_f_f_data): Rename test_name
20182         field to arg_str.
20183         (struct test_ff_f_data): Likewise.
20184         (test_ff_f_data_nexttoward): Likewise.
20185         (struct test_fi_f_data): Likewise.
20186         (struct test_fl_f_data): Likewise.
20187         (struct test_if_f_data): Likewise.
20188         (struct test_fff_f_data): Likewise.
20189         (struct test_c_f_data): Likewise.
20190         (struct test_f_f1_data): Likewise.  Remove field extra_name.
20191         (struct test_fF_f1_data): Likewise.
20192         (struct test_ffI_f1_data): Likewise.
20193         (struct test_c_c_data): Rename test_name field to arg_str.
20194         (struct test_cc_c_data): Likewise.
20195         (struct test_f_i_data): Likewise.
20196         (struct test_ff_i_data): Likewise.
20197         (struct test_f_l_data): Likewise.
20198         (struct test_f_L_data): Likewise.
20199         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
20200         and extra2_name.
20201         (COMMON_TEST_SETUP): New macro.
20202         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20203         (COMMON_TEST_CLEANUP): Likewise.
20204         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20205         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
20206         macros.
20207         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20208         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
20209         macros.
20210         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20211         (RUN_TEST_fff_f): Take argument string.  Call new setup and
20212         cleanup macros.
20213         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20214         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
20215         macros.
20216         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20217         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
20218         macros.
20219         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20220         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
20221         cleanup macros.
20222         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20223         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
20224         cleanup macros.
20225         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20226         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
20227         cleanup macros.
20228         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20229         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
20230         macros.
20231         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20232         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
20233         macros.
20234         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20235         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
20236         macros.
20237         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20238         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
20239         cleanup macros.
20240         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20241         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
20242         cleanup macros.
20243         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20244         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
20245         macros.
20246         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20247         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
20248         cleanup macros.
20249         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20250         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
20251         macros.
20252         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20253         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
20254         macros.
20255         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20256         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
20257         cleanup macros.
20258         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20259
20260 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
20261
20262         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20263         to _sifields.sigfault.
20264         (si_addr_lsb): Define new macro.
20265         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20266         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20267         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20268
20269 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
20270
20271         [BZ #15441]
20272         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20273         returns -1.
20274         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20275         null return -1.
20276         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20277         loading the domain.
20278
20279 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20280
20281         * math/gen-libm-test.pl (parse_args): Do not include expected
20282         result in test name.
20283         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20284         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20285         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20286         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20287         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20289
20290 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20291
20292         * benchtests/Makefile: Sort function entries.
20293
20294         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20295         tanh, asinh, acosh, atanh.
20296         * benchtests/acos-inputs: New file.
20297         * benchtests/acosh-inputs: New file.
20298         * benchtests/asin-inputs: New file.
20299         * benchtests/asinh-inputs: New file.
20300         * benchtests/atanh-inputs: New file.
20301         * benchtests/cosh-inputs: New file.
20302         * benchtests/log-inputs: New file.
20303         * benchtests/sinh-inputs: New file.
20304         * benchtests/tanh-inputs: New file.
20305
20306 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
20307
20308         [BZ #15339]
20309         * posix/tst-getaddrinfo4.c: New test.
20310         * posix/Makefile (tests): Add it.
20311
20312 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20313
20314         [BZ #15339]
20315         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20316         when no services were used.
20317         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20318         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20319
20320 2013-05-21  Andreas Schwab  <schwab@suse.de>
20321
20322         [BZ #15014]
20323         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20324         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20325         successful.
20326         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20327         redundant variable declarations and reallocation of buffer when
20328         parsing as IPv6 address.  Always set NSS status when called from
20329         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
20330         buffer too small.  Correct computation of needed size.
20331         * nss/Makefile (tests): Add test-digits-dots.
20332         * nss/test-digits-dots.c: New test.
20333
20334 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20335
20336         * benchtests/Makefile: Remove instructions for adding
20337         benchmark tests.
20338         * benchtests/README: New file to explain how to execute and
20339         enhance the benchmark tests.
20340
20341 2013-05-21  Andreas Schwab  <schwab@suse.de>
20342
20343         [BZ #15493]
20344         * setjmp/Makefile (tests): Add tst-sigsetjmp.
20345         * setjmp/tst-sigsetjmp.c: New test.
20346
20347 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20348
20349         * sysdeps/x86_64/memset.S (memset): New implementation.
20350         (__bzero): Likewise.
20351         (__memset_tail): New function.
20352
20353 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20354
20355         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20356         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20357         __memcpy_sse2_unaligned ifunc selection.
20358         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20359         Add memcpy-sse2-unaligned.S.
20360         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20361         Add: __memcpy_sse2_unaligned.
20362
20363 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
20364
20365         [BZ #15490]
20366         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20367         math_force_eval before restoring floating-point envrionment.
20368         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20369         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20370         Likewise.
20371         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20372         <math_private.h>.
20373         (__nearbyintl): Use math_force_eval before restoring
20374         floating-point environment.
20375         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20376
20377         * math/gen-libm-test.pl (special_functions): Remove.
20378         (parse_args): Don't handle TEST_extra.  Handle functions with no
20379         return value.
20380         * math/libm-test.inc (struct test_sincos_data): Replace with
20381         struct test_fFF_11_data.
20382         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20383         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20384         (sincos_test_data): Change element type to struct
20385         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
20386         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20387         RUN_TEST_LOOP_sincos.
20388         * math/README.libm-test: Don't mention special handling of
20389         individual functions.
20390         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20391         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20392         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20393         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20394         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20396
20397         * math/gen-libm-test.pl (get_variable): Remove function.
20398         (parse_args): Don't show pointer parameters to call in test
20399         names.  Use "extra output N" in test names for extra outputs
20400         rather than naming variables.
20401
20402 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
20403
20404         [BZ #15488]
20405         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20406         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20407         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20408         double tests.
20409         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20410         disable.
20411         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20412         check_long_double.
20413
20414         * math/gen-libm-test.pl (@tests): Remove variable.
20415         ($count): Likewise.
20416         (new_test): Remove function.
20417         (show_exceptions): New function.
20418         (special_functions): Use show_exceptions instead of new_test.
20419         (parse_args): Likewise.
20420         (generate_testfile): Pass only function name in generated call to
20421         print_max_error or print_complex_max_error.
20422         (get_ulps): Do not handle complex tests specially.
20423         (output_test): Rename to ...
20424         (get_all_ulps_for_test): ... this.  Return a string rather than
20425         printing to a file.  Require ulps to be present.
20426         (output_ulps): Generate arrays rather than #defines.
20427         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20428         (struct ulp_data): New type.
20429         (BUILD_COMPLEX_ULP): Remove macro.
20430         (compare_ulp_data): New function.
20431         (find_ulps): Likewise.
20432         (find_test_ulps): Likewise.
20433         (find_function_ulps): Likewise.
20434         (find_complex_function_ulps): Likewise.
20435         (print_max_error): Determine allowed ulps using
20436         find_function_ulps.
20437         (print_complex_max_error): Determine allowed ulps using
20438         find_complex_function_ulps.
20439         (check_float_internal): Determine max ulps using find_test_ulps.
20440         (check_float): Do not take max_ulp parameter.  Update call to
20441         check_float_internal.
20442         (check_complex): Likewise.
20443         (check_int): Do not take max_ulp parameter.
20444         (check_long): Likewise.
20445         (check_bool): Likewise.
20446         (check_longlong): Likewise.
20447         (struct test_f_f_data): Remove max_ulp field.
20448         (struct test_ff_f_data): Likewise.
20449         (struct test_ff_f_data_nexttoward): Likewise.
20450         (struct test_fi_f_data): Likewise.
20451         (struct test_fl_f_data): Likewise.
20452         (struct test_if_f_data): Likewise.
20453         (struct test_fff_f_data): Likewise.
20454         (struct test_c_f_data): Likewise.
20455         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20456         (struct test_fF_f1_data): Likewise.
20457         (struct test_ffI_f1_data): Likewise.
20458         (struct test_c_c_data): Remove max_ulp field.
20459         (struct test_cc_c_data): Likewise.
20460         (struct test_f_i_data): Likewise.
20461         (struct test_ff_i_data): Likewise.
20462         (struct test_f_l_data): Likewise.
20463         (struct test_f_L_data): Likewise.
20464         (struct test_sincos_data): Likewise.
20465         (RUN_TEST_f_f): Do not handle ulps.
20466         (RUN_TEST_LOOP_f_f): Likewise.
20467         (RUN_TEST_2_f): Likewise.
20468         (RUN_TEST_LOOP_2_f): Likewise.
20469         (RUN_TEST_fff_f): Likewise.
20470         (RUN_TEST_LOOP_fff_f): Likewise.
20471         (RUN_TEST_c_f): Likewise.
20472         (RUN_TEST_LOOP_c_f): Likewise.
20473         (RUN_TEST_f_f1): Likewise.
20474         (RUN_TEST_LOOP_f_f1): Likewise.
20475         (RUN_TEST_fF_f1): Likewise.
20476         (RUN_TEST_LOOP_fF_f1): Likewise.
20477         (RUN_TEST_fI_f1): Likewise.
20478         (RUN_TEST_LOOP_fI_f1): Likewise.
20479         (RUN_TEST_ffI_f1): Likewise.
20480         (RUN_TEST_LOOP_ffI_f1): Likewise.
20481         (RUN_TEST_c_c): Likewise.
20482         (RUN_TEST_LOOP_c_c): Likewise.
20483         (RUN_TEST_cc_c): Likewise.
20484         (RUN_TEST_LOOP_cc_c): Likewise.
20485         (RUN_TEST_f_i): Likewise.
20486         (RUN_TEST_LOOP_f_i): Likewise.
20487         (RUN_TEST_f_i_tg): Likewise.
20488         (RUN_TEST_LOOP_f_i_tg): Likewise.
20489         (RUN_TEST_ff_i_tg): Likewise.
20490         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20491         (RUN_TEST_f_b): Likewise.
20492         (RUN_TEST_LOOP_f_b): Likewise.
20493         (RUN_TEST_f_b_tg): Likewise.
20494         (RUN_TEST_LOOP_f_b_tg): Likewise.
20495         (RUN_TEST_f_l): Likewise.
20496         (RUN_TEST_LOOP_f_l): Likewise.
20497         (RUN_TEST_f_L): Likewise.
20498         (RUN_TEST_LOOP_f_L): Likewise.
20499         (RUN_TEST_sincos): Likewise.
20500         (RUN_TEST_LOOP_sincos): Likewise.
20501
20502 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
20503
20504         [BZ #15480]
20505         [BZ #15485]
20506         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20507         main case of finite arguments, set rounding mode to FE_TONEAREST
20508         and discard exceptions.
20509         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20510         exceptions.
20511         (remainder_tonearest_test_data): New variable.
20512         (remainder_test_tonearest): New function.
20513         (remainder_towardzero_test_data): New variable.
20514         (remainder_test_towardzero): New function.
20515         (remainder_downward_test_data): New variable.
20516         (remainder_test_downward): New function.
20517         (remainder_upward_test_data): New variable.
20518         (remainder_test_upward): New function.
20519         (main): Call the new test functions.
20520
20521         * math/libm-test.inc (struct test_f_f1_data): Remove field
20522         extra_init.
20523         (struct test_fF_f1_data): Likewise.
20524         (struct test_ffI_f1_data): Likewise.
20525         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
20526         based on value of EXTRA_EXPECTED.
20527         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20528         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
20529         EXTRA_VAR based on value of EXTRA_EXPECTED.
20530         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20531         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
20532         EXTRA_VAR based on value of EXTRA_EXPECTED.
20533         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20534         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
20535         EXTRA_VAR based on value of EXTRA_EXPECTED.
20536         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20537         * math/gen-libm-test.pl (parse_args): Don't output initializers
20538         for extra output values.
20539
20540         * math/libm-test.inc (check_int): Expect result to be exactly
20541         equal to expected value and do not handle ulps.
20542         (check_long): Likewise.
20543         (check_longlong): Likewise.
20544
20545         * math/libm-test.inc (ceil_test_data): Test for "inexact"
20546         exceptions.
20547         (cimag_test_data): Likewise.
20548         (conj_test_data): Likewise.
20549         (copysign_test_data): Likewise.
20550         (cproj_test_data): Likewise.
20551         (creal_test_data): Likewise.
20552         (fabs_test_data): Likewise.
20553         (fdim_test_data): Likewise.
20554         (finite_test_data): Likewise.
20555         (floor_test_data): Likewise.
20556         (fmax_test_data): Likewise.
20557         (fmin_test_data): Likewise.
20558         (fmod_test_data): Likewise.
20559         (fpclassify_test_data): Likewise.
20560         (frexp_test_data): Likewise.
20561         (ilogb_test_data): Likewise.
20562         (isfinite_test_data): Likewise.
20563         (isgreater_test_data): Likewise.
20564         (isgreaterequal_test_data): Likewise.
20565         (isinf_test_data): Likewise.
20566         (isless_test_data): Likewise.
20567         (islessequal_test_data): Likewise.
20568         (islessgreater_test_data): Likewise.
20569         (isnan_test_data): Likewise.
20570         (isnormal_test_data): Likewise.
20571         (issignaling_test_data): Likewise.
20572         (isunordered_test_data): Likewise.
20573         (ldexp_test_data): Likewise.
20574         (lrint_test_data): Likewise.
20575         (lrint_test_data) [TEST_FLOAT]: Disable one test.
20576         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20577         (lrint_tonearest_test_data): Test for "inexact" exceptions.
20578         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20579         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20580         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20581         test input.
20582         (lrint_towardzero_test_data): Test for "inexact" exceptions.
20583         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20584         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20585         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20586         that test input.
20587         (lrint_downward_test_data): Test for "inexact" exceptions.
20588         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20589         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20590         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20591         test input.
20592         (lrint_upward_test_data): Test for "inexact" exceptions.
20593         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20594         test input.
20595         (llrint_test_data): Test for "inexact" exceptions.
20596         (llrint_test_data) [TEST_FLOAT]: Disable one test.
20597         (llrint_tonearest_test_data): Test for "inexact" exceptions.
20598         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20599         (llrint_towardzero_test_data): Test for "inexact" exceptions.
20600         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20601         (llrint_downward_test_data): Test for "inexact" exceptions.
20602         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20603         (llrint_upward_test_data): Test for "inexact" exceptions.
20604         (logb_test_data): Likewise.
20605         (logb_downward_test_data): Likewise.
20606         (nextafter_test_data): Likewise.
20607         (nexttoward_test_data): Likewise.
20608         (remainder_test_data): Likewise.
20609         (remquo_test_data): Likewise.
20610         (scalbn_test_data): Likewise.
20611         (scalbln_test_data): Likewise.
20612         (signbit_test_data): Likewise.
20613         (sqrt_test_data): Likewise.
20614         (significand_test_data): Likewise.
20615
20616 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20617
20618         [BZ #15424]
20619         * benchtests/bench-modf.c (struct args): Mark arg0 as
20620         volatile.
20621         * scripts/bench.pl: Mark members of struct args as volatile.
20622
20623 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20624
20625         [BZ # 15497]
20626         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20627         negative infinity on POWER6 or lower.
20628         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20629
20630 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20631
20632         [BZ #15442]
20633         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20634         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20635         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20636         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20637         (_FP_SETQNAN): New macro.
20638         (_FP_SETQNAN_SEMIRAW): Likewise.
20639         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20640         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20641         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20642         (FP_EXTEND): Use _FP_FRAC_SNANP.
20643         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20644         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20645         into account.
20646         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20647         New macro.
20648         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20649         Likewise.
20650
20651 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20652
20653         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20654         with DIVIDE_BY_ZERO_EXCEPTION.
20655         (gamma_test_data): Likewise.
20656         (lgamma_test_data): Likewise.
20657         (log_test_data): Likewise.
20658         (log10_test_data): Likewise.
20659         (log2_test_data): Likewise.
20660         (tgamma_test_data): Likewise.
20661
20662         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20663         (acos_test_tonearest): Likewise.
20664         (acos_test_towardzero): Likewise.
20665         (acos_test_downward): Likewise.
20666         (acos_test_upward): Likewise.
20667         (acosh_test): Likewise.
20668         (asin_test): Likewise.
20669         (asin_test_tonearest): Likewise.
20670         (asin_test_towardzero): Likewise.
20671         (asin_test_downward): Likewise.
20672         (asin_test_upward): Likewise.
20673         (asinh_test): Likewise.
20674         (atan_test): Likewise.
20675         (atanh_test): Likewise.
20676         (atan2_test): Likewise.
20677         (cabs_test): Likewise.
20678         (cacos_test): Likewise.
20679         (cacosh_test): Likewise.
20680         (casin_test): Likewise.
20681         (casinh_test): Likewise.
20682         (catan_test): Likewise.
20683         (catanh_test): Likewise.
20684         (cbrt_test): Likewise.
20685         (ccos_test): Likewise.
20686         (ccosh_test): Likewise.
20687         (cexp_test): Likewise.
20688         (clog_test): Likewise.
20689         (clog10_test): Likewise.
20690         (cos_test): Likewise.
20691         (cos_test_tonearest): Likewise.
20692         (cos_test_towardzero): Likewise.
20693         (cos_test_downward): Likewise.
20694         (cos_test_upward): Likewise.
20695         (cosh_test): Likewise.
20696         (cosh_test_tonearest): Likewise.
20697         (cosh_test_towardzero): Likewise.
20698         (cosh_test_downward): Likewise.
20699         (cosh_test_upward): Likewise.
20700         (cpow_test): Likewise.
20701         (csin_test): Likewise.
20702         (csinh_test): Likewise.
20703         (csqrt_test): Likewise.
20704         (ctan_test): Likewise.
20705         (ctan_test_tonearest): Likewise.
20706         (ctan_test_towardzero): Likewise.
20707         (ctan_test_downward): Likewise.
20708         (ctan_test_upward): Likewise.
20709         (ctanh_test): Likewise.
20710         (ctanh_test_tonearest): Likewise.
20711         (ctanh_test_towardzero): Likewise.
20712         (ctanh_test_downward): Likewise.
20713         (ctanh_test_upward): Likewise.
20714         (erf_test): Likewise.
20715         (erfc_test): Likewise.
20716         (exp_test): Likewise.
20717         (exp_test_tonearest): Likewise.
20718         (exp_test_towardzero): Likewise.
20719         (exp_test_downward): Likewise.
20720         (exp_test_upward): Likewise.
20721         (exp10_test): Likewise.
20722         (exp2_test): Likewise.
20723         (expm1_test): Likewise.
20724         (fmod_test): Likewise.
20725         (gamma_test): Likewise.
20726         (hypot_test): Likewise.
20727         (j0_test): Likewise.
20728         (j1_test): Likewise.
20729         (jn_test): Likewise.
20730         (lgamma_test): Likewise.
20731         (log_test): Likewise.
20732         (log10_test): Likewise.
20733         (log1p_test): Likewise.
20734         (log2_test): Likewise.
20735         (logb_test_downward): Likewise.
20736         (pow_test): Likewise.
20737         (pow_test_tonearest): Likewise.
20738         (pow_test_towardzero): Likewise.
20739         (pow_test_downward): Likewise.
20740         (pow_test_upward): Likewise.
20741         (remainder_test): Likewise.
20742         (remquo_test): Likewise.
20743         (sin_test): Likewise.
20744         (sin_test_tonearest): Likewise.
20745         (sin_test_towardzero): Likewise.
20746         (sin_test_downward): Likewise.
20747         (sin_test_upward): Likewise.
20748         (sincos_test): Likewise.
20749         (sinh_test): Likewise.
20750         (sinh_test_tonearest): Likewise.
20751         (sinh_test_towardzero): Likewise.
20752         (sinh_test_downward): Likewise.
20753         (sinh_test_upward): Likewise.
20754         (sqrt_test): Likewise.
20755         (tan_test): Likewise.
20756         (tan_test_tonearest): Likewise.
20757         (tan_test_towardzero): Likewise.
20758         (tan_test_downward): Likewise.
20759         (tan_test_upward): Likewise.
20760         (tanh_test): Likewise.
20761         (tgamma_test): Likewise.
20762         (y0_test): Likewise.
20763         (y1_test): Likewise.
20764         (yn_test): Likewise.
20765
20766         * math/gen-libm-test.pl (adjust_arg): Remove function.
20767         (special_function): Remove argument $in_func.  Only handle
20768         generating output for tables of tests, not inside functions.
20769         (parse_args): Likewise.
20770         (generate_testfile): Remove variable $in_func.  Update call to
20771         parse_args.
20772         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20773         (MINUS_ZERO_INIT): Rename macro to minus_zero.
20774         (PLUS_INFTY_INIT): Rename macro to plus_infty.
20775         (MINUS_INFTY_INIT): Rename macro to minus_infty.
20776         (QNAN_VALUE_INIT): Rename macro to qnan_value.
20777         (MAX_VALUE_INIT): Rename macro to max_value.
20778         (MIN_VALUE_INIT): Rename macro to min_value.
20779         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20780         (plus_zero): Remove variable.
20781         (minus_zero): Likewise.
20782         (plus_infty): Likewise.
20783         (minus_infty): Likewise.
20784         (qnan_value): Likewise.
20785         (max_value): Likewise.
20786         (min_value): Likewise.
20787         (min_subnorm_value): Likewise.
20788
20789 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20790
20791         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20792         uint64_t or uint32_t usage.
20793         * crypt/sha256-block.c: Likewise.
20794         * crypt/sha256-crypt.c: Likewise.
20795         * crypt/sha256.c: Likewise.
20796         * crypt/sha512-block.c: Likewise.
20797         * crypt/sha512-crypt.c: Likewise.
20798         * crypt/sha512.c: Likewise.
20799         * debug/backtrace-tst.c: Likewise.
20800         * debug/pcprofiledump.c: Likewise.
20801         * elf/cache.c: Likewise.
20802         * elf/dl-cache.c: Likewise.
20803         * elf/dl-misc.c: Likewise.
20804         * elf/dl-profile.c: Likewise.
20805         * elf/dl-support.c: Likewise.
20806         * elf/ldconfig.c: Likewise.
20807         * elf/sprof.c: Likewise.
20808         * iconv/dummy-repertoire.c: Likewise.
20809         * iconv/iconv_charmap.c: Likewise.
20810         * iconv/skeleton.c: Likewise.
20811         * iconvdata/8bit-generic.c: Likewise.
20812         * iconvdata/cp737.h: Likewise.
20813         * iconvdata/cp775.h: Likewise.
20814         * iconvdata/ibm1008.h: Likewise.
20815         * iconvdata/ibm1025.h: Likewise.
20816         * iconvdata/ibm1046.h: Likewise.
20817         * iconvdata/ibm1097.h: Likewise.
20818         * iconvdata/ibm1112.h: Likewise.
20819         * iconvdata/ibm1122.h: Likewise.
20820         * iconvdata/ibm1123.h: Likewise.
20821         * iconvdata/ibm1124.h: Likewise.
20822         * iconvdata/ibm1129.h: Likewise.
20823         * iconvdata/ibm1130.h: Likewise.
20824         * iconvdata/ibm1132.h: Likewise.
20825         * iconvdata/ibm1133.h: Likewise.
20826         * iconvdata/ibm1137.h: Likewise.
20827         * iconvdata/ibm1140.h: Likewise.
20828         * iconvdata/ibm1141.h: Likewise.
20829         * iconvdata/ibm1142.h: Likewise.
20830         * iconvdata/ibm1143.h: Likewise.
20831         * iconvdata/ibm1144.h: Likewise.
20832         * iconvdata/ibm1145.h: Likewise.
20833         * iconvdata/ibm1146.h: Likewise.
20834         * iconvdata/ibm1147.h: Likewise.
20835         * iconvdata/ibm1148.h: Likewise.
20836         * iconvdata/ibm1149.h: Likewise.
20837         * iconvdata/ibm1153.h: Likewise.
20838         * iconvdata/ibm1154.h: Likewise.
20839         * iconvdata/ibm1155.h: Likewise.
20840         * iconvdata/ibm1156.h: Likewise.
20841         * iconvdata/ibm1157.h: Likewise.
20842         * iconvdata/ibm1158.h: Likewise.
20843         * iconvdata/ibm1160.h: Likewise.
20844         * iconvdata/ibm1161.h: Likewise.
20845         * iconvdata/ibm1162.h: Likewise.
20846         * iconvdata/ibm1163.h: Likewise.
20847         * iconvdata/ibm1164.h: Likewise.
20848         * iconvdata/ibm1166.h: Likewise.
20849         * iconvdata/ibm1167.h: Likewise.
20850         * iconvdata/ibm12712.h: Likewise.
20851         * iconvdata/ibm1390.h: Likewise.
20852         * iconvdata/ibm1399.h: Likewise.
20853         * iconvdata/ibm16804.h: Likewise.
20854         * iconvdata/ibm4517.h: Likewise.
20855         * iconvdata/ibm4899.h: Likewise.
20856         * iconvdata/ibm4909.h: Likewise.
20857         * iconvdata/ibm4971.h: Likewise.
20858         * iconvdata/ibm5347.h: Likewise.
20859         * iconvdata/ibm803.h: Likewise.
20860         * iconvdata/ibm856.h: Likewise.
20861         * iconvdata/ibm901.h: Likewise.
20862         * iconvdata/ibm902.h: Likewise.
20863         * iconvdata/ibm9030.h: Likewise.
20864         * iconvdata/ibm9066.h: Likewise.
20865         * iconvdata/ibm921.h: Likewise.
20866         * iconvdata/ibm922.h: Likewise.
20867         * iconvdata/ibm9448.h: Likewise.
20868         * iconvdata/isiri-3342.h: Likewise.
20869         * iconvdata/jis0201.h: Likewise.
20870         * include/link.h: Likewise.
20871         * include/netdb.h: Likewise.
20872         * inet/check_native.c: Likewise.
20873         * inet/check_pf.c: Likewise.
20874         * inet/getipv4sourcefilter.c: Likewise.
20875         * inet/getnameinfo.c: Likewise.
20876         * inet/getsourcefilter.c: Likewise.
20877         * inet/htonl.c: Likewise.
20878         * inet/setipv4sourcefilter.c: Likewise.
20879         * inet/setsourcefilter.c: Likewise.
20880         * inet/test-inet6_opt.c: Likewise.
20881         * inet/tst-network.c: Likewise.
20882         * locale/C-collate.c: Likewise.
20883         * locale/C-ctype.c: Likewise.
20884         * locale/C-time.c: Likewise.
20885         * locale/C-translit.h: Likewise.
20886         * locale/loadarchive.c: Likewise.
20887         * locale/programs/3level.h: Likewise.
20888         * locale/programs/charmap.c: Likewise.
20889         * locale/programs/charmap.h: Likewise.
20890         * locale/programs/ld-address.c: Likewise.
20891         * locale/programs/ld-collate.c: Likewise.
20892         * locale/programs/ld-ctype.c: Likewise.
20893         * locale/programs/ld-identification.c: Likewise.
20894         * locale/programs/ld-measurement.c: Likewise.
20895         * locale/programs/ld-messages.c: Likewise.
20896         * locale/programs/ld-monetary.c: Likewise.
20897         * locale/programs/ld-name.c: Likewise.
20898         * locale/programs/ld-numeric.c: Likewise.
20899         * locale/programs/ld-paper.c: Likewise.
20900         * locale/programs/ld-telephone.c: Likewise.
20901         * locale/programs/ld-time.c: Likewise.
20902         * locale/programs/linereader.c: Likewise.
20903         * locale/programs/locale.c: Likewise.
20904         * locale/programs/locarchive.c: Likewise.
20905         * locale/programs/locfile.h: Likewise.
20906         * locale/programs/repertoire.c: Likewise.
20907         * locale/programs/simple-hash.c: Likewise.
20908         * locale/programs/simple-hash.h: Likewise.
20909         * malloc/memusage.c: Likewise.
20910         * malloc/memusagestat.c: Likewise.
20911         * nis/nis_defaults.c: Likewise.
20912         * nis/nis_hash.c: Likewise.
20913         * nis/nis_print.c: Likewise.
20914         * nis/nis_xdr.c: Likewise.
20915         * nscd/connections.c: Likewise.
20916         * nscd/hstcache.c: Likewise.
20917         * nscd/nscd_gethst_r.c: Likewise.
20918         * nscd/nscd_getserv_r.c: Likewise.
20919         * nscd/nscd_helper.c: Likewise.
20920         * nscd/servicescache.c: Likewise.
20921         * nss/makedb.c: Likewise.
20922         * nss/nss_db/db-XXX.c: Likewise.
20923         * nss/nss_db/db-initgroups.c: Likewise.
20924         * nss/nss_db/db-netgrp.c: Likewise.
20925         * nss/nss_files/files-network.c: Likewise.
20926         * nss/nss_files/files-parse.c: Likewise.
20927         * posix/bug-regex5.c: Likewise.
20928         * posix/fnmatch_loop.c: Likewise.
20929         * posix/regcomp.c: Likewise.
20930         * posix/regexec.c: Likewise.
20931         * posix/tst-rfc3484-2.c: Likewise.
20932         * posix/tst-rfc3484-3.c: Likewise.
20933         * posix/tst-rfc3484.c: Likewise.
20934         * resolv/nss_dns/dns-canon.c: Likewise.
20935         * resolv/nss_dns/dns-network.c: Likewise.
20936         * resolv/res_init.c: Likewise.
20937         * resolv/res_mkquery.c: Likewise.
20938         * resolv/tst-aton.c: Likewise.
20939         * stdlib/cxa_atexit.c: Likewise.
20940         * stdlib/cxa_finalize.c: Likewise.
20941         * stdlib/gen-fpioconst.c: Likewise.
20942         * stdlib/strtol_l.c: Likewise.
20943         * string/tst-endian.c: Likewise.
20944         * sunrpc/auth_des.c: Likewise.
20945         * sunrpc/clnt_udp.c: Likewise.
20946         * sunrpc/rtime.c: Likewise.
20947         * sunrpc/svcauth_des.c: Likewise.
20948         * sunrpc/xdr.c: Likewise.
20949         * sunrpc/xdr_intXX_t.c: Likewise.
20950         * sunrpc/xdr_rec.c: Likewise.
20951         * sysdeps/generic/ldconfig.h: Likewise.
20952         * sysdeps/generic/ldsodefs.h: Likewise.
20953         * sysdeps/generic/memusage.h: Likewise.
20954         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20955         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20956         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20957         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20958         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20959         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20960         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20961         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20962         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20963         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20964         * sysdeps/posix/getaddrinfo.c: Likewise.
20965         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20966         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20967         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20968         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20969         * sysdeps/powerpc/test-gettimebase.c: Likewise.
20970         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20971         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20972         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20973         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20974         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20975         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20976         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20977         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20978         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20979         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20980         * sysdeps/x86_64/dl-tls.h: Likewise.
20981         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20982         * time/alt_digit.c: Likewise.
20983         * time/era.c: Likewise.
20984         * wcsmbs/tst-c16c32-1.c: Likewise.
20985
20986 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20987
20988         * math/libm-test.inc (struct test_sincos_data): New type.
20989         (RUN_TEST_LOOP_sincos): New macro.
20990         (sincos_test_data): New variable.
20991         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20992
20993 2013-05-16  Richard Henderson  <rth@redhat.com>
20994
20995         * math/atest-exp2.c (LIMB64): New macro.
20996         (CONSTSZ): New macro.
20997         (mp_exp1, mp_exp_m1, mp_log2): New variables.
20998         (hexdig): Move ...
20999         (print_mpn_fp): ... to function scope.
21000         (read_mpn_hex): Remove.
21001         (get_log2): Remove.
21002         (exp2_mpn): Use mp_log2.
21003         (main): Use mp_exp1.
21004
21005 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21006
21007         * math/libm-test.inc: Remove comment about not testing "inexact"
21008         exceptions.
21009         (INEXACT_EXCEPTION): New macro.
21010         (NO_INEXACT_EXCEPTION): Likewise.
21011         (INVALID_EXCEPTION_OK): Update value.
21012         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21013         (OVERFLOW_EXCEPTION_OK): Likewise.
21014         (UNDERFLOW_EXCEPTION_OK): Likewise.
21015         (IGNORE_ZERO_INF_SIGN): Likewise.
21016         (ERRNO_UNCHANGED): Likewise.
21017         (ERRNO_EDOM): Likewise.
21018         (ERRNO_ERANGE): Likewise.
21019         (test_exceptions): Handle testing "inexact" exceptions.
21020         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21021         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21022         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21023         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21024         INEXACT_EXCEPTION.
21025         (rint_towardzero_test_data): Likewise.
21026         (rint_downward_test_data): Likewise.
21027         (rint_upward_test_data): Likewise.
21028
21029         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21030         with OVERFLOW_EXCEPTION.
21031         (exp10_test_data): Likewise.
21032         (exp2_test_data): Likewise.
21033         (expm1_test_data): Likewise.
21034         (lgamma_test_data): Likewise.
21035         (pow_test_data): Likewise.
21036         (tgamma_test_data): Likewise.
21037         (yn_test_data): Remove duplicate test of overflow.
21038
21039         * math/libm-test.inc (struct test_cc_c_data): New type.
21040         (RUN_TEST_LOOP_cc_c): New macro.
21041         (cpow_test_data): New variable.
21042         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21043
21044         * math/libm-test.inc (struct test_f_L_data): New type.
21045         (RUN_TEST_LOOP_f_L): New macro.
21046         (llrint_test_data): New variable.
21047         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21048         (llrint_tonearest_test_data): New variable.
21049         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21050         (llrint_towardzero_test_data): New variable.
21051         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21052         (llrint_downward_test_data): New variable.
21053         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21054         (llrint_upward_test_data): New variable.
21055         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21056         (llround_test_data): New variable.
21057         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21058
21059 2013-05-13  Peter Collingbourne  <pcc@google.com>
21060
21061         * math/atest-exp2.c (get_log2): Remove const attribute.
21062
21063 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21064
21065         * math/libm-test.inc (struct test_f_l_data): New type.
21066         (RUN_TEST_LOOP_f_l): New macro.
21067         (lrint_test_data): New variable.
21068         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21069         (lrint_tonearest_test_data): New variable.
21070         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21071         (lrint_towardzero_test_data): New variable.
21072         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21073         (lrint_downward_test_data): New variable.
21074         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21075         (lrint_upward_test_data): New variable.
21076         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21077         (lround_test_data): New variable.
21078         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21079
21080 2013-05-15  Peter Collingbourne  <pcc@google.com>
21081
21082         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21083         (EXTRACT_WORDS64) Use where appropriate.
21084         (INSERT_WORDS64) Likewise.
21085
21086         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21087         constraints with x constraints.
21088         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21089
21090         * malloc/obstack.c (_obstack_compat): Add initializer.
21091
21092 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21093
21094         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21095         si_trapno and add si_addr_lsb to _sifields.sigfault.
21096         (si_trapno): Remove macro.
21097         (si_addr_lsb): Define new macro.
21098         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21099
21100 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21101
21102         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21103         instead of TEST_f_l.
21104         (llrint_test_tonearest): Likewise.
21105         (llrint_test_towardzero): Likewise.
21106         (llrint_test_downward): Likewise.
21107         (llrint_test_upward): Likewise.
21108         (llround_test): Likewise.
21109
21110         * math/libm-test.inc (struct test_f_i_data): Add comment.
21111         (RUN_TEST_LOOP_f_b): New macro.
21112         (RUN_TEST_LOOP_f_b_tg): Likewise.
21113         (finite_test_data): New variable.
21114         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21115         (isfinite_test_data): New variable.
21116         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21117         (isinf_test_data): New variable.
21118         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21119         (isnan_test_data): New variable.
21120         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21121         (isnormal_test_data): New variable.
21122         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21123         (issignaling_test_data): New variable.
21124         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21125         (signbit_test_data): New variable.
21126         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21127
21128         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21129         with INVALID_EXCEPTION.
21130         (acosh_test_data): Likewise.
21131         (asin_test_data): Likewise.
21132         (atanh_test_data): Likewise.
21133         (fmod_test_data): Likewise.
21134         (log_test_data): Likewise.
21135         (log10_test_data): Likewise.
21136         (log2_test_data): Likewise.
21137         (pow_test_data): Likewise.
21138         (sqrt_test_data): Likewise.
21139         (y0_test_data): Likewise.
21140         (y1_test_data): Likewise.
21141         (yn_test_data): Likewise.
21142
21143         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21144         function contents.
21145
21146         * math/libm-test.inc (struct test_ff_i_data): New type.
21147         (RUN_TEST_LOOP_ff_i_tg): New macro.
21148         (isgreater_test_data): New variable.
21149         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21150         (isgreaterequal_test_data): New variable.
21151         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21152         (isless_test_data): New variable.
21153         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21154         (islessequal_test_data): New variable.
21155         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21156         (islessgreater_test_data): New variable.
21157         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21158         (isunordered_test_data): New variable.
21159         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21160
21161 2013-05-14  David S. Miller  <davem@davemloft.net>
21162
21163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21164
21165 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
21166
21167         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21168
21169         * math/libm-test.inc (struct test_fF_f1_data): Change type of
21170         extra_test to int.
21171         (struct test_f_i_data): Change type of max_ulp to int.
21172
21173         * math/libm-test.inc (test_ffI_f1_data): New type.
21174         (RUN_TEST_LOOP_ffI_f1): New macro.
21175         (remquo_test_data): New variable.
21176         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21177
21178         * setjmp/tst-setjmp-fp.c: New file.
21179         * setjmp/Makefile (tests): Add tst-setjmp-fp.
21180         (link-libm): New variable.
21181         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21182
21183         * math/libm-test.inc (struct test_f_i_data): New type.
21184         (RUN_TEST_LOOP_f_i): New macro.
21185         (RUN_TEST_LOOP_f_i_tg): Likewise.
21186         (fpclassify_test_data): New variable.
21187         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21188         (ilogb_test_data): New variable.
21189         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21190
21191         * math/libm-test.inc (scalbln_test): Correct function name in END
21192         call.
21193
21194         * math/libm-test.inc (struct test_f_f1_data): Add comment.
21195         (RUN_TEST_LOOP_fI_f1): New macro.
21196         (frexp_test_data): New variable.
21197         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21198
21199         * math/libm-test.inc (struct test_fF_f1_data): New type.
21200         (RUN_TEST_LOOP_fF_f1): New macro.
21201         (modf_test_data): New variable.
21202         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21203
21204         * math/libm-test.inc (struct test_f_f1_data): New type.
21205         (RUN_TEST_LOOP_f_f1): New macro.
21206         (gamma_test_data): New variable.
21207         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21208         (lgamma_test_data): New variable.
21209         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21210
21211 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
21212
21213         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21214         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21215         (main): Comment "tls" pseudo-hwcap.
21216
21217 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
21218
21219         * math/libm-test.inc (struct test_fl_f_data): New type.
21220         (RUN_TEST_LOOP_fl_f): New variable.
21221         (scalbln_test_data): New variable.
21222         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21223
21224         * math/libm-test.inc (struct test_fi_f_data): New type.
21225         (RUN_TEST_LOOP_fi_f): New macro.
21226         (ldexp_test_data): New variable.
21227         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21228         (scalbn_test_data): New variable.
21229         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21230
21231         * math/libm-test.inc (struct test_c_f_data): New type.
21232         (RUN_TEST_LOOP_c_f): New macro.
21233         (cabs_test_data): New variable.
21234         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21235         (carg_test_data): New variable.
21236         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21237         (cimag_test_data): New variable.
21238         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21239         (creal_test_data): New variable.
21240         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21241
21242         * math/libm-test.inc (struct test_if_f_data): New type.
21243         (RUN_TEST_LOOP_if_f): New macro.
21244         (jn_test_data): New variable.
21245         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21246         (yn_test_data): New variable.
21247         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21248
21249         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21250
21251 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21252
21253         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21254         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21255
21256 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21257
21258         * benchtests/Makefile (CPPFLAGS-nonlib): Add
21259         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21260         (bench-deps): Add bench-timing.h.
21261         * benchtests-bench-skeleton.c: Include bench-timing.h.
21262         (main): Use TIMING_* macros instead of clock_gettime.
21263         * benchtests/bench-timing.h: New file.
21264
21265         [BZ #14582]
21266         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21267         Renamed from _LIB_VERSION.
21268         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21269
21270 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
21271
21272         * math/libm-test.inc (struct test_fff_f_data): New type.
21273         (RUN_TEST_LOOP_fff_f): New macro.
21274         (fma_test_data): New variable.
21275         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21276         (fma_towardzero_test_data): New variable.
21277         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21278         (fma_downward_test_data): New variable.
21279         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21280         (fma_upward_test_data): New variable.
21281         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21282
21283         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21284         (struct test_c_c_data): New type.
21285         (RUN_TEST_LOOP_c_c): New macro.
21286         (cacos_test_data): New variable.
21287         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21288         (cacosh_test_data): New variable.
21289         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21290         (casin_test_data): New variable.
21291         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21292         (casinh_test_data): New variable.
21293         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21294         (catan_test_data): New variable.
21295         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21296         (catanh_test_data): New variable.
21297         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21298         (ccos_test_data): New variable.
21299         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21300         (ccosh_test_data): New variable.
21301         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21302         (cexp_test_data): New variable.
21303         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21304         (clog_test_data): New variable.
21305         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21306         (clog10_test_data): New variable.
21307         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21308         (conj_test_data): New variable.
21309         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21310         (cproj_test_data): New variable.
21311         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21312         (csin_test_data): New variable.
21313         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21314         (csinh_test_data): New variable.
21315         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21316         (csqrt_test_data): New variable.
21317         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21318         (ctan_test_data): New variable.
21319         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21320         (ctan_tonearest_test_data): New variable.
21321         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21322         (ctan_towardzero_test_data): New variable.
21323         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21324         (ctan_downward_test_data): New variable.
21325         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21326         (ctan_upward_test_data): New variable.
21327         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21328         (ctanh_test_data): New variable.
21329         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21330         (ctanh_tonearest_test_data): New variable.
21331         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21332         (ctanh_towardzero_test_data): New variable.
21333         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21334         (ctanh_downward_test_data): New variable.
21335         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21336         (ctanh_upward_test_data): New variable.
21337         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21338         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21339         of BUILD_COMPLEX.
21340
21341         * math/libm-test.inc (struct test_ff_f_data): New type.
21342         (struct test_ff_f_data_nexttoward): Likewise.
21343         (RUN_TEST_LOOP_2_f): New macro.
21344         (RUN_TEST_LOOP_ff_f): Likewise.
21345         (atan2_test_data): New variable.
21346         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21347         (copysign_test_data): New variable.
21348         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21349         (fdim_test_data): New variable.
21350         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21351         (fmax_test_data): New variable.
21352         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21353         (fmin_test_data): New variable.
21354         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21355         (fmod_test_data): New variable.
21356         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21357         (hypot_test_data): New variable.
21358         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21359         (nextafter_test_data): New variable.
21360         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21361         (nexttoward_test_data): New variable.
21362         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21363         (pow_test_data): New variable.
21364         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21365         (pow_tonearest_test_data): New variable.
21366         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21367         (pow_towardzero_test_data): New variable.
21368         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21369         (pow_downward_test_data): New variable.
21370         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21371         (pow_upward_test_data): New variable.
21372         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21373         (remainder_test_data): New variable.
21374         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21375         (scalb_test_data): New variable.
21376         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21377         * sysdeps/i386/fpu/libm-test-ulps: Update.
21378
21379 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
21380
21381         * math/libm-test.inc (fma_test): Use max_value instead of local
21382         variable fltmax.
21383         (nextafter_test): Likewise.
21384
21385         * math/libm-test.inc (acos_towardzero_test_data): New variable.
21386         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21387         (acos_downward_test_data): New variable.
21388         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21389         (acos_upward_test_data): New variable.
21390         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21391         (acosh_test_data): New variable.
21392         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21393         (asin_test_data): New variable.
21394         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21395         (asin_tonearest_test_data): New variable.
21396         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21397         (asin_towardzero_test_data): New variable.
21398         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21399         (asin_downward_test_data): New variable.
21400         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21401         (asin_upward_test_data): New variable.
21402         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21403         (asinh_test_data): New variable.
21404         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21405         (atan_test_data): New variable.
21406         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21407         (atanh_test_data): New variable.
21408         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21409         (cbrt_test_data): New variable.
21410         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21411         (ceil_test_data): New variable.
21412         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21413         (cos_test_data): New variable.
21414         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21415         (cos_tonearest_test_data): New variable.
21416         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21417         (cos_towardzero_test_data): New variable.
21418         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21419         (cos_downward_test_data): New variable.
21420         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21421         (cos_upward_test_data): New variable.
21422         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21423         (cosh_test_data): New variable.
21424         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21425         (cosh_tonearest_test_data): New variable.
21426         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21427         (cosh_towardzero_test_data): New variable.
21428         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21429         (cosh_downward_test_data): New variable.
21430         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21431         (cosh_upward_test_data): New variable.
21432         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21433         (erf_test_data): New variable.
21434         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21435         (erfc_test_data): New variable.
21436         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21437         (exp_test_data): New variable.
21438         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21439         (exp_tonearest_test_data): New variable.
21440         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21441         (exp_towardzero_test_data): New variable.
21442         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21443         (exp_downward_test_data): New variable.
21444         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21445         (exp_upward_test_data): New variable.
21446         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21447         (exp10_test_data): New variable.
21448         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21449         (exp2_test_data): New variable.
21450         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21451         (expm1_test_data): New variable.
21452         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21453         (fabs_test_data): New variable.
21454         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21455         (floor_test_data): New variable.
21456         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21457         (j0_test_data): New variable.
21458         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21459         (j1_test_data): New variable.
21460         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21461         (log_test_data): New variable.
21462         (log_test): Run tests with RUN_TEST_LOOP_f_f.
21463         (log10_test_data): New variable.
21464         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21465         (log1p_test_data): New variable.
21466         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21467         (log2_test_data): New variable.
21468         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21469         (logb_test_data): New variable.
21470         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21471         (logb_downward_test_data): New variable.
21472         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21473         (nearbyint_test_data): New variable.
21474         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21475         (rint_test_data): New variable.
21476         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21477         (rint_tonearest_test_data): New variable.
21478         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21479         (rint_towardzero_test_data): New variable.
21480         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21481         (rint_downward_test_data): New variable.
21482         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21483         (rint_upward_test_data): New variable.
21484         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21485         (round_test_data): New variable.
21486         (round_test): Run tests with RUN_TEST_LOOP_f_f.
21487         (sin_test_data): New variable.
21488         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21489         (sin_tonearest_test_data): New variable.
21490         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21491         (sin_towardzero_test_data): New variable.
21492         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21493         (sin_downward_test_data): New variable.
21494         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21495         (sin_upward_test_data): New variable.
21496         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21497         (sinh_test_data): New variable.
21498         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21499         (sinh_tonearest_test_data): New variable.
21500         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21501         (sinh_towardzero_test_data): New variable.
21502         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21503         (sinh_downward_test_data): New variable.
21504         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21505         (sinh_upward_test_data): New variable.
21506         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21507         (sqrt_test_data): New variable.
21508         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21509         (tan_test_data): New variable.
21510         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21511         (tan_tonearest_test_data): New variable.
21512         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21513         (tan_towardzero_test_data): New variable.
21514         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21515         (tan_downward_test_data): New variable.
21516         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21517         (tan_upward_test_data): New variable.
21518         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21519         (tanh_test_data): New variable.
21520         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21521         (tgamma_test_data): New variable.
21522         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21523         (trunc_test_data): New variable.
21524         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21525         (y0_test_data): New variable.
21526         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21527         (y1_test_data): New variable.
21528         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21529         (significand_test_data): New variable.
21530         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21531
21532 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
21533
21534         [BZ #12387]
21535         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21536
21537 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21538
21539         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21540
21541 2013-05-10  Andreas Jaeger  <aj@suse.de>
21542
21543         [BZ #15448]
21544         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21545         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21546
21547 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21548
21549         * math/gen-libm-test.pl (adjust_arg): New function.
21550         (special_functions): Handle generating output in both functions
21551         and arrays.
21552         (parse_args): Likewise.
21553         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
21554         $in_func argument to parse_args.
21555         * math/libm-test.inc (struct test_f_f_data): New type.
21556         (IF_ROUND_INIT_): New macro.
21557         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21558         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21559         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21560         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21561         (ROUND_RESTORE_): Likewise.
21562         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21563         (ROUND_RESTORE_FE_TONEAREST): Likewise.
21564         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21565         (ROUND_RESTORE_FE_UPWARD): Likewise.
21566         (RUN_TEST_LOOP_f_f): New macro.
21567         (acos_test_data): New variable.
21568         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21569         (acos_tonearest_test_data): New variable.
21570         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21571
21572 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21573
21574         * benchtests/bench-skeleton.c (startup): Fix coding style.
21575
21576 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21577
21578         [BZ #6809]
21579         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21580         negative infinity argument.
21581         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21582         negative infinity argument.
21583         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21584         negative infinity argument.
21585         * math/libm-test.inc (tgamma_test): Expect errno to be set for
21586         domain errors.
21587
21588 2013-05-10  Florian Weimer  <fweimer@redhat.com>
21589
21590         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21591         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21592         * iconv/iconv_prog.c (main): Likewise.
21593         * locale/programs/charmap-dir.c (charmap_readdir)
21594         (fopen_uncompressed): Likewise.
21595         * locale/programs/locfile.c (siblings_uncached)
21596         (write_locale_data): Use lstat64 instead of lstat.
21597         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21598         stat.
21599
21600 2013-05-10  Andreas Jaeger  <aj@suse.de>
21601
21602         [BZ #15395]
21603         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21604         localization.
21605         Include <locale.h>.
21606
21607 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
21608
21609         * elf/dl-close.c (_dl_close_worker): Add comments.
21610
21611 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
21612
21613         [BZ #15359]
21614         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21615         high part of pi/2.
21616         (__ieee754_rem_pio2l): Update comments.
21617
21618         [BZ #15429]
21619         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21620         high part of pi/2.
21621         (__ieee754_rem_pio2l): Update comments.
21622
21623         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21624         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21625
21626         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21627         M_PI_4l.
21628
21629         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21630         (M_PI_34_LOG10El): Likewise.
21631         (M_PI2_LOG10El): Likewise.
21632         (M_PI4_LOG10El): Likewise.
21633         (M_PI_LOG10El): Likewise.
21634
21635 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21636
21637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21638
21639 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
21640
21641         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21642         (MINUS_ZERO_INIT): Likewise.
21643         (PLUS_INFTY_INIT): Likewise.
21644         (MINUS_INFTY_INIT): Likewise.
21645         (QNAN_VALUE_INIT): Likewise.
21646         (MAX_VALUE_INIT): Likewise.
21647         (MIN_VALUE_INIT): Likewise.
21648         (MIN_SUBNORM_VALUE_INIT): Likewise.
21649         (plus_zero): Initialize with PLUS_ZERO_INIT.
21650         (minus_zero): Initialize with MINUS_ZERO_INIT.
21651         (plus_infty): Initialize with PLUS_INFTY_INIT.
21652         (minus_infty): Initialize with MINUS_INFTY_INIT.
21653         (qnan_value): Initialize with QNAN_VALUE_INIT.
21654         (max_value): Initialize with MAX_VALUE_INIT.
21655         (min_value): Initialize with MIN_VALUE_INIT.
21656         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21657
21658         * math/libm-test.inc (RUN_TEST_if_f): New macro.
21659         (jn_test): Use TEST_if_f instead of TEST_ff_f.
21660         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21661         (yn_test): Use TEST_if_f instead of TEST_ff_f.
21662
21663         * math/libm-test.inc (RUN_TEST_f_f): New macro.
21664         (RUN_TEST_2_f): Likewise.
21665         (RUN_TEST_ff_f): Likewise.
21666         (RUN_TEST_fi_f): Likewise.
21667         (RUN_TEST_fl_f): Likewise.
21668         (RUN_TEST_fff_f): Likewise.
21669         (RUN_TEST_c_f): Likewise.
21670         (RUN_TEST_f_f1): Likewise.
21671         (RUN_TEST_fF_f1): Likewise.
21672         (RUN_TEST_fI_f1): Likewise.
21673         (RUN_TEST_ffI_f1): Likewise.
21674         (RUN_TEST_c_c): Likewise.
21675         (RUN_TEST_cc_c): Likewise.
21676         (RUN_TEST_f_i): Likewise.
21677         (RUN_TEST_f_i_tg): Likewise.
21678         (RUN_TEST_ff_i_tg): Likewise.
21679         (RUN_TEST_f_b): Likewise.
21680         (RUN_TEST_f_b_tg): Likewise.
21681         (RUN_TEST_f_l): Likewise.
21682         (RUN_TEST_f_L): Likewise.
21683         (RUN_TEST_sincos): Likewise.
21684         * math/gen-libm-test.pl (new_test): Take new argument to indicate
21685         whether to show exceptions.  Do not include ");\n" in return
21686         value.
21687         (special_functions): Output call to RUN_TEST_sincos instead of
21688         check_float calls.  Update calls to new_test.
21689         (parse_args): Output call to single RUN_TEST_* macro instead of
21690         check_* calls and other assignments.  Update calls to new_test.
21691
21692         [BZ #2546]
21693         [BZ #2560]
21694         [BZ #5159]
21695         [BZ #15426]
21696         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21697         input to result for tgamma overflow.
21698         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21699         (gamma_coeff): New variable.
21700         (NCOEFF): New macro.
21701         (gamma_positive): New function.
21702         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21703         underflow here.  Use gamma_positive instead of exp (lgamma) for
21704         other arguments.
21705         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21706         (gamma_coeff): New variable.
21707         (NCOEFF): New macro.
21708         (gammaf_positive): New function.
21709         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21710         underflow here.  Use gamma_positive instead of exp (lgamma) for
21711         other arguments.
21712         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21713         (gamma_coeff): New variable.
21714         (NCOEFF): New macro.
21715         (gammal_positive): New function.
21716         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21717         underflow here.  Use gamma_positive instead of exp (lgamma) for
21718         other arguments.
21719         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21720         (gamma_coeff): New variable.
21721         (NCOEFF): New macro.
21722         (gammal_positive): New function.
21723         (__ieee754_gammal_r): Handle positive infinity, overflow and
21724         underflow here.  Handle NaN the same as positive infinity.  Remove
21725         check x < 0xffffffff for negative integers.  Use gamma_positive
21726         instead of exp (lgamma) for other arguments.
21727         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21728         (gamma_coeff): New variable.
21729         (NCOEFF): New macro.
21730         (gammal_positive): New function.
21731         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21732         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21733         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21734         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21735         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21736         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21737         * sysdeps/generic/math_private.h (__gamma_productf): New
21738         prototype.
21739         (__gamma_product): Likewise.
21740         (__gamma_productl): Likewise.
21741         * math/Makefile (libm-calls): Add gamma_product.
21742         * math/libm-test.inc (tgamma_test): Add more tests.
21743         * sysdeps/i386/fpu/libm-test-ulps: Update.
21744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21745
21746 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
21747
21748         * benchtests/bench-skeleton.c (main): Preheat CPU.
21749
21750 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
21751
21752         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21753
21754 2013-05-07  Roland McGrath  <roland@hack.frob.com>
21755
21756         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21757         and _dl_skip_args_internal.
21758
21759 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
21760
21761         * manual/message.texi (Message Translation): Talk about users.
21762         Message to key mapping impacts design.
21763
21764 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21765
21766         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21767
21768         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21769
21770         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21771         * sysdeps/wordsize-64/glob64.c: ... here.
21772
21773         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21774         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21775         New macros.
21776
21777         * debug/getlogin_r_chk.c: Moved to ...
21778         * login/getlogin_r_chk.c: ... here.
21779         * debug/Makefile (routines): Move getlogin_r_chk to ...
21780         * login/Makefile (routines): ... here.
21781         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21782         * login/Versions (libc: GLIBC_2.4): ... here.
21783
21784         * io/poll.c (__poll): Renamed from poll.
21785         Add libc_hidden_def.
21786         (poll): Define as weak alias.
21787
21788         * debug/ptsname_r_chk.c: Moved to ...
21789         * login/ptsname_r_chk.c: ... here.
21790         * debug/Makefile (routines): Move ptsname_r_chk to ...
21791         * login/Makefile (routines): ... here.
21792         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21793         * login/Versions (libc: GLIBC_2.4): ... here.
21794
21795         * posix/getlogin.c: Moved to ...
21796         * login/getlogin.c: ... here.
21797         * posix/getlogin_r.c: Moved to ...
21798         * login/getlogin_r.c: ... here.
21799         * posix/getlogin_r.c: Moved to ...
21800         * login/getlogin_r.c: ... here.
21801         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21802         * login/Makefile (routines): ... here.
21803         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21804         * login/Versions (libc: GLIBC_2.0): ... here.
21805
21806         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21807         (setrlimit): Define as weak alias.
21808
21809         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21810         Call __ names for open, ftruncate, and close.
21811         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21812         (truncate): Define as weak alias.
21813
21814 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
21815
21816         * math/gen-libm-test.pl (parse_args): Initialize x before each
21817         test of frexp, modf and remquo.
21818
21819         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21820         test signgam value.
21821
21822 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21823
21824         [BZ #15418]
21825         [BZ #15419]
21826         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21827         internal tests.
21828         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21829
21830 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21831
21832         * elf/dl-writev.h: New file.
21833         * elf/dl-misc.c: Include it.
21834         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21835         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21836
21837 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
21838
21839         * math/libm-test.inc (noXFails): Remove variable.
21840         (noXPasses): Likewise.
21841         (BUILD_COMPLEX_INT): Remove macro.
21842         (print_screen): Remove xfail argument.
21843         (print_screen_max_error): Likewise.
21844         (update_stats): Likewise.
21845         (print_max_error): Likewise.  Update calls to other affected
21846         functions.
21847         (print_complex_max_error): Likewise.
21848         (test_single_exception): Update calls to print_screen.
21849         (test_single_errno): Likewise.
21850         (check_float_internal): Remove xfail argument.  Update calls to
21851         other affected functions.
21852         (check_float): Likewise.
21853         (check_complex): Likewise.
21854         (check_int): Likewise.
21855         (check_long): Likewise.
21856         (check_bool): Likewise.
21857         (check_longlong): Likewise.
21858         (main): Don't print noXFails and noXPasses.
21859         * math/gen-libm-test.pl (top level): Don't mention expected
21860         failure handling in comment.
21861         (new_test): Don't handle expected failures.
21862         (parse_args): Don't mention expected failure handling in comment.
21863         (generate_testfile): Don't handle expected failures.
21864         (parse_ulps): Likewise.
21865         (print_ulps_file): Likewise.
21866         (get_failure): Remove function.
21867         (output_test): Don't handle expected failures.
21868         * make/README.libm-test: Don't mention expected failure handling.
21869
21870         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
21871         (minus_zero): Likewise.
21872         (plus_infty): Likewise.
21873         (minus_infty): Likewise.
21874         (qnan_value): Likewise.
21875         (max_value): Likewise.
21876         (min_value): Likewise.
21877         (min_subnorm_value): Likewise.
21878         (initialize): Do not initialize those variables dynamically.
21879
21880 2013-05-03  Roland McGrath  <roland@hack.frob.com>
21881
21882         * io/open.c (__open_2): Moved to ...
21883         * io/open_2.c: ... this new file.
21884         * io/open64.c (__open64_2): Moved to ...
21885         * io/open64_2.c: ... this new file.
21886         * io/openat.c (__openat_2): Moved to ...
21887         * io/openat_2.c: ... this new file.
21888         * io/openat64.c (__openat64_2): Moved to ...
21889         * io/openat64_2.c: ... this new file.
21890         * io/Makefile (routines): Add them.
21891         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21892         * sysdeps/unix/sysv/linux/open_2.c: File removed.
21893         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21894         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21895         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21896         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21897         (__openat64): Add hidden_ver.
21898         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21899         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21900
21901         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21902         Separately conditionalize setting of GLRO(dl_sysinfo) so
21903         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21904         as well, but the actual setting is only under [NEED_DL_SYSINFO].
21905
21906 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21907
21908         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21909         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21910         definition.
21911         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21912         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21913         (_libc_vdso_platform_setup): Add __vdso_time initialization.
21914         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21915         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21916
21917 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
21918
21919         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21920         test signgam value.
21921
21922         * math/libm-test.inc (hypot_test): Do not use
21923         IGNORE_ZERO_INF_SIGN.
21924
21925 2013-05-03  Andreas Jaeger  <aj@suse.de>
21926
21927         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21928         Linux 3.9.
21929         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21930         (PF_MAX): Adjust for VSOCK change.
21931
21932 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21933
21934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21935
21936 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
21937
21938         [BZ #15264]
21939         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21940         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21941         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21942
21943 2013-05-02  David S. Miller  <davem@davemloft.net>
21944
21945         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21946
21947 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
21948
21949         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21950
21951 2013-05-01  Roland McGrath  <roland@hack.frob.com>
21952
21953         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21954
21955 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
21956
21957         [BZ #14952]
21958         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21959         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21960         Use __attribute__ ((__gnu_inline__)).
21961         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21962         Don't use __attribute__ ((__gnu_inline__)).
21963
21964 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
21965
21966         [BZ #15423]
21967         * math/s_catan.c (__catan): Handle small real or imaginary part of
21968         input specially to avoid spurious underflow.
21969         * math/s_catanf.c (__catanf): Likewise.
21970         * math/s_catanh.c (__catanh): Likewise.
21971         * math/s_catanhf.c (__catanhf): Likewise.
21972         * math/s_catanhl.c (__catanhl): Likewise.
21973         * math/s_catanl.c (__catanl): Likewise.
21974         * math/libm-test.inc (catan_test): Add more tests.
21975         (catanh_test): Likewise.
21976         * sysdeps/i386/fpu/libm-test-ulps: Update.
21977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21978
21979 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21980
21981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21982
21983 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
21984
21985         [BZ #15416]
21986         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21987         accurately for denominator in atan2.
21988         * math/s_catanf.c (__catanf): Likewise.
21989         * math/s_catanh.c (__catanh): Likewise.
21990         * math/s_catanhf.c (__catanhf): Likewise.
21991         * math/s_catanhl.c (__catanhl): Likewise.
21992         * math/s_catanl.c (__catanl): Likewise.
21993         * math/libm-test.inc (catan_test): Add more tests.
21994         (catanh_test): Likewise.
21995         * sysdeps/i386/fpu/libm-test-ulps: Update.
21996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21997
21998 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21999
22000         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22001
22002         * benchtests/Makefile (bench): Remove slow benchmarks.
22003         * benchtests/atan-inputs: Add slow benchmark inputs.
22004         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22005         (BENCH_FUNC): Accept variant offset.
22006         (VARIANT): Define.
22007         * benchtests/bench-skeleton.c (main): Run benchmark for each
22008         variant.
22009         * benchtests/cos-inputs: Add slow benchmark inputs.
22010         * benchtests/exp-inputs: Likewise.
22011         * benchtests/pow-inputs: Likewise.
22012         * benchtests/sin-inputs: Likewise.
22013         * benchtests/slowatan-inputs: Remove.
22014         * benchtests/slowatan.c: Remove.
22015         * benchtests/slowcos-inputs: Remove.
22016         * benchtests/slowcos.c: Remove.
22017         * benchtests/slowexp-inputs: Remove.
22018         * benchtests/slowexp.c: Remove.
22019         * benchtests/slowpow-inputs: Remove.
22020         * benchtests/slowpow.c: Remove.
22021         * benchtests/slowsin-inputs: Remove.
22022         * benchtests/slowsin.c: Remove.
22023         * benchtests/slowtan-inputs: Remove.
22024         * benchtests/slowtan.c: Remove.
22025         * benchtests/tan-inputs: Add slow benchmark inputs.
22026         * scripts/bench.pl: Parse comments and directives.
22027
22028         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
22029         in CPPFLAGS.
22030         ($(objpfx)bench-%.c): Remove *-ITER.
22031         * benchtests/bench-modf.c: Remove definition of ITER.
22032         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22033         (main): Loop for DURATION seconds instead of fixed number of
22034         iterations.
22035         * scripts/bench.pl: Don't expect iterations in parameters.
22036
22037 2013-04-29  Roland McGrath  <roland@hack.frob.com>
22038
22039         * io/fchdir.c (__fchdir): Renamed from fchdir.
22040         (fchdir): Define as weak alias.
22041
22042 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22043
22044         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22045         (ERRNO_EDOM): Likewise.
22046         (ERRNO_ERANGE): Likewise.
22047         (noErrnoTests): New variable.
22048         (init_max_error): Set errno to 0.
22049         (test_single_errno): New function.
22050         (test_errno): Likewise.
22051         (check_float_internal): Call test_errno.  Set errno to 0.
22052         (check_complex): Refer to errno tests in comment.
22053         (check_int): Call test_errno.  Set errno to 0.
22054         (check_long): Likewise.
22055         (check_bool): Likewise.
22056         (check_longlong): Likewise.
22057         (cos_test): Use ERRNO_* flags for errno tests instead of
22058         check_int.
22059         (expm1_test): Likewise.
22060         (fmod_test): Likewise.
22061         (ilogb_test): Likewise.
22062         (lgamma_test): Likewise.
22063         (pow_test): Likewise.
22064         (remainder_test): Likewise.
22065         (sin_test): Likewise.
22066         (tan_test): Likewise.
22067         (yn_test): Likewise.
22068         (initialize): Set errno to 0.
22069         (main): Print number of errno tests.
22070         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22071
22072 2013-04-29  Andreas Jaeger  <aj@suse.de>
22073
22074         [BZ #15084]
22075         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22076         and RES_USEVC.
22077
22078         [BZ #15085]
22079         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22080         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22081         unimplemented.
22082
22083         [BZ #15380]
22084         * stdlib/random.c (__initstate): Return NULL if
22085         __initstate fails.
22086
22087         [BZ #15086]
22088         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22089         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22090         RES_SNGLKUPREOP.
22091
22092 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22093
22094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22095
22096 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22097
22098         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22099         of individual tests.
22100         (casin_test): Likewise.
22101         (casinh_test): Likewise.
22102
22103 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
22104
22105         [BZ #15409]
22106         * math/s_catan.c (__catan): Handle arguments with large real or
22107         imaginary part separately without squaring.
22108         * math/s_catanf.c (__catanf): Likewise.
22109         * math/s_catanh.c (__catanh): Likewise.
22110         * math/s_catanhf.c (__catanhf): Likewise.
22111         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22112         and redefine.
22113         (__catanhl): Handle arguments with large real or imaginary part
22114         separately without squaring.
22115         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22116         and redefine.
22117         (__catanl): Handle arguments with large real or imaginary part
22118         separately without squaring.
22119         * math/libm-test.inc (catan_test): Add more tests.
22120         (catanh_test): Likewise.
22121         * sysdeps/i386/fpu/libm-test-ulps: Update.
22122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22123
22124 2013-04-27  Andreas Jaeger  <aj@suse.de>
22125
22126         [BZ #15007]
22127         * stdlib/stdlib.h: Update guards for qecvt.
22128         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22129         <stdlib.h>.
22130
22131 2013-04-27  Allan McRae  <allan@archlinux.org>
22132
22133         * sysdeps/i386/fpu/libm-test-ulps: Update.
22134
22135 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
22136
22137         [BZ #15406]
22138         * math/s_catan.c: Include <float.h>.
22139         (__catan): Ensure underflow exception occurs for underflowed
22140         result.
22141         * math/s_catanf.c: Include <float.h>.
22142         (__catanf): Ensure underflow exception occurs for underflowed
22143         result.
22144         * math/s_catanh.c: Include <float.h>.
22145         (__catanh): Ensure underflow exception occurs for underflowed
22146         result.
22147         * math/s_catanhf.c: Include <float.h>.
22148         (__catanhf): Ensure underflow exception occurs for underflowed
22149         result.
22150         * math/s_catanhl.c: Include <float.h>.
22151         (__catanhl): Ensure underflow exception occurs for underflowed
22152         result.
22153         * math/s_catanl.c: Include <float.h>.
22154         (__catanl): Ensure underflow exception occurs for underflowed
22155         result.
22156         * math/libm-test.inc (catan_test): Add more tests.
22157         (catanh_test): Likewise.
22158
22159         [BZ #15405]
22160         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22161         underflowed result.
22162         * math/s_ccoshf.c (__ccoshf): Likewise.
22163         * math/s_ccoshl.c (__ccoshl): Likewise.
22164         * math/s_csin.c (__csin): Likewise.
22165         * math/s_csinf.c (__csinf): Likewise.
22166         * math/s_csinh.c (__csinh): Likewise.
22167         * math/s_csinhf.c (__csinhf): Likewise.
22168         * math/s_csinhl.c (__csinhl): Likewise.
22169         * math/s_csinl.c (__csinl): Likewise.
22170         * math/libm-test.inc (ccos_test): Add more tests.
22171         (ccosh_test): Likewise.
22172         (csin_test): Likewise.
22173         (csinh_test): Likewise.
22174
22175 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22176
22177         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22178         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22179         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22180         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22181         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22182         powerpc/power5+/fpu folders.
22183         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22184
22185
22186 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22187
22188         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22189
22190 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
22191
22192         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22193         additions to variable.
22194         [$(config-machine) = x86_64] (modules-names): Likewise.
22195         ($(objpfx)tst-audit3): Remove dependency.
22196         ($(objpfx)tst-audit3.out): Likewise.
22197         ($(objpfx)tst-audit4): Likewise.
22198         ($(objpfx)tst-audit4.out): Likewise.
22199         ($(objpfx)tst-audit5): Likewise.
22200         ($(objpfx)tst-audit5.out): Likewise.
22201         ($(objpfx)tst-audit6): Likewise.
22202         ($(objpfx)tst-audit6.out): Likewise.
22203         ($(objpfx)tst-audit7): Likewise.
22204         ($(objpfx)tst-audit7.out): Likewise.
22205         (tst-audit3-ENV): Remove variable.
22206         (tst-audit4-ENV): Likewise.
22207         (tst-audit5-ENV): Likewise.
22208         (tst-audit6-ENV): Likewise.
22209         (tst-audit7-ENV): Likewise.
22210         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22211         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22212         addition to variable.
22213         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22214         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22215         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22216         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22217         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22218         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22219         tst-audit3, tst-audit4 and tst-audit5.
22220         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22221         tst-audit6 and tst-audit7.
22222         [$(subdir) = elf] (modules-names): Add audit modules for those
22223         tests.
22224         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22225         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22226         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22227         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22228         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22229         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22230         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22231         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22232         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22233         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22234         [$(subdir) = elf] (tst-audit3-ENV): New variable.
22235         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22236         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22237         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22238         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22239         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22240         Likewise.
22241         [$(subdir) = elf && $(config-cflags-avx) = yes]
22242         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22243         [$(subdir) = elf && $(config-cflags-avx) = yes]
22244         (CFLAGS-tst-auditmod4a.c): Likewise.
22245         [$(subdir) = elf && $(config-cflags-avx) = yes]
22246         (CFLAGS-tst-auditmod4b.c): Likewise.
22247         [$(subdir) = elf && $(config-cflags-avx) = yes]
22248         (CFLAGS-tst-auditmod6b.c): Likewise.
22249         [$(subdir) = elf && $(config-cflags-avx) = yes]
22250         (CFLAGS-tst-auditmod6c.c): Likewise.
22251         [$(subdir) = elf && $(config-cflags-avx) = yes]
22252         (CFLAGS-tst-auditmod7b.c): Likewise.
22253         * elf/tst-audit3.c: Move to ...
22254         * sysdeps/x86_64/tst-audit3.c: ... here.
22255         * elf/tst-audit4.c: Move to ...
22256         * sysdeps/x86_64/tst-audit4.c: ... here.
22257         * elf/tst-audit5.c: Move to ...
22258         * sysdeps/x86_64/tst-audit5.c: ... here.
22259         * elf/tst-audit6.c: Move to ...
22260         * sysdeps/x86_64/tst-audit6.c: ... here.
22261         * elf/tst-audit7.c: Move to ...
22262         * sysdeps/x86_64/tst-audit7.c: ... here.
22263         * elf/tst-auditmod3a.c: Move to ...
22264         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22265         * elf/tst-auditmod3b.c: Move to ...
22266         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22267         * elf/tst-auditmod4a.c: Move to ...
22268         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22269         * elf/tst-auditmod4b.c: Move to ...
22270         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22271         * elf/tst-auditmod5a.c: Move to ...
22272         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22273         * elf/tst-auditmod5b.c: Move to ...
22274         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22275         * elf/tst-auditmod6a.c: Move to ...
22276         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22277         * elf/tst-auditmod6b.c: Move to ...
22278         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22279         * elf/tst-auditmod6c.c: Move to ...
22280         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22281         * elf/tst-auditmod7a.c: Move to ...
22282         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22283         * elf/tst-auditmod7b.c: Move to ...
22284         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22285
22286 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
22287
22288         [BZ #15366]
22289         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22290         define unconditionally.
22291         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22292         define unconditionally.
22293         (INT8_C, INT16_C, etc.): Likewise.
22294
22295 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
22296
22297         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22298         __ehdr_start with hidden visibility.
22299
22300         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22301
22302 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
22303
22304         * math/libm-test.inc (cos_test): Use accurate hex constants.
22305         (sincost_test): Likewise.
22306
22307 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
22308
22309         * math/libm-test.inc (catan_test): Add more tests.
22310         (catanh_test): Likewise.
22311
22312         * math/s_catanf.c (__catanf): Use suffixed floating-point
22313         constants.
22314         * math/s_catanhf.c (__catanhf): Likewise.
22315         * math/s_catanhl.c (__catanhl): Likewise.
22316         * math/s_catanl.c (__catanl): Likewise.
22317
22318         [BZ #15394]
22319         * math/s_catan.c (__catan): Calculate imaginary part of result
22320         with log1p not log unless computing log of number close to 0.
22321         * math/s_catanf.c (__catanf): Likewise.
22322         * math/s_catanl.c (__catanl): Likewise.
22323         * math/s_catanh.c (__catanh): Calculate real part of result with
22324         log1p not log unless computing log of number close to 0.
22325         * math/s_catanhf.c (__catanhf): Likewise.
22326         * math/s_catanhl.c (__catanhl): Likewise.
22327         * math/libm-test.inc (catan_test): Add more tests.
22328         (catanh_test): Likewise.
22329         * sysdeps/i386/fpu/libm-test-ulps: Update.
22330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22331
22332 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22333
22334         * benchtests/Makefile: Mention files in which fast and slow
22335         paths of math functions are implemented.
22336
22337 2013-04-23  Roland McGrath  <roland@hack.frob.com>
22338
22339         * sysdeps/posix/timespec_get.c: New file.
22340
22341 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22342
22343         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22344         POWER.
22345         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22346         for POWER.
22347         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22348         powerpc/power5/fpu folders.
22349         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22350         * benchtests/Makefile: Add modf testcase.
22351         * benchtests/bench-modf.c: New file: Benchmark test for mo
22352
22353 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22354
22355         [BZ #14888]
22356         * time/Makefile (tests): Add tst-strptime-whitespace.
22357         * time/strptime_l.c (get_number): Use ISSPACE.
22358         (__strptime_internal): Likewise.
22359         * time/tst-strptime-whitespace.c: New test case.
22360
22361 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
22362
22363         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22364         member.
22365         (_nss_files_init): Set it here.
22366
22367 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
22368
22369         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22370         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22371         unsigned.
22372
22373 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
22374
22375         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22376
22377 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22378
22379         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22380         size just once.
22381
22382 2013-04-21  David S. Miller  <davem@davemloft.net>
22383
22384         * po/ru.po: Update Russion translation from translation project.
22385
22386 2013-04-17  Adam Conrad  <adconrad@0c3.net>
22387
22388         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22389         and setfsgid.
22390
22391 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
22392
22393         * configure.in: Remove i386 configure warning. Remove i386 case.
22394         * configure: Regenerate.
22395         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22396         Add example to error message.
22397         * sysdeps/i386/configure: Regenerate.
22398
22399 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22400
22401         * benchtests/Makefile (bench): Add cos, tan, slowcos and
22402         slowtan.
22403         * benchtests/cos-inputs: New file.
22404         * benchtests/slowcos-inputs: New file.
22405         * benchtests/slowcos.c: New file.
22406         * benchtests/slowtan-inputs: New file.
22407         * benchtests/slowtan.c: New file.
22408         * benchtests/tan-inputs: New file.
22409
22410 2013-04-16  Roland McGrath  <roland@hack.frob.com>
22411
22412         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22413         considered kosher.
22414
22415 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22416
22417         * benchtests/Makefile: Include cppflags-iterator.mk to add
22418         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22419
22420         * Makefile.in (bench-clean): New target.
22421         * benchtests/Makefile (bench-clean): Likewise.
22422
22423 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
22424
22425         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22426
22427 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
22428
22429         * stdio-common/tstdiomisc.c: Fix coding-style violation.
22430
22431 2013-04-15  Andreas Schwab  <schwab@suse.de>
22432
22433         * nscd/grpcache.c (cache_addgr): Properly check for short write.
22434         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22435         * nscd/pwdcache.c (cache_addpw): Likewise.
22436         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
22437         more than recsize.
22438
22439 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22440
22441         * benchtests/Makefile (bench): Write all output to
22442         bench-out.tmp together.
22443
22444 2013-04-15  Andreas Schwab  <schwab@suse.de>
22445
22446         * nscd/nscd.c (main): Don't fork again after closing files.
22447
22448 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22449
22450         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22451
22452         * benchtests/Rules (bench-deps): Collect dependencies into a
22453         single variable.  Add Makefile to dependencies.
22454         ($(objpfx)bench-%.c): Depend on bench-deps.
22455
22456 2013-04-12  Roland McGrath  <roland@hack.frob.com>
22457             Xavier Roche  <roche+kml2@exalead.com>
22458
22459         [BZ #15361]
22460         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22461         just that it's a file descriptor.
22462         * manual/llio.texi (Synchronizing AIO Operations): Update description
22463         for EBADF error from aio_fsync.
22464
22465 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22466
22467         * Rules (bench): Move target definition...
22468         * benchtests/Makefile: ... here.
22469
22470 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
22471
22472         * math/libm-test.inc (cos_test): Fix PI/2 test.
22473         (sincos_test): Likewise.
22474         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22475         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22476
22477 2013-04-11  Andreas Schwab  <schwab@suse.de>
22478
22479         [BZ #13988]
22480         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22481         accept exponent character only when digits were seen.
22482         * stdio-common/Makefile (tests): Add bug26.
22483         * stdio-common/bug26.c: New file.
22484
22485         [BZ #14293]
22486         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22487         non-freeable.
22488
22489 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22490
22491         * Makeconfig (rtld-prefix): Define built linker prefix.
22492         * Rules (run-bench): Use it.
22493         * math/Makefile (run-regen-ulps): Likewise.
22494
22495         * Rules (bench): Remove eval.
22496
22497 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22498             Roland McGrath  <roland@hack.frob.com>
22499             Ondrej Bilka  <neleai@seznam.cz>
22500
22501         [BZ #15346]
22502         * time/getdate.c: Include ctype.h and alloca.h.
22503         (__getdate_r): Trim leading and trailing spaces of input.
22504         * time/tst-getdate.c (tests): Add tests with leading and
22505         trailing spaces.
22506
22507 2013-04-08  Roland McGrath  <roland@hack.frob.com>
22508
22509         [BZ #14280]
22510         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22511         when computing value.
22512
22513 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22514
22515         * math/README.libm-test (How can I generate "libm-test-ulps"?):
22516         Use testrun.sh to run libm tests.
22517
22518         [BZ #15309]
22519         * elf/dl-open.c (dl_open_worker): memset all of seen array.
22520
22521 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
22522
22523         [BZ #15264]
22524         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22525
22526 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22527
22528         * Makefile.in (regen-ulps): New target.
22529         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22530         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22531         [ifneq (no,$(PERL)] (regen-ulps): New target.
22532         [ifeq (no,$(PERL)] (regen-ulps): New target.
22533         * math/libm-test.inc (ulps_file_name): Define.
22534         (output_dir): New variable.
22535         (options): Add "output-dir" option.
22536         (parse_opt): Handle 'o' case.
22537         (main): If output_dir is non-NULL use it as a prefix
22538         otherwise use "".
22539         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22540
22541 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22542
22543         [BZ #10060, #10062]
22544         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22545         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22546         fail configure if __sync_val_compare_and_swap is not inlined.
22547         * sysdeps/i386/configure: Regenerate.
22548         * configure.in: Build for i686 when configured for i386.
22549         * configure: Regenerate.
22550         * README: Remove i386 reference.
22551
22552 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22553
22554         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22555         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22556
22557 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22558
22559         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22560         (lmsnanval): New variables.
22561         (F): Add conversion tests.
22562         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22563         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22564
22565         * stdio-common/tstdiomisc.c (F): Properly collect individual
22566         tests' results.
22567
22568         [BZ #14686, #15336]
22569         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22570         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22571         Instead, use input NaN values or generate a qNaN by arithmetic
22572         operation.  Also fix bugs to comply with the standard.
22573         * math/libm-test.inc (remainder_test): Add more tests.
22574
22575         [BZ #15335, #15342]
22576         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22577         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22578         input NaN values or generate a qNaN by arithmetic operation.
22579
22580         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22581         unreachable code.
22582
22583         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22584         definitions.
22585
22586 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
22587
22588         [BZ #14478]
22589         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22590         underflowed result.
22591         * math/s_cexpf.c (__cexpf): Likewise.
22592         * math/s_cexpl.c (__cexpl): Likewise.
22593         * math/libm-test.inc (cexp_test): Add more tests.
22594
22595 2013-04-03  Andreas Schwab  <schwab@suse.de>
22596
22597         [BZ #15330]
22598         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22599         order arrays from heap if bigger than alloca cutoff.
22600
22601 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
22602
22603         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22604         (SNAN_TESTS_double): Refer to GCC PR56831.
22605         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22606         GCC PR56828.
22607
22608 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22609
22610         * Rules (bench): Move bench.out after the run is complete.
22611
22612         * Rules (bench): Echo currently running benchmark.
22613
22614         * benchtests/Makefile (bench): Add atan and slowatan.
22615         * benchtests/atan-inputs: New file.
22616         * benchtests/slowatan-inputs: New file.
22617         * benchtests/slowatan.c: New file.
22618
22619         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22620         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22621         its value.
22622
22623         [BZ #15305]
22624         * sysdeps/unix/sysv/linux/kernel-features.h
22625         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22626         __ASSUME_XFS_RESTRICTED_CHOWN.
22627         * sysdeps/unix/sysv/linux/pathconf.c
22628         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22629         Save and restore errno.
22630
22631 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
22632
22633         [BZ #15327]
22634         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22635         arguments using __kernel_casinh.
22636         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22637         arguments using __kernel_casinhf.
22638         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22639         arguments using __kernel_casinhl.
22640         * math/libm-test.inc (cacosh_test): Add more tests.
22641         * sysdeps/i386/fpu/libm-test-ulps: Update.
22642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22643
22644 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22645
22646         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22647         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22648
22649         * bench/Makefile (bench): Add sin and slowsin.
22650         * benchtests/sin-inputs: New file.
22651         * benchtests/slowsin-inputs: New file.
22652         * benchtests/slowsin.c: New file.
22653
22654         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22655         (bench): Add slowexp and slowpow.
22656         (exp-ITER): Increase iterations.
22657         (pow-ITER): Likewise.
22658         * benchtests/exp-inputs: Change input.
22659         * benchtests/pow-inputs: Likewise.
22660         * benchtests/slowexp-inputs: New file.
22661         * benchtests/slowexp.c: New file.
22662         * benchtests/slowpow-inputs: New file.
22663         * benchtests/slowpow.c: New file.
22664
22665 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22666
22667         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22668         instructions.
22669         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22670         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22671         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22672         * benchtests/Makefile: Add rint benchtest.
22673         * benchtests/rint-inputs: Input for rint benchtest.
22674
22675 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22676
22677         * Versions.def (libm): Add GLIBC_2.18.
22678         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22679         hidden libm prototypes.
22680         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22681         * math/Makefile (libm-calls): Add s_issignaling.
22682         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22683         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
22684         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22685         declaration.
22686         * math/math.h [__USE_GNU] (issignaling): New macro.
22687         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22688         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22689         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22690         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22691         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22692         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22693         * manual/arith.texi (issignaling): New section.
22694         * manual/libm-err-tab.pl (@all_functions): Update comment.
22695         * math/gen-libm-test.pl (parse_args): Apply special handling for
22696         issignaling.
22697         * math/libm-test.inc (print_float, issignaling_test): New
22698         functions.
22699         (check_float_internal): Add issignaling checks.
22700         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22701         default definition.
22702         * sysdeps/powerpc/math-tests.h: New file.
22703         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22704         tests.
22705         * math/test-snan.c (TEST_FUNC): Likewise.
22706
22707 2013-03-30  David S. Miller  <davem@davemloft.net>
22708
22709         * po/de.po: Update from translation team.
22710
22711 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
22712
22713         [BZ #10357]
22714         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22715         imaginary part less than 1.0 and real part less than 0.5
22716         specially.
22717         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22718         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22719         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22720         (cacos_test): Add more tests.
22721         (casin_test): Likewise.
22722         (casinh_test): Likewise.
22723         * sysdeps/i386/fpu/libm-test-ulps: Update.
22724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22725
22726 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22727
22728         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22729         ONE with its value.
22730
22731         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22732         (__pow_mp): Replace ONE and MONE with their values.
22733         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22734         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22735         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22736         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22737         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22738         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22739
22740         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22741
22742         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22743         (__pow_mp): Replace ZERO and MZERO with their values.
22744         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22745         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22746         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22747         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22748         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22749         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22750         (__sqr): Likewise.
22751
22752         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22753
22754         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22755
22756 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22757
22758         * include/stdlib.h [!SHARED] (__call_tls_dtors):
22759         Declare with __attribute__ ((weak)).
22760         * stdlib/exit.c (__libc_atexit) [!SHARED]:
22761         Call __call_tls_dtors only if it's not NULL.
22762
22763 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22764
22765         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22766         didn't do it already, then set _dl_phdr and _dl_phnum based on the
22767         magic __ehdr_start linker symbol if it's defined.
22768         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22769         them up here if it was already done.
22770
22771         * elf/dl-support.c (_dl_phdr): Make pointer to const.
22772         (_dl_aux_init): Use const in cast when setting it.
22773         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22774         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22775         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22776
22777         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22778         Declare them here.
22779         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22780         * csu/libc-tls.c: Nor here.
22781         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22782
22783         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22784         (__libc_message): Never call vsyslog.
22785
22786 2013-03-28  Alan Modra  <amodra@gmail.com>
22787
22788         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22789         Define as empty.
22790         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22791         Likewise.
22792
22793 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22794
22795         [BZ #15214]
22796         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22797         underflow.
22798         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22799
22800 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22801
22802         [BZ #15304]
22803         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22804         Don't add gid passed as argument.
22805
22806         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22807
22808 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
22809
22810         [BZ #15307]
22811         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22812         imaginary part between 1.0 and 1.5 and real part less than 0.5
22813         specially.
22814         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22815         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22816         * math/libm-test.inc (cacos_test): Add more tests.
22817         (casin_test): Likewise.
22818         (casinh_test): Likewise.
22819         * sysdeps/i386/fpu/libm-test-ulps: Update.
22820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22821
22822 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22823
22824         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22825         constants.
22826         (norm): Likewise.
22827         (denorm): Likewise.
22828         (__dbl_mp): Likewise.
22829         (add_magnitudes): Likewise.
22830         (sub_magnitudes): Likewise.
22831         (__add): Likewise.
22832         (__sub): Likewise.
22833         (__mul): Likewise.
22834         (__sqr): Likewise.
22835         (__inv): Likewise.
22836         (__dvd): Likewise.
22837
22838         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22839         commented code.
22840         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22841         (__dubcos): Likewise.
22842         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22843         (__ieee754_acos): Likewise.
22844         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22845         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22846         (__exp1): Likewise.
22847         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22848         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22849         (log1): Likewise.
22850         (my_log2): Likewise.
22851         (checkint): Likewise.
22852         * sysdeps/ieee754/dbl-64/e_remainder.c
22853         (__ieee754_remainder): Likewise.
22854         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22855         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22856         (bsloww): Likewise.
22857         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22858
22859         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22860         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22861         MANTISSA_STORE_T to store computations on mantissa.  Use
22862         macros for rounding and division.
22863         (denorm): Likewise.
22864         (__dbl_mp): Likewise.
22865         (add_magnitudes): Likewise.
22866         (sub_magnitudes): Likewise.
22867         (__mul): Likewise.
22868         (__sqr): Likewise.
22869         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22870         powers of two in terms of TWOPOW macro.
22871         (mp_no): Make type of mantissa as MANTISSA_T.
22872         [!RADIXI]: Define RADIXI.
22873         [!TWO52]: Define TWO52.
22874         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22875
22876 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22877
22878         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22879         llroundl symbol when building for PPC32.
22880
22881 2013-03-24  Mark H Weaver  <mhw@netris.org>
22882
22883         * manual/arith.texi (Normalization Functions): Fix prototypes for
22884         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22885
22886 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22887
22888         [BZ #13889]
22889         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22890         high value to check if expl overflow.
22891         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22892         to check for underflow and overflow.
22893         * math/libm-test.inc: Add exp test.
22894
22895 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
22896
22897         [BZ #11120]
22898         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22899         with NOT_IN_libc.
22900
22901 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22902
22903         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22904         symbol.
22905
22906 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22907
22908         * math/gen-libm-test.pl (parse_args, special_functions): Properly
22909         wrap blocks consisting of several statements.
22910
22911         * sysdeps/generic/math-tests.h: New file.
22912         * sysdeps/i386/fpu/math-tests.h: Likewise.
22913         * math/test-snan.c: Include it.
22914         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22915
22916 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22917
22918         [BZ #15285]
22919         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22920         (__ieee754_j0l): Do not improve calculations using cos of twice
22921         input for inputs above LDBL_MAX / 2.0L.
22922         (__ieee754_y0l): Likewise.
22923         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22924         (__ieee754_j1l): Do not improve calculations using cos of twice
22925         input for inputs above LDBL_MAX / 2.0L.
22926         (__ieee754_y1l): Likewise.
22927         * math/libm-test.inc (j0_test): Add another test.
22928         (j1_test): Likewise.
22929         (y0_test): Likewise.
22930         (y1_test): Likewise.
22931         * sysdeps/i386/fpu/libm-test-ulps: Update.
22932
22933 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22934
22935         * Rules ($(objpfx)bench-%.c): Include code from a C source
22936         file.
22937
22938 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22939
22940         [BZ #15287]
22941         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22942         imaginary part 1.0 and real part less than 0.5 specially.
22943         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22944         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22945         * math/libm-test.inc (cacos_test): Add more tests.
22946         (casin_test): Likewise.
22947         (casinh_test): Likewise.
22948         * sysdeps/i386/fpu/libm-test-ulps: Update.
22949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22950
22951 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22952
22953         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22954         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22955
22956 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
22957
22958         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22959         * config.make.in (config-cflags-sse4): Remove variable.
22960         (config-cflags-avx): Likewise.
22961         (config-cflags-sse2avx): Likewise.
22962         (config-cflags-novzeroupper): Likewise.
22963         (config-asflags-i686): Likewise.
22964         (have-mfma4): Likewise.
22965         (have-as-vis3): Likewise.
22966         (MIG): Likewise.
22967         * configure.in (MIG): Do not AC_SUBST.
22968         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22969         (libc_cv_cc_sse4): Do not AC_SUBST.
22970         (libc_cv_cc_avx): Likewise.
22971         (libc_cv_cc_sse2avx): Likewise.
22972         (libc_cv_cc_novzeroupper): Likewise.
22973         (libc_cv_cc_fma4): Likewise.
22974         (libc_cv_as_i686): Likewise.
22975         (libc_cv_sparc_as_vis3): Likewise.
22976         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22977         LIBC_CONFIG_VAR.
22978         (config-asflags-i686): Likewise.
22979         (config-cflags-avx): Likewise.
22980         (config-cflags-sse2avx): Likewise.
22981         (have-mfma4): Likewise.
22982         (config-cflags-novzeroupper): Likewise.
22983         * sysdeps/mach/configure.in (MIG): Likewise.
22984         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22985         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22986         LIBC_CONFIG_VAR.
22987         (config-cflags-avx): Likewise.
22988         (config-cflags-sse2avx): Likewise.
22989         (have-mfma4): Likewise.
22990         (config-cflags-novzeroupper): Likewise.
22991         * configure: Regenerated.
22992         * sysdeps/i386/configure: Likewise.
22993         * sysdeps/mach/configure: Likewise.
22994         * sysdeps/sparc/configure: Likewise.
22995         * sysdeps/x86_64/configure: Likewise.
22996
22997 2013-03-20  Roland McGrath  <roland@hack.frob.com>
22998
22999         [BZ #14812]
23000         * locale/programs/localedef.c (options): Put N_ translation marker
23001         on argument names, not just descriptions.
23002
23003 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23004
23005         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23006
23007 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
23008
23009         [BZ #14176]
23010         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23011
23012 2013-03-19  Roland McGrath  <roland@hack.frob.com>
23013
23014         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23015         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23016         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23017         [!BEFORE_ABORT] (before_abort): New function.
23018         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23019         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23020         (writev_for_fatal): New function.
23021         (WRITEV_FOR_FATAL): New macro; call that.
23022         (backtrace_and_maps): New function.
23023         (BEFORE_ABORT): New macro; call that.
23024         (struct str_list): Type removed.
23025         (__libc_message, __libc_fatal): Functions removed.
23026         Include <sysdeps/posix/libc_fatal.c> instead.
23027
23028 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
23029
23030         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23031         constants.
23032         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23033         double constants.
23034
23035 2013-03-19  Andreas Schwab  <schwab@suse.de>
23036
23037         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23038         * sysdeps/gnu/configure: Regenerate.
23039
23040         * configure.in: Substitute libc_cv_rtlddir.
23041         * configure: Regenerate.
23042         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23043         * Makeconfig (rtlddir, inst_rtlddir): New variables.
23044         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23045         * elf/Makefile (install-others, CFLAGS-interp.c)
23046         (ldso_install, common-ldd-rewrite): Likewise.
23047         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23048         $(inst_slibdir)/$(rtld-installed-name).
23049         * scripts/rellns-sh: Add -p option.
23050         * Makerules (make-shlib-link): Use rellns-sh to get relative name
23051         for source.
23052
23053 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23054
23055         * manual/nptl.texi: Renamed to ...
23056         * manual/threads.texi: ... this.
23057         * manual/Makefile (chapters): Update.
23058
23059 2013-03-18  Roland McGrath  <roland@hack.frob.com>
23060
23061         [BZ #14812]
23062         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23063         on argument names, not just descriptions.
23064         * malloc/memusagestat.c (options): Likewise.
23065         * nss/getent.c (options): Likewise.
23066
23067 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
23068
23069         [BZ #14812]
23070         * iconv/iconv_prog.c (options): Put N_ translation marker
23071         on argument names, not just descriptions.
23072         * iconv/iconvconfig.c (options): Likewise.
23073
23074 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
23075
23076         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23077         implementation which is faster on all x86_64 architectures.
23078         Tested on AMD, Intel Nehalem, SNB, IVB.
23079         * sysdeps/x86_64/strnlen.S: Likewise.
23080
23081         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23082         Remove all multiarch strlen and strnlen versions.
23083         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23084         Remove strlen and strnlen related parts.
23085
23086         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23087         Inline strlen part.
23088         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23089
23090         * sysdeps/x86_64/multiarch/strlen.S: Remove.
23091         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23092         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23093         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23094         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23095         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23096
23097 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
23098
23099         * manual/memory.texi (Malloc Tunable Parameters):
23100         Sort parameters alphabetically. Add comments for missing entries.
23101
23102 2013-03-17  David S. Miller  <davem@davemloft.net>
23103
23104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23105
23106 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
23107
23108         [BZ #15283]
23109         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23110         for arguments at most half maximum finite value.
23111         * math/libm-test.inc (j0_test): Add more tests.
23112         (j1_test): Likewise.
23113         (y0_test): Likewise.
23114         (y1_test): Likewise.
23115         * sysdeps/i386/fpu/libm-test-ulps: Update.
23116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23117
23118         [BZ #14155]
23119         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23120         1 / x and functions P and Q for arguments above 0x1p256L.
23121         (__ieee754_y0l): Likewise.
23122         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23123         (__ieee754_y1l): Likewise.
23124         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23125         (j1_test): Likewise.
23126         (y0_test): Likewise.
23127         (y1_test): Likewise.
23128
23129 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
23130
23131         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23132         variable.
23133
23134 2013-03-15  Roland McGrath  <roland@hack.frob.com>
23135
23136         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23137         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23138         zero since it's initialized to EXEC_PAGESIZE.
23139
23140         * sysdeps/unix/sysv/linux/ldsodefs.h
23141         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23142         * sysdeps/generic/ldsodefs.h: ... here.
23143
23144 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
23145
23146         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23147
23148         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23149         math/test-snan.c.
23150         * math/test-snan.c: Renamed from
23151         sysdeps/powerpc/fpu/test-powerpc-snan.c.
23152         * math/Makefile (tests): Add test-snan.
23153         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23154         test-powerpc-snan.
23155
23156         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23157         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
23158         functions.
23159         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
23160         __builtin_nan family of functions.
23161         * math/libm-test.inc (initialize): Initialize qnan_value with
23162         __builtin_nan family of functions.
23163         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23164         Remove variables.
23165         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23166         Remove functions.
23167         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
23168         storage class.  Initialize qNaN_var and sNaN_var with
23169         __builtin_nan and __builtin_nans families of functions,
23170         respectively.
23171
23172         * math/libm-test.inc (acosh_test): Also test with qNaN input.
23173         (sqrt_test): Remove duplicate test with qNaN input.
23174         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23175         (round_test, signbit_test, significand_test): Note missing +/-Inf
23176         as well as qNaN tests.
23177
23178         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23179         qNaN_var.  Fix a few strings, too.
23180         * math/libm-test.inc (nan_value): Rename to qnan_value.
23181         * math/gen-libm-test.pl (%beautify): Adjust to that.
23182         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23183         * math/test-misc.c (main): Likewise.
23184         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23185         to __qnan_bytes, and __qnan_union, respectively.
23186         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23187         Likewise.
23188         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23189         and lqnanval, respectively.
23190         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23191         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23192         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23193         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23194
23195         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23196         * math/test-misc.c (main) [__x86_64__]: Enable test for long
23197         doubles.
23198
23199         * math/test-misc.c (main): Fix copy'n'pastos.
23200         * misc/tst-efgcvt.c (special): Likewise.
23201
23202         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23203         Remove declarations.
23204
23205 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23206
23207         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23208         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23209         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23210         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23211
23212 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23213
23214         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23215         macro to return vdso values correctly in IFUNC implementations.
23216         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23217         Optimization by using IFUNC.
23218
23219 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23220             Richard Henderson  <rth@redhat.com>
23221             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23222
23223         * Makefile.in (bench): New target.
23224         * NEWS: Mention the benchmark framework.
23225         * Rules (bench): Likewise.
23226         (binaries-bench): Generate binaries for functions to
23227         benchmark.
23228         * benchtests/Makefile: New makefile for benchmark tests.
23229         * benchtests/bench-skeleton.c: New skeleton file for benchmark
23230         programs.
23231         * benchtests/exp-inputs: New input file for EXP function.
23232         * benchtests/pow-inputs: New input file for POW function.
23233         * scripts/bench.pl: New script to generate source files for
23234         benchmark programs.
23235
23236 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23237
23238         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23239         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23240         computations on mantissa.  Use macros for rounding and
23241         division.
23242         (denorm): Likewise.
23243         (__dbl_mp): Likewise.
23244         (add_magnitudes): Likewise.
23245         (sub_magnitudes): Likewise.
23246         (__mul): Likewise.
23247         (__sqr): Likewise.
23248         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23249         powers of two in terms of TWOPOW macro.
23250         (mp_no): Make type of mantissa as MANTISSA_T.
23251         [!RADIXI]: Define RADIXI.
23252         [!TWO52]: Define TWO52.
23253         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23254
23255         * manual/nptl.texi (cindex): Modify threads to pthreads.
23256
23257 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
23258
23259         * sysdeps/x86_64/preconfigure: Regenerated.
23260
23261 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
23262
23263         [BZ #14155]
23264         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23265         0x1p28 and above.
23266         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23267         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23268         0x1p28 and above.
23269         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23270         * math/libm-test.inc (j0_test): Do not allow one spurious
23271         underflow exception.
23272         (y1_test): Likewise.
23273
23274 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23275
23276         * manual/Makefile (chapters): Add nptl.
23277         * manual/debug.texi (Debugging Support): Add link to Threads
23278         chapter.
23279         * manual/nptl.texi: New file.
23280
23281         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23282
23283 2013-03-14  Petr Baudis  <pasky@ucw.cz>
23284
23285         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23286         for non-NULL pointer before the memory validity test. Pointed
23287         out by Holger Brunck <holger.brunck@keymile.com>.
23288
23289 2013-03-13  Andreas Schwab  <schwab@suse.de>
23290
23291         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23292         instead of .os.
23293
23294 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
23295
23296         * timezone/zic.c: Update from tzcode 2013b.
23297
23298 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
23299
23300         * manual/install.texi (Configuring and compiling):
23301         Mention i686 and i586.
23302         * INSTALL: Regenerate.
23303
23304 2013-03-12  Roland McGrath  <roland@hack.frob.com>
23305
23306         * sysdeps/init_array/elf-init.c: New file.
23307         * csu/elf-init.c
23308         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23309         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23310
23311         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23312         __gmon_start__ as global, but as static with a .preinit_array pointer.
23313         * sysdeps/init_array/gmon-start.c: New file.  Use that.
23314         * sysdeps/init_array/crti.S: New file, empty except for comments.
23315         * sysdeps/init_array/crtn.S: Likewise.
23316
23317 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
23318
23319         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23320         definining bcopy.
23321         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23322         Remove Prefer_SSE_for_memop.
23323         * sysdeps/x86_64/multiarch/init-arch.h: Remove
23324         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23325         HAS_PREFER_SSE_FOR_MEMOP.
23326         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23327         memset-x86-64.
23328         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23329         Remove bzero, memset ifunc support.
23330         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23331         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23332         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23333         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23334
23335 2013-03-11  Andreas Schwab  <schwab@suse.de>
23336
23337         [BZ #15234]
23338         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23339         by SHLIB_COMPAT.
23340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23341         (GLIBC_2.16): Remove pthread_atfork.
23342
23343 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23344
23345         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23346         (ptestcases.h): Likewise.
23347
23348 2013-03-08  Roland McGrath  <roland@hack.frob.com>
23349
23350         * Makeconfig ($(common-objpfx)config.status): Depend on
23351         sysdeps/*/preconfigure{,.in} too.
23352
23353 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
23354
23355         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23356         (__free_hook): Use void * instead of __malloc_ptr_t.
23357         (__malloc_hook): Likewise.
23358         (__realloc_hook): Likewise.
23359         (__memalign_hook): Likewise.
23360         (__after_morecore_hook): Likewise.
23361         * malloc/arena.c (save_malloc_hook): Likewise.
23362         (save_free_hook): Likewise.
23363         * malloc/hooks.c (malloc_hook_ini): Likewise.
23364         (realloc_hook_ini): Likewise.
23365         (memalign_hook_ini): Likewise.
23366         * malloc/malloc.c (malloc_hook_ini): Likewise.
23367         (realloc_hook_ini): Likewise.
23368         (memalign_hook_ini): Likewise.
23369         (__free_hook): Likewise.
23370         (__malloc_hook): Likewise.
23371         (__realloc_hook): Likewise.
23372         (__memalign_hook): Likewise.
23373         (__libc_malloc): Likewise.
23374         (__libc_free): Likewise.
23375         (__libc_realloc): Likewise.
23376         (__libc_memalign): Likewise.
23377         (__libc_valloc): Likewise.
23378         (__libc_pvalloc): Likewise.
23379         (__libc_calloc): Likewise.
23380         (__posix_memalign): Likewise.
23381         * malloc/morecore.c (__sbrk): Likewise.
23382         (__default_morecore): Likewise.
23383
23384         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23385
23386         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23387         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23388         __malloc_ptrdiff_t.
23389
23390         * malloc/malloc.h (__malloc_size_t): Remove macro.
23391         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23392         __malloc_size_t.
23393         (old_memalign_hook): Likewise.
23394         (old_realloc_hook): Likewise.
23395         (struct hdr): Likewise.
23396         (flood): Likewise.
23397         (mallochook): Likewise.
23398         (memalignhook): Likewise.
23399         (reallochook): Likewise.
23400         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23401         (tr_old_realloc_hook): Likewise.
23402         (tr_old_memalign_hook): Likewise.
23403         (tr_mallochook): Likewise.
23404         (tr_reallochook): Likewise.
23405         (tr_memalignhook): Likewise.
23406
23407 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23408
23409         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23410         default_ldbl_pack and using as default implementation.
23411         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23412         implementation.
23413         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23414         redundant definition.
23415         (ldbl_insert_mantissa): Likewise.
23416         (ldbl_canonicalize): Likewise.
23417         (ldbl_nearbyint): Likewise.
23418         (ldbl_pack): Rename to ldbl_pack_ppc.
23419         (ldbl_unpack): Rename to ldbl_unpack_ppc.
23420         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23421         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23422
23423 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23424
23425         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23426         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23427         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23428         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23429         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23430         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23431         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23432         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23433
23434 2013-03-07  Andreas Jaeger  <aj@suse.de>
23435
23436         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23437         bits/mman-linux.h.
23438
23439 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23440
23441         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23442         Include mpa.h and declare __MPEXP.
23443         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23444         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23445         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23446         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23447         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23448         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23449         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23450
23451         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23452         (__slowpow): Use long double EXPL and LOGL functions to
23453         compute POW.
23454         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23455         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23456         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23457         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23458         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23459         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23460
23461         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23462         intermediate variable to calculate exponent.
23463         (__sqr): Likewise.
23464         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23465         Likewise.
23466         (__sqr): Likewise.
23467
23468         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23469         [!NO__SQR]: Define __sqr.
23470         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23471         and NO__SQR.  Remove all code except __mul and __sqr.  Include
23472         sysdeps/ieee754/dbl-64/mpa.c.
23473         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23474
23475         [BZ #12723]
23476         * posix/Makefile (tests): Add tst-pathconf.
23477         * posix/tst-pathconf.c: New test case.
23478         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23479         _PC_PIPE_BUF.
23480         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23481
23482 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23483
23484         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23485
23486 2013-03-06  Andreas Jaeger  <aj@suse.de>
23487
23488         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23489         definition via __MAP_ANONYMOUS.
23490
23491         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23492         it's not part of Linux headers.
23493
23494         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23495         (MAP_HUGE_MASK): Define.
23496
23497         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23498         Define.
23499         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23500         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23501         Define.
23502         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23503         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23504         Define.
23505         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23506         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23507         Define.
23508         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23509
23510         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23511         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23512         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23513         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23514         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23515         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23516
23517         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23518         Handle f2fs.
23519
23520         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23521         Handle f2fs and efivarfs.
23522
23523         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23524         f2fs.
23525
23526         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23527         (EFIVARFS_MAGIC): Add.
23528         (F2FS_LINK_MAX): Add.
23529
23530 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23531
23532         * stdio-common/vfprintf.c: Replace __builtin_expect with
23533         __glibc_unlikely.
23534
23535 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
23536
23537         [BZ #13550]
23538         * sysdeps/generic/bp-sym.h: Remove file.
23539         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23540         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23541         <bp-sym.h> and <bp-asm.h>.
23542         (__longjmp): Don't use BP_SYM.
23543         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23544         and <bp-asm.h>.
23545         (memcpy): Don't use BP_SYM.
23546         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23547         <bp-sym.h> and <bp-asm.h>.
23548         (memcpy): Don't use BP_SYM.
23549         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23550         <bp-asm.h>.
23551         (memcpy): Don't use BP_SYM.
23552         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23553         <bp-asm.h>.
23554         (memset): Don't use BP_SYM.
23555         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23556         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23557         (__bzero): Don't use BP_SYM.
23558         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23559         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23560         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23561         <bp-sym.h> and <bp-asm.h>.
23562         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23563         pointers.
23564         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23565         <bp-sym.h> and <bp-asm.h>.
23566         (memcpy): Don't use BP_SYM.
23567         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23568         <bp-sym.h> and <bp-asm.h>.
23569         (memset): Don't use BP_SYM.
23570         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23571         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23572         (__bzero): Don't use BP_SYM.
23573         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23574         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23575         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23576         <bp-sym.h> and <bp-asm.h>.
23577         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23578         pointers.
23579         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23580         <bp-sym.h> and <bp-asm.h>.
23581         (memcpy): Don't use BP_SYM.
23582         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23583         <bp-sym.h> and <bp-asm.h>.
23584         (memset): Don't use BP_SYM.
23585         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23586         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23587         (__bzero): Don't use BP_SYM.
23588         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23589         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23590         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23591         <bp-sym.h> and <bp-asm.h>.
23592         (__memchr): Don't use BP_SYM.
23593         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23594         <bp-sym.h> and <bp-asm.h>.
23595         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23596         pointers.
23597         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23598         <bp-sym.h> and <bp-asm.h>.
23599         (memcpy): Don't use BP_SYM.
23600         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23601         <bp-sym.h> and <bp-asm.h>.
23602         (__mempcpy): Don't use BP_SYM.
23603         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23604         <bp-sym.h> and <bp-asm.h>.
23605         (__memrchr): Don't use BP_SYM.
23606         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23607         <bp-sym.h> and <bp-asm.h>.
23608         (memset): Don't use BP_SYM.
23609         (__bzero): Likewise.
23610         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23611         <bp-sym.h> and <bp-asm.h>.
23612         (__rawmemchr): Don't use BP_SYM.
23613         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23614         <bp-sym.h> and <bp-asm.h>.
23615         (__STRCMP): Don't use BP_SYM.
23616         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23617         <bp-sym.h> and <bp-asm.h>.
23618         (strchr): Don't use BP_SYM.
23619         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23620         <bp-sym.h> and <bp-asm.h>.
23621         (__strchrnul): Don't use BP_SYM.
23622         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23623         <bp-sym.h> and <bp-asm.h>.
23624         (strlen): Don't use BP_SYM.
23625         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23626         <bp-sym.h> and <bp-asm.h>.
23627         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23628         pointers.
23629         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23630         <bp-sym.h> and <bp-asm.h>.
23631         (__strnlen): Don't use BP_SYM.
23632         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23633         <bp-sym.h> and <bp-asm.h>.
23634         (__GI__setjmp): Don't use BP_SYM.
23635         (_setjmp): Likewise.
23636         (__sigsetjmp): Likewise.
23637         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23638         (L(start_addresses)): Don't use BP_SYM.
23639         (_start): Likewise.
23640         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23641         <bp-asm.h>.
23642         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23643         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23644         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23645         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23646         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23647         <bp-asm.h>.
23648         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23649         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
23650         about bounded pointers.
23651         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23652         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23653         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23654         <bp-asm.h>.
23655         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23656         about bounded pointers.  Remove GKM FIXME comments.
23657         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23658         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23659         <bp-asm.h>.
23660         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23661         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
23662         Remove GKM FIXME comments.
23663         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23664         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23665         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23666         <bp-asm.h>.
23667         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23668         about bounded pointers.  Remove GKM FIXME comment.
23669         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23670         and <bp-asm.h>.
23671         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23672         pointers.
23673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23674         <bp-sym.h> and <bp-asm.h>.
23675         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23677         <bp-sym.h> and <bp-asm.h>.
23678         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23679         comment.
23680
23681 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23682
23683         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23684         call free(NULL).
23685
23686 2013-03-05  David S. Miller  <davem@davemloft.net>
23687
23688         * po/es.po: Update from translation team.
23689
23690 2013-03-05  Andreas Jaeger  <aj@suse.de>
23691
23692         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23693         <bits/mman-linux.h>.
23694         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23695         is fine.
23696         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23697         <bits/mman-linux.h> to end of file.
23698         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23699         is fine.
23700         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23701         <bits/mman-linux.h> to end of file.
23702         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23703         is fine.
23704         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23705         <bits/mman-linux.h> to end of file.
23706
23707         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23708         (MCL_CURRENT, MCL_FUTURE): Define here.
23709
23710 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23711
23712         [BZ #15232]
23713         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23714         attribute_hidden.
23715         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23716
23717 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23718
23719         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23720         fourth parameter needed for rt_sigprocmask syscall.
23721         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23722         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23723         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23724         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23725         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23726         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23727
23728 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
23729
23730         [BZ #13550]
23731         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23732         comment about bounded pointers.
23733         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23734         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23735
23736 2013-03-04  Andreas Jaeger  <aj@suse.de>
23737
23738         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23739         common definitions.
23740
23741         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23742         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23743         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23744         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23745         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23746         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23747
23748 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23749
23750         [BZ #15055]
23751         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23752         __ieee754_sqrl instead of __sqrl.
23753
23754 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
23755
23756         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23757         * sysdeps/powerpc/fpu_control.h: ... here.
23758         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23759         * sysdeps/powerpc/bits/fenvinline.h: ... here.
23760         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23761         * sysdeps/powerpc/bits/mathinline.h: ... here.
23762
23763 2013-03-01  Roland McGrath  <roland@hack.frob.com>
23764
23765         * elf/dl-hwcaps.c (_dl_important_hwcaps):
23766         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23767         to just [NEED_DL_SYSINFO_DSO].
23768         * elf/dl-support.c: Likewise.
23769         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23770         * elf/rtld.c (dl_main): Likewise.
23771         * elf/setup-vdso.h (setup_vdso): Likewise.
23772         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23773         * sysdeps/unix/sysv/linux/dl-sysdep.c
23774         (_dl_discover_osversion): Likewise.
23775
23776 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
23777
23778         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23779         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23780
23781 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23782
23783         * NEWS: Mention libm performance improvements and non-x86 PI
23784         futex support.
23785
23786         * csu/libc-start.c (__pthread_initialize_minimal): Change
23787         function arguments.
23788         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23789
23790 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
23791
23792         [BZ #13550]
23793         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23794         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23795         <bp-sym.h> and <bp-asm.h>.
23796         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23797         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23798         and <bp-asm.h>.
23799         (memcpy): Don't use BP_SYM.
23800         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23801         <bp-asm.h>.
23802         (__mpn_add_n): Don't use BP_SYM.
23803         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23804         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23805         and <bp-asm.h>.
23806         (__mpn_addmul_1): Don't use BP_SYM.
23807         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23808         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23809         <bp-sym.h>.
23810         (_setjmp): Don't use BP_SYM.
23811         (__novmx_setjmp): Likewise.
23812         (__GI__setjmp): Likewise.
23813         (__vmx_setjmp): Likewise.
23814         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23815         <bp-sym.h>.
23816         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23817         (__bzero): Don't use BP_SYM.
23818         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23819         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23820         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23821         <bp-sym.h> and <bp-asm.h>.
23822         (memcpy): Don't use BP_SYM.
23823         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23824         <bp-sym.h> and <bp-asm.h>.
23825         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23826         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23827         <bp-sym.h> and <bp-asm.h>.
23828         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23829         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23830         <bp-asm.h>.
23831         (__mpn_lshift): Don't use BP_SYM.
23832         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23833         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23834         <bp-asm.h>.
23835         (memset): Don't use BP_SYM.
23836         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23837         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23838         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23839         <bp-asm.h>.
23840         (__mpn_mul_1): Don't use BP_SYM.
23841         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23842         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23843         <bp-sym.h> and <bp-asm.h>.
23844         (memcmp): Don't use BP_SYM.
23845         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23846         <bp-sym.h> and <bp-asm.h>.
23847         (memcpy): Don't use BP_SYM.
23848         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23849         <bp-sym.h> and <bp-asm.h>.
23850         (memset): Don't use BP_SYM.
23851         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23852         <bp-sym.h> and <bp-asm.h>.
23853         (strncmp): Don't use BP_SYM.
23854         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23855         <bp-sym.h> and <bp-asm.h>.
23856         (memcpy): Don't use BP_SYM.
23857         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23858         <bp-sym.h> and <bp-asm.h>.
23859         (memset): Don't use BP_SYM.
23860         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23861         <bp-sym.h> and <bp-asm.h>.
23862         (__memchr): Don't use BP_SYM.
23863         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23864         <bp-sym.h> and <bp-asm.h>.
23865         (memcmp): Don't use BP_SYM.
23866         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23867         <bp-sym.h> and <bp-asm.h>.
23868         (memcpy): Don't use BP_SYM.
23869         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23870         <bp-sym.h> and <bp-asm.h>.
23871         (__mempcpy): Don't use BP_SYM.
23872         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23873         <bp-sym.h> and <bp-asm.h>.
23874         (__memrchr): Don't use BP_SYM.
23875         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23876         <bp-sym.h> and <bp-asm.h>.
23877         (memset): Don't use BP_SYM.
23878         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23879         <bp-sym.h> and <bp-asm.h>.
23880         (__rawmemchr): Don't use BP_SYM.
23881         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23882         <bp-sym.h> and <bp-asm.h>.
23883         (__STRCMP): Don't use BP_SYM.
23884         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23885         <bp-sym.h> and <bp-asm.h>.
23886         (strchr): Don't use BP_SYM.
23887         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23888         <bp-sym.h> and <bp-asm.h>.
23889         (__strchrnul): Don't use BP_SYM.
23890         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23891         <bp-sym.h> and <bp-asm.h>.
23892         (strlen): Don't use BP_SYM.
23893         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23894         <bp-sym.h> and <bp-asm.h>.
23895         (strncmp): Don't use BP_SYM.
23896         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23897         <bp-sym.h> and <bp-asm.h>.
23898         (__strnlen): Don't use BP_SYM.
23899         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23900         <bp-asm.h>.
23901         (__mpn_rshift): Don't use BP_SYM.
23902         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23903         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23904         <bp-sym.h> and <bp-asm.h>.
23905         (__sigsetjmp): Don't use BP_SYM.
23906         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23907         (L(start_addresses)): Don't use BP_SYM.
23908         (_start): Likewise.
23909         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23910         <bp-asm.h>.
23911         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23912         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23913         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23914         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23915         <bp-asm.h>.
23916         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23917         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23918         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23919         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23920         <bp-asm.h>.
23921         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23922         comments.
23923         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23924         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23925         <bp-asm.h>.
23926         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
23927         FIXME comments.
23928         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23929         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23930         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23931         <bp-asm.h>.
23932         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23933         comment.
23934         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23935         and <bp-asm.h>.
23936         (strncmp): Don't use BP_SYM,
23937         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23938         <bp-asm.h>.
23939         (__mpn_sub_n): Don't use BP_SYM.
23940         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23941         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23942         and <bp-asm.h>.
23943         (__mpn_submul_1): Don't use BP_SYM.
23944         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23946         <bp-sym.h> and <bp-asm.h>.
23947         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23949         <bp-sym.h> and <bp-asm.h>.
23950         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23951         comment.
23952
23953 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23954
23955         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23956         Use ZK to minimize writes to Z.
23957         (sub_magnitudes): Simplify code a bit.
23958         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23959         Use ZK to minimize writes to Z.
23960         (sub_magnitudes): Simplify code a bit.
23961
23962 2013-02-27  Roland McGrath  <roland@hack.frob.com>
23963
23964         * csu/gmon-start.c: Add special exception to license text.
23965
23966 2013-02-27  Richard Henderson  <rth@redhat.com>
23967
23968         * scripts/config.guess: Update from config.git.
23969         * scripts/config.sub: Likewise.
23970
23971 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23972
23973         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23974
23975         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23976
23977         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23978
23979         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23980
23981         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23982
23983 2013-02-26  Roland McGrath  <roland@hack.frob.com>
23984
23985         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23986         [$(build-shared = yes].
23987
23988 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23989
23990         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23991         (__mul): Reduce iterations for calculating mantissa.
23992
23993         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23994         MPTWO.
23995         (__mpranred): Likewise.
23996
23997         [BZ #15160]
23998         * malloc/memusagestat.c (main): Draw graphs for heap and stack
23999         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24000
24001 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
24002
24003         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24004         Define __attribute__.
24005
24006 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24007
24008         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24009         unused.
24010         * posix/regex_internal.h (__attribute): Remove.
24011         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24012         (re_string_context_at): Likewise.
24013         (bitset_not): Use __attribute__ and mark function as possibly
24014         unused.
24015         (bitset_merge): Likewise.
24016         (bitset_mask): Likewise.
24017         (re_string_char_size_at): Likewise.
24018         (re_string_wchar_at): Likewise.
24019         (re_string_elem_size_at): Likewise.
24020
24021 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24022
24023         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24024         code.
24025         (cc32): Likewise.
24026
24027         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24028         (__acr): Likewise.
24029         (__cpy): Likewise.
24030         (norm): Likewise.
24031         (denorm): Likewise.
24032         (__dbl_mp): Likewise.
24033         (add_magnitudes): Likewise.
24034         (sub_magnitudes): Likewise.
24035         (__mul): Likewise.
24036         (__inv): Likewise.
24037
24038         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24039         style.
24040
24041         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24042         style.
24043
24044         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24045         code.
24046
24047         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24048         up changes with default code.
24049         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24050         Likewise.
24051
24052 2013-02-24  Allan McRae  <allan@archlinux.org>
24053
24054         * manual/socket.texi (The Internet Namespace): Order menu items
24055         to match that in the file.
24056
24057         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24058         node listing of the info page menu.
24059
24060 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
24061
24062         [BZ #13550]
24063         * sysdeps/i386/bp-asm.h: Remove file.
24064         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24065         (PARMS): Do not use macros from bp-asm.h.
24066         (S1): Likewise.
24067         (S2): Likewise.
24068         (SIZE): Likewise.
24069         (__mpn_add_n): Do not use BP_SYM
24070         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24071         "bp-asm.h".
24072         (PARMS): Do not use macros from bp-asm.h.
24073         (S1): Likewise.
24074         (SIZE): Likewise.
24075         (__mpn_addmul_1): Do not use BP_SYM
24076         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24077         "bp-asm.h".
24078         (PARMS): Do not use macros from bp-asm.h.
24079         (SIGMSK): Likewise.
24080         (_setjmp): Likewise.  Do not use BP_SYM.
24081         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24082         "bp-asm.h".
24083         (PARMS): Do not use macros from bp-asm.h.
24084         (SIGMSK): Likewise.
24085         (setjmp): Likewise.  Do not use BP_SYM.
24086         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24087         "bp-asm.h".
24088         (PARMS): Do not use macros from bp-asm.h.
24089         (__frexp): Do not use BP_SYM.
24090         (frexp): Likewise.
24091         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24092         "bp-asm.h".
24093         (PARMS): Do not use macros from bp-asm.h.
24094         (__frexpf): Do not use BP_SYM.
24095         (frexpf): Likewise.
24096         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24097         "bp-asm.h".
24098         (PARMS): Do not use macros from bp-asm.h.
24099         (__frexpl): Do not use BP_SYM.
24100         (frexpl): Likewise.
24101         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24102         "bp-asm.h".
24103         (PARMS): Do not use macros from bp-asm.h.
24104         (__remquo): Do not use BP_SYM.
24105         (remquo): Likewise.
24106         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24107         "bp-asm.h".
24108         (PARMS): Do not use macros from bp-asm.h.
24109         (__remquof): Do not use BP_SYM.
24110         (remquof): Likewise.
24111         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24112         "bp-asm.h".
24113         (PARMS): Do not use macros from bp-asm.h.
24114         (__remquol): Do not use BP_SYM.
24115         (remquol): Likewise.
24116         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24117         "bp-asm.h".
24118         (PARMS): Do not use macros from bp-asm.h.
24119         (DEST): Likewise.
24120         (SRC): Likewise.
24121         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
24122         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24123         "bp-asm.h".
24124         (PARMS): Do not use macros from bp-asm.h.
24125         (strlen): Do not use BP_SYM.
24126         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24127         "bp-asm.h".
24128         (PARMS): Do not use macros from bp-asm.h.
24129         (S1): Likewise.
24130         (S2): Likewise.
24131         (SIZE): Likewise.
24132         (__mpn_add_n): Do not use BP_SYM.
24133         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24134         "bp-asm.h".
24135         (PARMS): Do not use macros from bp-asm.h.
24136         (S1): Likewise.
24137         (SIZE): Likewise.
24138         (__mpn_addmul_1): Do not use BP_SYM.
24139         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24140         weak_alias.
24141         (bzero): Likewise.
24142         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24143         "bp-asm.h".
24144         (PARMS): Do not use macros from bp-asm.h.
24145         (S): Likewise.
24146         (SIZE): Likewise.
24147         (__mpn_lshift): Do not use BP_SYM.
24148         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24149         "bp-asm.h".
24150         (PARMS): Do not use macros from bp-asm.h.
24151         (DEST): Likewise.
24152         (SRC): Likewise.
24153         (LEN): Likewise.
24154         (memcpy): Likewise.  Do not use BP_SYM.
24155         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24156         libc_hidden_def and weak_alias.
24157         (mempcpy): Do not use BP_SYM in weak_alias.
24158         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24159         "bp-asm.h".
24160         (PARMS): Do not use macros from bp-asm.h.
24161         (DEST): Likewise.
24162         (LEN): Likewise.
24163         [!BZERO_P] (CHR): Likewise.
24164         (memset): Likewise.  Do not use BP_SYM.
24165         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24166         "bp-asm.h".
24167         (PARMS): Do not use macros from bp-asm.h.
24168         (S1): Likewise.
24169         (SIZE): Likewise.
24170         (__mpn_mul_1): Do not use BP_SYM.
24171         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24172         "bp-asm.h".
24173         (PARMS): Do not use macros from bp-asm.h.
24174         (S): Likewise.
24175         (SIZE): Likewise.
24176         (__mpn_rshift): Do not use BP_SYM.
24177         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24178         "bp-asm.h".
24179         (PARMS): Do not use macros from bp-asm.h.
24180         (STR): Likewise.
24181         (CHR): Likewise.
24182         (strchr): Likewise.  Do not use BP_SYM.
24183         (index): Do not use BP_SYM in weak_alias.
24184         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24185         "bp-asm.h".
24186         (PARMS): Do not use macros from bp-asm.h.
24187         (DEST): Likewise.
24188         (SRC): Likewise.
24189         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
24190         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24191         "bp-asm.h".
24192         (PARMS): Do not use macros from bp-asm.h.
24193         (strlen): Do not use BP_SYM.
24194         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24195         "bp-asm.h".
24196         (PARMS): Do not use macros from bp-asm.h.
24197         (S1): Likewise.
24198         (S2): Likewise.
24199         (SIZE): Likewise.
24200         (__mpn_sub_n): Do not use BP_SYM.
24201         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24202         "bp-asm.h".
24203         (PARMS): Do not use macros from bp-asm.h.
24204         (S1): Likewise.
24205         (SIZE): Likewise.
24206         (__mpn_submul_1): Do not use BP_SYM.
24207         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24208         "bp-asm.h".
24209         (PARMS): Do not use macros from bp-asm.h.
24210         (S1): Likewise.
24211         (S2): Likewise.
24212         (SIZE): Likewise.
24213         (__mpn_add_n): Do not use BP_SYM.
24214         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24215         weak_alias.
24216         (bzero): Likewise.
24217         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24218         "bp-asm.h".
24219         (PARMS): Do not use macros from bp-asm.h.
24220         (BLK2): Likewise.
24221         (LEN): Likewise.
24222         (memcmp): Do not use BP_SYM.
24223         (bcmp): Do not use BP_SYM in weak_alias.
24224         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24225         "bp-asm.h".
24226         (PARMS): Do not use macros from bp-asm.h.
24227         (DEST): Likewise.
24228         (SRC): Likewise.
24229         (LEN): Likewise.
24230         (memcpy): Likewise.  Do not use BP_SYM.
24231         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24232         "bp-asm.h".
24233         (PARMS): Do not use macros from bp-asm.h.
24234         (DEST): Likewise.
24235         (SRC): Likewise.
24236         (LEN): Likewise.
24237         (memmove): Likewise.  Do not use BP_SYM.
24238         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24239         "bp-asm.h".
24240         (PARMS): Do not use macros from bp-asm.h.
24241         (DEST): Likewise.
24242         (SRC): Likewise.
24243         (LEN): Likewise.
24244         (__mempcpy): Likewise.  Do not use BP_SYM.
24245         (mempcpy): Do not use BP_SYM in weak_alias.
24246         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24247         "bp-asm.h".
24248         (PARMS): Do not use macros from bp-asm.h.
24249         (DEST): Likewise.
24250         (LEN): Likewise.
24251         [!BZERO_P] (CHR): Likewise.
24252         (memset): Likewise.  Do not use BP_SYM.
24253         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24254         "bp-asm.h".
24255         (PARMS): Do not use macros from bp-asm.h.
24256         (STR2): Likewise.
24257         (strcmp): Do not use BP_SYM.
24258         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24259         "bp-asm.h".
24260         (PARMS): Do not use macros from bp-asm.h.
24261         (STR): Likewise.
24262         (DELIM): Likewise.
24263         [USE_AS_STRTOK_R] (SAVE): Likewise.
24264         (FUNCTION): Likewise.  Do not use BP_SYM.
24265         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24266         aliases.
24267         (strtok_r): Likewise.
24268         (__GI___strtok_r): Likewise.
24269         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24270         (PARMS): Do not use macros from bp-asm.h.
24271         (S): Likewise.
24272         (SIZE): Likewise.
24273         (__mpn_lshift): Do not use BP_SYM.
24274         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24275         (PARMS): Do not use macros from bp-asm.h.
24276         (STR): Likewise.
24277         (CHR): Likewise.
24278         (__memchr): Do not use BP_SYM.
24279         (memchr): Do not use BP_SYM in weak_alias.
24280         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24281         (PARMS): Do not use macros from bp-asm.h.
24282         (BLK2): Likewise.
24283         (LEN): Likewise.
24284         (memcmp): Do not use BP_SYM.
24285         (bcmp): Do not use BP_SYM in weak_alias.
24286         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24287         (PARMS): Do not use macros from bp-asm.h.
24288         (S1): Likewise.
24289         (SIZE): Likewise.
24290         (__mpn_mul_1): Do not use BP_SYM.
24291         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24292         "bp-asm.h".
24293         (PARMS): Do not use macros from bp-asm.h.
24294         (STR): Likewise.
24295         (CHR): Likewise.
24296         (__rawmemchr): Do not use BP_SYM.
24297         (rawmemchr): Do not use BP_SYM in weak_alias.
24298         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24299         (PARMS): Do not use macros from bp-asm.h.
24300         (S): Likewise.
24301         (SIZE): Likewise.
24302         (__mpn_rshift): Do not use BP_SYM.
24303         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24304         (PARMS): Do not use macros from bp-asm.h.
24305         (SIGMSK): Likewise.
24306         (__sigsetjmp): Likewise.  Do not use BP_SYM.
24307         * sysdeps/i386/start.S: Do not include "bp-sym.h".
24308         (_start): Do not use BP_SYM.
24309         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24310         (PARMS): Do not use macros from bp-asm.h.
24311         (DEST): Likewise.
24312         (SRC): Likewise.
24313         (__stpcpy): Likewise.  Do not use BP_SYM.
24314         (stpcpy): Do not use BP_SYM in weak_alias.
24315         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24316         "bp-asm.h".
24317         (PARMS): Do not use macros from bp-asm.h.
24318         (DEST): Likewise.
24319         (SRC): Likewise.
24320         (LEN): Likewise.
24321         (__stpncpy): Likewise.  Do not use BP_SYM.
24322         (stpncpy): Do not use BP_SYM in weak_alias.
24323         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24324         (PARMS): Do not use macros from bp-asm.h.
24325         (STR): Likewise.
24326         (CHR): Likewise.
24327         (strchr): Likewise.  Do not use BP_SYM.
24328         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24329         "bp-asm.h".
24330         (PARMS): Do not use macros from bp-asm.h.
24331         (STR): Likewise.
24332         (CHR): Likewise.
24333         (__strchrnul): Likewise.  Do not use BP_SYM.
24334         (strchrnul): Do not use BP_SYM in weak_alias.
24335         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24336         "bp-asm.h".
24337         (PARMS): Do not use macros from bp-asm.h.
24338         (STOP): Likewise.
24339         (strcspn): Do not use BP_SYM.
24340         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24341         "bp-asm.h".
24342         (PARMS): Do not use macros from bp-asm.h.
24343         (STR): Likewise.
24344         (STOP): Likewise.
24345         (strpbrk): Likewise.  Do not use BP_SYM.
24346         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24347         "bp-asm.h".
24348         (PARMS): Do not use macros from bp-asm.h.
24349         (STR): Likewise.
24350         (CHR): Likewise.
24351         (strrchr): Likewise.  Do not use BP_SYM.
24352         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24353         (PARMS): Do not use macros from bp-asm.h.
24354         (SKIP): Likewise.
24355         (strspn): Do not use BP_SYM.
24356         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24357         (PARMS): Do not use macros from bp-asm.h.
24358         (STR): Likewise.
24359         (DELIM): Likewise.
24360         (SAVE): Likewise.
24361         (FUNCTION): Likewise.  Do not use BP_SYM.
24362         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24363         aliases.
24364         (strtok_r): Likewise.
24365         (__GI___strtok_r): Likewise.
24366         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24367         (PARMS): Do not use macros from bp-asm.h.
24368         (S1): Likewise.
24369         (S2): Likewise.
24370         (SIZE): Likewise.
24371         (__mpn_sub_n): Do not use BP_SYM.
24372         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24373         "bp-asm.h".
24374         (PARMS): Do not use macros from bp-asm.h.
24375         (S1): Likewise.
24376         (SIZE): Likewise.
24377         (__mpn_submul_1): Do not use BP_SYM.
24378         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24379         <bp-sym.h>.
24380         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24381         and <bp-asm.h>.
24382         (PARMS): Do not use macros from bp-asm.h.
24383         (FLAGS): Likewise.
24384         (PTID): Likewise.
24385         (TLS): Likewise.
24386         (CTID): Likewise.
24387         (__clone): Do not use BP_SYM.
24388         (clone): Do not use BP_SYM in weak_alias.
24389         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24390         and <bp-asm.h>.
24391         (PARMS): Do not use macros from bp-asm.h.
24392         (LEN): Likewise.
24393         (__mmap64): Do not use BP_SYM.
24394         (mmap64): Do not use BP_SYM in weak_alias.
24395         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24396         <bp-sym.h> and <bp-asm.h>.
24397         (PARMS): Do not use macros from bp-asm.h.
24398         (__posix_fadvise64_l64): Do not use BP_SYM.
24399         * sysdeps/unix/sysv/linux/i386/semtimedop.S
24400         (PARMS): Do not use macros from bp-asm.h.
24401         (NSOPS): Likewise.
24402         (semtimedop): Do not use BP_SYM.
24403         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24404         and <bp-asm.h>.
24405
24406 2013-02-21  Allan McRae  <allan@archlinux.org>
24407
24408         * manual/message.texi (Charset conversion in gettext):
24409         Move @end statement to beginning of line.
24410
24411 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24412
24413         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24414         static.
24415         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24416         Likewise.
24417
24418         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24419         (denorm): Likewise.
24420         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24421         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24422
24423 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24424
24425         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24426         tail-call to the resolved function if pltexit isn't needed.
24427
24428 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24429
24430         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24431         or Y being zero as being unlikely.
24432         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24433         Likewise.
24434
24435 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
24436
24437         * manual/nss.texi (System Databases and Name Service Switch):
24438         Remove frobnicate @pxref.
24439
24440 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24441
24442         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24443         __attribute__ ((unused)) to __attribute__ ((__unused__)).
24444
24445 2013-02-20  Petr Machata  <pmachata@redhat.com>
24446
24447         * elf/elf.h (R_ARM_TARGET1): New macro.
24448         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24449         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24450         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24451         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24452         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24453         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24454         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24455         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24456         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24457         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24458         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24459         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24460         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24461         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24462         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24463         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24464         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24465         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24466         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24467         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24468         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24469         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24470         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24471         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24472         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24473         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24474         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24475         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24476         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24477         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24478         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24479         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24480         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24481         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24482         (R_ARM_THM_GOT_BREL12): Likewise.
24483         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24484         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24485         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24486         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24487         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24488         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24489         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24490         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24491         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24492
24493 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24494
24495         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24496         __attribute_used__ to __attribute__ ((unused)).
24497
24498 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24499
24500         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24501         powerpc mpa.c.
24502         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24503         comment formatting.
24504         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24505
24506 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
24507
24508         [BZ #13550]
24509         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24510         Remove macro.
24511         (ENTER): Remove both macro definitions.
24512         (LEAVE): Likewise.
24513         (CHECK_BOUNDS_LOW): Likewise.
24514         (CHECK_BOUNDS_HIGH): Likewise.
24515         (CHECK_BOUNDS_BOTH): Likewise.
24516         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24517         (RETURN_BOUNDED_POINTER): Likewise.
24518         (RETURN_NULL_BOUNDED_POINTER): Likewise.
24519         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24520         (POP_ERRNO_LOCATION_RETURN): Likewise.
24521         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24522         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24523         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24524         macros.
24525         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24526         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24527         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24528         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24529         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24530         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24531         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24532         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24533         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24534         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24535         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24536         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24537         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24538         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24539         removed macros.
24540         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24541         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24542         macros.
24543         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24544         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24545         * sysdeps/i386/i586/memset.S (memset): Likewise.
24546         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24547         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24548         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24549         macros.
24550         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24551         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24552         Change uses of L(2) to L(out).
24553         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24554         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24555         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24556         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24557         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24558         removed macros.
24559         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24560         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24561         macros.
24562         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24563         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24564         (RETURN): Do not use macro LEAVE.
24565         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24566         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24567         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24568         * sysdeps/i386/i686/memset.S (memset): Likewise.
24569         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24570         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24571         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24572         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24573         Likewise.
24574         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24575         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
24576         L(1_2) and L(1_3) into L(1).
24577         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24578         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24579         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24580         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24581         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24582         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24583         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24584         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24585         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24586         macros.
24587         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24588         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24589         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24590         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24591         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24592         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24593         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24594         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24595         * sysdeps/i386/strcspn.S (strcspn): Likewise.
24596         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24597         * sysdeps/i386/strrchr.S (strrchr): Likewise.
24598         * sysdeps/i386/strspn.S (strspn): Likewise.
24599         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24600         conditional code.
24601         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24602         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24603         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24604         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
24605         L(1_3) into L(1_1).
24606         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24607         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24608         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24609         macros.
24610         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24611
24612 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
24613
24614         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24615         macro.
24616
24617 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24618
24619         * math/atest-exp.c (exp_mpn): Remove ROUND.
24620         * math/atest-exp2.c (exp_mpn): Likewise.
24621         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24622
24623         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24624         * stdlib/tst-tls-atexit-lib.c: Likewise.
24625         * stdlib/tst-tls-atexit.c: Likewise.
24626
24627 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24628
24629         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24630         and __attribute_alloc_size__.
24631
24632 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24633
24634         * include/programs/xmalloc.h: Change __attribute_alloc_size to
24635         __attribute_alloc_size__.
24636         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24637         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24638
24639 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24640
24641         * include/programs/xmalloc.h: New file.
24642         * catgets/gencat.c: Include it.
24643         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24644         * elf/pldd.c: Likewise.
24645         * iconv/iconv_charmap.c: Likewise.
24646         * iconv/iconvconfig.c: Likewise.
24647         * iconv/strtab.c: Likewise.
24648         * locale/programs/locale.c: Likewise.
24649         * locale/programs/localedef.h: Likewise.
24650         * locale/programs/simple-hash.c: Likewise.
24651         * nscd/nscd.h: Likewise.
24652         * nss/makedb.c: Likewise.
24653         * sysdeps/generic/ldconfig.h: Likewise.
24654
24655 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24656
24657         * Versions.def: Add GLIBC_2.18.
24658         * include/link.h (struct link_map): New member l_tls_dtor_count.
24659         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24660         (__call_tls_dtors): Likewise.
24661         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24662         __cxa_thread_atexit_impl.
24663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24664         Likewise.
24665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24666         Likewise.
24667         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24668         Likewise.
24669         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24670         Likewise.
24671         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24672         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24673         Likewise.
24674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24675         Likewise.
24676         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24677         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24678         Likewise.
24679         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24680         (tests): Add test case tst-tls-atexit.
24681         (modules-names): Add shared library for tst-tls-atexit.
24682         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24683         (GLIBC_PRIVATE): Add __call_tls_dtors.
24684         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24685         for libstdc++.
24686         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24687         * stdlib/tst-tls-atexit.c: New test case.
24688         * stdlib/tst-tls-atexit-lib.c: New test case.
24689
24690         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24691
24692         * elf/Versions (ld): Add _dl_find_dso_for_object.
24693         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24694         * elf/dl-open.c (_dl_find_dso_for_object): New function.
24695         (dl_open_worker): Use _dl_find_dso_for_object.
24696         * elf/dl-sym.c (do_sym): Likewise.
24697         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24698
24699 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24700
24701         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24702         Syntactic changes only.
24703         (_dl_runtime_profile): Do a tail-call to the resolved function.
24704
24705 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
24706
24707         [BZ #13550]
24708         * sysdeps/x86_64/bp-asm.h: Remove file.
24709         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24710         <bp-sym.h> and <bp-asm.h>.
24711         (__clone): Do not use BP_SYM.
24712         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24713         <bp-sym.h> and <bp-asm.h>.
24714         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24715         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24716         "bp-asm.h".
24717         (_setjmp): Do not use BP_SYM.
24718         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24719         "bp-asm.h".
24720         (setjmp): Do not use BP_SYM.
24721         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24722         libc_hidden_def.
24723         (mempcpy): Do not use BP_SYM in weak_alias.
24724         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24725         "bp-asm.h".
24726         (strchr): Do not use BP_SYM.
24727         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24728         "bp-asm.h".
24729         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24730         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24731         (_start): Do not use BP_SYM.
24732         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24733         "bp-asm.h".
24734         (strcat): Do not use BP_SYM.
24735         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24736         "bp-asm.h".
24737         (STRCMP): Do not use BP_SYM.
24738         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24739         "bp-asm.h".
24740         (STRCPY): Do not use BP_SYM.
24741         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24742         "bp-asm.h".
24743         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24744         "bp-asm.h".
24745         (FUNCTION): Do not use BP_SYM.
24746         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24747         weak_alias.
24748         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24749
24750 2013-02-17  Andreas Jaeger  <aj@suse.de>
24751
24752         * time/Versions: Sort entries.
24753         * string/Versions: Likewise.
24754         * resolv/Versions: Likewise.
24755         * posix/Versions: Likewise.
24756         * iconv/Versions: Likewise.
24757         * elf/Versions: Likewise.
24758         * wcsmbs/Versions: Likewise.
24759
24760 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24761
24762         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24763         loop termination condition.
24764
24765         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24766         variable to calculate EZ.
24767         (__sqr): Likewise.
24768
24769         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24770         the lower precision input.
24771
24772 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
24773
24774         [BZ #13550]
24775         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24776         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24777         (run-via-rtld-prefix): Do not handle %-bp tests.
24778         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24779         (all-object-suffixes): Remove .ob.
24780         (bppfx): Remove variable.
24781         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24782         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24783         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24784         [$(build-bounded) = yes] (libtype.ob): Likewise.
24785         * Makerules (elide-routines.ob): Remove variable.
24786         (do-tests-clean): Do not handle *-bp.out.
24787         (common-mostlyclean): Do not handle *-bp and *-bp.out.
24788         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24789         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24790         (tests): Do not include $(tests-bp.out).
24791         (xtests): Do not include $(xtests-bp.out).
24792         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24793         [$(build-bounded) = yes] ($(addprefix
24794         $(objpfx),$(binaries-bounded))): Remove rule.
24795         ($(objpfx)%-bp.out): Remove rule.
24796         * config.make.in (build-bounded): Remove variable.
24797         * crypt/Makefile [$(build-bounded) = yes]
24798         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24799         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24800         append to variable.
24801         [$(build-bounded) = yes] (install-lib): Likewise.
24802         [$(build-bounded) = yes] (generated): Likewise.
24803         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24804         Remove rule.
24805         * intl/Makefile [$(build-bounded) = yes]
24806         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24807         * math/Makefile [$(build-bounded) = yes]
24808         ($(tests:%=$(objpfx)%-bp): Likewise.
24809         * misc/Makefile [$(build-bounded) = yes]
24810         ($(objpfx)tst-tsearch-bp): Likewise.
24811         * nptl/Makeconfig (bounded-thread-library): Remove variable.
24812         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24813         Remove dependency.
24814         * string/Makefile (o-objects.ob): Remove variable.
24815         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24816         (CFLAGS-.ob): Remove variable.
24817         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24818         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24819         both definitions of variable.
24820         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24821         (ASFLAGS-.ob): Remove variable.
24822
24823 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
24824
24825         [BZ #13550]
24826         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24827         Remove __BOUNDED_POINTERS__ from condition.
24828         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24829         * string/bits/string2.h [!__NO_STRING_INLINES &&
24830         !__BOUNDED_POINTERS__]: Likewise.
24831         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24832         Likewise.
24833         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24834         Remove conditional code.
24835         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24836         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24837         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24838         condition.
24839
24840         [BZ #13550]
24841         * csu/libc-start.c: Do not include <bp-sym.h>.
24842         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24843         * elf/dl-open.c: Do not include <bp-sym.h>.
24844         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24845         * math/fegetenv.c: Do not include <bp-sym.h>.
24846         (fegetenv): Do not use BP_SYM in versioned symbols.
24847         * nptl/sysdeps/pthread/bits/libc-lockP.h
24848         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24849         <bp-sym.h>.
24850         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24851         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24852         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24853         (__pthread_mutex_destroy): Likewise.
24854         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24855         (__pthread_mutex_lock): Likewise.
24856         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24857         (__pthread_mutex_trylock): Likewise.
24858         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24859         (__pthread_mutex_unlock): Likewise.
24860         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24861         (__pthread_mutexattr_init): Likewise.
24862         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24863         (__pthread_mutexattr_destroy): Likewise.
24864         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24865         (__pthread_mutexattr_settype): Likewise.
24866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24867         (__pthread_rwlock_init): Likewise.
24868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24869         (__pthread_rwlock_destroy): Likewise.
24870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24871         (__pthread_rwlock_rdlock): Likewise.
24872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24873         (__pthread_rwlock_tryrdlock): Likewise.
24874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24875         (__pthread_rwlock_wrlock): Likewise.
24876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24877         (__pthread_rwlock_trywrlock): Likewise.
24878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24879         (__pthread_rwlock_unlock): Likewise.
24880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24881         (__pthread_key_create): Likewise.
24882         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24883         (__pthread_setspecific): Likewise.
24884         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24885         (__pthread_getspecific): Likewise.
24886         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24887         Likewise.
24888         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24889         (_pthread_cleanup_push_defer): Likewise.
24890         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24891         (_pthread_cleanup_pop_restore): Likewise.
24892         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24893         (pthread_setcancelstate): Likewise.
24894         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24895         <bp-sym.h>.
24896         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24897         (memchr): Do not use BP_SYM in weak_alias.
24898         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24899         (fegetenv): Do not use BP_SYM in versioned symbols.
24900         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24901         (fesetenv): Do not use BP_SYM in versioned symbols.
24902         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24903         (feupdateenv): Do not use BP_SYM in versioned symbols.
24904         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24905         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24906         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24907         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24908         (open64): Do not use BP_SYM in weak_alias.
24909         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24910         (fegetenv): Do not use BP_SYM in versioned symbols.
24911         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24912         (fesetenv): Do not use BP_SYM in versioned symbols.
24913         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24914         (feupdateenv): Do not use BP_SYM in versioned symbols.
24915         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24916         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24917         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24918         (feraiseexcept): Do not use BP_SYM in versioned symbols.
24919         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24920         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24921         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24922         <bp-sym.h>.
24923         (__libc_start_main): Do not use BP_SYM.
24924
24925 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24926
24927         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24928         redundant return line.
24929         (norm): Likewise.
24930         (denorm): Likewise.
24931         (dbl_mp): Likewise.
24932         (sub_magnitudes): Likewise.
24933         (__add): Likewise.
24934         (__sub): Likewise.
24935         (__mul): Likewise.
24936         (__inv): Likewise.
24937         (__dvd): Likewise.
24938         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24939         (norm): Likewise.
24940         (denorm): Likewise.
24941         (dbl_mp): Likewise.
24942         (sub_magnitudes): Likewise.
24943         (__add): Likewise.
24944         (__sub): Likewise.
24945         (__mul): Likewise.
24946         (__inv): Likewise.
24947         (__dvd): Likewise.
24948
24949         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24950         instead of __mul.
24951         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24952         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24953         (cc32): Likewise.
24954
24955         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24956         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24957         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24958         of __mul for squares.
24959         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24960         function
24961         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24962         Likewise.
24963         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24964         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24965
24966 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
24967
24968         [BZ #13550]
24969         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24970         code.
24971         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24972         prototype or function definition.  Rename ubp_* variables and
24973         parameters.  Remove argv definitions conditional on
24974         [__BOUNDED_POINTERS__].
24975         * debug/backtrace.c (__backtrace): Do not use __unbounded.
24976         * elf/dl-runtime.c (_dl_fixup): Likewise.
24977         * include/set-hooks.h (RUN_HOOK): Likewise.
24978         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24979         definition.
24980         * string/strcpy.c (strcpy): Do not use __unbounded.
24981         * sysdeps/generic/frame.h (struct layout): Likewise.
24982         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24983         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24984         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24985         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24986         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24987         (__backtrace): Likewise.
24988         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24989         use __ptrvalue.
24990         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24991         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24992         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24993         Likewise.
24994         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24995         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24996         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24997         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24998         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24999         Do not use __unbounded.
25000         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25001         Rename __unboundedrlimits parameter to rlimits in prototype.
25002         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25003         Do not use __unbounded.
25004         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25005         not use __ptrvalue.
25006         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25007         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25008         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25009         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25010         __ptrvalue or __unbounded.
25011         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25012         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25013         use __unbounded.
25014         (__new_msgctl): Do not use __ptrvalue.
25015         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25016         __unbounded.
25017         (__libc_msgrcv): Do not use __ptrvalue.
25018         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25019         startup_info): Do not use __unbounded.
25020         (__libc_start_main): Likewise.  Rename ubp_* variables and
25021         parameters.  Remove argv definitions conditional on
25022         [__BOUNDED_POINTERS__].
25023         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25024         __ptrvalue.
25025         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25026         use __unbounded.
25027         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25028         or __ptrvalue.
25029         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25030         use __unbounded.
25031         (__new_shmctl): Do not use __ptrvalue.
25032         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25033         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25034         Likewise.
25035         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25036         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25037         (__libc_sigaction): Likewise.
25038         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25039         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25040         Likewise.
25041         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25042
25043 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
25044
25045         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25046
25047         * string/mempcpy.c: Implement by calling memcpy.
25048
25049 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25050
25051         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25052
25053         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25054         evaluation.
25055
25056         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25057         values in the mantissa.
25058
25059         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25060         minimize writes to Z.
25061         (sub_magnitudes): Simplify code a bit.
25062
25063 2013-02-12  Roland McGrath  <roland@hack.frob.com>
25064
25065         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25066         from the message.  The linker prefixes all warnings with that already.
25067
25068 2013-02-12  Andreas Schwab  <schwab@suse.de>
25069
25070         [BZ #15078]
25071         * posix/regexec.c (extend_buffers): Add parameter min_len.
25072         (check_matching): Pass minimum needed length.
25073         (clean_state_log_if_needed): Likewise.
25074         (get_subexp): Likewise.
25075         * posix/Makefile (tests): Add bug-regex34.
25076         (bug-regex34-ENV): Define.
25077         * posix/bug-regex34.c: New file.
25078
25079         [BZ #11561]
25080         * posix/regcomp.c (parse_bracket_exp): When looking up collating
25081         elements compare against the byte sequence of it, not its name.
25082         * posix/Makefile (tests): Add bug-regex35.
25083         (bug-regex35-ENV): Define.
25084         * posix/bug-regex35.c: New file.
25085
25086 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25087
25088         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
25089         comment.
25090         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25091         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25092         (CHECK_EOL): Add undef.
25093
25094 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
25095
25096         * bits/stdlib-bsearch.h: New file.
25097         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25098         * stdlib/stdlib.h: Likewise.
25099
25100 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25101
25102         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25103         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25104         declaration.
25105         * manual/search.texi (Array Search Function): Add missing const in
25106         lfind prototype.
25107         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25108         declaration to use rlim_t.
25109         (Basic Scheduling Functions): Remove erroneous const from
25110         sched_getparam prototype.  Remove erroneous * from
25111         sched_get_priority_max and sched_get_priority_min prototypes.
25112         (Resource Usage): Fix summary @comment on vtimes to refer to
25113         sys/vtimes.h rather than vtimes.h.
25114         Add missing *s in vtimes prototype.
25115         (Limits on Resources): Fix ulimit prototype to return long int.
25116         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25117         prototypes to use long int rather than double.
25118         (BSD Random): Fix initstate and setstate to use char *, not void *.
25119         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25120         prototype to make second argument 'struct aiocb64 *const[]'.
25121         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25122         (Status of AIO Operations): Remove erroneous const in aio_return and
25123         aio_return64 prototypes.
25124         (Synchronizing I/O): Fix sync prototype to return void.
25125         * manual/startup.texi (Suboptions): Remove an erroneous const in
25126         getsubopt prototype.
25127         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25128         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25129         use size_t rather than int.
25130         (Scanning All Users): Likewise for getpwent_r.
25131         (Setting Groups): Add missing const to setgroups prototype.
25132         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25133         * manual/socket.texi (Host Names): Fix gethostbyaddr and
25134         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25135         'const void *' rather than 'const char *'.
25136         (Host Address Functions): Likewise for inet_ntop.
25137         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25138         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25139         ssize_t for return value.
25140         (Sending Data): Likewise for send, sendto, sendmsg.
25141         (Socket Option Functions): Add a missing const in setsockopt prototype.
25142         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25143         use wchar_t for the argument.
25144         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25145         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25146         take no arguments.
25147         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25148         double/float/long double for second argument.
25149         Fix return types of significand, significandf, significandl.
25150         * manual/filesys.texi (Setting Permissions): Use mode_t for second
25151         argument in fchmod prototype.
25152         (File Owner): Use uid_t and gid_t in fchown prototype.
25153         (File Times): Add const to utimes, futimes, and lutimes prototypes.
25154         (Making Special Files): Use mode_t and dev_t in mknod prototype.
25155         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25156         use 'const struct dirent **' as argument types to CMP function pointer
25157         argument.
25158         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25159         (File Times): Fix summary magic @comment for struct utimbuf and utime
25160         to refer to utime.h, not time.h.
25161         * manual/string.texi (Argz Functions): Add missing const in
25162         argz_extract and argz_next prototypes.
25163         (Finding Tokens in a String): Likewise for basename.
25164         (String/Array Comparison): Fix typo in wcscasecmp prototype.
25165         (Copying and Concatenation): Fix typo in wmemmove prototype.
25166         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25167         (Signal Stack): Remove erroneous const in sigstack prototype.
25168         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25169         prototype.
25170         (Simple Calendar Time): Likewise for stime.
25171         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25172         prototype.
25173         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25174         say sys/sysctl.h instead.
25175         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25176         and vsyslog prototypes.
25177
25178 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25179
25180         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25181         Remove.
25182
25183 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25184
25185         * misc/sys/mman.h: Fix typo in mremap comment.
25186
25187 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25188
25189         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25190         the '\0' terminator.
25191
25192 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25193
25194         [BZ #13550]
25195         * debug/segfault.c: Don't include <bp-checks.h>.
25196         * sysdeps/generic/bp-checks.h: Remove file.
25197         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25198         (__GETDENTS): Don't use CHECK_N.
25199         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25200         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25201         (__getgroups): Don't use CHECK_N.
25202         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25203         (setgroups): Don't use CHECK_N.
25204         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25205         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25206         (__libc_msgrcv): Don't use CHECK_N.
25207         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25208         (__libc_msgsnd): Don't use CHECK_N.
25209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25210         <bp-checks.h>.
25211         (__libc_pread): Don't use CHECK_N.
25212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25213         include <bp-checks.h>.
25214         (__libc_pread64): Don't use CHECK_N.
25215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25216         include <bp-checks.h>.
25217         (__libc_pwrite): Don't use CHECK_N.
25218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25219         include <bp-checks.h>.
25220         (__libc_pwrite64): Don't use CHECK_N.
25221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25222         <bp-checks.h>.
25223         (__libc_pread): Don't use CHECK_N.
25224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25225         include <bp-checks.h>.
25226         (__libc_pread64): Don't use CHECK_N.
25227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25228         include <bp-checks.h>.
25229         (__libc_pwrite): Don't use CHECK_N.
25230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25231         include <bp-checks.h>.
25232         (__libc_pwrite64): Don't use CHECK_N.
25233         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25234         (do_pread): Don't use CHECK_N.
25235         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25236         (do_pread64): Don't use CHECK_N.
25237         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25238         (do_pwrite): Don't use CHECK_N.
25239         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25240         (do_pwrite64): Don't use CHECK_N.
25241         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25242         (__libc_readv): Don't use CHECK_N.
25243         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25244         (semop): Don't use CHECK_N.
25245         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25246         <bp-checks.h>.
25247         (semtimedop): Don't use CHECK_N.
25248         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25249         (__libc_pread): Don't use CHECK_N.
25250         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25251         <bp-checks.h>.
25252         (__libc_pread64): Don't use CHECK_N.
25253         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25254         <bp-checks.h>.
25255         (__libc_pwrite): Don't use CHECK_N.
25256         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25257         <bp-checks.h>.
25258         (__libc_pwrite64): Don't use CHECK_N.
25259         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25260         <bp-checks.h>.
25261         (__libc_msgrcv): Don't use CHECK_N.
25262         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25263         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
25264         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25265         (__libc_writev): Don't use CHECK_N.
25266
25267 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25268
25269         * string/strcpy.c: Removed unused variable.
25270
25271         * Makeconfig (+sysdep-includes): Define with := rather than =.
25272         Use an existing include/ subdir of each sysdeps dir before it.
25273
25274 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25275
25276         * nscd/connection.c (register_traced_file): Comment function.
25277         [HAVE_INOTIFY] (union __inev): Define.
25278         [HAVE_INOTIFY] (inotify_check_files): New function.
25279         [HAVE_INOTIFY] (clear_db_cache): Likewise.
25280         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25281         clear_db_cache.
25282         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25283
25284 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25285
25286         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25287         loaded if not already and that a failure is permanent.
25288
25289 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25290
25291         [BZ #15006]
25292         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25293         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25294
25295 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25296
25297         [BZ #13550]
25298         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25299         (CHECK_1_NULL_OK): Likewise.
25300         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25301         (__fxstat): Do not use CHECK_1.
25302         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25303         <bp-checks.h>.
25304         (___fxstat64): Do not use CHECK_1.
25305         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25306         <bp-checks.h>.
25307         (__fxstatat): Do not use CHECK_1.
25308         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25309         <bp-checks.h>.
25310         (__fxstatat64): Do not use CHECK_1.
25311         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25312         <bp-checks.h>.
25313         (__fxstat): Do not use CHECK_1.
25314         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25315         <bp-checks.h>.
25316         (__fxstatat): Do not use CHECK_1.
25317         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25318         <bp-checks.h>.
25319         (__getresgid): Do not use CHECK_1.
25320         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25321         <bp-checks.h>.
25322         (__getresuid): Do not use CHECK_1.
25323         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25324         <bp-checks.h>.
25325         (__lxstat): Do not use CHECK_1.
25326         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25327         <bp-checks.h>.
25328         (__old_msgctl): Do not use CHECK_1.
25329         (__new_msgctl): Likewise.
25330         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25331         <bp-checks.h>.
25332         (__new_setrlimit): Do not use CHECK_1.
25333         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25334         <bp-checks.h>.
25335         (__old_shmctl): Do not use CHECK_1.
25336         (__new_shmctl): Likewise.
25337         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25338         <bp-checks.h>.
25339         (__xstat): Do not use CHECK_1.
25340         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25341         (__lxstat): Do not use CHECK_1.
25342         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25343         <bp-checks.h>.
25344         (___lxstat64): Do not use CHECK_1.
25345         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25346         (__old_msgctl): Do not use CHECK_1.
25347         (__new_msgctl): Likewise.
25348         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25349         <bp-checks.h>.
25350         (__gettimeofday): Do not use CHECK_1.
25351         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25352         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25353         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25354         <bp-checks.h>.
25355         (__gettimeofday): Do not use CHECK_1.
25356         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25357         (__old_shmctl): Do not use CHECK_1_NULL_OK.
25358         (__new_shmctl): Do not use CHECK_1.
25359         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25360         <bp-checks.h>.
25361         (do_sigtimedwait): Do not use CHECK_1.
25362         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25363         <bp-checks.h>.
25364         (do_sigwaitinfo): Do not use CHECK_1.
25365         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25366         <bp-checks.h>.
25367         (msgctl): Do not use CHECK_1.
25368         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25369         <bp-checks.h>.
25370         (shmctl): Do not use CHECK_1.
25371         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25372         (ustat): Do not use CHECK_1.
25373         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25374         <bp-checks.h>.
25375         (__fxstat): Do not use CHECK_1.
25376         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25377         <bp-checks.h>.
25378         (__fxstatat): Do not use CHECK_1.
25379         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25380         <bp-checks.h>.
25381         (__lxstat): Do not use CHECK_1.
25382         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25383         <bp-checks.h>.
25384         (__xstat): Do not use CHECK_1.
25385         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25386         (__xstat): Do not use CHECK_1.
25387         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25388         (___xstat64): Do not use CHECK_1.
25389
25390         [BZ #13550]
25391         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25392         definitions.
25393         (CHECK_BOUNDS_HIGH): Likewise.
25394         * string/strcpy.c: Do not include <bp-checks.h>.
25395         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25396
25397 2013-02-07  Roland McGrath  <roland@hack.frob.com>
25398
25399         * nscd/nscd-client.h (__nscd_drop_map_ref):
25400         Add __attribute__ ((unused)).
25401         * nis/nss-nisplus.h (niserr2nss): Likewise.
25402
25403         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25404         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25405
25406         * csu/libc-tls.c (init_static_tls, init_slotinfo):
25407         Remove inline keyword.
25408         * include/rounding-mode.h (round_away): Likewise.
25409         * libio/wfileops.c (adjust_wide_data): Likewise.
25410         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25411         (__m128i_strloadu_tolower): Likewise.
25412         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25413         (__m128i_strloadu_tolower): Likewise.
25414         * time/mktime.c (ydhms_diff): Likewise.
25415         * locale/elem-hash.h (elem_hash): Likewise.
25416         * locale/setlocale.c (setdata): Likewise.
25417         * posix/regex_internal.h (re_string_char_size_at): Likewise.
25418         (re_string_wchar_at): Likewise.
25419         (bitset_not, bitset_merge, bitset_mask): Likewise.
25420         [!(__GNUC__ > 3)] (inline): Remove macro.
25421         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25422         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25423         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25424         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25425         * string/memcmp.c (memcmp_bytes): Likewise.
25426         * locale/programs/locarchive.c (compute_hashval): Likewise.
25427         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25428         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25429         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25430         * nss/getent.c (print_rpc, print_protocols): Likewise.
25431         (print_passwd, print_group, print_aliases): Likewise.
25432         * nis/nss-nisplus.h (niserr2nss): Likewise.
25433         * nscd/connections.c (restart_p): Likewise.
25434         Change return type to bool.
25435
25436 2013-02-05  Roland McGrath  <roland@hack.frob.com>
25437
25438         * Makeconfig (all-Depend-files): Add existing
25439         $(sorted-subdirs:=/Depend) files.
25440         (all-subdirs): Remove nss.
25441         * sysdeps/unix/inet/Subdirs: Add it here instead.
25442         * hesiod/Depend: New file.
25443
25444         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25445         instead of calling alloca.
25446
25447         * io/lseek.c (__lseek): Rename to __libc_lseek.
25448         Define __lseek as an alias.
25449
25450         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25451
25452 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
25453
25454         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25455         else clause and remove check for non-standard endianness.
25456
25457 2013-02-04  David S. Miller  <davem@davemloft.net>
25458
25459         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25460
25461 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
25462
25463         [BZ #13550]
25464         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25465         (__ubp_memchr): Remove prototype.
25466         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25467         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25468         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25469         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25470         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25471         Remove alias.
25472         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25473         (__ubp_memchr): Likewise.
25474         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25475         (__ubp_memchr): Likewise.
25476         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25477         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25478         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25479         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25480         CHECK_STRING.
25481         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25482         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25483         (__getcwd): Do not use CHECK_STRING.
25484         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25485         <bp-checks.h>.
25486         (__real_chown): Do not use CHECK_STRING.
25487         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25488         <bp-checks.h>.
25489         (fchownat): Do not use CHECK_STRING.
25490         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25491         CHECK_STRING.
25492         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25493         <bp-checks.h>.
25494         (__lchown): Do not use CHECK_STRING.
25495         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25496         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25497         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25498         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25500         include <bp-checks.h>.
25501         (truncate64): Do not use CHECK_STRING.
25502         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25503         <bp-checks.h>.
25504         (__real_chown): Do not use CHECK_STRING.
25505         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25506         <bp-checks.h>.
25507         (__lchown): Do not use CHECK_STRING.
25508         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25509         <bp-checks.h>.
25510         (__chown): Do not use CHECK_STRING.
25511         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25512         <bp-checks.h>.
25513         (truncate64): Do not use CHECK_STRING.
25514         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25515         Likewise.
25516         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25517         (__xmknod): Do not use CHECK_STRING.
25518         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25519         <bp-checks.h>.
25520         (__xmknodat): Do not use CHECK_STRING.
25521         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25522         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25523
25524 2013-02-04  Andreas Schwab  <schwab@suse.de>
25525
25526         [BZ #14142]
25527         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25528         * include/netdb.h: Likewise for h_errno.
25529         * elf/tst-stackguard1.c: Include <tls.h>.
25530
25531 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
25532
25533         * elf/link.h (struct link_map): Extend the l_addr comment.
25534         * include/link.h (struct link_map): Likewise.
25535
25536 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
25537
25538         [BZ #13550]
25539         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25540         (BOUNDED_1): Remove macro.
25541         * debug/backtrace.c: Don't include <bp-checks.h>.
25542         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25543         (__backtrace): Likewise.
25544         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25545         <bp-checks.h>.
25546         (__backtrace): Don't use BOUNDED_1.
25547         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25548         <bp-checks.h>.
25549         (__backtrace): Don't use BOUNDED_1.
25550         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25551         (__backtrace): Don't use BOUNDED_1.
25552         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25553         (shmat): Don't use BOUNDED_N.
25554
25555 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
25556
25557         [BZ #13550]
25558         * sysdeps/generic/bp-start.h: Remove file.
25559         * csu/libc-start.c: Don't include <bp-start.h>.
25560         (LIBC_START_MAIN): Set up __environ directly instead of using
25561         INIT_ARGV_and_ENVIRON.
25562         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25563         <bp-start.h>.
25564
25565         [BZ #13550]
25566         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25567         definitions.
25568         (CHECK_FCNTL): Likewise.
25569         (CHECK_N_PAGES): Likewise.
25570
25571         [BZ #13550]
25572         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25573         definitions.
25574         (CHECK_SIGSET_NULL_OK): Likewise.
25575         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25576         <bp-checks.h>.
25577         (sigpending): Don't use CHECK_SIGSET.
25578         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25579         <bp-checks.h>.
25580         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25581         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25582         <bp-checks.h>.
25583         (do_sigsuspend): Don't use CHECK_SIGSET.
25584         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25585         use CHECK_SIGSET.
25586         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25587         (do_sigwait): Don't use CHECK_SIGSET.
25588         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25589         use CHECK_SIGSET.
25590         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25591         include <bp-checks.h>.
25592         (sigpending): Don't use CHECK_SIGSET.
25593         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25594         include <bp-checks.h>.
25595         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25596         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25597         <bp-checks.h>.
25598         (sigpending): Don't use CHECK_SIGSET.
25599         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25600         <bp-checks.h>.
25601         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25602
25603         [BZ #13550]
25604         * sysdeps/generic/bp-semctl.h: Remove file.
25605         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25606         <bp-checks.h> and <bp-semctl.h>.
25607         (__old_semctl): Don't use CHECK_SEMCTL.
25608         (__new_semctl): Likewise.
25609         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25610         and <bp-semctl.h>.
25611         (__old_semctl): Don't use CHECK_SEMCTL.
25612         (__new_semctl): Likewise.
25613         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25614         <bp-checks.h> and <bp-semctl.h>.
25615         (__old_semctl): Don't use CHECK_SEMCTL.
25616         (__new_semctl): Likewise.
25617         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25618         <bp-checks.h> and <bp-semctl.h>.
25619         (semctl): Don't use CHECK_SEMCTL.
25620
25621         [BZ #13550]
25622         * Makerules (elide-bp-thunks): Remove variable.
25623         (elide-routines.oS): Don't use $(elide-bp-thunks).
25624         (elide-routines.os): Likewise.
25625         (elide-routines.o): Likewise.
25626         (elide-routines.op): Likewise.
25627         (elide-routines.og): Likewise.
25628         (objects): Don't use $(bp-thunks).
25629         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25630         include.
25631         (common-generated): Do not add s-proto-bp.d.
25632         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25633         (int): Likewise.
25634         (typ): Likewise.
25635         Do not generate makefile rules for bounded-pointer thunks.
25636         * sysdeps/generic/bp-thunks.h: Remove file.
25637         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25638         * sysdeps/unix/s-proto-bp.S: Likewise.
25639
25640         [BZ #15062]
25641         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25642         parts of result separately when argument is not close to line from
25643         -i to i and one part of argument is small.
25644         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25645         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25646         * math/libm-test.inc (cacos_test): Add more tests.
25647         (casin_test): Likewise.
25648         (casinh_test): Likewise.
25649         * sysdeps/i386/fpu/libm-test-ulps: Update.
25650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25651
25652 2013-01-31  David S. Miller  <davem@davemloft.net>
25653
25654         * po/de.po: Update from translation team.
25655
25656 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
25657
25658         * time/tzfile.c: Include stdint.h for SIZE_MAX.
25659
25660 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
25661
25662         * configure.in (_AC_PROG_CC_C89): New definition.
25663         * configure: Regenerate.
25664
25665         * configure.in (AC_PROG_CPP): New definition.
25666         * configure: Regenerate.
25667
25668 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25669
25670         * debug/tst-backtrace.h: New file.
25671         * debug/tst-backtrace2.c: Include tst-backtrace.h.
25672         (ret): Remove variable.
25673         (x): Likewise.
25674         (FAIL): Remove macro.
25675         (NO_INLINE): Likewise.
25676         (fn1): Use match function instead of strstr.
25677         * debug/tst-backtrace3.c: Include tst-backtrace.h.
25678         (ret): Remove variable.
25679         (x): Likewise.
25680         (FAIL): Remove macro.
25681         (NO_INLINE): Likewise.
25682         (fn): Use match function instead of strstr.
25683         * debug/tst-backtrace4.c: Include tst-backtrace.h.
25684         (ret): Remove variable.
25685         (x): Likewise.
25686         (FAIL): Remove macro.
25687         (NO_INLINE): Likewise.
25688         (handle_signal): Use match function instead of strstr.
25689         * debug/tst-backtrace5.c: Include tst-backtrace.h.
25690         (ret): Remove variable.
25691         (x): Likewise.
25692         (FAIL): Remove macro.
25693         (NO_INLINE): Likewise.
25694         (handle_signal): Use match function instead of strstr.
25695
25696 2013-01-23  Roland McGrath  <roland@hack.frob.com>
25697
25698         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25699
25700 2013-01-23  David S. Miller  <davem@davemloft.net>
25701
25702         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25703         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25704         argument of CAS if possible.
25705         * sysdeps/sparc/sparc64/bits/atomic.h
25706         (__arch_compare_and_exchange_val_32_acq): Likewise.
25707         (__arch_compare_and_exchange_val_64_acq): Likewise.
25708
25709 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
25710
25711         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25712         * sysdeps/posix/ulimit.c: ... this.
25713         Include <limits.h>.
25714         * sysdeps/unix/bsd/ulimit.c: Remove file.
25715
25716 2013-01-23  Adam Conrad  <adconrad@0c3.net>
25717
25718         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25719         (LDFLAGS-tst-array5): Likewise.
25720
25721 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25722
25723         [BZ #15036]
25724         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25725         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25726         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25727         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25728
25729 2013-01-21  David S. Miller  <davem@davemloft.net>
25730
25731         * sysdeps/sparc/backtrace.c: New file.
25732         * sysdeps/sparc/sparc32/backtrace.h: New file.
25733         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25734         * sysdeps/sparc/sparc64/backtrace.h: New file.
25735         * sysdeps/sparc/sparc64/backtrace.c: Delete.
25736         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25737         -funwind-tables.
25738
25739 2013-01-21  Andreas Schwab  <schwab@suse.de>
25740
25741         [BZ #15020]
25742         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25743         closed its stdout.
25744
25745 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
25746
25747         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25748         "mpa2.h".
25749         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25750
25751 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
25752             Mark Mitchell  <mark@codesourcery.com>
25753             Tom de Vries  <tom@codesourcery.com>
25754             Paul Pluzhnikov  <ppluzhnikov@google.com>
25755
25756         * debug/tst-backtrace2.c: New file.
25757         * debug/tst-backtrace3.c: Likewise.
25758         * debug/tst-backtrace4.c: Likewise.
25759         * debug/tst-backtrace5.c: Likewise.
25760         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25761         (CFLAGS-tst-backtrace3.c): Likewise.
25762         (CFLAGS-tst-backtrace4.c): Likewise.
25763         (CFLAGS-tst-backtrace5.c): Likewise.
25764         (LDFLAGS-tst-backtrace2): Likewise.
25765         (LDFLAGS-tst-backtrace3): Likewise.
25766         (LDFLAGS-tst-backtrace4): Likewise.
25767         (LDFLAGS-tst-backtrace5): Likewise.
25768         (tests): Add new tests tst-backtrace2, tst-backtrace3,
25769         tst-backtrace4 and tst-backtrace5.
25770
25771 2013-01-18  Anton Blanchard  <anton@samba.org>
25772             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25773
25774         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25775         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25776         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25777         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25779         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25780         "+r" and remove output regs list as redundant.  Add explicit inline
25781         asm to specify register of return val to work around compiler codegen
25782         bug.  Remove (int) cast on return value.  Add return type parameter to
25783         use in macro so that this macro does not truncate return value for
25784         64-bit values.
25785         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25786         pass to INTERNAL_VSYSCALL_NCS.
25787         (INLINE_VSYSCALL): Add 'long int' as return type to
25788         INTERNAL_VSYSCALL_NCS macro invocation.
25789         (INTERNAL_VSYSCALL): Add 'long int' as return type to
25790         INTERNAL_VSYSCALL_NCS macro invocation.
25791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25792
25793 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25794
25795         [BZ #14496]
25796         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25797         Fix application of SIMD FP exception mask.
25798
25799         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25800         mp_no from a power of two.
25801         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25802         __mpexp_twomm1.  Use __pow_mp.
25803
25804         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25805         multiplication.
25806
25807 2013-01-17  David S. Miller  <davem@davemloft.net>
25808
25809         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25810
25811 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25812
25813         [BZ #15023]
25814         * include/complex.h: Condition contents on [!_COMPLEX_H].
25815         (__kernel_casinhf): New prototype.
25816         (__kernel_casinh): Likewise.
25817         (__kernel_casinhl): Likewise.
25818         * math/Makefile (libm_calls): Add k_casinh.
25819         * math/k_casinh.c: New file.
25820         * math/k_casinhf.c: Likewise.
25821         * math/k_casinhl.c: Likewise.
25822         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25823         finite nonzero arguments.
25824         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25825         finite nonzero arguments.
25826         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25827         finite nonzero arguments.
25828         * math/s_casinh.c: Do not include <float.h>.
25829         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25830         * math/s_casinhf.c: Do not include <float.h>.
25831         (__casinhf): Move code for finite nonzero arguments to
25832         k_casinhf.c.
25833         * math/s_casinhl.c: Do not include <float.h>.
25834         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25835         redefine.
25836         (__casinhl): Move code for finite nonzero arguments to
25837         k_casinhl.c.
25838         * math/libm-test.inc (cacos_test): Add more tests.
25839         * sysdeps/i386/fpu/libm-test-ulps: Update.
25840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25841
25842 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
25843
25844         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25845         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25846         [!HAVE_MREMAP]: Remove [defined linux] case.
25847         * malloc/arena.c: Do not include <malloc-sysdep.h>.
25848
25849 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25850
25851         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25852
25853 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
25854
25855         * elf/elf.h (R_386_SIZE32): New relocation.
25856         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25857         R_386_SIZE32.
25858         (elf_machine_rela): Likewise.
25859         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25860         R_X86_64_SIZE64 and R_X86_64_SIZE32.
25861
25862 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25863
25864         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25865         (FP_FAST_FMA): Do not define.
25866         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25867         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25868         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25869         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25870         !_SOFT_FLOAT]: Likewise.
25871         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25872         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25873         value.
25874         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25875         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25876         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25877         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25878         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25879         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25880         file.
25881
25882 2013-01-16  Andreas Schwab  <schwab@suse.de>
25883
25884         [BZ #14327]
25885         * include/stdlib.h (__mktemp): Add declaration.
25886         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25887         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25888
25889 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25890
25891         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25892         definitions.
25893         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25894         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25895         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25896         definitions here.
25897         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25898         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25899         definitions.
25900         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25901         and ONE.
25902         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25903         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25904         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25905         definitions.
25906         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25907         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25908         definitions.
25909         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25910
25911         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25912
25913 2013-01-15  David S. Miller  <davem@davemloft.net>
25914
25915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25916         trunc{,f} to libm-sysdep_routes.
25917         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25919         file.
25920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25922         file.
25923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25924         file.
25925         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25927         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25928         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25929         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25930         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25931         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25932         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25933
25934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25935         nearbyint{,f} to libm-sysdep_routes.
25936         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25938         New file.
25939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25940         file.
25941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25942         New file.
25943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25944         file.
25945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25947         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25948         file.
25949         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25950         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25951         file.
25952         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25953         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25954         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25955
25956         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25957         libc_feholdexcept and libc_fesetenv.
25958
25959 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
25960
25961         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25962
25963 2013-01-14  David S. Miller  <davem@davemloft.net>
25964
25965         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25966         (SPARC_ASM_VIS2_IFUNC): Likewise.
25967         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25969         use of 'siam' instruction.
25970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25971         Likewise.
25972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25973         Likewise.
25974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25975         Likewise.
25976         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25977         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25978         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25979         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25981         file.
25982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25983         file.
25984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25985         file.
25986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25987         file.
25988         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25989         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25990         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25991         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25993         new VIS2 routines.
25994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25997         Likewise.
25998         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25999         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26000         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26001         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26003         routines to libm-sysdep_routines.
26004         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26005
26006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26007         fdim/fdimf to libm-sysdep_routines.
26008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26009         file.
26010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26012         file.
26013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26016         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26017         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26018         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26019         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26020
26021 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26022
26023         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26024         to optimize copies.
26025
26026         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26027         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26028         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26029
26030         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26031         local variable MPTWO.
26032         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26033         Likewise.
26034
26035 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26036
26037         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26038         GLOB_NOESCAPE.
26039
26040 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26041
26042         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26043
26044 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26045
26046         * manual/pattern.texi (glob_t): Document gl_flags.
26047         (glob64_t): Likewise.
26048
26049 2013-01-11  David S. Miller  <davem@davemloft.net>
26050
26051         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26052         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26053         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
26054         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26055         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26056         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26057         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26058         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26059         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26060         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26061         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26062         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26063         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26064
26065         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26066         sparc V9 rather than using V8 code.
26067         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26068         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26069
26070         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26071         Move to...
26072         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26073         Here.
26074
26075 2013-01-11  Roland McGrath  <roland@hack.frob.com>
26076
26077         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26078         not in the main loop.
26079         * configure: Regenerated.
26080
26081 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
26082
26083         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26084         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26085         to just #else.
26086         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
26087         [!__GLIBC_HAVE_LONG_LONG] case.
26088         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26089         condition to just #else.
26090         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26091         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26092         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26093         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26094         unconditional.
26095         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26096         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26097         #elif condition to just #else.
26098         * sysdeps/unix/sysv/linux/sys/sysmacros.h
26099         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26100         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26101         #elif condition to just #else.
26102
26103 2013-01-11  Steve Ellcey  <sellcey@mips.com>
26104
26105         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26106         (EF_MIPS_ARCH_64): Fix value.
26107         (EF_MIPS_ARCH_32R2): New.
26108         (EF_MIPS_ARCH_64R2): New.
26109
26110 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
26111
26112         * Makeconfig (+link-pie-before-libc): New.
26113         (+link-pie-after-libc): Likewise.
26114         (+link-pie-tests): Likewise.
26115         (+link-pie): Rewritten.
26116         (link-before-libc): Remove $(config-LDFLAGS).
26117         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26118         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26119         (config-LDFLAGS): Renamed to ...
26120         (rtld-LDFLAGS): This.
26121         (rtld-tests-LDFLAGS): New macro.
26122         (link-libc-rpath-link): Likewise.
26123         (link-libc-tests-rpath-link): Likewise.
26124         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26125         (link-libc): Prepand $(link-libc-rpath-link).
26126         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26127         (test-program-prefix): New macro.
26128         (test-via-rtld-prefix): Likewise.
26129         (test-program-cmd): Likewise.
26130         (host-test-program-cmd): Likewise.
26131         * Makefile ($(common-objpfx)testrun.sh): Replace
26132         $(run-program-prefix) with $(test-program-prefix).
26133         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26134         $(rtld-LDFLAGS).
26135         ($(common-objpfx)shlib.lds): Likewise.
26136         (build-module-helper): Likewise.
26137         ($(common-objpfx)format.lds): Likewise.
26138         * Rules (binaries-pie-tests): New.
26139         (binaries-pie-notests): Likewise.
26140         (binaries-pie): Rewritten.
26141         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26142         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26143         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26144         (make-test-out): Replace $(host-built-program-cmd) with
26145         $(host-test-program-cmd).
26146         * config.make.in (build-hardcoded-path-in-tests): New variable.
26147         * configure.in (--enable-hardcoded-path-in-tests): New configure
26148         option.
26149         (hardcoded_path_in_tests): New AC_SUBST.
26150         * configure: Regenerated.
26151         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26152         $(built-program-cmd) with $(test-program-cmd).
26153         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26154         (test_program_cmd): This.
26155         * elf/Makefile ($(objpfx)order.out): Run test with
26156         $(test-program-prefix).
26157         ($(objpfx)order2.out): Likewise.
26158         ($(objpfx)tst-initorder.out): Likewise.
26159         ($(objpfx)tst-initorder2.out): Likewise.
26160         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26161         $(test-program-cmd).
26162         ($(objpfx)tst-array1-static.out): Likewise.
26163         ($(objpfx)tst-array2.out): Likewise.
26164         ($(objpfx)tst-array3.out): Likewise.
26165         ($(objpfx)tst-array4.out): Likewise.
26166         ($(objpfx)tst-array5.out): Likewise.
26167         ($(objpfx)tst-array5-static.out): Likewise.
26168         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26169         $(test-program-cmd).
26170         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26171         $(run-program-prefix) with $(test-program-prefix).
26172         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26173         (test_program_prefix): This.
26174         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26175         $(run-program-prefix) with $(test-program-prefix).
26176         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26177         (test_program_prefix): This.
26178         * iconvdata/tst-tables.sh: Likewise.
26179         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26180         $(run-program-prefix) with $(test-program-prefix).
26181         ($(objpfx)tst-translit.out): Likewise.
26182         ($(objpfx)tst-gettext2.out): Likewise.
26183         ($(objpfx)tst-gettext4.out): Likewise.
26184         ($(objpfx)tst-gettext6.out): Likewise.
26185         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26186         (test_program_prefix): This.
26187         * intl/tst-gettext2.sh: Likewise.
26188         * intl/tst-gettext4.sh  Likewise.
26189         * intl/tst-gettext6.sh: Likewise.
26190         * intl/tst-translit.sh: Likewise.
26191         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26192         with $(test-program-cmd).
26193         * libio/Makefile ($(objpfx)test-freopen.out): Replace
26194         $(run-program-prefix) with $(test-program-prefix).
26195         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26196         (test_program_prefix): This.
26197         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26198         $(run-program-prefix) with $(test-program-prefix).
26199         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26200         (test_program_prefix): This.
26201         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26202         * posix/Makefile ($(objpfx)globtest.out): Replace
26203         $(run-via-rtld-prefix) and $(test-wrapper) with
26204         $(test-program-prefix) and $(test-via-rtld-prefix).
26205         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26206         $(test-program-prefix).
26207         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26208         $(host-test-program-cmd).
26209         (tst-spawn-ARGS): Likewise.
26210         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26211         $(test-program-prefix).
26212         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26213         (test_via_rtld_prefix): This.
26214         (test_wrapper): Renamed to ...
26215         (test_program_prefix): This.
26216         (run_program_prefix): Replaced by test_program_prefix.
26217         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26218         (test_program_prefix): This.
26219         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26220         with $(host-test-program-cmd).
26221         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26222         $(run-program-prefix) with $(test-program-prefix).
26223         ($(objpfx)tst-printf.out): Likewise.
26224         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26225         $(test-program-cmd).
26226         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26227         (test_program_prefix): This.
26228         * stdio-common/tst-unbputc.sh: Likewise.
26229         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26230         $(run-program-prefix) with $(test-program-prefix).
26231         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26232         (test_program_prefix): This.
26233         * string/Makefile ($(objpfx)tst-svc.out):  Replace
26234         $(built-program-cmd) with $(test-program-cmd).
26235
26236 2013-01-11  Andreas Jaeger  <aj@suse.de>
26237
26238         [BZ #15003]
26239         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26240         value. Sync with Linux 3.7.
26241
26242 2013-01-10  David S. Miller  <davem@davemloft.net>
26243
26244         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26245         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26246         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26247
26248 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26249
26250         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26251         never set.
26252         * configure: Regenerated.
26253
26254 2013-01-10  David S. Miller  <davem@davemloft.net>
26255
26256         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26257         sparc V9 rather than using V8 code.
26258         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26259         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26260
26261 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26262
26263         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26264         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26265         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26266         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26267         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26268         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26269         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26270         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26271         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26272         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26273         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26274         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26275         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26276         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26277         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26278         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26279         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26280         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26281         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26282         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26283         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26284         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26285         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26286         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26287         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26288         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26289         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26290
26291 2013-01-10  David S. Miller  <davem@davemloft.net>
26292
26293         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26294
26295 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26296
26297         * posix/Makefile (tests-static): New variable.
26298         (tests): Add $(tests-static).
26299         (tst-exec-static-ARGS): New variable.
26300         (tst-spawn-static-ARGS): Likewise.
26301         * posix/tst-exec-static.c: New file.
26302         * posix/tst-spawn-static.c: Likewise.
26303         * posix/tst-exec.c: Support run directly.
26304         * posix/tst-spawn.c: Likewise.
26305
26306 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
26307
26308         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26309         long.
26310         * math/bits/mathcalls.h (llrint): Likewise.
26311         (llround): Likewise.
26312         * stdlib/stdlib.h (struct drand48_data): Likewise.
26313         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26314         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26315         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26316         Likewise.
26317         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26318         Likewise.
26319         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26320         (elf_greg_t): Likewise.
26321         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26322         (__jmp_buf): Likewise.
26323         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26324         definitions.
26325         (llrint): Likewise, for all definitions.
26326         (llrintl): Likewise.
26327
26328         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26329         Remove [__GNUC__] condition.
26330         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26331         condition to just [__USE_ISOC99].
26332         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26333
26334 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26335
26336         [BZ #14200]
26337         * sysdeps/unix/sysv/linux/x86/bits/environments.h
26338         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26339         defined.
26340         (_POSIX_V6_ILP32_OFF32): Likewise.
26341         (_XBS5_ILP32_OFF32): Likewise.
26342         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26343         (__ILP32_OFFBIG_LDFLAGS): Likewise.
26344
26345 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26346
26347         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26348
26349         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26350         doubles __mpexp_twomm1.  Adjust usage.
26351         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26352         Remove.
26353
26354 2013-01-10  Andreas Schwab  <schwab@suse.de>
26355
26356         [BZ #14964]
26357         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26358         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26359
26360 2013-01-09  David S. Miller  <davem@davemloft.net>
26361
26362         [BZ #15003]
26363         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26364         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26365         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26366         (TCP_FASTOPEN): Define.
26367         (tcp_repair_opt): New structure.
26368         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26369         enum values.
26370         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26371         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26372         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26373         (tcp_cookie_transactions): New structure.
26374
26375 2013-01-09  Anton Blanchard  <anton@samba.org>
26376
26377         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26378         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26379         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26380         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26381
26382 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
26383
26384         * include/features.h (__USE_ANSI): Remove.
26385
26386 2013-01-09  Roland McGrath  <roland@hack.frob.com>
26387
26388         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26389
26390         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26391
26392 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26393
26394         * sysdeps/s390/fpu/libm-test-ulps: Update.
26395
26396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26397
26398         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26399         (__acr): Likewise.
26400         (__cpy): Likewise.
26401         (norm): Likewise.
26402         (denorm): Likewise.
26403         (__mp_dbl): Likewise.
26404         (__dbl_mp): Likewise.
26405         (add_magnitudes): Likewise.
26406         (sub_magnitudes): Likewise.
26407         (__add): Likewise.
26408         (__sub): Likewise.
26409         (__mul): Likewise.
26410         (__inv): Likewise.
26411         (__dvd): Likewise.
26412         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26413         (__acr): Likewise.
26414         (__cpy): Likewise.
26415         (norm): Likewise.
26416         (denorm): Likewise.
26417         (__mp_dbl): Likewise.
26418         (__dbl_mp): Likewise.
26419         (add_magnitudes): Likewise.
26420         (sub_magnitudes): Likewise.
26421         (__add): Likewise.
26422         (__sub): Likewise.
26423         (__mul): Likewise.
26424         (__inv): Likewise.
26425         (__dvd): Likewise.
26426         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26427         (__acr): Likewise.
26428         (__cpy): Likewise.
26429         (norm): Likewise.
26430         (denorm): Likewise.
26431         (__mp_dbl): Likewise.
26432         (__dbl_mp): Likewise.
26433         (add_magnitudes): Likewise.
26434         (sub_magnitudes): Likewise.
26435         (__add): Likewise.
26436         (__sub): Likewise.
26437         (__mul): Likewise.
26438         (__inv): Likewise.
26439         (__dvd): Likewise.
26440
26441 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
26442
26443         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26444         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26445         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26446         2 && __USE_EXTERN_INLINES]: Likewise.
26447
26448 2013-01-08  Andreas Jaeger  <aj@suse.de>
26449
26450         [BZ# 14985]
26451         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26452         Remove.
26453         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26454         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26455
26456 2013-01-07  Anton Blanchard  <anton@samba.org>
26457
26458         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26459         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26460         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26461         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26462         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26463         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26464         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26465         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26466         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26467         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26468         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26469         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26470         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26471         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26472         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26473         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26474         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26475         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26476         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26477         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26478         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26479         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26480         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26481         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26482         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26483         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26484         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26485         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26486         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26487         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26488         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26489         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26490         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26491         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26492         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26493         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26494         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26495         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26496         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26497         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26498         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26499         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26500         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26501
26502 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
26503
26504         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26505         (__MALLOC_PMT): Likewise.
26506         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26507         [__GNUC__], only on [_LIBC].
26508         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26509         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26510         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26511         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26512         forward declaration.
26513         (realloc_hook_ini): Likewise.
26514         (memalign_hook_ini): Likewise.
26515         (__libc_memalign): Do not use __MALLOC_PMT in variable
26516         declaration.
26517         (__libc_valloc): Likewise.
26518         (__libc_pvalloc): Likewise.
26519         (__libc_calloc): Likewise.
26520         (__posix_memalign): Likewise.
26521
26522         [BZ #14996]
26523         * math/s_casinh.c: Include <float.h>.
26524         (__casinh): Do not do computation with squaring and square root
26525         for large arguments.
26526         * math/s_casinhf.c: Include <float.h>.
26527         (__casinhf): Do not do computation with squaring and square root
26528         for large arguments.
26529         * math/s_casinhl.c: Include <float.h>.
26530         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26531         (__casinhl): Do not do computation with squaring and square root
26532         for large arguments.
26533         * math/libm-test.inc (casin_test): Add more tests.
26534         (casinh_test): Likewise.
26535         * sysdeps/i386/fpu/libm-test-ulps: Update.
26536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26537
26538 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
26539
26540         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26541         (__x86_64_raw_data_cache_size): Likewise.
26542         (__x86_64_data_cache_size_half): Likewise.
26543         (__x86_64_raw_data_cache_size_half): Likewise.
26544         (__x86_64_shared_cache_size): Likewise.
26545         (__x86_64_raw_shared_cache_size): Likewise.
26546         (__x86_64_shared_cache_size_half): Likewise.
26547         (__x86_64_raw_shared_cache_size_half): Likewise.
26548         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26549         to ...
26550         (__x86_data_cache_size): This.
26551         (__x86_64_raw_data_cache_size): Renamed to ...
26552         (__x86_raw_data_cache_size): This.
26553         (__x86_64_data_cache_size_half): Renamed to ...
26554         (__x86_data_cache_size_half): This.
26555         (__x86_64_raw_data_cache_size_half): Renamed to ...
26556         (__x86_raw_data_cache_size_half): This.
26557         (__x86_64_shared_cache_size): Renamed to ...
26558         (__x86_shared_cache_size): This.
26559         (__x86_64_raw_shared_cache_size): Renamed to ...
26560         (__x86_raw_shared_cache_size): This.
26561         (__x86_64_shared_cache_size_half): Renamed to ...
26562         (__x86_shared_cache_size_half): This.
26563         (__x86_64_raw_shared_cache_size_half): Renamed to ...
26564         (__x86_raw_shared_cache_size_half): This.
26565         * sysdeps/x86_64/memcpy.S: Updated.
26566         * sysdeps/x86_64/memset.S: Likewise.
26567         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26568         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26569         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26570
26571 2013-01-04  David S. Miller  <davem@davemloft.net>
26572
26573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26574
26575 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
26576
26577         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26578         1 to avoid redefinition warning.
26579         (__USE_GNU): Don't define.
26580         (init_signaling_nan): Protoize.
26581
26582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26583
26584 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26585
26586         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26587         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26588         (__cpymn): Likewise.
26589         (norm): Remove commented code.
26590         (denorm): Likewise.
26591         (__mp_dbl): Likewise.
26592         (__inv): Likewise.
26593         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26594         (__cpymn): Likewise.
26595         (norm): Remove commented code.
26596         (denorm): Likewise.
26597         (__mp_dbl): Likewise.
26598         (__inv): Likewise.
26599
26600         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26601         mp_no value for 1.0 and 2.0.
26602         (norm): Use RADIXI instead of radixi.d.
26603         (denorm): Likewise.
26604         (__mul): Use 0.0 instead of zero.d.
26605         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26606         mp_no value for 1.0 and 2.0.
26607         (norm): Use RADIXI instead of radixi.d.
26608         (denorm): Likewise.
26609         (__mul): Use 0.0 instead of zero.d.
26610
26611 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
26612
26613         [BZ #14994]
26614         * math/s_casinh.c (__casinh): Reduce finite argument to first
26615         quadrant then set signs of results at the end.
26616         * math/s_casinhf.c (__casinhf): Likewise.
26617         * math/s_casinhl.c (__casinhl): Likewise.
26618         * math/libm-test.inc (casin_test): Add more tests.
26619         (casinh_test): Likewise.
26620         * sysdeps/i386/fpu/libm-test-ulps: Update.
26621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26622
26623 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26624
26625         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26626
26627         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26628
26629         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26630         declarations.
26631         (denorm): Likewise.
26632         (__mp_dbl): Likewise.
26633         (__inv): Likewise.
26634
26635         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26636         and adjust the header comment.
26637
26638         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26639         variable name from declaration.
26640
26641 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
26642
26643         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26644         Initialize COMMON_CPUID_INDEX_7 element.
26645         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26646         (CPUID_RTM): Likewise.
26647         (HAS_RTM): Likewise.
26648         (COMMON_CPUID_INDEX_7): New enum.
26649
26650 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
26651
26652         [BZ #14981]
26653         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26654         size is zero, record memory as freed.
26655
26656 2013-01-03  Andreas Jaeger  <aj@suse.de>
26657
26658         * po/ia.po: Add new Interlingua translation.
26659
26660 2012-01-03  Allan McRae  <allan@archlinux.org>
26661
26662         * locale/programs/localedef.c: Fix description of '--posix' flag.
26663
26664 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
26665
26666         * NEWS: Update dates in second copyright notice.
26667         * README: Update copyright dates in example.
26668         * manual/libc.texinfo: Update copyright dates.
26669         * scripts/test-installation.pl: Update copyright date in --version
26670         output.
26671
26672         * hurd/ctty-input.c: Fix copyright notice formatting.
26673         * hurd/ctty-output.c: Likewise.
26674         * hurd/dtable.c: Likewise.
26675         * hurd/hurd-raise.c: Likewise.
26676         * hurd/hurdprio.c: Likewise.
26677         * hurd/msgportdemux.c: Likewise.
26678         * misc/sys/file.h: Likewise.
26679         * misc/sys/ioctl.h: Likewise.
26680         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26681         * sysdeps/mach/hurd/chdir.c: Likewise.
26682         * sysdeps/mach/hurd/fchdir.c: Likewise.
26683         * sysdeps/mach/hurd/rename.c: Likewise.
26684         * sysdeps/mach/hurd/rmdir.c: Likewise.
26685         * sysdeps/mach/hurd/seekdir.c: Likewise.
26686         * sysdeps/mach/hurd/setsid.c: Likewise.
26687         * sysdeps/posix/wait3.c: Likewise.
26688
26689         * All files with FSF copyright notices: Update copyright dates
26690         using scripts/update-copyrights.
26691         * intl/plural.c: Regenerated.
26692         * locale/programs/charmap-kw.h: Likewise.
26693         * locale/programs/locfile-kw.h: Likewise.
26694
26695 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26696
26697         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26698         four values.
26699
26700         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26701         calculation loop and add branch prediction.
26702
26703         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26704         check access beyond bounds of m1np.
26705
26706         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26707         MPTWO.
26708         (__inv): Remove local variable MPTWO to use the global
26709         constant.
26710         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26711         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26712         variable MPTWO.
26713         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26714         MP3HALFS static const.
26715
26716 2013-01-01  David S. Miller  <davem@davemloft.net>
26717
26718         * po/ca.po: Update from translation team.
26719
26720 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
26721
26722         * scripts/update-copyrights: New file.
26723         * Makeconfig: Reformat copyright notice.
26724         * ctype/ctype.h: Likewise.
26725         * debug/swprintf_chk.c: Likewise.
26726         * elf/dl-cache.c: Likewise.
26727         * elf/dl-debug.c: Likewise.
26728         * elf/dl-object.c: Likewise.
26729         * grp/initgroups.c: Likewise.
26730         * hurd/Makefile: Likewise.
26731         * hurd/hurd/signal.h: Likewise.
26732         * hurd/hurdfault.c: Likewise.
26733         * hurd/hurdioctl.c: Likewise.
26734         * hurd/hurdlookup.c: Likewise.
26735         * hurd/intr-msg.c: Likewise.
26736         * iconv/gconv_open.c: Likewise.
26737         * libio/swprintf.c: Likewise.
26738         * locale/lc-ctype.c: Likewise.
26739         * locale/nl_langinfo.c: Likewise.
26740         * mach/Machrules: Likewise.
26741         * mach/Makefile: Likewise.
26742         * malloc/obstack.h: Likewise.
26743         * manual/Makefile: Likewise.
26744         * manual/tsort.awk: Likewise.
26745         * misc/bits/stab.def: Likewise.
26746         * nis/nis_print_group_entry.c: Likewise.
26747         * nis/nis_table.c: Likewise.
26748         * nis/nss_compat/compat-pwd.c: Likewise.
26749         * nis/nss_compat/compat-spwd.c: Likewise.
26750         * po/Makefile: Likewise.
26751         * posix/fnmatch.c: Likewise.
26752         * posix/regex.h: Likewise.
26753         * resolv/Makefile: Likewise.
26754         * resolv/nss_dns/dns-network.c: Likewise.
26755         * resolv/res_hconf.c: Likewise.
26756         * scripts/gen-sorted.awk: Likewise.
26757         * soft-fp/soft-fp.h: Likewise.
26758         * stdio-common/printf.h: Likewise.
26759         * stdlib/monetary.h: Likewise.
26760         * stdlib/random.c: Likewise.
26761         * stdlib/random_r.c: Likewise.
26762         * sysdeps/generic/Makefile: Likewise.
26763         * sysdeps/gnu/Makefile: Likewise.
26764         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26765         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26766         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26767         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26768         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26769         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26770         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26771         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26772         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26773         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26774         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26775         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26776         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26777         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26778         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26779         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26780         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26781         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26782         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26783         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26784         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26785         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26786         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26787         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26788         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26789         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26790         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26791         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26792         * sysdeps/mach/hurd/errnos.awk: Likewise.
26793         * sysdeps/mach/hurd/fork.c: Likewise.
26794         * sysdeps/mach/hurd/getcwd.c: Likewise.
26795         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26796         * sysdeps/mach/hurd/mmap.c: Likewise.
26797         * sysdeps/mach/hurd/utimes.c: Likewise.
26798         * sysdeps/mach/hurd/xmknod.c: Likewise.
26799         * sysdeps/posix/profil.c: Likewise.
26800         * sysdeps/posix/readdir_r.c: Likewise.
26801         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26802         * sysdeps/powerpc/bits/setjmp.h: Likewise.
26803         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26804         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26805         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26806         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26807         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26808         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26809         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26810         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26811         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26812         * sysdeps/pthread/lio_listio.c: Likewise.
26813         * sysdeps/sparc/dl-procinfo.h: Likewise.
26814         * sysdeps/unix/i386/sysdep.S: Likewise.
26815         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26816         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26817         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26818         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26820         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26821         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26822         * sysdeps/unix/sysv/linux/speed.c: Likewise.
26823         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26824         * sysdeps/wordsize-32/divdi3.c: Likewise.
26825         * time/sys/time.h: Likewise.
26826         * wcsmbs/Makefile: Likewise.
26827
26828 2013-01-01  David S. Miller  <davem@davemloft.net>
26829
26830         * po/fr.po: Update from translation team.
26831
26832         * catgets/gencat.c: Update copyright year.
26833         * csu/version.c: Likewise.
26834         * debug/catchsegv.sh: Likewise.
26835         * debug/pcprofiledump.c: Likewise.
26836         * debug/xtrace.sh: Likewise.
26837         * elf/ldconfig.c: Likewise.
26838         * elf/ldd.bash.in: Likewise.
26839         * elf/pldd.c: Likewise.
26840         * elf/sotruss.ksh: Likewise.
26841         * elf/sprof.c: Likewise.
26842         * iconv/iconv_prog.c: Likewise.
26843         * iconv/iconvconfig.c: Likewise.
26844         * locale/programs/locale.c: Likewise.
26845         * locale/programs/localedef.c: Likewise.
26846         * login/programs/pt_chown.c: Likewise.
26847         * malloc/memusage.sh: Likewise.
26848         * malloc/memusagestat.c: Likewise.
26849         * malloc/mtrace.pl: Likewise.
26850         * nscd/nscd.c: Likewise.
26851         * nss/getent.c: Likewise.
26852         * nss/makedb.c: Likewise.
26853         * posix/getconf.c: Likewise.
26854
26855 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26856
26857         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26858         numbers.
26859
26860 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
26861
26862         * math/bits/mathcalls.h (modf): Use __nonnull.
26863
26864 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26865
26866         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26867         (split): Use macro CN instead of the bare value.
26868         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26869         could be used.
26870         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26871         instead of the bare value.
26872         (power1): Likewise.
26873
26874 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26875
26876         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26877         __ATAN_TWOM.
26878         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26879
26880         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26881         their values.
26882         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26883         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26884         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26885         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26886
26887 2012-12-28  Andreas Jaeger  <aj@suse.de>
26888
26889         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
26890         values are from Linux 3.7.
26891
26892         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26893         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
26894
26895 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26896
26897         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26898         TRUE case.
26899
26900         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26901         (norm): Likewise.
26902         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26903         variables with preprocessor constants.
26904         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26905         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26906         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26907
26908 2012-12-27  Bruno Haible  <bruno@clisp.org>
26909
26910         [BZ #14317]
26911         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26912         only if needed.
26913
26914 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26915
26916         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26917         and use variable directly.
26918         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26919
26920         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26921         MPONE.
26922         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26923         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26924         variable MPONE.
26925         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26926         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26927         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26928         include directive.  Remove local variable MPONE.
26929         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26930         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26931         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26932
26933 2012-12-25  David S. Miller  <davem@davemloft.net>
26934
26935         * version.h (RELEASE): Set to "development".
26936         (VERSION): Set to "2.17.90".
26937         * NEWS: Add 2.18 section.
26938
26939 2012-12-21  David S. Miller  <davem@davemloft.net>
26940
26941         * po/hr.po: Update from translation team.
26942
26943 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26944
26945         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26946
26947 2012-12-19  Steve Ellcey  <sellcey@mips.com>
26948
26949         * NEWS:  Mention new memcpy for MIPS.
26950
26951 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26952
26953         * manual/contrib.texi (Contributors): Spelling correction.
26954
26955 2012-12-15  David S. Miller  <davem@davemloft.net>
26956
26957         * po/ru.po: Update from translation team.
26958
26959 2012-12-13  David S. Miller  <davem@davemloft.net>
26960
26961         * NEWS: Mention IFUNC testsuite enhancements.
26962
26963         * po/pl.po: Update from translation team.
26964         * po/bg.po: Likewise.
26965
26966         * manual/contrib.texi (Contributors): Update entries for Hongjiu
26967         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
26968
26969 2012-12-11  David S. Miller  <davem@davemloft.net>
26970
26971         * po/sv.po: Update from translation team.
26972
26973         * po/vi.po: Update from translation team.
26974
26975         * po/cs.po: Update from translation team.
26976
26977         * po/de.po: Update from translation team.
26978         * po/eo.po: Likewise.
26979         * po/nl.po: Likewise.
26980
26981 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26982
26983         [BZ #14246]
26984         * manual/argp.texi (Argp Helper Functions): Move node to follow
26985         Argp Parsing State.
26986
26987         [BZ #14872]
26988         * manual/conf.texi (Limits on File System Capacity): Mention if
26989         terminating null is included in the max size.
26990
26991 2012-12-10  Andreas Jaeger  <aj@suse.de>
26992
26993         * po/cs.po: Update from translation team.
26994
26995 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26996
26997         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26998         void pointer and cast to uintptr_t.
26999         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27000         path.
27001         * sysdeps/s390/s390-64/memcpy.S: Likewise.
27002         * sysdeps/s390/s390-64/memset.S: Likewise.
27003
27004 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
27005
27006         [BZ #14833]
27007         * menual/message.texi (Message Translation): Fix typos.
27008         (Helper programs for gettext): Likewise.
27009
27010 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
27011
27012         [BZ #14898]
27013         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27014         Change to -1.
27015
27016 2012-12-07  David S. Miller  <davem@davemloft.net>
27017
27018         * po/libc.pot: Update.
27019
27020 2012-12-07  Richard Henderson  <rth@redhat.com>
27021
27022         [BZ #10114]
27023         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27024         normal/normal case to before the switch.
27025         (_FP_DIV): Likewise.
27026
27027 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
27028             Mike Frysinger  <vapier@gentoo.org>
27029
27030         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27031         check for __NR_fadvise64_64.
27032
27033 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
27034
27035         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27036         0, not just to plain "0" as a statement.
27037         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27038         with cw.
27039
27040 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
27041
27042         * NEWS: Use sourceware.org in Bugzilla URL.
27043
27044 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27045
27046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27047         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27048
27049         * stdio-common/tst-put-error.c (do_test): Add newline to the
27050         padded test to ensure flush.
27051
27052 2012-12-05  Jeff Law  <law@redhat.com>
27053
27054         * sunrpc/etc.rpc (fedfs_admin): Add entry.
27055
27056 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
27057
27058         * README: Don't refer to ports add-on as distributed separately.
27059         Mention AArch64 in list of systems supported in the ports add-on.
27060
27061         * LICENSES: Add more non-FSF copyright and license notices.
27062
27063         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27064         ((unused)).
27065
27066         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27067
27068         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27069         10000 as width of padded output.
27070
27071 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27072
27073         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27074
27075         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27076         variable LX with __attribute__ ((unused)).
27077         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27078         Likewise.
27079         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27080         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27081         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27082         with __attribute__ ((unused)).
27083
27084 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
27085
27086         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27087
27088 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27089
27090         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27091         (CFLAGS-nldbl-acos.c): New variable.
27092         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27093         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27094         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27095         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27096         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27097         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27098         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27099         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27100         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27101         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27102         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27103         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27104         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27105         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27106         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27107         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27108         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27109         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27110         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27111         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27112         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27113         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27114         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27115         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27116         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27117         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27118         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27119         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27120         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27121         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27122         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27123         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27124         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27125         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27126         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27127         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27128         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27129         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27130         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27131         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27132         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27133         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27134         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27135         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27136         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27137         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27138         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27139         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27140         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27141         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27142         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27143         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27144         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27145         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27146         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27147         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27148         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27149         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27150         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27151         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27152         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27153         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27154         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27155         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27156         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27157         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27158         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27159         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27160         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27161         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27162         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27163         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27164         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27165         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27166         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27167         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27168         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27169         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27170         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27171         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27172         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27173         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27174         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27175         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27176         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27177         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27178         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27179         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27180         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27181         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27182         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27183         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27184         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27185         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27186         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27187         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27188         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27189
27190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27191         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27192
27193         [BZ #14914]
27194         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27195         whole low double instead of just low 47 bits when splitting values
27196         into two parts.
27197
27198 2012-12-03  Allan McRae  <allan@archlinux.org>
27199
27200         * manual/stdio.texi (Predefined Printf Handlers): Remove
27201         @hsep and @vsep usage.
27202
27203 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
27204
27205         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27206         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27207
27208 2012-12-03  Jeff Law  <law@redhat.com>
27209
27210         * time/sys/time.h (settimeofday): Do not mark TV argument
27211         as __nonnull.
27212
27213 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
27214
27215         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27216         when currently writing and seek to current position when not.
27217         * libio/Makefile (tests): Remove bug-fclose1.
27218         * libio/bug-fclose1.c: Delete.
27219
27220 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
27221
27222         * manual/arith.texi (feenableexcept): Fix typo.
27223         (fedisableexcept): Likewise.
27224
27225 2012-11-30  Roland McGrath  <roland@hack.frob.com>
27226
27227         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27228         second, differently-typed declaration, rather than a cast.
27229
27230 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27231
27232         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27233         * include/rpc/svc.h: ... here.
27234
27235 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
27236
27237         [BZ #13013]
27238         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27239         depending n and resplen2 to catch cases where answer
27240         equals answerp2.
27241
27242 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
27243
27244         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27245         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27246
27247 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
27248
27249         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27250
27251 2012-11-29  Roland McGrath  <roland@hack.frob.com>
27252
27253         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27254
27255 2012-11-28  Jeff Law  <law@redhat.com>
27256
27257         [BZ #13761]
27258         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27259         dataset_temporary.  Track alloca usage into alloca_used.
27260         If dataset is large allocate and release it via malloc/free.
27261
27262 2012-06-04  Florian Weimer  <fweimer@redhat.com>
27263
27264         [BZ #14197]
27265         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27266
27267 2012-11-28  David S. Miller  <davem@davemloft.net>
27268
27269         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27270
27271 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27272
27273         [BZ #14803]
27274         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27275         of pi/2 rounded to nearest to 64 bits.
27276         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27277         nearest to 64 bits.
27278         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27279         bits.
27280
27281 2012-11-28  Jeff Law <law@redhat.com>
27282             Martin Osvald <mosvald@redhat.com>
27283
27284         [BZ #14889]
27285         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27286         * sunrpc/svc.c: Include time.h.
27287         (__svc_accept_failed): New function.
27288         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27289         any reason other than EINTR, call __svc_accept_failed.
27290         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27291         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27292
27293 2012-11-28  Andreas Schwab  <schwab@suse.de>
27294
27295         * scripts/abilist.awk: Also handle indirect functions in .opd
27296         section.
27297
27298 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27299
27300         [BZ #13881]
27301         * sysdeps/x86/fpu/powl_helper.c: New file.
27302         * sysdeps/x86/fpu/Makefile: Likewise.
27303         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27304         (p3): New object.
27305         (__ieee754_powl): Use __powl_helper for finite arguments except
27306         integer exponents below 8.
27307         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27308         (p3): New object.
27309         (__ieee754_powl): Use __powl_helper for finite arguments except
27310         integer exponents below 8.
27311         * math/libm-test.inc (pow_test): Add more tests and enable some
27312         previously disabled tests.
27313         * sysdeps/i386/fpu/libm-test-ulps: Update.
27314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27315
27316 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27317             Carlos O'Donell  <carlos_odonell@mentor.com>
27318
27319         * nss/makedb.c (is_prime): Assert that input is odd and greater
27320         than 4.  Note that fact in a comment too.
27321         (next_prime): Add 4 to input.
27322
27323 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27324
27325         [BZ #11741]
27326         * libio/Makefile (tests): Add test case tst-fwrite-error.
27327         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27328         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27329         * libio/tst-fwrite-error.c: New test case.
27330
27331 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
27332
27333         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27334         before casting to void *.
27335         * include/libc-internal.h (__pointer_type): New macro.
27336         (__integer_if_pointer_type_sub): Likewise.
27337         (__integer_if_pointer_type): Likewise.
27338         (cast_to_integer): Likewise.
27339         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27340         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27341         before casting to atomic64_t.
27342         (atomic_exchange_acq): Likewise.
27343         (__arch_exchange_and_add_body): Likewise.
27344         (__arch_add_body): Likewise.
27345         (atomic_add_negative): Likewise.
27346         (atomic_add_zero): Likewise.
27347
27348 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
27349
27350         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27351         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27352         (add_fdes): Likewise.
27353         (linear_search_fdes): Likewise.
27354         (binary_search_unencoded_fdes): Likewise.
27355
27356 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
27357
27358         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27359
27360 2012-11-24  Adam Conrad  <adconrad@0c3.net>
27361
27362         * configure.in: Autodetect C++ header directories.
27363         * configure: Regenerated.
27364
27365 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
27366
27367         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27368
27369 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
27370
27371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27372
27373 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
27374
27375         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27376         LDBL_MANT_DIG == 106]: Disable some tests.
27377         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27378         Likewise.
27379         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27380         Likewise.
27381
27382         [BZ #14871]
27383         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27384         input for small inputs.  Return +/- pi/2 for large inputs.
27385         * math/libm-test.inc (atan_test): Add more tests.
27386
27387         * sysdeps/generic/unwind-dw2-fde-glibc.c
27388         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27389         __attribute__ ((unused)).
27390
27391         [BZ #14645]
27392         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27393         x * y if x and y are nonzero and z is zero.
27394
27395         [BZ #14811]
27396         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27397         nonzero exponents with absolute value below 0x1p-117 to +/-
27398         0x1p-117.
27399
27400         [BZ #14869]
27401         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27402         up arguments below 2**-450, not just those below 2**-500.
27403         * math/libm-test.inc (hypot_test): Add another test.
27404
27405         [BZ #14868]
27406         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27407         Return a+b for ratio over 2**120, not 2**60.
27408         * math/libm-test.inc (hypot_test): Add another test.
27409
27410         * math/libm-test.inc (clog_test): Use
27411         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27412         (clog10_test): Likewise.
27413
27414         [BZ #6778]
27415         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27416
27417 2012-11-22  Andreas Schwab  <schwab@suse.de>
27418
27419         * sysdeps/i386/fpu/libm-test-ulps: Update.
27420
27421 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
27422
27423         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27424         printf output with newline.
27425
27426 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
27427
27428         [BZ #14865]
27429         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27430         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27431         -z nodlopen, -z initfirst and -z execstack support.
27432         * configure: Regenerated.
27433
27434         * elf/elf.h (DF_1_NODIRECT): New macro.
27435         (DF_1_IGNMULDEF): Likewise.
27436         (DF_1_NOKSYMS): Likewise.
27437         (DF_1_NOHDR): Likewise.
27438         (DF_1_EDITED): Likewise.
27439         (DF_1_NORELOC): Likewise.
27440         (DF_1_SYMINTPOSE): Likewise.
27441         (DF_1_GLOBAUDIT): Likewise.
27442         (DF_1_SINGLETON): Likewise.
27443         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27444         DT_1_SUPPORTED_MASK bits.
27445         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27446
27447 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
27448
27449         * sysdeps/unix/make-syscalls.sh: Document prefixes.
27450
27451 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
27452
27453         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27454         macro.
27455
27456         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27457         (sendmmsg): Move declarations...
27458         * socket/sys/socket.h: ... here.
27459         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27460         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27461         include it from...
27462         * socket/recvmmsg.c: ... this new file.
27463         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27464         (sendmmsg): Rename to __sendmmsg, create weak alias and make
27465         definition of __sendmmsg hidden.
27466         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27467         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27468         Move ENOSYS stub into and include it from...
27469         * socket/sendmmsg.c: ... this new file.
27470         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27471         (sysdep_routines): Move recvmmsg and sendmmsg...
27472         * socket/Makefile (routines): ... here.
27473         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27474         (GLIBC_PRIVATE): Add __sendmmsg.
27475         * include/sys/socket.h (__sendmmsg): Add declarations.
27476         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27477         sendmmsg.
27478
27479 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27480
27481         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27482         variable I1 with __attribute__ ((unused)).
27483         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27484
27485 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27486
27487         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27488         DUMMY variables with __attribute__ ((unused)).
27489
27490         * bits/byteswap.h: Include <bits/types.h>.
27491         (__bswap_64): Use __uint64_t instead of unsigned long long int.
27492
27493 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27494
27495         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27496         string_t.  Do not manually set errno.
27497         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27498         length with __strnlen.  Make sure to both set errno and return it on
27499         failure.
27500
27501 2012-11-19  David S. Miller  <davem@davemloft.net>
27502
27503         With help from Joseph Myers.
27504         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27505         very large arguments properly.
27506         * math/libm-test.inc (atan_test): New tests.
27507         (atan2_test): New tests.
27508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27509         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27510
27511 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27512
27513         [BZ #14856]
27514         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27515         Define to 3.
27516
27517         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27518         [POSIX] (EADDRNOTAVAIL): Likewise.
27519         [POSIX] (EAFNOSUPPORT): Likewise.
27520         [POSIX] (EALREADY): Likewise.
27521         [POSIX] (ECONNABORTED): Likewise.
27522         [POSIX] (ECONNREFUSED): Likewise.
27523         [POSIX] (ECONNRESET): Likewise.
27524         [POSIX] (EDESTADDRREQ): Likewise.
27525         [POSIX] (EDQUOT): Likewise.
27526         [POSIX] (EHOSTUNREACH): Likewise.
27527         [POSIX] (EIDRM): Likewise.
27528         [POSIX] (EISCONN): Likewise.
27529         [POSIX] (ELOOP): Likewise.
27530         [POSIX] (EMULTIHOP): Likewise.
27531         [POSIX] (ENETDOWN): Likewise.
27532         [POSIX] (ENETUNREACH): Likewise.
27533         [POSIX] (ENOBUFS): Likewise.
27534         [POSIX] (ENODATA): Likewise.
27535         [POSIX] (ENOLINK): Likewise.
27536         [POSIX] (ENOMSG): Likewise.
27537         [POSIX] (ENOPROTOOPT): Likewise.
27538         [POSIX] (ENOSR): Likewise.
27539         [POSIX] (ENOSTR): Likewise.
27540         [POSIX] (ENOTCONN): Likewise.
27541         [POSIX] (ENOTSOCK): Likewise.
27542         [POSIX] (EOPNOTSUPP): Likewise.
27543         [POSIX] (EOVERFLOW): Likewise.
27544         [POSIX] (EPROTO): Likewise.
27545         [POSIX] (EPROTONOSUPPORT): Likewise.
27546         [POSIX] (EPROTOTYPE): Likewise.
27547         [POSIX] (ESTALE): Likewise.
27548         [POSIX] (ETIME): Likewise.
27549         [POSIX] (ETXTBSY): Likewise.
27550         [POSIX] (EWOULDBLOCK): Likewise.
27551         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27552         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27553         [POSIX] (SEEK_CUR): Likewise.
27554         [POSIX] (SEEK_END): Likewise.
27555         [POSIX || UNIX98] (mode_t): Do not require.
27556         [POSIX] (off_t): Likewise.
27557         [POSIX] (pid_t): Likewise.
27558         [POSIX] (sys/stat.h): Do not allow header.
27559         [POSIX] (unistd.h): Likewise.
27560         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27561         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27562         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27563         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27564         require.
27565         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27566         sigevent): Specify elements.
27567         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27568         entry.
27569         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27570         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27571
27572         * conform/data/cpio.h-data [POSIX]: Disable whole file.
27573         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27574         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27575         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27576         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27577         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27578         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27579         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27580         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27581         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27582         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27583         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27584         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27585         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27586         Likewise.
27587         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27588         Likewise.
27589         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27590         Likewise.
27591         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27592         Likewise.
27593         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27594         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27595         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27596         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27597         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27598         Specify lower bound on value.
27599         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27600         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27601         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27602         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27603         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27604         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27605         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27606         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27607         value.
27608         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27609         as optional.
27610         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27611         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27612         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27613         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27614         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27615         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27616         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27617         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27618         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27619         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27620         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27621         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27622         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27623         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27624         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27625         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27626         entry.
27627         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27628         optional.
27629         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27630         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27631         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27632         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27633         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27634         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27635         Likewise.
27636         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27637         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27638         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27639         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27640         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
27641         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27642         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27643         as optional.
27644         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27645         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27646         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27647         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27648         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27649         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27650         specify as optional.
27651         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27652         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27653         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27654         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27655         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27656         [XPG3] (NL_LANGMAX): Likewise.
27657         [POSIX || XPG3] (NL_MSGMAX): Likewise.
27658         [POSIX || XPG3] (NL_NMAX): Likewise.
27659         [POSIX || XPG3] (NL_SETMAX): Likewise.
27660         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27661         [XPG3] (NZERO): Likewise.
27662         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27663         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27664         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27665         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27666         (REG_ERANGE): Expect.
27667         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27668         optional-constant.
27669         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27670         Use (void) in prototype.
27671         [POSIX] (*_t): Allow.
27672         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27673         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27674         (WRDE_BADVAL): Expect.
27675
27676         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27677         expect.
27678         [XPG3 || XPG4] (O_RSYNC): Likewise.
27679         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27680         Likewise.
27681         [XPG3 || XPG4] (pthread_sigmask): Likewise.
27682         [XPG3 || XPG4] (sigqueue): Likewise.
27683         [XPG3 || XPG4] (sigtimedwait): Likewise.
27684         [XPG3 || XPG4] (sigwaitinfo): Likewise.
27685         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27686         [XPG3 || XPG4] (vsnprintf): Likewise.
27687         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27688         Likewise.
27689         [XPG3 || XPG4] (blksize_t): Likewise.
27690         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27691         Likewise.
27692         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27693         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27694         [XPG3 || XPG4] (struct itimerspec): Likewise.
27695         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27696         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27697         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27698         [XPG3 || XPG4] (clockid_t): Likewise.
27699         [XPG3 || XPG4] (timer_t): Likewise.
27700         [XPG3 || XPG4] (clock_getres): Likewise.
27701         [XPG3 || XPG4] (clock_gettime): Likewise.
27702         [XPG3 || XPG4] (clock_settime): Likewise.
27703         [XPG3 || XPG4] (nanosleep): Likewise.
27704         [XPG3 || XPG4] (timer_create): Likewise.
27705         [XPG3 || XPG4] (timer_delete): Likewise.
27706         [XPG3 || XPG4] (timer_gettime): Likewise.
27707         [XPG3 || XPG4] (timer_getoverrun): Likewise.
27708         [XPG3 || XPG4] (timer_settime): Likewise.
27709         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27710         [XPG3 || XPG4] (getlogin_r): Likewise.
27711         [XPG3 || XPG4] (pread): Likewise.
27712         [XPG3 || XPG4] (pthread_atfork): Likewise.
27713         [XPG3 || XPG4] (pwrite): Likewise.
27714
27715         [BZ #14835]
27716         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27717         <bits/siginfo.h>.
27718
27719 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27720
27721         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27722         finalizing MALLSTREAM.
27723
27724         * sysdeps/mach/hurd/syncfs.c: New file.
27725
27726 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27727
27728         [BZ #14719]
27729         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27730         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27731         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27732         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27733         (_nss_dns_gethostbyname4_r): Likewise.
27734         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27735         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27736
27737 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
27738
27739         [BZ #13763]
27740         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27741
27742 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
27743
27744         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27745         * elf/cache.c (print_entry): Print ",AArch64" for
27746         FLAG_AARCH64_LIB64
27747
27748         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27749         * elf/cache.c (print_entry): Print ",hard-float" for
27750         FLAG_ARM_LIBHF.
27751
27752 2012-11-18  David S. Miller  <davem@davemloft.net>
27753
27754         With help from Joseph Myers.
27755         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27756         cutoff to 2**-13.
27757         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27758         cutoff to 2**-25.
27759         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27760         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27761         small.
27762         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27763         * math/libm-test.inc (y0_test): New tests.
27764         (y1_test): New tests.
27765         * sysdeps/i386/fpu/libm-test-ulps: Update.
27766         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27767         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27768
27769 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
27770
27771         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27772         64-bit targets.
27773         * configure: Regenerated.
27774
27775 2012-11-17  David S. Miller  <davem@davemloft.net>
27776
27777         [BZ #14811]
27778         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27779         nonzero exponents with absolute value below 0x1p-128 to +/-
27780         0x1p-128.
27781
27782 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
27783
27784         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27785
27786         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27787
27788         * posix/getconf-speclist.c: New file.
27789         * posix/posix-envs.def: Likewise.
27790         * posix/confstr.c (START_ENV_GROUP): New macro.
27791         (END_ENV_GROUP): Likewise.
27792         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27793         (KNOWN_PRESENT_ENV_STRING): Likewise.
27794         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27795         (UNKNOWN_ENVIRONMENT): Likewise.
27796         (confstr): Include posix-envs.def instead of handling
27797         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27798         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27799         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27800         (END_ENV_GROUP): Likewise.
27801         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27802         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27803         (UNKNOWN_ENVIRONMENT): Likewise.
27804         (__sysconf): Include posix-envs.def instead of handling associated
27805         cases directly here.
27806         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27807         preprocessing getconf-speclist.c rather than running getconf or
27808         generating empty file.
27809
27810 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
27811
27812         * scripts/check-local-headers.sh: Ignore 'mach' headers.
27813
27814 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
27815
27816         [BZ #14672]
27817         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27818
27819 2012-11-16  David S. Miller  <davem@davemloft.net>
27820
27821         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27822         smaller than LDBL_EPSILON/2.0L, just return xm1.
27823
27824 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
27825
27826         * elf/tst-array1.c (init): Set constructor priority to 1000.
27827         (fini): Set destructor priority to 1000.
27828         * elf/tst-array2dep.c: Likewise.
27829
27830 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27831
27832         [BZ #11741]
27833         * libio/fileops.c (_IO_new_file_write): Correctly return error.
27834         (_IO_new_file_xsputn): Also return EOF if none of the input
27835         data was written when overflow failed.
27836         * libio/iopadn.c (_IO_padn): Likewise.
27837         * libio/iowpadn.c (_IO_wpadn): Likewise.
27838         * stdio-common/tst-put-error.c: Add copyright notice.
27839         (do_test): Add case for printing padded string.
27840         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27841         _IO_padn returned error.
27842         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27843         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27844         return EOF.
27845
27846 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27847
27848         * libio/libioP.h: Add comment note that the references to C++
27849         bits are now obsolete.
27850
27851 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27852
27853         * math/libm-test.inc (check_complex): Use asprintf.
27854
27855 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
27856
27857         * debug/pcprofiledump.c (print_version): Update copyright year.
27858         * malloc/memusagestat.c (print_version): Likewise.
27859
27860 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
27861
27862         [BZ #14831]
27863         * elf/Makefile (tests): Add tst-audit8.
27864         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27865         ($(objpfx)tst-audit8.out): New target.
27866         (tst-audit8-ENV): New variable.
27867         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27868         audit if l_reloc_result is NULL.
27869         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27870         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27871         * elf/tst-audit8.c: New file.
27872
27873 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27874
27875         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27876         * misc/Makefile (CFLAGS-select.c): Define.
27877         * posix/Makefile (CFLAGS-pause.c): Define.
27878
27879 2012-11-13  David S. Miller  <davem@davemloft.net>
27880
27881         * crypt/Makefile: Move test targets after toplevel Rules
27882         inclusion.  Grab any necessary sysdep routines when linking.
27883         * crypt/md5.c (md5_process_block): Remove define, we will always
27884         name it __md5_process_block.
27885         (md5_finish_ctx): Update md5_process_block call.
27886         (md5_stream): Likewise.
27887         (md5_process_bytes): Likewise.
27888         (md5_process_block): Rename to __md5_process_block and move to ...
27889         * crypt/md5-block.c: ... here.
27890         * crypt/sha256.c (sha256_process_block): Move to ...
27891         * crypt/sha256-block.c: ... here.
27892         * crypt/sha512.c (sha512_process_block): Move to ...
27893         * crypt/sha512-block.c: ... here.
27894         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27895         path.
27896         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27897         * sysdeps/sparc/sparc64/multiarch/Makefile
27898         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27899         crypt subdir.
27900         (localedef-aux): Add md5 crypto assembler when in locale subdir.
27901         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27902         multiarch changes.
27903         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27904         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27905         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27906         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27907         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27908         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27909         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27910         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27911         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27912         file.
27913         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27914         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27915         file.
27916         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27917
27918 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
27919
27920         * timezone/tzselect.ksh: Update from tzcode git revision
27921         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27922         * timezone/zdump.c: Likewise.
27923         * timezone/zic.c: Likewise.
27924         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27925         in TZVERSION setting, not $(PKGVERSION).
27926         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
27927         REPORT_BUGS_TO settings.
27928
27929         [BZ #14838]
27930         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27931         macro.
27932
27933 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27934
27935         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27936         detection to immediately after _FP_ROUND().
27937         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27938         bits are 0.
27939
27940 2012-11-11  David S. Miller  <davem@davemloft.net>
27941
27942         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27943         inttypes.h
27944         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27945         __close rather than their public counterparts.
27946
27947 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
27948
27949         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27950         file.
27951         [UNIX98] (sem_timedwait): Do not expect.
27952         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27953         [XPG4 || UNIX98] (sockatmark): Do not expect.
27954         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27955         (clock_getcpuclockid): Do not expect.
27956         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27957         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27958         Do not expect.
27959         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27960         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27961         [UNIX98] (vwscanf): Likewise.
27962         [UNIX98] (vswscanf): Likewise.
27963
27964 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
27965
27966         * timezone/version.h: Remove file.
27967         * timezone/README: Do not refer to version.h.
27968         * timezone/Makefile ($(objpfx)zic.o): New dependency on
27969         $(objpfx)version.h.
27970         ($(objpfx)zdump.o): Likewise.
27971         ($(objpfx)version.h): New target.
27972
27973         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27974         2012i.
27975         * timezone/README: Don't mention modification to tzselect.ksh.
27976         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27977         work on unmodified tzselect.ksh.  Substitute version numbers in
27978         tzselect.ksh.
27979
27980         * Makefile (format-me): Remove.
27981         (INSTALL): Adjust indentation.  Use commands directly instead of
27982         using $(format-me).
27983
27984         * aclocal.m4 (ACX_PKGVERSION): New macro.
27985         (ACX_BUGURL): Likewise.
27986         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27987         (PKGVERSION): New AC_DEFINE_UNQUOTED.
27988         (REPORT_BUGS_TO): Likewise.
27989         * configure: Regenerated.
27990         * config.h.in (PKGVERSION): New macro.
27991         (REPORT_BUGS_TO): Likewise.
27992         * config.make.in (PKGVERSION): New variable.
27993         (PKGVERSION_TEXI): Likewise.
27994         (REPORT_BUGS_TO): Likewise.
27995         (REPORT_BUGS_TEXI): Likewise.
27996         * Makefile (format-me): Use -I$(common-objpfx)manual.
27997         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27998         ($(common-objpfx)manual/%): New target.
27999         (manual/%): Remove target.
28000         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28001         (print_version): Use PKGVERSION.
28002         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28003         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28004         and REPORT_BUGS_TO.
28005         ($(objpfx)xtrace): Likewise.
28006         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28007         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28008         (print_version): Use PKGVERSION.
28009         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28010         (do_version): Use PKGVERSION.
28011         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28012         REPORT_BUGS_TO.
28013         (common-ldd-rewrite): Likewise.
28014         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28015         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28016         (print_version): Use PKGVERSION.
28017         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28018         * elf/pldd.c (argp_program_bug_address): Remove variable.
28019         (more_help): New function.
28020         (argp): Use more_help.
28021         (print_version): Use PKGVERSION.
28022         * elf/sln.c (main): Use PKGVERSION.
28023         (usage): Use REPORT_BUGS_TO.
28024         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28025         (top level): Use PKGVERSION.
28026         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28027         (print_version): Use PKGVERSION.
28028         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28029         (print_version): Use PKGVERSION.
28030         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28031         (print_version): Use PKGVERSION.
28032         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28033         (print_version): Use PKGVERSION.
28034         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28035         (print_version): Use PKGVERSION.
28036         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28037         (print_version): Use PKGVERSION.
28038         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28039         and BUGURL.
28040         ($(objpfx)memusage): Likewise.
28041         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28042         (do_version): Use PKGVERSION.
28043         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28044         (print_version): Use PKGVERSION.
28045         * malloc/mtrace.pl ($PACKAGE): Remove variable.
28046         ($PKGVERSION): New variable.
28047         ($REPORT_BUGS_TO): Likewise.
28048         (usage): Use $REPORT_BUGS_TO.
28049         (top level): Use $PKGVERSION.
28050         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28051         ($(objpfx)pkgvers.texi): New rule.
28052         ($(objpfx)stamp-pkgvers): Likewise.
28053         * manual/install.texi: Include pkgvers.texi.
28054         (--with-pkgversion): Document new configure option.
28055         (--with-bugurl): Likewise.
28056         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28057         than necessarily for this particular distribution.  Use
28058         REPORT_BUGS_TO for where to report bugs.
28059         * INSTALL: Regenerated.
28060         * manual/libc.texinfo: Include pkgvers.texi.
28061         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28062         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28063         (print_version): Use PKGVERSION.
28064         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28065         (print_version): Use PKGVERSION.
28066         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28067         (print_version): Use PKGVERSION.
28068         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28069         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28070         macro.
28071         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28072         (print_version): Use PKGVERSION.
28073         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28074         (print_version): Use PKGVERSION.
28075         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28076         and PKGVERSION.
28077
28078         * timezone/checktab.awk: Update from tzcode 2012i.
28079         * timezone/ialloc.c: Likewise.
28080         * timezone/private.h: Likewise.
28081         * timezone/scheck.c: Likewise.
28082         * timezone/tzfile.h: Likewise.
28083         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28084         (TZVERSION): Hardcode tzcode version number.
28085         * timezone/zdump.c: Update from tzcode 2012i.
28086         * timezone/zic.c: Likewise.
28087         * timezone/version.h: New file.
28088         * timezone/README: Describe version.h.  Update upstream location.
28089
28090         [BZ #14824]
28091         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28092         (mktemp): Enable declaration.
28093         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28094         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28095         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28096         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28097         Likewise.
28098         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28099         Likewise.
28100         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28101         Likewise.
28102         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28103         Likewise.
28104         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28105         Likewise.
28106         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28107         Likewise.
28108
28109         [BZ #14821]
28110         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28111         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
28112         for copies of such integer values.
28113         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28114         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28115
28116 2012-11-09  Andreas Jaeger  <aj@suse.de>
28117
28118         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28119         definitions and declarations that are provided by
28120         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28121
28122 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28123
28124         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28125         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28126         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28127         definition.
28128
28129 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28130
28131         * elf/elf.h: Update comment before AArch64 relocations.
28132
28133 2012-11-07  David S. Miller  <davem@davemloft.net>
28134
28135         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28136         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28137         (__start_context): Declare.
28138         (__makecontext_ret): Delete.
28139         (__makecontext): Hook up __start_context instead of
28140         __makecontext_ret.
28141         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28142         (sysdep_routines): Add __start_context when in stdlib.
28143
28144 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28145
28146         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28147         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28148         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
28149         hardcoded "nm".
28150         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
28151         (READELF): New variable.  Use it instead of hardcoded "readelf".
28152
28153 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
28154
28155         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28156         * sysdeps/x86/Makefile: Here.
28157         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28158         * sysdeps/x86/tst-xmmymm.sh: This.
28159
28160 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28161
28162         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28163         expectations.
28164         [UNIX98] (pthread_barrier_t): Do not expect.
28165         [UNIX98] (pthread_barrierattr_t): Likewise.
28166         [UNIX98] (pthread_spinlock_t): Likewise.
28167         [UNIX98] (pthread_barrier_destroy): Likewise.
28168         [UNIX98] (pthread_barrier_init): Likewise.
28169         [UNIX98] (pthread_barrier_wait): Likewise.
28170         [UNIX98] (pthread_barrierattr_destroy): Likewise.
28171         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28172         [UNIX98] (pthread_barrierattr_init): Likewise.
28173         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28174         [UNIX98] (pthread_getcpuclockid): Likewise.
28175         [UNIX98] (pthread_mutex_timedlock): Likewise.
28176         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28177         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28178         [UNIX98] (pthread_sigmask): Likewise.
28179         [UNIX98] (pthread_spin_destroy): Likewise.
28180         [UNIX98] (pthread_spin_init): Likewise.
28181         [UNIX98] (pthread_spin_lock): Likewise.
28182         [UNIX98] (pthread_spin_trylock): Likewise.
28183         [UNIX98] (pthread_spin_unlock): Likewise.
28184         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28185         Do not expect.
28186         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28187         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28188         [XPG3 || XPG4] (pthread_cond_t): Likewise.
28189         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28190         [XPG3 || XPG4] (pthread_key_t): Likewise.
28191         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28192         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28193         [XPG3 || XPG4] (pthread_once_t): Likewise.
28194         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28195         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28196         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28197         [XPG3 || XPG4] (pthread_t): Likewise.
28198
28199         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28200         not expect.
28201         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28202
28203         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28204         Change function return type to int.
28205
28206         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28207         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28208         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28209         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28210         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28211         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28212         [!POSIX] (posix_madvise): Likewise.
28213         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28214         && !UNIX98].
28215         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28216         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28217         (mode_t): Likewise.
28218         (posix_mem_offset): Likewise.
28219         (posix_typed_mem_get_info): Likewise.
28220         (posix_typed_mem_open): Likewise.
28221
28222         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28223         Change condition to [XOPEN2K8].
28224
28225         * conform/conformtest.pl: Preprocess allow-header data with -x c
28226         instead of from stdin.
28227         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28228         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28229         [C99-based standards] (cerfc): Likewise.
28230         [C99-based standards] (cexp2): Likewise.
28231         [C99-based standards] (cexpm1): Likewise.
28232         [C99-based standards] (clog10): Likewise.
28233         [C99-based standards] (clog1p): Likewise.
28234         [C99-based standards] (clog2): Likewise.
28235         [C99-based standards] (clgamma): Likewise.
28236         [C99-based standards] (ctgamma): Likewise.
28237         [C99-based standards] (cerff): Likewise.
28238         [C99-based standards] (cerfcf): Likewise.
28239         [C99-based standards] (cexp2f): Likewise.
28240         [C99-based standards] (cexpm1f): Likewise.
28241         [C99-based standards] (clog10f): Likewise.
28242         [C99-based standards] (clog1pf): Likewise.
28243         [C99-based standards] (clog2f): Likewise.
28244         [C99-based standards] (clgammaf): Likewise.
28245         [C99-based standards] (ctgammaf): Likewise.
28246         [C99-based standards] (cerfl): Likewise.
28247         [C99-based standards] (cerfcl): Likewise.
28248         [C99-based standards] (cexp2l): Likewise.
28249         [C99-based standards] (cexpm1l): Likewise.
28250         [C99-based standards] (clog10l): Likewise.
28251         [C99-based standards] (clog1pl): Likewise.
28252         [C99-based standards] (clog2l): Likewise.
28253         [C99-based standards] (clgammal): Likewise.
28254         [C99-based standards] (ctgammal): Likewise.
28255         * conform/data/inttypes.h-data [C99-based standards]: Include
28256         stdint.h-data.  Remove all expectations for stdint.h contents.
28257         [C99-based standards] (PRI*): Do not allow.
28258         [C99-based standards] (SCN*): Likewise.
28259         [C99-based standards] (*_t): Likewise.
28260         [C99-based-standards] (PRId8): Expect macro.
28261         [C99-based-standards] (PRIi8): Likewise.
28262         [C99-based-standards] (PRIo8): Likewise.
28263         [C99-based-standards] (PRIu8): Likewise.
28264         [C99-based-standards] (PRIx8): Likewise.
28265         [C99-based-standards] (PRIX8): Likewise.
28266         [C99-based-standards] (SCNd8): Likewise.
28267         [C99-based-standards] (SCNi8): Likewise.
28268         [C99-based-standards] (SCNo8): Likewise.
28269         [C99-based-standards] (SCNu8): Likewise.
28270         [C99-based-standards] (SCNx8): Likewise.
28271         [C99-based-standards] (PRIdLEAST8): Likewise.
28272         [C99-based-standards] (PRIiLEAST8): Likewise.
28273         [C99-based-standards] (PRIoLEAST8): Likewise.
28274         [C99-based-standards] (PRIuLEAST8): Likewise.
28275         [C99-based-standards] (PRIxLEAST8): Likewise.
28276         [C99-based-standards] (PRIXLEAST8): Likewise.
28277         [C99-based-standards] (SCNdLEAST8): Likewise.
28278         [C99-based-standards] (SCNiLEAST8): Likewise.
28279         [C99-based-standards] (SCNoLEAST8): Likewise.
28280         [C99-based-standards] (SCNuLEAST8): Likewise.
28281         [C99-based-standards] (SCNxLEAST8): Likewise.
28282         [C99-based-standards] (PRIdFAST8): Likewise.
28283         [C99-based-standards] (PRIiFAST8): Likewise.
28284         [C99-based-standards] (PRIoFAST8): Likewise.
28285         [C99-based-standards] (PRIuFAST8): Likewise.
28286         [C99-based-standards] (PRIxFAST8): Likewise.
28287         [C99-based-standards] (PRIXFAST8): Likewise.
28288         [C99-based-standards] (SCNdFAST8): Likewise.
28289         [C99-based-standards] (SCNiFAST8): Likewise.
28290         [C99-based-standards] (SCNoFAST8): Likewise.
28291         [C99-based-standards] (SCNuFAST8): Likewise.
28292         [C99-based-standards] (SCNxFAST8): Likewise.
28293         [C99-based-standards] (PRId16): Likewise.
28294         [C99-based-standards] (PRIi16): Likewise.
28295         [C99-based-standards] (PRIo16): Likewise.
28296         [C99-based-standards] (PRIu16): Likewise.
28297         [C99-based-standards] (PRIx16): Likewise.
28298         [C99-based-standards] (PRIX16): Likewise.
28299         [C99-based-standards] (SCNd16): Likewise.
28300         [C99-based-standards] (SCNi16): Likewise.
28301         [C99-based-standards] (SCNo16): Likewise.
28302         [C99-based-standards] (SCNu16): Likewise.
28303         [C99-based-standards] (SCNx16): Likewise.
28304         [C99-based-standards] (PRIdLEAST16): Likewise.
28305         [C99-based-standards] (PRIiLEAST16): Likewise.
28306         [C99-based-standards] (PRIoLEAST16): Likewise.
28307         [C99-based-standards] (PRIuLEAST16): Likewise.
28308         [C99-based-standards] (PRIxLEAST16): Likewise.
28309         [C99-based-standards] (PRIXLEAST16): Likewise.
28310         [C99-based-standards] (SCNdLEAST16): Likewise.
28311         [C99-based-standards] (SCNiLEAST16): Likewise.
28312         [C99-based-standards] (SCNoLEAST16): Likewise.
28313         [C99-based-standards] (SCNuLEAST16): Likewise.
28314         [C99-based-standards] (SCNxLEAST16): Likewise.
28315         [C99-based-standards] (PRIdFAST16): Likewise.
28316         [C99-based-standards] (PRIiFAST16): Likewise.
28317         [C99-based-standards] (PRIoFAST16): Likewise.
28318         [C99-based-standards] (PRIuFAST16): Likewise.
28319         [C99-based-standards] (PRIxFAST16): Likewise.
28320         [C99-based-standards] (PRIXFAST16): Likewise.
28321         [C99-based-standards] (SCNdFAST16): Likewise.
28322         [C99-based-standards] (SCNiFAST16): Likewise.
28323         [C99-based-standards] (SCNoFAST16): Likewise.
28324         [C99-based-standards] (SCNuFAST16): Likewise.
28325         [C99-based-standards] (SCNxFAST16): Likewise.
28326         [C99-based-standards] (PRId32): Likewise.
28327         [C99-based-standards] (PRIi32): Likewise.
28328         [C99-based-standards] (PRIo32): Likewise.
28329         [C99-based-standards] (PRIu32): Likewise.
28330         [C99-based-standards] (PRIx32): Likewise.
28331         [C99-based-standards] (PRIX32): Likewise.
28332         [C99-based-standards] (SCNd32): Likewise.
28333         [C99-based-standards] (SCNi32): Likewise.
28334         [C99-based-standards] (SCNo32): Likewise.
28335         [C99-based-standards] (SCNu32): Likewise.
28336         [C99-based-standards] (SCNx32): Likewise.
28337         [C99-based-standards] (PRIdLEAST32): Likewise.
28338         [C99-based-standards] (PRIiLEAST32): Likewise.
28339         [C99-based-standards] (PRIoLEAST32): Likewise.
28340         [C99-based-standards] (PRIuLEAST32): Likewise.
28341         [C99-based-standards] (PRIxLEAST32): Likewise.
28342         [C99-based-standards] (PRIXLEAST32): Likewise.
28343         [C99-based-standards] (SCNdLEAST32): Likewise.
28344         [C99-based-standards] (SCNiLEAST32): Likewise.
28345         [C99-based-standards] (SCNoLEAST32): Likewise.
28346         [C99-based-standards] (SCNuLEAST32): Likewise.
28347         [C99-based-standards] (SCNxLEAST32): Likewise.
28348         [C99-based-standards] (PRIdFAST32): Likewise.
28349         [C99-based-standards] (PRIiFAST32): Likewise.
28350         [C99-based-standards] (PRIoFAST32): Likewise.
28351         [C99-based-standards] (PRIuFAST32): Likewise.
28352         [C99-based-standards] (PRIxFAST32): Likewise.
28353         [C99-based-standards] (PRIXFAST32): Likewise.
28354         [C99-based-standards] (SCNdFAST32): Likewise.
28355         [C99-based-standards] (SCNiFAST32): Likewise.
28356         [C99-based-standards] (SCNoFAST32): Likewise.
28357         [C99-based-standards] (SCNuFAST32): Likewise.
28358         [C99-based-standards] (SCNxFAST32): Likewise.
28359         [C99-based-standards] (PRId64): Likewise.
28360         [C99-based-standards] (PRIi64): Likewise.
28361         [C99-based-standards] (PRIo64): Likewise.
28362         [C99-based-standards] (PRIu64): Likewise.
28363         [C99-based-standards] (PRIx64): Likewise.
28364         [C99-based-standards] (PRIX64): Likewise.
28365         [C99-based-standards] (SCNd64): Likewise.
28366         [C99-based-standards] (SCNi64): Likewise.
28367         [C99-based-standards] (SCNo64): Likewise.
28368         [C99-based-standards] (SCNu64): Likewise.
28369         [C99-based-standards] (SCNx64): Likewise.
28370         [C99-based-standards] (PRIdLEAST64): Likewise.
28371         [C99-based-standards] (PRIiLEAST64): Likewise.
28372         [C99-based-standards] (PRIoLEAST64): Likewise.
28373         [C99-based-standards] (PRIuLEAST64): Likewise.
28374         [C99-based-standards] (PRIxLEAST64): Likewise.
28375         [C99-based-standards] (PRIXLEAST64): Likewise.
28376         [C99-based-standards] (SCNdLEAST64): Likewise.
28377         [C99-based-standards] (SCNiLEAST64): Likewise.
28378         [C99-based-standards] (SCNoLEAST64): Likewise.
28379         [C99-based-standards] (SCNuLEAST64): Likewise.
28380         [C99-based-standards] (SCNxLEAST64): Likewise.
28381         [C99-based-standards] (PRIdFAST64): Likewise.
28382         [C99-based-standards] (PRIiFAST64): Likewise.
28383         [C99-based-standards] (PRIoFAST64): Likewise.
28384         [C99-based-standards] (PRIuFAST64): Likewise.
28385         [C99-based-standards] (PRIxFAST64): Likewise.
28386         [C99-based-standards] (PRIXFAST64): Likewise.
28387         [C99-based-standards] (SCNdFAST64): Likewise.
28388         [C99-based-standards] (SCNiFAST64): Likewise.
28389         [C99-based-standards] (SCNoFAST64): Likewise.
28390         [C99-based-standards] (SCNuFAST64): Likewise.
28391         [C99-based-standards] (SCNxFAST64): Likewise.
28392         [C99-based-standards] (PRIdMAX): Likewise.
28393         [C99-based-standards] (PRIiMAX): Likewise.
28394         [C99-based-standards] (PRIoMAX): Likewise.
28395         [C99-based-standards] (PRIuMAX): Likewise.
28396         [C99-based-standards] (PRIxMAX): Likewise.
28397         [C99-based-standards] (PRIXMAX): Likewise.
28398         [C99-based-standards] (SCNdMAX): Likewise.
28399         [C99-based-standards] (SCNiMAX): Likewise.
28400         [C99-based-standards] (SCNoMAX): Likewise.
28401         [C99-based-standards] (SCNuMAX): Likewise.
28402         [C99-based-standards] (SCNxMAX): Likewise.
28403         [C99-based-standards] (PRIdPTR): Likewise.
28404         [C99-based-standards] (PRIiPTR): Likewise.
28405         [C99-based-standards] (PRIoPTR): Likewise.
28406         [C99-based-standards] (PRIuPTR): Likewise.
28407         [C99-based-standards] (PRIxPTR): Likewise.
28408         [C99-based-standards] (PRIXPTR): Likewise.
28409         [C99-based-standards] (SCNdPTR): Likewise.
28410         [C99-based-standards] (SCNiPTR): Likewise.
28411         [C99-based-standards] (SCNoPTR): Likewise.
28412         [C99-based-standards] (SCNuPTR): Likewise.
28413         [C99-based-standards] (SCNxPTR): Likewise.
28414         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28415         allow.
28416         * conform/data/stdint.h-data: Update comments to clarify
28417         requirements.
28418         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
28419         type.
28420         [C99-based standards] (INT8_MAX): Likewise.
28421         [C99-based standards] (INT16_MIN): Likewise.
28422         [C99-based standards] (INT16_MAX): Likewise.
28423         [C99-based standards] (INT32_MIN): Likewise.
28424         [C99-based standards] (INT32_MAX): Likewise.
28425         [C99-based standards] (INT64_MIN): Likewise.
28426         [C99-based standards] (INT64_MAX): Likewise.
28427         [C99-based standards] (UINT8_MAX): Likewise.
28428         [C99-based standards] (UINT16_MAX): Likewise.
28429         [C99-based standards] (UINT32_MAX): Likewise.
28430         [C99-based standards] (UINT64_MAX): Likewise.
28431         [C99-based standards] (INT_LEAST8_MIN): Likewise.
28432         [C99-based standards] (INT_LEAST8_MAX): Likewise.
28433         [C99-based standards] (INT_LEAST16_MIN): Likewise.
28434         [C99-based standards] (INT_LEAST16_MAX): Likewise.
28435         [C99-based standards] (INT_LEAST32_MIN): Likewise.
28436         [C99-based standards] (INT_LEAST32_MAX): Likewise.
28437         [C99-based standards] (INT_LEAST64_MIN): Likewise.
28438         [C99-based standards] (INT_LEAST64_MAX): Likewise.
28439         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28440         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28441         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28442         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28443         [C99-based standards] (INT_FAST8_MIN): Likewise.
28444         [C99-based standards] (INT_FAST8_MAX): Likewise.
28445         [C99-based standards] (INT_FAST16_MIN): Likewise.
28446         [C99-based standards] (INT_FAST16_MAX): Likewise.
28447         [C99-based standards] (INT_FAST32_MIN): Likewise.
28448         [C99-based standards] (INT_FAST32_MAX): Likewise.
28449         [C99-based standards] (INT_FAST64_MIN): Likewise.
28450         [C99-based standards] (INT_FAST64_MAX): Likewise.
28451         [C99-based standards] (UINT_FAST8_MAX): Likewise.
28452         [C99-based standards] (UINT_FAST16_MAX): Likewise.
28453         [C99-based standards] (UINT_FAST32_MAX): Likewise.
28454         [C99-based standards] (UINT_FAST64_MAX): Likewise.
28455         [C99-based standards] (INTPTR_MIN): Likewise.
28456         [C99-based standards] (INTPTR_MAX): Likewise.
28457         [C99-based standards] (UINTPTR_MAX): Likewise.
28458         [C99-based standards] (INTMAX_MIN): Likewise.
28459         [C99-based standards] (INTMAX_MAX): Likewise.
28460         [C99-based standards] (UINTMAX_MAX): Likewise.
28461         [C99-based standards] (PTRDIFF_MIN): Likewise.
28462         [C99-based standards] (PTRDIFF_MAX): Likewise.
28463         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28464         [C99-based standards] (SIZE_MAX): Likewise.
28465         [C99-based standards] (WCHAR_MAX): Likewise.
28466         [C99-based standards] (WINT_MAX): Likewise.
28467         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
28468         constraint on value.
28469         [C99-based standards] (WCHAR_MIN): Likewise.
28470         [C99-based standards] (WINT_MIN): Likewise.
28471         [C99-based standards] (*_t): Allow.
28472         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28473         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28474         Include math.h-data and complex.h-data.  Remove all expectations
28475         of math.h and complex.h contents.
28476         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28477         at end of line.
28478         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28479         (struct tm): Expect tag.
28480         [C99-based-standards] (wcstof): Expect function.
28481         [C99-based-standards] (wcstold): Likewise.
28482         [C99-based-standards] (wcstoll): Likewise.
28483         [C99-based-standards] (wcstoull): Likewise.
28484         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28485         macro-int-constant.  Specify type.
28486         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
28487         constraint on value.
28488         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28489         Specify type.
28490         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28491         Specify value.
28492         [ISO C standards]: Do not allow headers.
28493         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28494         wcs[abcdefghijklmnopqrstuvwxyz]*.
28495         [ISO C standards] (*_t): Do not allow.
28496         * conform/data/wctype.h-data [C99-based standards] (iswblank):
28497         Expect function.
28498         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28499         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28500         Specify type.
28501         [ISO C standards]: Do not allow headers.
28502         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28503         is[abcdefghijklmnopqrstuvwxyz]*.
28504         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28505         to[abcdefghijklmnopqrstuvwxyz]*.
28506         [ISO C standards] (*_t): Do not allow.
28507         * conform/data/stdalign.h-data: New file.
28508         * conform/data/stdbool.h-data: Likewise.
28509         * conform/data/stdnoreturn.h-data: Likewise.
28510
28511 2012-11-07  Roland McGrath  <roland@hack.frob.com>
28512
28513         [BZ #14815]
28514         * manual/filesys.texi (Directory Entries): Typo fix.
28515         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28516
28517 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28518
28519         * elf/elf.h (EM_AARCH64): New macro.
28520         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28521         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28522         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28523         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28524         (R_AARCH64_TLSDESC): Likewise.
28525         (NT_ARM_TLS): Likewise.
28526         (NT_ARM_HW_BREAK): Likewise.
28527         (NT_ARM_HW_WATCH): Likewise.
28528
28529 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28530
28531         [BZ #14811]
28532         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28533         (__ieee754_powl): Saturate nonzero exponents with absolute value
28534         below 0x1p-79 to +/- 0x1p-79.
28535         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28536         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28537         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28538         nonzero exponents with absolute value below 0x1p-32 to +/-
28539         0x1p-32.
28540         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28541         (__ieee754_powl): Saturate nonzero exponents with absolute value
28542         below 0x1p-79 to +/- 0x1p-79.
28543         * math/libm-test.inc (pow_test): Add more tests.
28544
28545 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28546
28547         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28548         _dl_s390_cap_flags with kernel. Increase string length.
28549         (_dl_s390_platforms): Add z196 and zEC12.
28550
28551 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28552
28553         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28554         Change XOPEN21K to XOPEN2K.
28555
28556 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
28557
28558         * string/memmove.c: Use memcpy when possible.
28559
28560 2012-11-06  Andreas Jaeger  <aj@suse.de>
28561
28562         * po/eo.po: Update from translation team.
28563
28564 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
28565
28566         [BZ #14793]
28567         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28568         exponent and small x and y exponents, scale x or y up.  Increase
28569         by 2 the exponent used in scaling up.
28570         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28571         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28572         * math/libm-test.inc (fma_test): Add more tests.
28573         (fma_test_towardzero): Likewise.
28574         (fma_test_downward): Likewise.
28575         (fma_test_upward): Likewise.
28576
28577 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
28578
28579         [BZ #14805]
28580         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28581         fenv_t *.
28582
28583         [BZ #14801]
28584         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28585         namespace for names of struct fields.
28586         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28587         fenv_t fields.
28588         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28589         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28590
28591 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28592
28593         [BZ #3665]
28594         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28595
28596 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28597
28598         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28599         PTR_DEMANGLE.
28600
28601         [BZ #5246]
28602         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28603         PTR_DEMANGLE.
28604
28605 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
28606
28607         [BZ #14797]
28608         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28609         definitely overflow as x * y not x * y + z.
28610         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28611         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28612         * math/libm-test.inc (fma_test): Add more tests.
28613         (fma_test_towardzero): Likewise.
28614         (fma_test_downward): Likewise.
28615         (fma_test_upward): Likewise.
28616
28617 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28618
28619         [BZ #157]
28620
28621         * include/stub-tag.h: Remove file.
28622         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28623         '#include' of it.
28624         * manual/maint.texi (Porting): Don't reference it.
28625         * Makerules ($(objpfx)stubs): Likewise.
28626         * dirent/closedir.c: Don't include <stub-tag.h>.
28627         * dirent/dirfd.c: Likewise.
28628         * dirent/fdopendir.c: Likewise.
28629         * dirent/getdents.c: Likewise.
28630         * dirent/getdents64.c: Likewise.
28631         * dirent/opendir.c: Likewise.
28632         * dirent/readdir.c: Likewise.
28633         * dirent/readdir64.c: Likewise.
28634         * dirent/readdir64_r.c: Likewise.
28635         * dirent/readdir_r.c: Likewise.
28636         * dirent/rewinddir.c: Likewise.
28637         * dirent/seekdir.c: Likewise.
28638         * dirent/telldir.c: Likewise.
28639         * gmon/profil.c: Likewise.
28640         * grp/setgroups.c: Likewise.
28641         * inet/if_index.c: Likewise.
28642         * io/access.c: Likewise.
28643         * io/chdir.c: Likewise.
28644         * io/chmod.c: Likewise.
28645         * io/chown.c: Likewise.
28646         * io/close.c: Likewise.
28647         * io/dup.c: Likewise.
28648         * io/dup2.c: Likewise.
28649         * io/dup3.c: Likewise.
28650         * io/euidaccess.c: Likewise.
28651         * io/faccessat.c: Likewise.
28652         * io/fchdir.c: Likewise.
28653         * io/fchmod.c: Likewise.
28654         * io/fchmodat.c: Likewise.
28655         * io/fchown.c: Likewise.
28656         * io/fchownat.c: Likewise.
28657         * io/fcntl.c: Likewise.
28658         * io/flock.c: Likewise.
28659         * io/fstatfs.c: Likewise.
28660         * io/fstatfs64.c: Likewise.
28661         * io/fstatvfs.c: Likewise.
28662         * io/fstatvfs64.c: Likewise.
28663         * io/futimens.c: Likewise.
28664         * io/fxstat.c: Likewise.
28665         * io/fxstat64.c: Likewise.
28666         * io/fxstatat.c: Likewise.
28667         * io/fxstatat64.c: Likewise.
28668         * io/getcwd.c: Likewise.
28669         * io/isatty.c: Likewise.
28670         * io/lchmod.c: Likewise.
28671         * io/lchown.c: Likewise.
28672         * io/link.c: Likewise.
28673         * io/linkat.c: Likewise.
28674         * io/lseek.c: Likewise.
28675         * io/lseek64.c: Likewise.
28676         * io/lxstat64.c: Likewise.
28677         * io/mkdir.c: Likewise.
28678         * io/mkdirat.c: Likewise.
28679         * io/mkfifo.c: Likewise.
28680         * io/mkfifoat.c: Likewise.
28681         * io/open.c: Likewise.
28682         * io/open64.c: Likewise.
28683         * io/openat.c: Likewise.
28684         * io/openat64.c: Likewise.
28685         * io/pipe.c: Likewise.
28686         * io/pipe2.c: Likewise.
28687         * io/poll.c: Likewise.
28688         * io/posix_fadvise.c: Likewise.
28689         * io/posix_fadvise64.c: Likewise.
28690         * io/posix_fallocate.c: Likewise.
28691         * io/posix_fallocate64.c: Likewise.
28692         * io/read.c: Likewise.
28693         * io/readlink.c: Likewise.
28694         * io/readlinkat.c: Likewise.
28695         * io/rmdir.c: Likewise.
28696         * io/sendfile.c: Likewise.
28697         * io/sendfile64.c: Likewise.
28698         * io/statfs.c: Likewise.
28699         * io/statfs64.c: Likewise.
28700         * io/statvfs.c: Likewise.
28701         * io/statvfs64.c: Likewise.
28702         * io/symlink.c: Likewise.
28703         * io/symlinkat.c: Likewise.
28704         * io/ttyname.c: Likewise.
28705         * io/ttyname_r.c: Likewise.
28706         * io/umask.c: Likewise.
28707         * io/unlink.c: Likewise.
28708         * io/unlinkat.c: Likewise.
28709         * io/utime.c: Likewise.
28710         * io/utimensat.c: Likewise.
28711         * io/write.c: Likewise.
28712         * io/xmknod.c: Likewise.
28713         * io/xmknodat.c: Likewise.
28714         * io/xstat.c: Likewise.
28715         * io/xstat64.c: Likewise.
28716         * login/getpt.c: Likewise.
28717         * login/grantpt.c: Likewise.
28718         * login/unlockpt.c: Likewise.
28719         * math/e_acoshl.c: Likewise.
28720         * math/e_acosl.c: Likewise.
28721         * math/e_asinl.c: Likewise.
28722         * math/e_atan2l.c: Likewise.
28723         * math/e_atanhl.c: Likewise.
28724         * math/e_coshl.c: Likewise.
28725         * math/e_expl.c: Likewise.
28726         * math/e_fmodl.c: Likewise.
28727         * math/e_gammal_r.c: Likewise.
28728         * math/e_hypotl.c: Likewise.
28729         * math/e_j0l.c: Likewise.
28730         * math/e_j1l.c: Likewise.
28731         * math/e_jnl.c: Likewise.
28732         * math/e_lgammal_r.c: Likewise.
28733         * math/e_log10l.c: Likewise.
28734         * math/e_log2l.c: Likewise.
28735         * math/e_logl.c: Likewise.
28736         * math/e_powl.c: Likewise.
28737         * math/e_rem_pio2l.c: Likewise.
28738         * math/e_sinhl.c: Likewise.
28739         * math/e_sqrtl.c: Likewise.
28740         * math/fclrexcpt.c: Likewise.
28741         * math/fedisblxcpt.c: Likewise.
28742         * math/feenablxcpt.c: Likewise.
28743         * math/fegetenv.c: Likewise.
28744         * math/fegetexcept.c: Likewise.
28745         * math/fegetround.c: Likewise.
28746         * math/feholdexcpt.c: Likewise.
28747         * math/fesetenv.c: Likewise.
28748         * math/fesetround.c: Likewise.
28749         * math/feupdateenv.c: Likewise.
28750         * math/fgetexcptflg.c: Likewise.
28751         * math/fraiseexcpt.c: Likewise.
28752         * math/fsetexcptflg.c: Likewise.
28753         * math/ftestexcept.c: Likewise.
28754         * math/k_cosl.c: Likewise.
28755         * math/k_rem_pio2l.c: Likewise.
28756         * math/k_sinl.c: Likewise.
28757         * math/k_tanl.c: Likewise.
28758         * math/s_asinhl.c: Likewise.
28759         * math/s_atanl.c: Likewise.
28760         * math/s_cbrtl.c: Likewise.
28761         * math/s_erfl.c: Likewise.
28762         * math/s_expm1l.c: Likewise.
28763         * math/s_log1pl.c: Likewise.
28764         * math/s_tanhl.c: Likewise.
28765         * misc/acct.c: Likewise.
28766         * misc/brk.c: Likewise.
28767         * misc/chflags.c: Likewise.
28768         * misc/chroot.c: Likewise.
28769         * misc/fchflags.c: Likewise.
28770         * misc/fgetxattr.c: Likewise.
28771         * misc/flistxattr.c: Likewise.
28772         * misc/fremovexattr.c: Likewise.
28773         * misc/fsetxattr.c: Likewise.
28774         * misc/fsync.c: Likewise.
28775         * misc/ftruncate.c: Likewise.
28776         * misc/futimes.c: Likewise.
28777         * misc/futimesat.c: Likewise.
28778         * misc/getdomain.c: Likewise.
28779         * misc/getdtsz.c: Likewise.
28780         * misc/gethostid.c: Likewise.
28781         * misc/gethostname.c: Likewise.
28782         * misc/getloadavg.c: Likewise.
28783         * misc/getpagesize.c: Likewise.
28784         * misc/getsysstats.c: Likewise.
28785         * misc/getxattr.c: Likewise.
28786         * misc/gtty.c: Likewise.
28787         * misc/ioctl.c: Likewise.
28788         * misc/lgetxattr.c: Likewise.
28789         * misc/listxattr.c: Likewise.
28790         * misc/llistxattr.c: Likewise.
28791         * misc/lremovexattr.c: Likewise.
28792         * misc/lsetxattr.c: Likewise.
28793         * misc/lutimes.c: Likewise.
28794         * misc/madvise.c: Likewise.
28795         * misc/mincore.c: Likewise.
28796         * misc/mlock.c: Likewise.
28797         * misc/mlockall.c: Likewise.
28798         * misc/mmap.c: Likewise.
28799         * misc/mprotect.c: Likewise.
28800         * misc/msync.c: Likewise.
28801         * misc/munlock.c: Likewise.
28802         * misc/munlockall.c: Likewise.
28803         * misc/munmap.c: Likewise.
28804         * misc/preadv.c: Likewise.
28805         * misc/preadv64.c: Likewise.
28806         * misc/ptrace.c: Likewise.
28807         * misc/pwritev.c: Likewise.
28808         * misc/pwritev64.c: Likewise.
28809         * misc/readv.c: Likewise.
28810         * misc/reboot.c: Likewise.
28811         * misc/remap_file_pages.c: Likewise.
28812         * misc/removexattr.c: Likewise.
28813         * misc/revoke.c: Likewise.
28814         * misc/select.c: Likewise.
28815         * misc/setdomain.c: Likewise.
28816         * misc/setegid.c: Likewise.
28817         * misc/seteuid.c: Likewise.
28818         * misc/sethostid.c: Likewise.
28819         * misc/sethostname.c: Likewise.
28820         * misc/setregid.c: Likewise.
28821         * misc/setreuid.c: Likewise.
28822         * misc/setxattr.c: Likewise.
28823         * misc/sstk.c: Likewise.
28824         * misc/stty.c: Likewise.
28825         * misc/swapoff.c: Likewise.
28826         * misc/swapon.c: Likewise.
28827         * misc/sync.c: Likewise.
28828         * misc/syncfs.c: Likewise.
28829         * misc/syscall.c: Likewise.
28830         * misc/truncate.c: Likewise.
28831         * misc/ualarm.c: Likewise.
28832         * misc/usleep.c: Likewise.
28833         * misc/ustat.c: Likewise.
28834         * misc/utimes.c: Likewise.
28835         * misc/vhangup.c: Likewise.
28836         * misc/writev.c: Likewise.
28837         * posix/_exit.c: Likewise.
28838         * posix/alarm.c: Likewise.
28839         * posix/execve.c: Likewise.
28840         * posix/fexecve.c: Likewise.
28841         * posix/fork.c: Likewise.
28842         * posix/fpathconf.c: Likewise.
28843         * posix/getaddrinfo.c: Likewise.
28844         * posix/getegid.c: Likewise.
28845         * posix/geteuid.c: Likewise.
28846         * posix/getgid.c: Likewise.
28847         * posix/getgroups.c: Likewise.
28848         * posix/getlogin.c: Likewise.
28849         * posix/getlogin_r.c: Likewise.
28850         * posix/getpgid.c: Likewise.
28851         * posix/getpid.c: Likewise.
28852         * posix/getppid.c: Likewise.
28853         * posix/getresgid.c: Likewise.
28854         * posix/getresuid.c: Likewise.
28855         * posix/getsid.c: Likewise.
28856         * posix/getuid.c: Likewise.
28857         * posix/glob64.c: Likewise.
28858         * posix/nanosleep.c: Likewise.
28859         * posix/pathconf.c: Likewise.
28860         * posix/pause.c: Likewise.
28861         * posix/posix_madvise.c: Likewise.
28862         * posix/pread.c: Likewise.
28863         * posix/pread64.c: Likewise.
28864         * posix/pwrite.c: Likewise.
28865         * posix/pwrite64.c: Likewise.
28866         * posix/sched_getaffinity.c: Likewise.
28867         * posix/sched_getp.c: Likewise.
28868         * posix/sched_gets.c: Likewise.
28869         * posix/sched_primax.c: Likewise.
28870         * posix/sched_primin.c: Likewise.
28871         * posix/sched_rr_gi.c: Likewise.
28872         * posix/sched_setaffinity.c: Likewise.
28873         * posix/sched_setp.c: Likewise.
28874         * posix/sched_sets.c: Likewise.
28875         * posix/sched_yield.c: Likewise.
28876         * posix/setgid.c: Likewise.
28877         * posix/setlogin.c: Likewise.
28878         * posix/setpgid.c: Likewise.
28879         * posix/setresgid.c: Likewise.
28880         * posix/setresuid.c: Likewise.
28881         * posix/setsid.c: Likewise.
28882         * posix/setuid.c: Likewise.
28883         * posix/sleep.c: Likewise.
28884         * posix/spawni.c: Likewise.
28885         * posix/sysconf.c: Likewise.
28886         * posix/times.c: Likewise.
28887         * posix/wait.c: Likewise.
28888         * posix/wait3.c: Likewise.
28889         * posix/wait4.c: Likewise.
28890         * posix/waitpid.c: Likewise.
28891         * resolv/gai_sigqueue.c: Likewise.
28892         * resource/getpriority.c: Likewise.
28893         * resource/getrlimit.c: Likewise.
28894         * resource/getrusage.c: Likewise.
28895         * resource/nice.c: Likewise.
28896         * resource/setpriority.c: Likewise.
28897         * resource/setrlimit.c: Likewise.
28898         * resource/ulimit.c: Likewise.
28899         * rt/aio_cancel.c: Likewise.
28900         * rt/aio_fsync.c: Likewise.
28901         * rt/aio_read.c: Likewise.
28902         * rt/aio_sigqueue.c: Likewise.
28903         * rt/aio_suspend.c: Likewise.
28904         * rt/aio_write.c: Likewise.
28905         * rt/clock_getres.c: Likewise.
28906         * rt/clock_gettime.c: Likewise.
28907         * rt/clock_nanosleep.c: Likewise.
28908         * rt/clock_settime.c: Likewise.
28909         * rt/lio_listio.c: Likewise.
28910         * rt/mq_close.c: Likewise.
28911         * rt/mq_getattr.c: Likewise.
28912         * rt/mq_notify.c: Likewise.
28913         * rt/mq_open.c: Likewise.
28914         * rt/mq_receive.c: Likewise.
28915         * rt/mq_send.c: Likewise.
28916         * rt/mq_setattr.c: Likewise.
28917         * rt/mq_timedreceive.c: Likewise.
28918         * rt/mq_timedsend.c: Likewise.
28919         * rt/mq_unlink.c: Likewise.
28920         * rt/shm_open.c: Likewise.
28921         * rt/shm_unlink.c: Likewise.
28922         * rt/timer_create.c: Likewise.
28923         * rt/timer_delete.c: Likewise.
28924         * rt/timer_getoverr.c: Likewise.
28925         * rt/timer_gettime.c: Likewise.
28926         * rt/timer_settime.c: Likewise.
28927         * setjmp/__longjmp.c: Likewise.
28928         * setjmp/setjmp.c: Likewise.
28929         * signal/kill.c: Likewise.
28930         * signal/killpg.c: Likewise.
28931         * signal/raise.c: Likewise.
28932         * signal/sigaction.c: Likewise.
28933         * signal/sigaltstack.c: Likewise.
28934         * signal/sigblock.c: Likewise.
28935         * signal/sigignore.c: Likewise.
28936         * signal/sigintr.c: Likewise.
28937         * signal/signal.c: Likewise.
28938         * signal/sigpause.c: Likewise.
28939         * signal/sigpending.c: Likewise.
28940         * signal/sigqueue.c: Likewise.
28941         * signal/sigreturn.c: Likewise.
28942         * signal/sigset.c: Likewise.
28943         * signal/sigsetmask.c: Likewise.
28944         * signal/sigstack.c: Likewise.
28945         * signal/sigsuspend.c: Likewise.
28946         * signal/sigtimedwait.c: Likewise.
28947         * signal/sigvec.c: Likewise.
28948         * signal/sigwait.c: Likewise.
28949         * signal/sigwaitinfo.c: Likewise.
28950         * signal/sysv_signal.c: Likewise.
28951         * socket/accept.c: Likewise.
28952         * socket/accept4.c: Likewise.
28953         * socket/bind.c: Likewise.
28954         * socket/connect.c: Likewise.
28955         * socket/getpeername.c: Likewise.
28956         * socket/getsockname.c: Likewise.
28957         * socket/getsockopt.c: Likewise.
28958         * socket/isfdtype.c: Likewise.
28959         * socket/listen.c: Likewise.
28960         * socket/recv.c: Likewise.
28961         * socket/recvfrom.c: Likewise.
28962         * socket/recvmsg.c: Likewise.
28963         * socket/send.c: Likewise.
28964         * socket/sendmsg.c: Likewise.
28965         * socket/sendto.c: Likewise.
28966         * socket/setsockopt.c: Likewise.
28967         * socket/shutdown.c: Likewise.
28968         * socket/sockatmark.c: Likewise.
28969         * socket/socket.c: Likewise.
28970         * socket/socketpair.c: Likewise.
28971         * stdio-common/ctermid.c: Likewise.
28972         * stdio-common/cuserid.c: Likewise.
28973         * stdio-common/remove.c: Likewise.
28974         * stdio-common/rename.c: Likewise.
28975         * stdio-common/renameat.c: Likewise.
28976         * stdio-common/tempname.c: Likewise.
28977         * stdlib/getcontext.c: Likewise.
28978         * stdlib/makecontext.c: Likewise.
28979         * stdlib/setcontext.c: Likewise.
28980         * stdlib/swapcontext.c: Likewise.
28981         * stdlib/system.c: Likewise.
28982         * streams/fattach.c: Likewise.
28983         * streams/fdetach.c: Likewise.
28984         * streams/getmsg.c: Likewise.
28985         * streams/getpmsg.c: Likewise.
28986         * streams/putmsg.c: Likewise.
28987         * streams/putpmsg.c: Likewise.
28988         * sysdeps/unix/bsd/getpt.c: Likewise.
28989         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28990         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28991         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28993         Likewise.
28994         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28995         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28996         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28997         * sysvipc/msgctl.c: Likewise.
28998         * sysvipc/msgget.c: Likewise.
28999         * sysvipc/msgrcv.c: Likewise.
29000         * sysvipc/msgsnd.c: Likewise.
29001         * sysvipc/semctl.c: Likewise.
29002         * sysvipc/semget.c: Likewise.
29003         * sysvipc/semop.c: Likewise.
29004         * sysvipc/semtimedop.c: Likewise.
29005         * sysvipc/shmat.c: Likewise.
29006         * sysvipc/shmctl.c: Likewise.
29007         * sysvipc/shmdt.c: Likewise.
29008         * sysvipc/shmget.c: Likewise.
29009         * termios/tcdrain.c: Likewise.
29010         * termios/tcflow.c: Likewise.
29011         * termios/tcflush.c: Likewise.
29012         * termios/tcgetattr.c: Likewise.
29013         * termios/tcgetpgrp.c: Likewise.
29014         * termios/tcsendbrk.c: Likewise.
29015         * termios/tcsetattr.c: Likewise.
29016         * termios/tcsetpgrp.c: Likewise.
29017         * time/adjtime.c: Likewise.
29018         * time/clock.c: Likewise.
29019         * time/getitimer.c: Likewise.
29020         * time/gettimeofday.c: Likewise.
29021         * time/setitimer.c: Likewise.
29022         * time/settimeofday.c: Likewise.
29023         * time/stime.c: Likewise.
29024         * time/time.c: Likewise.
29025
29026 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
29027
29028         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29029         /usr/old/bin.
29030
29031         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29032         instead of spaces.
29033         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29034
29035 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
29036
29037         [BZ #14796]
29038         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29039         FE_TONEAREST before applying Dekker multiplication and Knuth
29040         addition.  Clear inexact exceptions and check for exact zero
29041         results afterwards.
29042         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29043         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29044         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29045         * math/libm-test.inc (fma_test): Add more tests.
29046         (fma_test_towardzero): Likewise.
29047         (fma_test_downward): Likewise.
29048         (fma_test_upward): Likewise.
29049         * sysdeps/generic/math_private.h (default_libc_fesetround): New
29050         function.
29051         (libc_fesetround): New macro.
29052         (libc_fesetroundf): Likewise.
29053         (libc_fesetroundl): Likewise.
29054         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29055         function.
29056         (libc_fesetround_387): Likewise.
29057         (libc_fesetroundf): New macro.
29058         (libc_fesetround): Likewise.
29059         (libc_fesetroundl): Likewise.
29060         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29061         function.
29062         (libc_fesetroundf): New macro.
29063         (libc_fesetround): Likewise.
29064         (libc_fesetroundl): Likewise.
29065         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29066         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29067         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29068         libm_hidden_ver.
29069         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29070         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29071         libm_hidden_def.
29072         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29073         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29074         libm_hidden_ver.
29075         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29076         libm_hidden_def.
29077
29078         [BZ #3439]
29079         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29080         integer constant usable in #if and use that to give value to enum
29081         constant.
29082         (FE_DIVBYZERO): Likewise.
29083         (FE_UNDERFLOW): Likewise.
29084         (FE_OVERFLOW): Likewise.
29085         (FE_INVALID): Likewise.
29086         (FE_INVALID_SNAN): Likewise.
29087         (FE_INVALID_ISI): Likewise.
29088         (FE_INVALID_IDI): Likewise.
29089         (FE_INVALID_ZDZ): Likewise.
29090         (FE_INVALID_IMZ): Likewise.
29091         (FE_INVALID_COMPARE): Likewise.
29092         (FE_INVALID_SOFTWARE): Likewise.
29093         (FE_INVALID_SQRT): Likewise.
29094         (FE_INVALID_INTEGER_CONVERSION): Likewise.
29095         (FE_TONEAREST): Likewise.
29096         (FE_TOWARDZERO): Likewise.
29097         (FE_UPWARD): Likewise.
29098         (FE_DOWNWARD): Likewise.
29099         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29100         (FE_DIVBYZERO): Likewise.
29101         (FE_OVERFLOW): Likewise.
29102         (FE_UNDERFLOW): Likewise.
29103         (FE_INEXACT): Likewise.
29104         (FE_TONEAREST): Likewise.
29105         (FE_DOWNWARD): Likewise.
29106         (FE_UPWARD): Likewise.
29107         (FE_TOWARDZERO): Likewise.
29108         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29109         (FE_UNDERFLOW): Likewise.
29110         (FE_OVERFLOW): Likewise.
29111         (FE_DIVBYZERO): Likewise.
29112         (FE_INVALID): Likewise.
29113         (FE_TONEAREST): Likewise.
29114         (FE_TOWARDZERO): Likewise.
29115         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29116         (FE_OVERFLOW): Likewise.
29117         (FE_UNDERFLOW): Likewise.
29118         (FE_DIVBYZERO): Likewise.
29119         (FE_INEXACT): Likewise.
29120         (FE_TONEAREST): Likewise.
29121         (FE_TOWARDZERO): Likewise.
29122         (FE_UPWARD): Likewise.
29123         (FE_DOWNWARD): Likewise.
29124         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29125         (FE_DIVBYZERO): Likewise.
29126         (FE_OVERFLOW): Likewise.
29127         (FE_UNDERFLOW): Likewise.
29128         (FE_INEXACT): Likewise.
29129         (FE_TONEAREST): Likewise.
29130         (FE_DOWNWARD): Likewise.
29131         (FE_UPWARD): Likewise.
29132         (FE_TOWARDZERO): Likewise.
29133
29134 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
29135
29136         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29137
29138 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
29139
29140         * scripts/cross-test-ssh.sh (command): Use newlines to separate
29141         commands.  Quote $PWD.
29142         (blacklist_exports): Don't use remove_newlines.  Replace "declare
29143         -x" by "export".
29144         (remove_newlines): Remove.
29145
29146 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
29147
29148         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29149         * stdlib/stdlib.h (atof): Moved to ...
29150         * include/bits/stdlib-float.h: Here.  New file.
29151         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29152         * stdlib/bits/stdlib-float.h: New file.
29153         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29154         -mno-sse -mno-mmx.
29155         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29156         <xmmintrin.h>.
29157
29158 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29159
29160         * conform/conformtest.pl (@headers): Add fenv.h.
29161         * conform/data/fenv.h-data: New file.
29162         * include/fenv.h [_ISOMAC]: Disable all contents of file except
29163         include of <math/fenv.h>.
29164
29165         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29166         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29167         && !UNIX98].  Enables tests for XOPEN2K8.
29168         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29169         POSIX2008]: Likewise.
29170
29171         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29172         (struct rusage): Do not expect type or its members.
29173
29174         [BZ #3439]
29175         * math/math.h (FP_NAN): Define macro to integer constant usable in
29176         #if and use that to give value to enum constant.
29177         (FP_INFINITE): Likewise.
29178         (FP_ZERO): Likewise.
29179         (FP_SUBNORMAL): Likewise.
29180         (FP_NORMAL): Likewise.
29181
29182 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
29183
29184         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29185         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29186         arguments.
29187
29188 2012-11-02  Roland McGrath  <roland@hack.frob.com>
29189
29190         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29191         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29192         autoconf-time if not.
29193         * configure.in: Remove AC_PREREQ.
29194
29195 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29196
29197         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29198         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29199         of the internal implementation.
29200
29201 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29202
29203         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29204         except include of <misc/sys/syslog.h>.
29205
29206 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29207
29208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29209         function returns with a NULL context exit with zero.
29210
29211 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29212
29213         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29214
29215 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
29216
29217         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29218         (run_program_cmd): This.
29219         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29220         (tst_langinfo): New variable.  Use it.
29221
29222 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
29223
29224         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29225         floating point opcodes.
29226
29227 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29228
29229         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29230         variable.
29231
29232         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29233
29234         * sysdeps/mach/hurd/powerpc: Remove directory.
29235         * sysdeps/mach/powerpc: Likewise.
29236
29237 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29238
29239         * scripts/check-local-headers.sh: Ignore c++ headers.
29240
29241 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29242
29243         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29244         __libc_cleanup_region_start argument.
29245
29246 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
29247
29248         [BZ #14784]
29249         [BZ #14785]
29250         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29251         x * y using scaling, not as x * y + z.
29252         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29253         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29254         * math/libm-test.inc (fma_test): Add more tests.
29255         (fma_test_towardzero): Likewise.
29256         (fma_test_downward): Likewise.
29257         (fma_test_upward): Likewise.
29258
29259 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29260
29261         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29262
29263 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29264
29265         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29266         New variable.
29267
29268 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
29269
29270         * rt/tst-shm.c (worker): Correct checking for mmap failure.
29271
29272 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29273
29274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29275         Fix sort order.
29276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29277         Likewise.
29278
29279 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29280
29281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29282         Fix the order of the list for glibc 2.17.
29283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29284         Likewise.
29285
29286 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29287
29288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29289
29290 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29291
29292         [BZ #14610]
29293         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29294         for low part of x being zero before using __atanl (y).
29295         * math/libm-test.inc (atan2_test): Add another test.
29296
29297         * manual/install.texi (Configuring and compiling): Document
29298         general use of test-wrapper and test-wrapper-env.
29299         * INSTALL: Regenerated.
29300
29301         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29302         (__fma): Do not extract and scale down low bits on after-rounding
29303         systems when result rounded to normal precision would have normal
29304         exponent.
29305         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29306         (__fmal): Do not extract and scale down low bits on after-rounding
29307         systems when result rounded to normal precision would have normal
29308         exponent.
29309         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29310         (__fmal): Do not extract and scale down low bits on after-rounding
29311         systems when result rounded to normal precision would have normal
29312         exponent.
29313         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29314         macro.
29315         (fma_test): Add more tests.
29316         (fma_test_towardzero): Likewise.
29317         (fma_test_downward): Likewise.
29318         (fma_test_upward): Likewise.
29319
29320 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
29321
29322         * sysdeps/i386/tininess.h: Renamed to ...
29323         * sysdeps/x86/tininess.h: This.
29324         * sysdeps/x86_64/tininess.h: Removed.
29325
29326 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29327
29328         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29329         input.  Use $(build-program-cmd).
29330         ($(objpfx)tst-array1-static.out): Likewise.
29331         ($(objpfx)tst-array2.out): Likewise.
29332         ($(objpfx)tst-array3.out): Likewise.
29333         ($(objpfx)tst-array4.out): Likewise.
29334         ($(objpfx)tst-array5.out): Likewise.
29335         ($(objpfx)tst-array5-static.out): Likewise.
29336
29337 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
29338
29339         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29340         if defined.
29341
29342         * nss/nsswitch.h (nss_interface_function): Provide new
29343         macro for use with NSS functions.
29344         * grp/initgroups.c: Use new macro.
29345         * nss/getXXbyYY.c: Likewise.
29346         * nss/getXXbyYY_r.c: Likewise.
29347         * nss/getXXent.c: Likewise.
29348         * nss/getXXent_r.c: Likewise.
29349         * sysdeps/posix/getaddrinfo.c: Likewise.
29350
29351 2012-10-30  Andreas Jaeger  <aj@suse.de>
29352
29353         * po/ru.po: Update Russion translation from translation project.
29354
29355 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29356
29357         [BZ #14152]
29358         [BZ #14783]
29359         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29360         result and shift together with sticky bit instead of replicating
29361         round-to-nearest rounding.
29362         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29363         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29364         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
29365         missing underflow exceptions.
29366         (fma_test_towardzero): Add more tests.
29367         (fma_test_downward): Likewise.
29368         (fma_test_upward): Likewise.
29369
29370         [BZ #14047]
29371         * sysdeps/generic/tininess.h: New file.
29372         * sysdeps/i386/tininess.h: Likewise.
29373         * sysdeps/sh/tininess.h: Likewise.
29374         * sysdeps/x86_64/tininess.h: Likewise.
29375         * stdlib/tst-strtod-underflow.c: Likewise.
29376         * stdlib/tst-tininess.c: Likewise.
29377         * stdlib/strtod_l.c: Include <tininess.h>.
29378         (round_and_return): Do not set errno for exact underflow cases.
29379         Force an underflow exception when setting errno for underflow.
29380         Determine underflow based on rounding to normal precision if
29381         TININESS_AFTER_ROUNDING.
29382         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29383         ERANGE for exact underflow cases.
29384         * stdlib/Makefile (tests): Add tst-tininess and
29385         tst-strtod-underflow.
29386         ($(objpfx)tst-tininess): Use $(link-libm).
29387         ($(objpfx)tst-strtod-underflow): Likewise.
29388
29389 2012-10-30  Andreas Jaeger  <aj@suse.de>
29390
29391         [BZ#14767]
29392         * elf/Makefile (tests): Remove conditional for have-initfini-array
29393         since this is now always required and the variable does not exist
29394         anymore.
29395         (tests-static): Likewise.
29396         (modules-names): Likewise.
29397
29398         * po/eo.po: Add Esperanto translation from translation project.
29399
29400         * elf/tst-array1.c (fini_array): Make writeable so that it can be
29401         merged with constructor/destructor.
29402         (init_array): Likewise.
29403         * elf/tst-array2dep.c (fini_array): Likewise.
29404         (init_array): Likewise.
29405
29406 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
29407
29408         * manual/message.texi: Delete @cartouche tags.
29409
29410 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
29411
29412         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29413         EOPNOTSUPP.
29414         * sysdeps/mach/hurd/fsync.c: Likewise.
29415
29416         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29417         [_POSIX_REALTIME_SIGNALS]: Change condition to
29418         [_POSIX_REALTIME_SIGNALS > 0].
29419
29420 2012-10-27  Andreas Jaeger  <aj@suse.de>
29421
29422         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29423         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29424         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29425         [__WORDSIZE != 64]: Likewise.
29426
29427 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
29428
29429         *  iconvdata/tst-table.sh: Remove ${SHELL}.
29430         *  iconvdata/tst-tables.sh: Likewise.
29431
29432 2012-10-25  David S. Miller  <davem@davemloft.net>
29433
29434         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29435         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29436         of strtoull.
29437
29438         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29439         ifunc-impl-list.c
29440         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29441         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29442         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29443         file.
29444
29445 2012-10-25  Roland McGrath  <roland@hack.frob.com>
29446
29447         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29448         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29449         __getdirentries.
29450
29451 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29452             Jim Blandy  <jimb@codesourcery.com>
29453
29454         * scripts/cross-test-ssh.sh: New file.
29455         * manual/install.texi (Configuring and compiling): Document use of
29456         cross-test-ssh.sh.
29457         * INSTALL: Regenerated.
29458
29459 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
29460
29461         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29462         EOPNOTSUPP.
29463
29464 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29465
29466         * Makeconfig (run-program-prefix): Fix comment.
29467
29468 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29469             Jim Blandy  <jimb@codesourcery.com>
29470
29471         * Makeconfig (test-wrapper): New variable,
29472         (test-wrapper-env): Likewise.
29473         [$(cross-compiling) = yes && $(test-wrapper) != ""]
29474         (run-built-tests): Define to yes.
29475         (run-program-prefix): Use $(test-wrapper).
29476         (built-program-cmd): Likewise.
29477         * Rules (make-test-out): Use $(test-wrapper-env) and
29478         $(host-built-program-cmd).
29479         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29480         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29481         tst-pathopt.sh.
29482         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29483         $(test-wrapper-env) to tst-rtld-load-self.sh.
29484         ($(objpfx)order2.out): Use $(test-wrapper).
29485         ($(objpfx)tst-initorder.out): Likewise.
29486         ($(objpfx)tst-initorder2.out): Likewise.
29487         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29488         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29489         (test_wrapper_env): New variable.  Use it to run ld.so.
29490         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29491         Use it to run ld.so.
29492         (test_wrapper_env): Likewise.
29493         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29494         $(test-wrapper) to run-iconv-test.sh.
29495         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29496         (ICONV): Use $test_wrapper.
29497         * posix/Makefile ($(objpfx)globtest.out): Pass
29498         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29499         globtest.sh, not $(run-program-prefix).
29500         * posix/globtest.sh (run_via_rtld_prefix): New variable.
29501         (test_wrapper): Likewise.
29502         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
29503         set together with run_via_rtld_prefix.
29504         (run_program_prefix): Define in terms of test_wrapper and
29505         run_via_rtld_prefix.
29506
29507 2012-10-24  Roland McGrath  <roland@hack.frob.com>
29508
29509         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29510         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29511         Targets removed.
29512
29513         [BZ #14743]
29514         * include/time.h: Remove librt_hidden_proto (clock_gettime).
29515         Declare __clock_getres, __clock_gettime, __clock_settime,
29516         __clock_nanosleep, and __clock_getcpuclockid.
29517         * rt/clock_gettime.c: Define __clock_gettime as an alias.
29518         Remove librt_hidden_def (clock_gettime).
29519         * sysdeps/unix/clock_gettime.c: Likewise.
29520         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29521         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29522         * rt/clock_getres.c: Define __clock_getres as an alias.
29523         * sysdeps/posix/clock_getres.c: Likewise.
29524         * rt/clock_settime.c: Define __clock_settime as an alias.
29525         * sysdeps/unix/clock_settime.c: Likewise.
29526         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29527         * sysdeps/unix/clock_nanosleep.c: Likewise.
29528         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29529         * rt/clock-compat.c: New file.
29530         * rt/Makefile (librt-routines): Add clock-compat and move
29531         $(clock-routines) to ...
29532         (routines): ... here, new variable.
29533         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29534         Don't add get_clockfreq here.
29535         * rt/Versions (libc: GLIBC_2.17): New version set.
29536         Add clock_* symbols here.
29537         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
29538         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29539         (GLIBC_2.17): Add clock_* symbols.
29540         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29541         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29542         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29544         Likewise.
29545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29546         Likewise.
29547         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29548         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29551         * NEWS: Mention the move.
29552
29553         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29554         Use __open, __read, __close rather than their public counterparts.
29555         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29556         (__get_clockfreq_via_cpuinfo): Likewise.
29557         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29558         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29559
29560         * config.h.in (HAVE_IFUNC): New #undef.
29561         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29562         was successful.
29563         * configure: Regenerated.
29564
29565 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29566
29567         * configure.in: Move READELF check to start of file.
29568         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29569         libc_cv_asm_gnu_indirect_function in the process.
29570         * configure: Regenerated.
29571
29572 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29573
29574         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29575         send the output to /dev/null.
29576         (libc_cv_cc_with_libunwind): Likewise.
29577         (libc_cv_as_noexecstack): Likewise.
29578         * configure: Regenerate.
29579
29580 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29581
29582         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29583
29584         * posix/globtest.sh (TMPDIR): Do not set.
29585         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29586         (testout): Likewise.
29587
29588 2012-10-24  Andreas Jaeger  <aj@suse.de>
29589
29590         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29591         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29592         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29593         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29594         posix_fadvise64, posix_fallocate64.
29595
29596         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29597         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29598         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29599         Likewise.
29600         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29601         Likewise.
29602         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29603
29604         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29605         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29606         <bits/fcntl-linux.h>.
29607         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29608
29609         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29610         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29611         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29612         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29613         [__WORDSIZE != 64]: Likewise.
29614
29615 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29616
29617         * Makeconfig (run-built-tests): New variable.
29618         * Rules [$(cross-compiling) = yes]: Change condition to
29619         [$(run-built-tests) = no].
29620         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29621         to [$(run-built-tests) = yes].
29622         * elf/Makefile [$(cross-compiling) = no]: Likewise
29623         * grp/Makefile [$(cross-compiling) = no]: Likewise.
29624         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29625         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29626         * intl/Makefile [$(cross-compiling) = no]: Likewise.
29627         * io/Makefile [$(cross-compiling) = no]: Likewise.
29628         * libio/Makefile [$(cross-compiling) = no]: Likewise.
29629         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29630         * misc/Makefile [$(cross-compiling) = no]: Likewise.
29631         * posix/Makefile [$(cross-compiling) = no]: Likewise.
29632         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29633         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29634         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29635         * string/Makefile [$(cross-compiling) = no]: Likewise.
29636
29637         * posix/Makefile ($(objpfx)globtest.out): Pass
29638         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29639         $(rtld-installed-name).
29640         * posix/globtest.sh (elf_objpfx): Remove variable.
29641         (rtld_installed_name): Likewise.
29642         (library_path): Likewise.
29643         (run_program_prefix): New variable.  Use for running globtest
29644         binary.
29645
29646 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
29647             Joseph Myers  <joseph@codesourcery.com>
29648
29649         * Makeconfig (host-built-program-cmd): New variable.
29650         * elf/Makefile (tst-stackguard1-ARGS): Use
29651         $(host-built-program-cmd).
29652         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29653         (tst-spawn-ARGS): Likewise.
29654         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29655
29656 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29657             Jim Blandy  <jimb@codesourcery.com>
29658
29659         * Makeconfig (run-via-rtld-prefix): New variable.
29660         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29661         (built-program-cmd): Likewise.
29662
29663 2012-10-22  Andreas Jaeger  <aj@suse.de>
29664
29665         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29666         __O_RSYNC if it exists, otherwise to O_SYNC.
29667
29668 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
29669             Joseph Myers  <joseph@codesourcery.com>
29670
29671         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29672         /dev/null.
29673         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29674         from /dev/null
29675         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29676         /dev/null.
29677
29678 2012-10-22  Andreas Jaeger  <aj@suse.de>
29679
29680         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29681         Define always.
29682         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29683
29684         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29685         bits/fcntl-linux.h.
29686
29687         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29688         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29689
29690         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29691         to __O_LARGEFILE.
29692         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29693         to __O_LARGEFILE.
29694
29695 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
29696             Joseph Myers  <joseph@codesourcery.com>
29697
29698         * config.make.in (NM): New variable.
29699
29700 2012-10-21  Andreas Jaeger  <aj@suse.de>
29701
29702         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29703         definitions and declarations that are provided by
29704         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29705
29706 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29707
29708         [BZ #14683]
29709         * elf/Makefile (tests-static): Add tst-leaks1-static.
29710         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29711         ($(objpfx)tst-leaks1-static): New rule.
29712         ($(objpfx)tst-leaks1-static-mem): Likewise.
29713         (tst-leaks1-static-ENV): New macro.
29714         * elf/dl-open.c (dl_open_worker): Check the main application
29715         only if SHARED is defined.
29716         * elf/tst-leaks1-static.c: New file.
29717
29718 2012-10-20  Andreas Jaeger  <aj@suse.de>
29719
29720         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29721         generic values for Linux.
29722         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29723         and declarations that are provided by <bits/fcntl-linux.h> and
29724         include <bits/fcntl-linux.h>.
29725         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29726         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29727
29728 2012-10-20  Roland McGrath  <roland@hack.frob.com>
29729
29730         * io/fcntl.h: Move include of <bits/types.h> to the top and
29731         include it unconditionally.
29732
29733 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29734
29735         * wcsmbs/Makefile (tests-ifunc): New variable.
29736         (tests): Add $(tests-ifunc).
29737         * wcsmbs/test-wcschr-ifunc.c: New file.
29738         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29739         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29740         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29741         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29742         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29743
29744         * string/Makefile (tests-ifunc): New variable.
29745         (tests): Add $(tests-ifunc).
29746         * string/test-memccpy.c (TEST_NAME): New macro.
29747         * string/test-memchr.c (TEST_NAME): Likewise.
29748         * string/test-memcmp.c (TEST_NAME): Likewise.
29749         * string/test-memcpy.c (TEST_NAME): Likewise.
29750         * string/test-memmem.c (TEST_NAME): Likewise.
29751         * string/test-memmove.c (TEST_NAME): Likewise.
29752         * string/test-memset.c (TEST_NAME): Likewise.
29753         * string/test-rawmemchr.c (TEST_NAME): Likewise.
29754         * string/test-stpcpy.c (TEST_NAME): Likewise.
29755         * string/test-stpncpy.c (TEST_NAME): Likewise.
29756         * string/test-strcasecmp.c (TEST_NAME): Likewise.
29757         * string/test-strcasestr.c (TEST_NAME): Likewise.
29758         * string/test-strcat.c (TEST_NAME): Likewise.
29759         * string/test-strchr.c (TEST_NAME): Likewise.
29760         * string/test-strcmp.c(TEST_NAME): Likewise.
29761         * string/test-strcpy.c (TEST_NAME): Likewise.
29762         * string/test-strcspn.c (TEST_NAME): Likewise.
29763         * string/test-strlen.c (TEST_NAME): Likewise.
29764         * string/test-strncasecmp.c (TEST_NAME): Likewise.
29765         * string/test-strncmp.c (TEST_NAME): Likewise.
29766         * string/test-strncpy.c (TEST_NAME): Likewise.
29767         * string/test-strnlen.c (TEST_NAME): Likewise.
29768         * string/test-strpbrk.c (TEST_NAME): Likewise.
29769         * string/test-strrchr.c (TEST_NAME): Likewise.
29770         * string/test-strspn.c (TEST_NAME): Likewise.
29771         * string/test-strstr.c (TEST_NAME): Likewise.
29772         * string/test-bcopy-ifunc.c: New file.
29773         * string/test-bzero-ifunc.c: Likewise.
29774         * string/test-memccpy-ifunc.c: Likewise.
29775         * string/test-memchr-ifunc.c: Likewise.
29776         * string/test-memcmp-ifunc.c: Likewise.
29777         * string/test-memcpy-ifunc.c: Likewise.
29778         * string/test-memmem-ifunc.c: Likewise.
29779         * string/test-memmove-ifunc.c: Likewise.
29780         * string/test-mempcpy-ifunc.c: Likewise.
29781         * string/test-memset-ifunc.c: Likewise.
29782         * string/test-rawmemchr-ifunc.c: Likewise.
29783         * string/test-stpcpy-ifunc.c: Likewise.
29784         * string/test-stpncpy-ifunc.c: Likewise.
29785         * string/test-strcasecmp-ifunc.c: Likewise.
29786         * string/test-strcasestr-ifunc.c: Likewise.
29787         * string/test-strcat-ifunc.c: Likewise.
29788         * string/test-strchr-ifunc.c: Likewise.
29789         * string/test-strchrnul-ifunc.c: Likewise.
29790         * string/test-strcmp-ifunc.c: Likewise.
29791         * string/test-strcpy-ifunc.c: Likewise.
29792         * string/test-strcspn-ifunc.c: Likewise.
29793         * string/test-strlen-ifunc.c: Likewise.
29794         * string/test-strncasecmp-ifunc.c: Likewise.
29795         * string/test-strncat-ifunc.c: Likewise.
29796         * string/test-strncmp-ifunc.c: Likewise.
29797         * string/test-strncpy-ifunc.c: Likewise.
29798         * string/test-strnlen-ifunc.c: Likewise.
29799         * string/test-strpbrk-ifunc.c: Likewise.
29800         * string/test-strrchr-ifunc.c: Likewise.
29801         * string/test-strspn-ifunc.c: Likewise.
29802         * string/test-strstr-ifunc.c: Likewise.
29803
29804         * debug/Makefile (tests-ifunc): New variable.
29805         (tests): Add $(tests-ifunc).
29806         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29807         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29808         * debug/test-stpcpy_chk-ifunc.c: New file.
29809         * debug/test-strcpy_chk-ifunc.c: Likewise.
29810
29811 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29812
29813         [BZ #13601]
29814         * elf/dl-load.c (open_verify): Retry read if the entire ELF
29815         header is not read in.
29816
29817 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
29818
29819         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
29820         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
29821         directly.  Pass built executable to script as
29822         $(built-program-cmd).
29823         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
29824         $testprogram without using LD_LIBRARY_PATH and $ldso.
29825
29826         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29827         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29828         $(rtld-installed-name).
29829         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29830         (rtld_installed_name): Likewise.
29831         (library_path): Likewise.
29832         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
29833         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29834         $(run-program-prefix) to tst-tables.sh.
29835         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
29836         it to run tst-table-from and tst-table-to.
29837         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29838         Pass it to tst-table.sh.
29839         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29840         $(run-program-prefix) to tst-gettext.sh.
29841         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29842         tst-translit.sh.
29843         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29844         tst-gettext2.sh.
29845         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
29846         to run tst-gettext.
29847         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
29848         to run tst-gettext2.
29849         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
29850         to run tst-translit.
29851         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29852         $(run-program-prefix) to tst-mtrace.sh.
29853         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
29854         to run tst-mtrace.
29855         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29856         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29857         $(rtld-installed-name).
29858         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29859         (rtld_installed_name): Likewise.
29860         (run_program_prefix): New variable.  Use it to run wordexp-test.
29861
29862         * Makeconfig (ARCH): Remove all definitions.
29863         (machine): Likewise.
29864         [ARCH]: Remove conditional code.
29865         [!objdir]: Give error.
29866         [!objdir] (objpfx): Remove.
29867         [!objdir] (common-objpfx): Likewise.
29868         [!objdir] (common-objdir): Likewise.
29869         * configure.in (config_makefile): Remove.  Hardcode Makefile in
29870         AC_CONFIG_FILES call.
29871         * configure: Regenerated.
29872
29873         [BZ #13888]
29874         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29875         or TMPDIR.
29876         (testout): Likewise.
29877
29878         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29879         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29880         $(rtld-installed-name).
29881         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29882         (rtld_installed_name): Likwise.
29883         (runit): Remove function.
29884         (run_getconf): New variable,  Use it for running getconf binary.
29885
29886 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
29887
29888         [BZ #14716]
29889         * string/test-memmem.c (check_result): New function.
29890         (do_one_test): Use it.
29891         (check1): New function.
29892         (test_main): Use it.
29893
29894 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
29895
29896         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29897
29898 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
29899
29900         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29901         (_G_LSEEK64): Likewise.
29902         (_G_MMAP64): Likewise.
29903         (_G_FSTAT64): Likewise.
29904         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29905         (_G_LSEEK64): Likewise.
29906         (_G_MMAP64): Likewise.
29907         (_G_FSTAT64): Likewise.
29908         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29909         unconditional.  Call __mmap64 directly.
29910         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29911         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
29912         __lseek64 directly.
29913         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29914         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
29915         __mmap64 directly.
29916         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29917         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29918         __lseek64 directly.
29919         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29920         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29921         __lseek64 directly.
29922         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29923         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
29924         __lseek64 directly.
29925         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29926         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
29927         __fxstat64 directly.
29928         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29929         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29930         unconditional.
29931         (freopen64) [!_G_OPEN64]: Remove conditional code.
29932         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29933         unconditional.
29934         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29935         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29936         unconditional.
29937         (ftello64) [!_G_LSEEK64]: Remove conditional code.
29938         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29939         unconditional.
29940         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29941         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29942         unconditional.
29943         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29944         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29945         unconditional.
29946         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29947         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29948         unconditional.
29949         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29950         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29951         unconditional.
29952         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29953
29954 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29955
29956         [BZ #12140]
29957         * manual/memory.texi (Malloc Tunable Parameters): Add note
29958         about free list pointers overwriting some perturb bytes.
29959         Wording suggested by Roland McGrath.
29960
29961 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
29962
29963         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29964         (lgamma_test): Likewise.
29965         (tgamma_test): Likewise.
29966
29967 2012-10-16  Florian Weimer  <fweimer@redhat.com>
29968
29969         [BZ #14700]
29970         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29971         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29972
29973 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
29974
29975         * NEWS: Mention BZ #14716.
29976         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29977         when removing AVAILABLE1_USES_J macro.
29978
29979 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
29980
29981         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29982         (__bswap_64): __uint64_t for unsigned 64-bit int.
29983
29984 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
29985
29986         * include/string.h (memmem): Declare libc hidden alias.
29987         * string/memmem.c (memmem): Define libc hidden alias.
29988         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29989         __read, __close instead of open, read, close.
29990
29991 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
29992
29993         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29994         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29995         global and hidden.
29996         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29997         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29998         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29999         Likewise.
30000         (__rawmemchr_sse2): Likewise.
30001         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30002         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30003         (__strchr_sse2): Likewise.
30004         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30005         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30006         (__strcasecmp_sse2): Likewise.
30007         (__strncasecmp_sse2): Likewise.
30008         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30009         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30010         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30011         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30012         (__strrchr_sse2): Likewise.
30013         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30014         ifunc-impl-list.c.
30015         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30016         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30017         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30018         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30019         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30020         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30021         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30022         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30023         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30024         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30025         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30026         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30027         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30028         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30029         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30030         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30031         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30032         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30033         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30034         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30035         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30036         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30037         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30038         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30039         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30040         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30041         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30042         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30043         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30044         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30045
30046         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30047         global and hidden.
30048         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30049         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30050         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30051         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30052         Likewise.
30053         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30054         Likewise.
30055         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30056         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30057         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30058         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30059         ifunc-impl-list.c.
30060         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30061         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30062         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30063         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30064         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30065         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30066         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30067         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30068         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30069         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30070         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30071         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30072         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30073         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30074         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30075         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30076         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30077         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30078         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30079         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30080         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30081         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30082         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30083         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30084         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30085         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30086         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30087         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30088         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30089         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30090         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30091         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30092         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30093         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30094         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30095         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30096         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30097         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30098         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30099         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30100         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30101
30102         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30103         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30104         * include/ifunc-impl-list.h: New file.
30105         * misc/ifunc-impl-list.c: Likewise.
30106         * misc/Makefile (routines): Add ifunc-impl-list.
30107         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30108         * string/test-string.h: Include <ifunc-impl-list.h>.
30109         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30110         TEST_NAME]: New variables.
30111         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30112         are defined.
30113         (test_init): Call __libc_ifunc_impl_list to initialize
30114         func_list if TEST_IFUNC and TEST_NAME are defined.
30115
30116         * string/Makefile (strop-tests): Add bcopy and bzero.
30117         * string/test-bcopy.c: New file.
30118         * string/test-bzero.c: Likewise.
30119         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30120         defined.
30121         * string/test-memset.c: Support bzero test if TEST_BZERO is
30122         defined.
30123         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30124         __libc_memmove.
30125         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30126         __libc_memset.
30127         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30128         of memset.
30129
30130 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
30131
30132         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30133         * configure: Regenerated.
30134
30135         * Makeconfig (+link-static-before-libc): Don't include
30136         $(link-static-libc).
30137
30138         * libio/libio.h (_IO_pos_t): Remove.
30139
30140 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30141
30142         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
30143         McGrath.
30144
30145 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30146
30147         * crypt/crypt-entry.c: Include fips-private.h.
30148         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30149         * crypt/md5c-test.c (main): Tolerate disabled MD5.
30150         * sysdeps/unix/sysv/linux/fips-private.h: New file.
30151         * sysdeps/generic/fips-private.h: New file, dummy fallback.
30152
30153 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30154
30155         * crypt/crypt-private.h: Include stdbool.h.
30156         (_ufc_setup_salt_r): Return bool.
30157         * crypt/crypt-entry.c: Include errno.h.
30158         (__crypt_r): Return NULL with EINVAL for bad salt.
30159         * crypt/crypt_util.c (bad_for_salt): New.
30160         (_ufc_setup_salt_r): Check that salt is long enough and within
30161         the specified alphabet.
30162         * crypt/badsalttest.c: New file.
30163         * crypt/Makefile (tests): Add it.
30164         ($(objpfx)badsalttest): New.
30165
30166 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
30167
30168         * NEWS: Add entry for BZ #14602.
30169
30170 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30171
30172         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30173         type-generic.
30174         * math/libm-test.inc: Update comment listing what functions and
30175         macros are tested.
30176         (isgreater_test): New function.
30177         (isgreaterequal_test): Likewise.
30178         (isless_test): Likewise.
30179         (islessequal_test): Likewise.
30180         (islessgreater_test): Likewise.
30181         (isunordered_test): Likewise.
30182         (main): Call the new functions.
30183
30184 2012-10-09  Roland McGrath  <roland@hack.frob.com>
30185
30186         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30187         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30188         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30189         * sysdeps/i386/configure: Regenerated.
30190         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30191         * sysdeps/mach/configure: Regenerated.
30192         * sysdeps/mach/hurd/configure: Regenerated.
30193         * sysdeps/powerpc/configure: Regenerated.
30194         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30195         * sysdeps/powerpc/powerpc64/configure: Regenerated.
30196         * sysdeps/s390/s390-32/configure: Regenerated.
30197         * sysdeps/s390/s390-64/configure: Regenerated.
30198         * sysdeps/sh/configure: Regenerated.
30199         * sysdeps/sparc/configure: Regenerated.
30200         * sysdeps/unix/sysv/linux/configure: Regenerated.
30201         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30202         * sysdeps/x86_64/configure: Regenerated.
30203
30204         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30205         defined.  Don't check if MAP is NULL.
30206
30207 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30208
30209         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30210         (_G_stat64): Likewise.
30211         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30212         (_G_stat64): Likewise.
30213         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30214         instead of struct _G_stat64.
30215         * libio/fileops.c (mmap_remap_check): Likewise.
30216         (decide_maybe_mmap): Likewise.
30217         (_IO_new_file_seekoff): Likewise.
30218         (_IO_file_stat): Likewise.
30219         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30220         _G_off64_t.
30221         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30222         instead of struct _G_stat64.
30223         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30224
30225 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
30226
30227         [BZ #14602]
30228         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30229         Replace with ...
30230         (CHECK_EOL): New macro.
30231         (two_way_short_needle): Check beginning of haystack for EOL.  Use
30232         CHECK_EOL.
30233         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30234         Replace with CHECK_EOL.
30235         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30236         Replace with CHECK_EOL.
30237
30238 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
30239
30240         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30241         type-generic.
30242         * math/libm-test.inc: Update comment listing what functions and
30243         macros are tested.
30244         (finite_test): New function.
30245         (isinf_test): Likewise.
30246         (isnan_test): Likewise.
30247         (fpclassify_test): Test subnormal input.
30248         (isfinite_test): Likewise.
30249         (isnormal_test): Likewise.
30250         (main): Call the new functions.
30251
30252 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
30253
30254         [BZ #14660]
30255         * Makerules (%.dynsym): Force C locale when running
30256         $(OBJDUMP) --dynamic-syms.
30257
30258 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
30259
30260         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30261         <stdint.h>.
30262
30263 2012-10-06  David S. Miller  <davem@davemloft.net>
30264
30265         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30266         upper 32-bits of the length value in %o2 since we use branch-on-register
30267         tests which consider the entire 64-bit register.
30268
30269 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
30270
30271         * string/test-strstr.c (check2): Add a test for page boundary.
30272
30273 2012-10-05  David S. Miller  <davem@davemloft.net>
30274
30275         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30276         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30277         file.
30278         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30279         sysdep_routines.
30280         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30281         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30282         and bzero when HWCAP_SPARC_CRYPTO is present.
30283
30284 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
30285
30286         [BZ #14602]
30287         * string/test-strstr.c (check2): New function.
30288         (test_main): Call check2.
30289
30290         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30291         and bug-strchr1.
30292         * string/bug-strcasestr1.c (do_test): Moved to ...
30293         * string/test-strcasestr.c (check1): Here.  New function.
30294         (do_one_test): Break out result checking code into ...
30295         (check_result): This.  New function.
30296         (do_one_test): Call check_result.
30297         (test_main): Call check1.
30298         * string/bug-strchr1.c (do_test): Moved to ...
30299         * string/test-strchr.c (check1): Here.  New function.
30300         (do_one_test): Break out result checking code into ...
30301         (check_result): This.  New function.
30302         (do_one_test): Call check_result.
30303         (test_main): Call check1.
30304         * string/bug-strstr1.c (main): Moved to ...
30305         * string/test-strstr.c (check1): Here.  New function.
30306         (do_one_test): Break out result checking code into ...
30307         (check_result): This.  New function.
30308         (do_one_test): Call check_result.
30309         (test_main): Call check1.
30310         * string/bug-strcasestr1.c: Removed.
30311         * string/bug-strchr1.c: Likewise.
30312         * string/bug-strstr1.c: Likewise.
30313
30314         * elf/Makefile (dl-routines): Add hwcaps.
30315         * elf/dl-support.c (_dl_important_hwcaps): Removed.
30316         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30317         (_dl_important_hwcaps): Moved to ...
30318         * elf/dl-hwcaps.c: Here.  New file.
30319         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30320
30321         [BZ #14557]
30322         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30323         if IS_IN_rtld isn't defined.
30324
30325         * elf/dl-support.c (_dl_sysinfo_map): New.
30326         Include "get-dynamic-info.h" and "setup-vdso.h".
30327         (_dl_non_dynamic_init): Call setup_vdso.
30328         * elf/dynamic-link.h: Don't include <assert.h>.
30329         (elf_get_dynamic_info): Moved to ...
30330         * elf/get-dynamic-info.h: Here.  New file.
30331         * elf/dynamic-link.h: Include "get-dynamic-info.h".
30332         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30333         * elf/setup-vdso.h: Here.  New file.
30334         * elf/rtld.c: Include "setup-vdso.h".
30335         (dl_main): Call setup_vdso.
30336
30337 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
30338
30339         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30340         creal in comment listing functions tested.  List finite, isinf,
30341         isnan, isless, islessequal, isgreater, isgreaterequal,
30342         islessgreater, isunordered, lgamma_r and pow10 as functions and
30343         macros not tested.  Mention which functions not tested are aliases
30344         for other functions.  Fix typo.  Note that signs of NaNs are not
30345         tested.
30346
30347         * scripts/config.guess: Update from config.git.
30348         * scripts/config.sub: Likewise.
30349
30350 2012-10-04  Roland McGrath  <roland@hack.frob.com>
30351
30352         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30353         * misc/madvise.c (madvise): Renamed to __madvise.
30354         Make madvise a weak alias.
30355         * include/sys/mman.h: Declare __madvise.
30356         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30357         * sysdeps/unix/syscalls.list
30358         (madvise): Make __madvise the strong name, and madvise a weak alias.
30359         * sysdeps/unix/sysv/linux/syscalls.list
30360         (madvise, mmap): Remove redundant entries.
30361         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30362         * malloc/malloc.c (mtrim): Likewise.
30363         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30364
30365 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30366
30367         * sysdeps/mach/hurd/dl-cache.c: File removed.
30368         * config.h.in (USE_LDCONFIG): New #undef.
30369         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30370         * configure: Regenerated.
30371         * elf/Makefile (dl-routines): Add dl-cache only under
30372         [$(use-ldconfig) = yes].
30373         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30374         cache on [USE_LDCONFIG].
30375         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30376         [USE_LDCONFIG].
30377         * elf/rtld.c (dl_main): Likewise.
30378
30379 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
30380
30381         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30382         _SC_LEVEL4_CACHE_LINESIZE.
30383
30384 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30385
30386         * sysdeps/unix/bsd/confstr.h: File removed.
30387
30388 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
30389
30390         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30391         sys/sdt-config.h.
30392
30393 2012-10-02  Roland McGrath  <roland@hack.frob.com>
30394
30395         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30396         Make 'mapoff' field ElfW(Off) rather than off_t.
30397
30398 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
30399
30400         * nscd/Makefile: Remove nscd-cflags and all its users.
30401         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30402         (CFLAGS-nonlib): Add compiler flags for nscd modules.
30403
30404         [BZ #10631]
30405         * malloc.c (malloc_printerr): Clarify error message.
30406
30407 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
30408
30409         [BZ #14648]
30410         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30411         Set bit_FMA_Usable if FMA is supported.
30412         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30413         macro.
30414         (bit_FMA4_Usable): Updated.
30415         (index_FMA_Usable): New macro.
30416         (CPUID_FMA): Likewise
30417         (HAS_FMA): Defined with bit_FMA_Usable.
30418
30419 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30420
30421         * bits/types.h (__swblk_t): Type removed.
30422         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30423         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30424         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30425         (__SWBLK_T_TYPE): Likewise.
30426         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30427         (__SWBLK_T_TYPE): Likewise.
30428         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30429         (__SWBLK_T_TYPE): Likewise.
30430         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30431         (__SWBLK_T_TYPE): Likewise.
30432
30433 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
30434             Honza Horak <hhorak@redhat.com>
30435
30436         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30437         (xdr_mapname): Use YPMAXMAP as maxsize.
30438         (xdr_peername): Use YPMAXPEER as maxsize.
30439         (xdr_keydat): Use YPAXRECORD as maxsize.
30440         (xdr_valdat): Use YPMAXRECORD as maxsize.
30441
30442 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30443
30444         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30445
30446         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30447         * csu/init-first.c: ... here.
30448         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30449         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30450         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30451         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30452         * sysdeps/i386/init-first.c: File removed.
30453         * sysdeps/sh/init-first.c: File removed.
30454
30455 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
30456
30457         [BZ #14645]
30458         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30459         if x * y might underflow to zero and z is zero.
30460         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30461         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30462         * math/libm-test.inc (min_subnorm_value): New variable.
30463         (fma_test): Add more tests.
30464         (fma_test_towardzero): Likewise.
30465         (fma_test_downward): Likewise
30466         (fma_test_upward): Likewise.
30467         (initialize): Set min_subnorm_value.
30468
30469 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
30470
30471         [BZ #14638]
30472         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30473         0 + 0.
30474         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30475         mode for addition resulting in exact zero.
30476         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30477         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30478         exact 0 + 0.
30479         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30480         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30481         * math/libm-test.inc (fma_test): Add more tests.
30482         (fma_test_towardzero): New function.
30483         (fma_test_downward): Likewise.
30484         (fma_test_upward): Likewise.
30485         (main): Call the new functions.
30486
30487 2012-09-28  David S. Miller  <davem@davemloft.net>
30488
30489         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30490
30491 2012-09-28  Roland McGrath  <roland@hack.frob.com>
30492
30493         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30494         instead of SIGALRM.
30495
30496         * sysdeps/gnu/_G_config.h: Moved to ...
30497         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30498         * sysdeps/mach/hurd/_G_config.h: Moved to ...
30499         * sysdeps/generic/_G_config.h: ... here.
30500
30501         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
30502
30503         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30504
30505         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30506         Conditionalize target on [libnss_test1.so-version].
30507
30508         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30509
30510         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30511         (elfobjdir): Move out of conditionals.
30512
30513         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30514         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30515         (__nss_lookup_function): Conditionalize label remove_from_tree on
30516         [!DO_STATIC_NSS || SHARED], matching its only use.
30517
30518 2012-09-28  David S. Miller  <davem@davemloft.net>
30519
30520         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30521         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30522         file.
30523         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30524         sysdep_routines.
30525         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30526         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30527         when HWCAP_SPARC_CRYPTO is present.
30528
30529 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30530
30531         * io/tst-mknodat.c: Create a FIFO instead of a socket.
30532
30533 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
30534
30535         [BZ #6530]
30536         * stdio-common/vfprintf.c (process_string_arg): Revert
30537         2000-07-22 change.
30538
30539 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
30540
30541         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30542         for testcase.
30543         * stdio-common/tst-sprintf.c: Include <locale.h>
30544         (main): Test sprintf's handling of incomplete multibyte
30545         characters.
30546
30547 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
30548
30549         * elf/dl-runtime.c (VERSYMIDX): Removed.
30550         * elf/dl-version.c (VERSYMIDX): Likewise.
30551         * elf/do-rel.h (VERSYMIDX): Likewise.
30552         (VALIDX): Likewise.
30553         * elf/dynamic-link.h (VERSYMIDX): Likewise.
30554         * elf/rtld.c (VALIDX): Likewise.
30555         (ADDRIDX): Likewise.
30556         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30557         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30558         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30559         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30560         (VALIDX): Likewise.
30561         (ADDRIDX): Likewise.
30562
30563 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30564
30565         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30566
30567 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
30568
30569         [BZ #11438]
30570         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30571         to global scope.
30572         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30573         addresses are in the same scope as 192.0.2/24.
30574         * posix/gai.conf: Document new scope table defaults.
30575
30576 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30577
30578         [BZ #5298]
30579         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30580         for ftell.  Compute offsets from write pointers instead.
30581         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30582
30583 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30584
30585         [BZ #14543]
30586         * libio/Makefile (tests): New test case tst-fseek.
30587         * libio/tst-fseek.c: New test case to verify that fseek/ftell
30588         combination works in wide mode.
30589         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30590         state when the external buffer state changes.
30591
30592 2012-09-27  David S. Miller  <davem@davemloft.net>
30593
30594         [BZ #14376]
30595         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30596         pass reloc->r_addend in as the 'high' argument to
30597         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30598
30599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30600
30601 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30602
30603         * rt/tst-aio2.c: Include <pthread.h>.
30604         * rt/tst-aio3.c: Likewise.
30605
30606 2012-09-27  Steve Ellcey  <sellcey@mips.com>
30607
30608         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30609
30610 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
30611
30612         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30613         contents on [SHARED].
30614
30615 2012-09-26  Marek Polacek  <polacek@redhat.com>
30616
30617         [BZ #14530]
30618         [BZ #13741]
30619         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30620         for C++ and GCC <4.3 as well as for non GCC compilers.
30621
30622 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30623
30624         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30625
30626 2012-09-25  Roland McGrath  <roland@hack.frob.com>
30627
30628         * Makefile.in (all, install): Declare with .PHONY.
30629         Reported by Michael Hope <michael.hope@linaro.org>.
30630
30631 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30632
30633         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30634         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30635         system header.
30636         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30637         Likewise.
30638         (sydep_routines): Add the new and the internal functions.
30639         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30640         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30642         (GLIBC_2.17): Add the new function.
30643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30644         (GLIBC_2.17): Likewise.
30645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30646         (GLIBC_2.17): Likewise.
30647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30648         (GLIBC_2.17): Likewise.
30649         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30650
30651 2012-09-25  Alan Modra  <amodra@gmail.com>
30652
30653         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30654         Add release barrier before setting once_control to say
30655         initialisation is done.  Add hints on lwarx.  Use macro in
30656         place of isync.
30657         (clear_once_control): Add release barrier.
30658
30659 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30660
30661         [BZ #13629]
30662         * math/s_clog.c (__clog): Handle more values close to |z| = 1
30663         specially.
30664         * math/s_clog10.c (__clog10): Likewise.
30665         * math/s_clog10f.c (__clog10f): Likewise.
30666         * math/s_clog10l.c (__clog10l): Likewise.
30667         * math/s_clogf.c (__clogf): Likewise.
30668         * math/s_clogl.c (__clogl): Likewise.
30669         * math/Makefile (libm-calls): Add x2y2m1.
30670         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30671         (__x2y2m1): Likewise.
30672         (__x2y2m1l): Likewise.
30673         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30674         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30675         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30676         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30677         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30678         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30679         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30680         * sysdeps/i386/fpu/libm-test-ulps: Update.
30681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30682
30683         [BZ #14621]
30684         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30685         int as type of variable DEPTH.
30686         (glob): Use size_t instead of int as type of variables NEWCOUNT
30687         and OLD_PATHC.
30688
30689 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30690
30691         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30692         Add s_sincosf-sse2.
30693         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30694         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30695         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30696         macros for using routine as __sincosf_ia32.
30697         Use macro for function declaration and weak_alias.
30698         * sysdeps/i386/fpu/libm-test-ulps: Update.
30699
30700         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30701         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30702
30703         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30704         subnormal argument.
30705         * math/s_cexpf.c (__cexpf): Likewise.
30706         * math/s_csinf.c (__csinf): Likewise.
30707         * math/s_csinhf.c (__csinhf): Likewise.
30708         * math/s_ctanf.c (__ctanf): Likewise.
30709         * math/s_ctanhf.c (__ctanhf): Likewise.
30710         * math/s_ccosh.c (__ccoshf): Likewise.
30711         * math/s_cexp.c (__cexpl): Likewise.
30712         * math/s_csin.c (__csin): Likewise.
30713         * math/s_csinh.c (__csinh): Likewise.
30714         * math/s_ctan.c (__ctan): Likewise.
30715         * math/s_ctanh.c (ctanh): Likewise.
30716         * math/s_ccoshl.c (__ccoshl): Likewise.
30717         * math/s_cexpl.c (__cexpl): Likewise.
30718         * math/s_csinl.c (__csinl): Likewise.
30719         * math/s_csinhl.c (__csinhl): Likewise.
30720         * math/s_ctanl.c (__ctanl): Likewise.
30721         * math/s_ctanhl.c (__ctanhl): Likewise.
30722
30723 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30724
30725         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30726         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30727         (_IO_off_t): Define to __off_t, not _G_off_t.
30728         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30729         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30730         (_IO_wint_t): Define to wint_t, not _G_wint_t.
30731         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30732         type of __dummy and __dummy2 fields.
30733         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30734         (_G_ssize_t): Likewise.
30735         (_G_off_t): Likewise.
30736         (_G_pid_t): Likewise.
30737         (_G_uid_t): Likewise.
30738         (_G_wchar_t): Likewise.
30739         (_G_wint_t): Likewise.
30740         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30741         (_G_ssize_t): Likewise.
30742         (_G_off_t): Likewise.
30743         (_G_pid_t): Likewise.
30744         (_G_uid_t): Likewise.
30745         (_G_wchar_t): Likewise.
30746         (_G_wint_t): Likewise.
30747         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30748         (_G_ssize_t): Likewise.
30749         (_G_off_t): Likewise.
30750         (_G_pid_t): Likewise.
30751         (_G_uid_t): Likewise.
30752         (_G_wchar_t): Likewise.
30753         (_G_wint_t): Likewise.
30754
30755 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30756
30757         * malloc/arena.c: Include malloc-sysdep.h.
30758         (shrink_heap): Use check_may_shrink_heap to decide if madvise
30759         is sufficient to shrink the heap or an unmap is needed.
30760         * sysdeps/generic/malloc-sysdep.h: New file.  Define
30761         new function check_may_shrink_heap.
30762         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
30763         new function check_may_shrink_heap.
30764
30765 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30766
30767         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30768         comments.
30769
30770 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
30771
30772         * catgets/test-gencat.sh: Add "set -e".
30773         * elf/tst-pathopt.sh: Likewise.
30774         * grp/tst_fgetgrent.sh: Likewise.
30775         * iconvdata/run-iconv-test.sh: Likewise.
30776         * intl/tst-gettext.sh: Likewise.
30777         * intl/tst-gettext2.sh: Likewise.
30778         * intl/tst-gettext4.sh: Likewise.
30779         * intl/tst-gettext6.sh: Likewise.
30780         * intl/tst-translit.sh: Likewise.
30781         * io/ftwtest-sh: Likewise.
30782         * libio/test-freopen.sh: Likewise.
30783         * malloc/tst-mtrace.sh: Likewise.
30784         * posix/globtest.sh: Likewise.
30785         * posix/tst-getconf.sh: Likewise.
30786         * posix/wordexp-tst.sh: Likewise.
30787         * stdio-common/tst-printf.sh: Likewise.
30788         * stdio-common/tst-unbputc.sh: Likewise.
30789         * stdlib/tst-fmtmsg.sh: Likewise.
30790         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30791         * catgets/Makefile: Do not specify -e option when running
30792         testsuite shell scripts.
30793         * elf/Makefile: Likewise.
30794         * grp/Makefile: Likewise.
30795         * iconvdata/Makefile: Likewise.
30796         * intl/Makefile: Likewise.
30797         * io/Makefile: Likewise.
30798         * libio/Makefile: Likewise.
30799         * malloc/Makefile: Likewise.
30800         * posix/Makefile: Likewise.
30801         * stdio-common/Makefile: Likewise.
30802         * stdlib/Makefile: Likewise.
30803         * sysdeps/x86_64/Makefile: Likewise.
30804
30805         * io/ftwtest-sh: Add copyright header.
30806         * posix/globtest.sh: Likewise.
30807         * posix/tst-getconf.sh: Likewise.
30808         * posix/wordexp-tst.sh: Likewise.
30809         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30810
30811 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
30812
30813         [BZ #13679]
30814         * Makeconfig (+link): Defined as $(+link-static) if
30815         $(build-shared) isn't yes.
30816         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30817         isn't yes.
30818         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30819
30820         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30821
30822         [BZ #14562]
30823         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30824         new chunk size with MALLOC_ALIGN_MASK.
30825
30826 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
30827
30828         [BZ #5044]
30829         * stdio-common/printf_fphex.c: Include <stdbool.h> and
30830         <rounding-mode.h>.
30831         (__printf_fphex): Determine rounding using get_rounding_mode and
30832         round_away.
30833         * stdio-common/tst-printf-round.c (struct hex_test): New
30834         structure.
30835         (hex_tests): New variable.
30836         (test_hex_in_one_mode): New function.
30837         (do_test): Also run tests for hex float output.
30838
30839 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
30840
30841         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30842         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30843         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30844         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30845         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30846         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30847         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30848         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30849
30850 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
30851
30852         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30853         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30854         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30855         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30856
30857 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
30858
30859         [BZ #14579]
30860         * elf/rtld.c (dl_main): Limit the check for self loading to normal
30861         mode only.
30862         * elf/tst-rtld-load-self.sh: New test.
30863         * elf/Makefile: Run it.
30864
30865 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
30866
30867         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30868         (tst-writev-ENV): Remove.
30869         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30870
30871 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
30872
30873         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30874
30875 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
30876
30877         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30878         unconditional.
30879         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30880         Likewise.
30881         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30882         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30883         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30884         Likewise.
30885
30886 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
30887
30888         [BZ #14587]
30889         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30890         * config.make.in (have-cpp-asm-debuginfo): Removed.
30891         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30892         * configure: Regenerated.
30893
30894 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
30895
30896         [BZ #5044]
30897         * stdio-common/printf_fp.c: Include <stdbool.h> and
30898         <rounding-mode.h>.
30899         (___printf_fp): Determine rounding using get_rounding_mode and
30900         round_away.
30901         * stdio-common/tst-printf-round.c: New file.
30902         * stdio-common/Makefile (tests): Add tst-printf-round.
30903         (link-libm): New variable.
30904         ($(objpfx)tst-printf-round): Depend in $(link-libm).
30905
30906 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
30907
30908         [BZ #14576]
30909         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30910         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30911         Likewise.
30912         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30913         Likewise.
30914
30915 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
30916
30917         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30918         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30919         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30920         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30921
30922 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
30923
30924         [BZ #14518]
30925         * include/rounding-mode.h: New file.
30926         * sysdeps/generic/get-rounding-mode.h: Likewise.
30927         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30928         * stdlib/strtod_l.c: Include <rounding-mode.h>.
30929         (MAX_VALUE): New macro.
30930         (MIN_VALUE): Likewise.
30931         (overflow_value): New function.
30932         (underflow_value): Likewise.
30933         (round_and_return): Use overflow_value and underflow_value to
30934         determine return values in overflow and underflow cases.  Use
30935         round_away to determine rounding depending on rounding mode.
30936         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30937         determine return values in overflow and underflow cases.
30938         * stdlib/tst-strtod-round.c: Include <fenv.h>.
30939         (struct test_results): New structure.
30940         (struct test): Use struct test_results to store expected results
30941         for all rounding modes.
30942         (TEST): Include expected results for all rounding modes.
30943         (test_in_one_mode): New function.
30944         (do_test): Use test_in_one_mode to compute and check results.
30945         Check results for all rounding modes.
30946         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30947         $(link-libm).
30948
30949 2012-12-09  Allan McRae  <allan@archlinux.org>
30950
30951         * sysdeps/i386/fpu/libm-test-ulps: Update
30952
30953 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
30954
30955         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30956         (_G_int32_t): Likewise.
30957         (_G_uint16_t): Likewise.
30958         (_G_uint32_t): Likewise.
30959         (_G_HAVE_BOOL): Likewise.
30960         (_G_HAVE_ATEXIT): Likewise.
30961         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30962         (_G_HAVE_IO_FILE_OPEN): Likewise.
30963         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30964         (_G_int32_t): Likewise.
30965         (_G_uint16_t): Likewise.
30966         (_G_uint32_t): Likewise.
30967         (_G_HAVE_BOOL): Likewise.
30968         (_G_HAVE_ATEXIT): Likewise.
30969         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30970         (_G_HAVE_IO_FILE_OPEN): Likewise.
30971         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30972         (_G_int32_t): Likewise.
30973         (_G_uint16_t): Likewise.
30974         (_G_uint32_t): Likewise.
30975         (_G_HAVE_BOOL): Likewise.
30976         (_G_HAVE_ATEXIT): Likewise.
30977         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30978         (_G_HAVE_IO_FILE_OPEN): Likewise.
30979
30980 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
30981
30982         * csu/libc-tls.c: Update copyright years.
30983
30984 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
30985
30986         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30987         [!_G_USING_THUNKS]: Remove conditional code.
30988         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30989         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30990
30991         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30992         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30993         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30994         (_G_VTABLE_LABEL_PREFIX): Likewise.
30995         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30996         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30997         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30998         (_G_VTABLE_LABEL_PREFIX): Likewise.
30999         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31000         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31001         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31002         (_G_VTABLE_LABEL_PREFIX): Likewise.
31003         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31004
31005 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
31006
31007         * libio/Makefile: Include ../Makeconfig before tests.
31008         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31009         only if $(build-shared) is yes.
31010
31011         * iconv/gconv_db.c: Update copyright years.
31012
31013 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31014
31015         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31016         unwind info if defined PIC. Fix special cases description.
31017         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31018
31019         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31020         DP_HI_MASK entry.
31021         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31022
31023 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
31024
31025         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31026
31027         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31028         is NULL.
31029
31030         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31031         (LDLIBS-tst-chk4): This.
31032         (LDFLAGS-tst-chk5): Renamed to ...
31033         (LDLIBS-tst-chk5): This.
31034         (LDFLAGS-tst-chk6): Renamed to ...
31035         (LDLIBS-tst-chk6): This.
31036         (LDFLAGS-tst-lfschk4): Renamed to ...
31037         (LDLIBS-tst-lfschk4): This.
31038         (LDFLAGS-tst-lfschk5): Renamed to ...
31039         (LDLIBS-tst-lfschk5): This.
31040         (LDFLAGS-tst-lfschk6): Renamed to ...
31041         (LDLIBS-tst-lfschk6): This.
31042
31043         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31044         on $(common-objpfx)soversions.mk.
31045
31046 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
31047
31048         [BZ #10014]
31049         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31050         example host name.
31051
31052 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31053
31054         * malloc/arena.c (arena_get_retry): New function that gets
31055         another arena for the caller to try its request on.
31056         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31057         current arena cannot fulfill the request.
31058         (__libc_memalign): Likewise.
31059         (__libc_memalign): Likewise.
31060         (__libc_pvalloc): Likewise.
31061         (__libc_calloc): Likewise.
31062
31063 2012-09-05  John Tobey  <john.tobey@gmail.com>
31064
31065         [BZ #13542]
31066         * manual/arith.texi (Operations on Complex): Fix description
31067         of carg branch cut.
31068
31069 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31070
31071         [BZ #10014]
31072         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31073         host name.
31074
31075         [BZ #10038]
31076         * manual/memory.texi (Memory): Make order of menu items match
31077         order of sections.
31078
31079 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31080
31081         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31082         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
31083         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31084
31085 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31086
31087         * csu/libc-tls.c (static_dtv): Renamed to ...
31088         (_dl_static_dtv): This.  Make it global.
31089         (_dl_initial_dtv): Removed.
31090         (__libc_setup_tls): Updated.
31091         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31092         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31093         DL_INITIAL_DTV.
31094
31095 2012-09-06  Petr Machata  <pmachata@redhat.com>
31096
31097         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31098         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31099         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31100         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31101
31102 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31103
31104         [BZ #14545]
31105         * csu/libc-tls.c (_dl_initial_dtv): New variable.
31106         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31107         freeing dtv[-1].
31108
31109 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31110
31111         [BZ #14544]
31112         * Makeconfig (link-static-before-libc): Replace $(+prector)
31113         with $(+prectorT).
31114         (link-static-after-libc): Replace $(+postctor) with
31115         $(+postctorT).
31116         (link-bounded): Replace $(+prector)/$(+postctor) with
31117         $(+prectorT)/$(+postctorT).
31118         (+prectorT): New macro.
31119         (+postctorT): Likewise.
31120
31121 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31122
31123         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31124         (round_str): Handle values above the maximum for IBM long double
31125         as inexact.
31126         * stdlib/tst-strtod-round.c (tests): Regenerated.
31127
31128 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31129
31130         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31131         assembler flag.
31132         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31133         zarch_nohighgprs around the zarch optimized routines.
31134         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31135         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31136         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31137         for zarch.
31138
31139 2012-09-05  David S. Miller  <davem@davemloft.net>
31140
31141         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31142
31143         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31144         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31145         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31146         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31147         entries.
31148
31149 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31150
31151         * malloc/arena.c: Fold copyright years.
31152         * malloc/mcheck.c, malloc/memusage.c: Likewise.
31153
31154 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31155
31156         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31157
31158 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31159
31160         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
31161
31162 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31163
31164         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31165         change internal state upon failure.
31166
31167 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31168
31169         * malloc/mcheck.c (mcheck_check_all): Fix typo.
31170         * malloc/memusage.c (mmap): Likewise.
31171         (mmap64, mremap): Likewise.  Adjust name in comment.
31172
31173 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31174
31175         * libio/fileops.c: Fix typos in comments.
31176         * libio/oldfileops.c: Likewise.
31177         * libio/wfileops.c: Likewise.
31178
31179 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31180
31181         [BZ #1349]
31182         * malloc/Makefile (tests): Add tst-malloc-usable test case.
31183         (tst-malloc-usable-ENV): Set environment for test case.
31184         * malloc/hooks.c (malloc_check_get_size): New function to get
31185         requested size.
31186         * malloc/malloc.c (musable): Use malloc_check_get_size.
31187         * malloc/tst-malloc-usable.c: New test case.
31188
31189 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31190
31191         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31192
31193 2012-09-05  Allan McRae  <allan@archlinux.org>
31194
31195         [BZ #13966]
31196         * configure.in (CXX_SYSINCLUDES): Use compiler output to
31197         determine header location.
31198         * configure: Regenerated.
31199
31200 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31201
31202         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31203         float format.
31204         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31205         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31206         format.
31207         (test): Regenerate.
31208
31209 2012-09-04  David S. Miller  <davem@davemloft.net>
31210
31211         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31212         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31213         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31214
31215 2012-09-04  Florian Weimer  <fweimer@redhat.com>
31216
31217         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31218         failures.
31219
31220         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31221
31222 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
31223
31224         [BZ #9914]
31225         * libio/iogetdelim.c: Include <limits.h>.
31226         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31227         + len + 1 would overflow.
31228
31229 2012-09-03  Andreas Jaeger  <aj@suse.de>
31230
31231         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31232         * sysdeps/i386/fpu/libm-test-ulps: Update.
31233
31234 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31235
31236         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31237         Add s_sinf-sse2, s_conf-sse2.
31238
31239         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31240         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31241         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31242         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31243
31244         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31245         for using routine as __sinf_ia32.
31246         Use macro for function declaration and weak_alias.
31247         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31248         for using routine as __cosf_ia32.
31249         Use macro for function declaration and weak_alias.
31250
31251         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31252         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31253
31254         * sysdeps/x86_64/fpu/s_sinf.S: New file.
31255         * sysdeps/x86_64/fpu/s_cosf.S: New file.
31256         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31257
31258         * math/libm-test.inc (cos_test): Add more test cases.
31259         (sin_test): Likewise.
31260         (sincos_test): Likewise.
31261
31262 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31263
31264         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31265         (IFUNC_RESOLVE): Make pointers to the specialized implementations
31266         hidden.
31267         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31268
31269 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
31270
31271         [BZ #14538]
31272         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31273         first element of the GOT.
31274         (elf_machine_load_address): Return the difference between
31275         the runtime address of _DYNAMIC and elf_machine_dynamic ().
31276
31277 2012-09-01  Allan McRae  <allan@archlinux.org>
31278
31279         [BZ #13412]
31280         * configure.in (AWK): Require gawk version 3.0 or later.
31281         * configure: Regenerated.
31282
31283 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
31284
31285         * sysdeps/unix/sysv/linux/kernel-features.h
31286         (__ASSUME_POSIX_CPU_TIMERS): Remove.
31287         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31288         [__NR_clock_getres]: Make code unconditional.
31289         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31290         (clock_getcpuclockid): Remove code left unreachable by removal of
31291         conditionals.
31292         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31293         code unconditional.
31294         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31295         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31296         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31297         Make code unconditional.
31298         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31299         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31300         * sysdeps/unix/sysv/linux/clock_settime.c
31301         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31302         conditional code.
31303         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31304         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31305
31306 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
31307
31308         [BZ #14476]
31309         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31310         scripts/test-installation.pl.
31311
31312         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31313         and $ld_so_version if it is set.
31314
31315 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31316
31317         [BZ #14516]
31318         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31319         failure if reading from procfs failed.
31320         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31321
31322 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31323
31324         * sysdeps/unix/sysv/linux/kernel-features.h
31325         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31326         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31327         Remove conditional code.
31328         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31329         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31330         Remove conditional code.
31331         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31332         * sysdeps/unix/sysv/linux/i386/fxstat.c
31333         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31334         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31335         * sysdeps/unix/sysv/linux/i386/fxstatat.c
31336         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31337         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31338         * sysdeps/unix/sysv/linux/i386/lxstat.c
31339         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31340         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31341         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31342         Remove conditional code.
31343         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31344         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31345         Remove conditional code.
31346         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31347         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31348         <kernel-features.h>.
31349         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31350         Remove.
31351         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31352         Remove conditional code.
31353         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31354         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31355         Remove conditional.
31356
31357 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
31358
31359         [BZ #5400]
31360         * NEWS: Add fixed bug number.
31361
31362 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31363
31364         [BZ #14519]
31365         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31366         underflowing exponent in case of negative sign.
31367         * stdlib/tst-strtod-round-data: Add more tests.
31368         * stdlib/tst-strtod-round.c (tests): Regenerated.
31369
31370         [BZ #3479]
31371         * stdlib/strtod_l.c (NDIG): Remove.
31372         (HEXNDIG): Likewise.
31373         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31374         smallest representable value.
31375         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31376         lie within an exact representation of 1/2 ulp of the result.
31377         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31378         unconditionally.
31379         (TENS_P9_IDX): Define unconditionally.
31380         (TENS_P9_SIZE): Likewise.
31381         (TENS_P10_IDX): Likewise.
31382         (TENS_P10_SIZE): Likewise.
31383         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31384         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31385         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31386         entries for 10^2^13 and 10^2^14.
31387         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31388         (TENS_P13_IDX): Define.
31389         (TENS_P13_SIZE): Likewise.
31390         (TENS_P14_IDX): Likewise.
31391         (TENS_P14_SIZE): Likewise.
31392         (_fpioconst_pow10): Change array size to
31393         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
31394         unconditional.
31395         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31396         1024]: Add entries for 10^2^13 and 10^2^14.
31397         [LAST_POW10 > _LAST_POW10]: Remove #error.
31398         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31399         (_fpioconst_pow10): Change array size to
31400         FPIOCONST_POW10_ARRAY_SIZE.
31401         * stdlib/gen-fpioconst.c: New file.
31402         * stdlib/gen-tst-strtod-round.c: Likewise.
31403         * stdlib/tst-strtod-round-data: Likewise.
31404         * stdlib/tst-strtod-round.c: Likewise.
31405         * stdlib/Makefile (tests): Add tst-strtod-round.
31406
31407         [BZ #14459]
31408         * stdlib/strtod_l.c: Include <stdint.h>.
31409         (NDEBUG): Do not define.
31410         (round_and_return): Change EXPONENT parameter to type intmax_t.
31411         Rearrange calculations to avoid internal overflow possibilities.
31412         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31413         Rearrange calculations to avoid internal overflow possibilities.
31414         Assert that number fits inside MPNSIZE limbs.
31415         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31416         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
31417         calculations and add assertions to avoid internal overflow
31418         possibilities.  Add casts to avoid signed/unsigned operations.
31419         * stdlib/tst-strtod-overflow.c: New file.
31420         * stdlib/Makefile (tests): Add tst-strtod-overflow.
31421
31422 2012-08-25  Marek Polacek  <polacek@redhat.com>
31423
31424         * time/time.h: Fix some typos in comments.
31425
31426 2012-08-23  Roland McGrath  <roland@hack.frob.com>
31427
31428         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31429         * posix/tst-rfc3484-2.c: Likewise.
31430         * posix/tst-rfc3484-3.c: Likewise.
31431
31432 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
31433
31434         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31435         (EF_ARM_ABI_FLOAT_HARD): Likewise.
31436
31437 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
31438
31439         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31440         #include of fxstatat64.c.
31441
31442 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31443
31444         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31445         * shadow/getspent_r.c: Likewise.
31446         * shadow/getspnam.c: Likewise.
31447         * shadow/getspnam_r.c: Likewise.
31448         * gshadow/getsgent.c: Likewise.
31449         * gshadow/getsgent_r.c: Likewise.
31450         * gshadow/getsgnam.c: Likewise.
31451         * gshadow/getsgnam_r.c: Likewise.
31452         * inet/getnetbyad.c: Likewise.
31453         * inet/getnetbyad_r.c: Likewise.
31454         * inet/getnetbynm.c: Likewise.
31455         * inet/getnetbynm_r.c: Likewise.
31456         * inet/getnetent.c: Likewise.
31457         * inet/getnetent_r.c: Likewise.
31458         * inet/getproto.c: Likewise.
31459         * inet/getproto_r.c: Likewise.
31460         * inet/getprtent.c: Likewise.
31461         * inet/getprtent_r.c: Likewise.
31462         * inet/getprtname.c: Likewise.
31463         * inet/getprtname_r.c: Likewise.
31464         * inet/getrpcbyname.c: Likewise.
31465         * inet/getrpcbyname_r.c: Likewise.
31466         * inet/getrpcbynumber.c: Likewise.
31467         * inet/getrpcbynumber_r.c: Likewise.
31468         * inet/getrpcent.c: Likewise.
31469         * inet/getrpcent_r.c: Likewise.
31470         * inet/getaliasent.c: Likewise.
31471         * inet/getaliasent_r.c: Likewise.
31472         * inet/getaliasname.c: Likewise.
31473         * inet/getaliasname_r.c: Likewise.
31474         * nscd/getgrgid_r.c: Likewise.
31475         * nscd/getgrnam_r.c: Likewise.
31476         * nscd/gethstbyad_r.c: Likewise.
31477         * nscd/gethstbynm3_r.c: Likewise.
31478         * nscd/getpwnam_r.c: Likewise.
31479         * nscd/getpwuid_r.c: Likewise.
31480         * nscd/getsrvbynm_r.c: Likewise.
31481         * nscd/getsrvbypt_r.c: Likewise.
31482         * nscd/gai.c: Likewise.
31483
31484         * configure.in (build_nscd): New substituted variable, set
31485         by --disable-build-nscd and defaults to $use_nscd.
31486         * configure: Regenerated.
31487         * config.make.in (build-nscd): New substituted variable.
31488         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31489         Change conditional to require [$(build-nscd) = yes] as well.
31490         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31491
31492         [BZ# 13696]
31493         * configure.in (use_nscd): New substituted variable, set by
31494         --disable-nscd.  If enabled, define USE_NSCD.
31495         * configure: Regenerated.
31496         * config.h.in: Add USE_NSCD.
31497         * config.make.in (use-nscd): New substituted variable.
31498         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31499         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31500         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31501         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31502         (CFLAGS-getgrnam_r.c): Likewise.
31503         (CFLAGS-initgroups.c): Likewise.
31504         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31505         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31506         Variables removed.
31507         * inet/getnetgrent_r.c
31508         (nscd_setnetgrent): New function, broken out of ...
31509         (setnetgrent): ... here.  Call it.
31510         (innetgr): Conditionalize nscd bits on [USE_NSCD].
31511         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31512         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31513         * nscd/Makefile (routines, aux): Move definitions after include of
31514         Makeconfig.  Conditionalize on [$(use-nscd) != no].
31515         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31516         Conditionalize on [USE_NSCD].
31517         (is_nscd, nscd_init_cb): Likewise.
31518         (nss_load_library): Conditionalize init callback on [USE_NSCD].
31519         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31520         * nss/nss_db/db-init.c: Likewise.
31521         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31522         [USE_NSCD].
31523         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31524         (make_request): Use it.
31525         (cache_valid_p): New function.
31526         (__check_pf): Use it.
31527         * NEWS: Add item for --disable-nscd.
31528
31529 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
31530
31531         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31532         to support sed >= 4.2.1-20-ga9bf076.
31533         * configure: Regenerated.
31534
31535 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31536
31537         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31538         Conditionalize whole body on [IREL].
31539
31540 2012-08-22  Jeff Law <law@redhat.com>
31541
31542         [BZ #14505]
31543         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31544         if the family is PF_UNSPEC.
31545
31546 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
31547
31548         * Makerules (lib-version): Rename from V.
31549         (install-lib-nosubdir): Change V to lib-version.
31550
31551 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
31552
31553         [BZ #14252]
31554         * powerpc32/power6/wcschr.c: New file.
31555         * powerpc32/power6/wcscpy.c: New file.
31556         * powerpc32/power6/wcsrchr.c: New file.
31557         * powerpc64/power6/wcschr.c: New file.
31558         * powerpc64/power6/wcscpy.c: New file.
31559         * powerpc64/power6/wcsrchr.c: New file.
31560
31561 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31562
31563         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31564         (two_way_short_needle): Use it.
31565         * string/strstr.c (AVAILABLE1_USES_J): Define.
31566         * string/strcasestr.c: Likewise.
31567
31568         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31569         array references.
31570         * string/strcasestr.c (TOLOWER): Make side-effect safe.
31571
31572         [BZ #11607]
31573         * NEWS: Add an entry.
31574         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31575         define their defaults.
31576         (two_way_short_needle): Detect end-of-string on-the-fly.
31577         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31578         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31579         * string/bug-strcasestr1.c: New test.
31580         * string/Makefile: Run it.
31581
31582 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31583
31584         [BZ #11607]
31585         * string/str-two-way.h (two_way_short_needle): Optimize matching of
31586         the first character.
31587
31588 2012-08-21  Roland McGrath  <roland@hack.frob.com>
31589
31590         * csu/elf-init.c (__libc_csu_irel): Function removed.
31591         * csu/libc-start.c (apply_irel): New function.
31592         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31593
31594 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
31595
31596         * sysdeps/unix/sysv/linux/kernel-features.h
31597         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31598         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31599         <kernel-features.h>.
31600         [__NR_fadvise64_64]: Make code unconditional.
31601         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31602         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31603         !__NR_fadvise64_64)]: Likewise.
31604         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31605         !__NR_fadvise64_64))]: Likewise.
31606         [__NR_fadvise64]: Make code unconditional.
31607         [!__NR_fadvise64]: Remove conditional code.
31608         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31609         <kernel-features.h>.
31610         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31611         unconditional.
31612         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31613         conditional code.
31614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31615         not include <kernel-features.h>.
31616         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31617         unconditional.
31618         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31619         conditional code.
31620         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31621         include <kernel-features.h>.
31622         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31623         unconditional.
31624         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31625         conditional code.
31626
31627 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31628
31629         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31630         slight instruction rearrangements per scrollpipe analysis.
31631         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31632
31633 2012-08-20  Roland McGrath  <roland@hack.frob.com>
31634
31635         * manual/syslog.texi (syslog; vsyslog, closelog):
31636         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31637         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31638
31639         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31640         DSOCAPS to match condition on defining it.
31641
31642 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
31643
31644         * sysdeps/unix/sysv/linux/kernel-features.h
31645         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31647         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31648         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31650         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31651         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31653         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31654         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31655
31656         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31657         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31658
31659         * sysdeps/unix/sysv/linux/kernel-features.h
31660         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31661         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31662         unconditional.
31663         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31664         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31665         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31666         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31667         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31668         Make code unconditional.
31669         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31670         (__mmap64) [!__NR_mmap2]: Likewise.
31671         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31672         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31673         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31674         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31675         [__NR_mmap2]: Make code unconditional.
31676         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31677         (__mmap64) [!__NR_mmap2]: Likewise.
31678
31679 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31680
31681         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31682
31683 2012-08-18  Andreas Jaeger  <aj@suse.de>
31684
31685         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31686
31687 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31688
31689         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31690         * include/unistd.h (__have_sock_cloexec): Likewise.
31691         (__have_pipe2): Likewise.
31692         (__have_dup3): Likewise.
31693
31694 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31695
31696         [BZ #9685]
31697         * include/unistd.h (__have_pipe2): Change define into an extern int.
31698         (__have_dup3): Likewise.
31699         * socket/have_sock_cloexec.c: Include fcntl.h.
31700         (__have_pipe2): New variable.
31701         (__have_dup3): Likewise.
31702
31703 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
31704
31705         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31706
31707 2012-08-17  Marek Polacek  <polacek@redhat.com>
31708
31709         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31710         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31711
31712 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31713
31714         * configure.in: Add AC_SUBST for sysheaders.
31715         * configure: Regenerated.
31716         * config.make.in (sysheaders): New substituted variable.
31717
31718         * sysdeps/unix/mkfifo.c: Moved ...
31719         * sysdeps/posix/mkfifo.c: ... here.
31720         * sysdeps/unix/mkfifoat.c: Moved ...
31721         * sysdeps/posix/mkfifoat.c: ... here.
31722
31723         * sysdeps/unix/utime.c: Moved ...
31724         * sysdeps/posix/utime.c: ... here.
31725
31726         * sysdeps/unix/time.c: Moved ...
31727         * sysdeps/posix/time.c: ... here.
31728         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31729         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31730
31731         * sysdeps/unix/nice.c: Moved ...
31732         * sysdeps/posix/nice.c: ... here.
31733
31734         * sysdeps/unix/alarm.c: Moved ...
31735         * sysdeps/posix/alarm.c: ... here.
31736
31737         * intl/Makefile ($(codeset_mo)): Depend on the input file.
31738
31739 2012-08-17  Jeff Law <law@redhat.com>
31740
31741         * intl/Makefile (codeset_mo): New variable.
31742         ($(codeset_mo)): New target.
31743         (tst-codeset.out): Depend on that.  Remove explicit rule.
31744         (tst-gettext3.out, tst-gettext5.out): Likewise.
31745         (LOCPATH-ENV, tst-codeset-ENV): New variables.
31746         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31747         * intl/tst-codeset.sh: Remove.
31748         * intl/tst-gettext3.sh: Likewise.
31749         * intl/tst-gettext5.sh: Likewise.
31750
31751 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31752
31753         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
31754         * sysdeps/unix/syscalls.list: ... here.
31755
31756         * sysdeps/posix/getaddrinfo.c
31757         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31758         (gaiconf_init, gaiconf_reload): Use them.
31759         [!_STATBUF_ST_NSEC]
31760         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31761         Define using time_t rather than struct timespec.
31762
31763         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31764         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31765         Macros removed.
31766         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31767         [!NO_THREADS].
31768         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31769         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31770         Likewise.
31771
31772         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31773         __libc_cleanup_push argument.
31774
31775         * bits/param.h: New file.
31776         * misc/sys/param.h: New file.
31777         * include/sys/param.h: New file.
31778         * misc/Makefile (headers): Add bits/param.h.
31779         * sysdeps/generic/sys/param.h: File removed.
31780         * sysdeps/unix/sysv/linux/bits/param.h: New file.
31781         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31782         * sysdeps/mach/hurd/bits/param.h: New file.
31783         * sysdeps/mach/hurd/sys/param.h: File removed.
31784
31785         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31786         last change.
31787
31788         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31789         [_IO_MTSAFE_IO].
31790         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31791         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31792         New macros.
31793
31794         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31795         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31796         rather than -D_IO_MTSAFE_IO conditionally.
31797         * stdio-common/Makefile (CPPFLAGS): Likewise.
31798         * wcsmbs/Makefile (CPPFLAGS): Likewise.
31799         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31800         Use $(libio-mtsafe).
31801         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31802         of -D_IO_MTSAFE_IO.
31803         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31804         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31805         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31806         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31807         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31808         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31809         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31810         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31811         (CFLAGS-fread_u_chk.c): Likewise.
31812         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31813         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31814         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31815         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31816         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31817         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31818         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31819         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31820         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31821
31822         * libio/Makefile: Test [$(libc-reentrant) = yes]
31823         instead of [$(filter %REENTRANT, $(defines)) nonempty].
31824
31825         * Makeconfig
31826         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31827         * sysdeps/pthread/configure: File removed.
31828         * sysdeps/pthread/Makeconfig: New file.
31829         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31830         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31831
31832 2012-08-16  Gary Benson  <gbenson@redhat.com>
31833
31834         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31835         unmapping the first object in a namespace.
31836
31837 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31838
31839         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31840         (__internal_setnetgrent): ... this.  Add internal_function to
31841         definition.  Add libc_hidden_def.
31842         (setnetgrent): Update caller.
31843         (internal_endnetgrent): Renamed to ...
31844         (__internal_endnetgrent): ... this.  Add internal_function to
31845         definition.  Add libc_hidden_def.
31846         (endnetgrent): Update caller.
31847         (internal_getnetgrent_r): Renamed to ...
31848         (__internal_getnetgrent_r): ... this.  Add internal_function to
31849         definition.  Add libc_hidden_def.
31850         (__getnetgrent_r): Update caller.
31851         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
31852
31853 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31854
31855         * stdlib/longlong.h: Update from GCC.
31856
31857 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31858
31859         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31860         on _QL, which is set by umul_ppmm but never used.
31861         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31862         variables, which are set by GMP macros but never used.
31863         * stdio-common/_itowa.c (_itowa): Likewise.
31864         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31865         * stdlib/mod_1.c (mpn_mod_1): Likewise.
31866
31867 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
31868
31869         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31870         struct La_sh_regs is not constant.
31871         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31872         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31873         and struct La_sparc64_regs are not constant.
31874
31875 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31876
31877         * sysdeps/unix/sysv/linux/kernel-features.h
31878         (__ASSUME_POSIX_TIMERS): Remove.
31879         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31880         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31881         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31882         Make code unconditional.
31883         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31884         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31885         Make code unconditional.
31886         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31887         * sysdeps/unix/sysv/linux/clock_nanosleep.c
31888         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31889         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31890         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31891         Make code unconditional.
31892         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31893         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31894         (__libc_missing_posix_timers): Remove.
31895
31896 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31897
31898         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31899         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31900
31901         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31902
31903         * elf/dl-sym.c: Include <stdlib.h>.
31904
31905         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31906         constants, which avoids warnings in 32-bit builds.
31907
31908         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31909         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31910
31911         * misc/lseek.c: File moved to ...
31912         * io/lseek.c: ... here.
31913
31914         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31915
31916         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31917         shifting LEN more than 31 bits at once.
31918
31919 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31920
31921         [BZ #14195]
31922         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31923         segmentation fault for a case of two empty input strings.
31924         * string/test-strncasecmp.c (check1): Renamed to...
31925         (bz12205): ...this.
31926         (bz14195): Add new testcase for two empty input strings and N > 0.
31927         (test_main): Call new testcase, adapt for renamed function.
31928
31929 2012-08-15  Andreas Jaeger  <aj@suse.de>
31930
31931         [BZ #14090]
31932         * crypt/md5test2.c: New test, based on test supplied by Serge
31933         Belyshev <belyshev@depni.sinp.msu.ru>.
31934         * crypt/Makefile (xtests): Add md5test-giant..
31935         * crypt/Makefile ($(objpfx)md5test-giant): Add.
31936
31937 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
31938
31939         [BZ #14090]
31940         * crypt/md5.c (md5_process_block): Don't assume the buffer
31941         length is less than 2**32.
31942         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31943         length is less than 2**64.
31944
31945 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31946
31947         * string/str-two-way.h: Include <sys/param.h>.
31948         (MAX): Macro removed.
31949
31950         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31951         Move #define and #undef of memmove to just before and after
31952         including <string.h>.
31953
31954         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31955         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31956         and after including <string.h>.  Move declarations of
31957         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31958         to before #include "string/memmove.c".
31959
31960         * include/dirent.h: Declare __getdirentries.
31961
31962         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31963         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31964
31965 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
31966
31967         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31968         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31969         * sysdeps/i386/configure: Regenerated.
31970         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31971         STABS_CURRENT_FILE, and STABS_FUN.
31972         (END): Remove call to STABS_FUN_END.
31973         (STABS_CURRENT_FILE1): Delete.
31974         (STABS_CURRENT_FILE): Likewise.
31975         (STABS_FUN): Likewise.
31976         (STABS_FUN_END): Likewise.
31977         (STABS_FUN2): Likewise.
31978         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31979         * sysdeps/x86_64/configure: Regenerated.
31980
31981 2012-08-14  Roland McGrath  <roland@hack.frob.com>
31982
31983         * elf/dl-open.c: Include <atomic.h>.
31984         * elf/dl-lookup.c: Likewise.
31985
31986 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
31987
31988         * sysdeps/unix/sysv/linux/kernel-features.h
31989         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31990         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31991         unconditionally.
31992         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31993         unconditionally.
31994         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31995         condition on __ASSUME_CLONE_THREAD_FLAGS.
31996
31997 2012-08-14  Andreas Jaeger  <aj@suse.de>
31998
31999         * sysdeps/i386/fpu/libm-test-ulps: Update.
32000
32001 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
32002
32003         * include/atomic.h (atomic_exchange_and_add): Split into ...
32004         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32005         New atomic macros.
32006
32007 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
32008
32009         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32010
32011 2012-08-13  Jeff Law <law@redhat.com>
32012
32013         * manual/stdio.texi (snprintf): Clarify handling of the trailing
32014         null byte in the output string.
32015
32016 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
32017
32018         * sysdeps/unix/sysv/linux/kernel-features.h
32019         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32020         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32021         (__ASSUME_ARG_MAX_STACK_BASED): Define.
32022         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32023         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32024         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
32025         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32026
32027 2012-08-09  Jeff Law <law@redhat.com>
32028
32029         [BZ #13939]
32030         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32031         When avoid_arena is set, don't retry in the that arena.  Pick the
32032         next one, whatever it might be.
32033         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32034         (arena_lock): Pass in new parameter to arena_get2.
32035         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32036         arena_get2.
32037         (__libc_malloc): Unify retrying after main arena failure with
32038         __libc_memalign version.
32039         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32040
32041 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
32042
32043         [BZ #14166]
32044         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32045         to __redirect_strstr.
32046         (__strstr_sse42): Use typeof __redirect_strstr.
32047         (__strstr_ia32): Likewise.
32048         (__libc_strstr): New prototype.
32049         (strstr): Renamed to ...
32050         (__libc_strstr): This.
32051         (strstr): New strong alias of __libc_strstr.
32052         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32053         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32054         __redirect_time.
32055         Include <time.h>.
32056         (__libc_time): New prototype.
32057         (time_ifunc): Replace time with __libc_time.
32058         (time): New strong alias and hidden definition of __libc_time.
32059         (__GI_time): Remove strong alias.
32060         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32061         Include <stddef.h>.
32062         (memmove): Redefined to __redirect_memmove.
32063         (__memmove_sse2): Use typeof __redirect_memmove.
32064         (__memmove_ssse3): Likewise.
32065         (__memmove_ssse3_back): Likewise.
32066         (__libc_memmove): New prototype.
32067         (memmove): Renamed to ...
32068         (__libc_memmove): This.
32069         (memmove): New strong alias of __libc_memmove.
32070
32071 2012-08-08  Mark Salter  <msalter@redhat.com>
32072
32073         * elf/elf.h
32074         (R_MN10300_TLS_GD): Define.
32075         (R_MN10300_TLS_LD): Likewise.
32076         (R_MN10300_TLS_LDO): Likewise.
32077         (R_MN10300_TLS_GOTIE): Likewise.
32078         (R_MN10300_TLS_IE): Likewise.
32079         (R_MN10300_TLS_LE): Likewise.
32080         (R_MN10300_TLS_DTPMOD): Likewise.
32081         (R_MN10300_TLS_DTPOFF): Likewise.
32082         (R_MN10300_TLS_TPOFF): Likewise.
32083         (R_MN10300_SYM_DIFF): Likewise.
32084         (R_MN10300_ALIGN): Likewise.
32085         (R_MN10300_NUM): Update.
32086
32087 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
32088
32089         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32090         Remove.
32091
32092 2012-08-08  Roland McGrath  <roland@hack.frob.com>
32093
32094         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32095
32096         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32097         sysdeps/unix -> sysdeps/posix move.
32098         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32099
32100 2012-08-07      Allan McRae     <allan@archlinux.org>
32101
32102         [BZ #14303]
32103         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32104         (SUNOS_CPP): Likewise.
32105         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32106         not found.
32107         (open_input): Call CPP using execvp.
32108
32109 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32110
32111         * sysdeps/unix/sysv/linux/kernel-features.h
32112         (__ASSUME_PROT_GROWSUPDOWN): Remove.
32113         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32114         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32115         (__ASSUME_WAITID_SYSCALL): Likewise.
32116         * sysdeps/unix/sysv/linux/dl-execstack.c
32117         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32118         code unconditional.
32119         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32120         conditional code.
32121         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32122         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32123         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32124         code.
32125         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32126         unconditional.
32127         [__ASSUME_WAITID_SYSCALL]: Likewise.
32128         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32129
32130 2012-08-07  Roland McGrath  <roland@hack.frob.com>
32131
32132         * sysdeps/unix/closedir.c: Renamed to ...
32133         * sysdeps/posix/closedir.c: ... here.
32134         * sysdeps/unix/dirfd.c: Renamed to ...
32135         * sysdeps/posix/dirfd.c: ... here.
32136         * sysdeps/unix/dirstream.h: Renamed to ...
32137         * sysdeps/posix/dirstream.h: ... here.
32138         * sysdeps/unix/fdopendir.c: Renamed to ...
32139         * sysdeps/posix/fdopendir.c: ... here.
32140         * sysdeps/unix/opendir.c: Renamed to ...
32141         * sysdeps/posix/opendir.c: ... here.
32142         * sysdeps/unix/readdir.c: Renamed to ...
32143         * sysdeps/posix/readdir.c: ... here.
32144         * sysdeps/unix/readdir_r.c: Renamed to ...
32145         * sysdeps/posix/readdir_r.c: ... here.
32146         * sysdeps/unix/rewinddir.c: Renamed to ...
32147         * sysdeps/posix/rewinddir.c: ... here.
32148         * sysdeps/unix/seekdir.c: Renamed to ...
32149         * sysdeps/posix/seekdir.c: ... here.
32150         * sysdeps/unix/telldir.c: Renamed to ...
32151         * sysdeps/posix/telldir.c: ... here.
32152         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32153         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32154         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32155         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32156
32157         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32158         * bits/fcntl.h: ... here.
32159
32160         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32161         not 0.
32162         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32163         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32164         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32165         (struct flock): Move l_start, l_len to the beginning.
32166         Use __pid_t for l_pid.
32167         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32168         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32169         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32170         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32171         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32172         [__USE_LARGEFILE64] (struct flock64): New type.
32173         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32174
32175         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32176         * bits/dirent.h: ... here.
32177
32178         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32179         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32180
32181 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32182
32183         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32184         Change from 2.6.0 to 2.6.16.
32185         * sysdeps/unix/sysv/linux/configure: Regenerated.
32186         * sysdeps/unix/sysv/linux/kernel-features.h
32187         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32188         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32189         version.
32190         (__ASSUME_UTIMES): Likewise.
32191         (__ASSUME_CLONE_STOPPED): Remove.
32192         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32193         architectures, not kernel version.
32194         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32195         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32196         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32197         (__ASSUME_WAITID_SYSCALL): Likewise.
32198         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32199         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32200         * README: State 2.6.16 as minimum Linux kernel version.  Do not
32201         refer to older versions.
32202
32203 2012-08-06  Roland McGrath  <roland@hack.frob.com>
32204
32205         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32206         Define alphasort64 as an alias.
32207         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32208         Define versionsort64 as an alias.
32209         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32210         Define scandir64 as an alias.
32211         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32212         Define scandirat64 as an alias.
32213         * dirent/alphasort64.c (alphasort64):
32214         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32215         * dirent/versionsort64.c: Likewise.
32216         * dirent/scandir64.c: Likewise.
32217         * dirent/scandirat64.c: Likewise.
32218         * sysdeps/wordsize-64/alphasort.c: File removed.
32219         * sysdeps/wordsize-64/alphasort64.c: File removed.
32220         * sysdeps/wordsize-64/scandir.c: File removed.
32221         * sysdeps/wordsize-64/scandir64.c: File removed.
32222         * sysdeps/wordsize-64/scandirat.c: File removed.
32223         * sysdeps/wordsize-64/scandirat64.c: File removed.
32224         * sysdeps/wordsize-64/versionsort.c: File removed.
32225         * sysdeps/wordsize-64/versionsort64.c: File removed.
32226         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32227         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32228         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32229         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32230         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32231         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32232         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32233         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32234
32235         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32236         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32237         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32238         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32239         [defined __arch64__ || defined __sparcv9]
32240         (__INO_T_MATCHES_INO64_T): New macro.
32241         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32242         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32243         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32244         * sysdeps/unix/sysv/linux/bits/dirent.h
32245         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32246         (_DIRENT_MATCHES_DIRENT64): New macro.
32247
32248         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32249         Define lockf64 as an alias.
32250         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32251         Define fseeko64 as an alias.
32252         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32253         Define ftello64 as an alias.
32254         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32255         Define _IO_fgetpos64 and fgetpos64 as aliases.
32256         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32257         Define _IO_fsetpos64 and fsetpos64 as aliases.
32258         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32259         Conditionalize body on this.
32260         * libio/fseeko64.c: Likewise.
32261         * libio/ftello64.c: Likewise.
32262         * libio/iofgetpos64.c: Likewise.
32263         * libio/iofsetpos64.c: Likewise.
32264         * sysdeps/wordsize-64/lockf.c: File removed.
32265         * sysdeps/wordsize-64/lockf64.c: File removed.
32266         * sysdeps/wordsize-64/fseeko.c: File removed.
32267         * sysdeps/wordsize-64/fseeko64.c: File removed.
32268         * sysdeps/wordsize-64/ftello.c: File removed.
32269         * sysdeps/wordsize-64/ftello64.c: File removed.
32270         * sysdeps/wordsize-64/iofgetpos.c: File removed.
32271         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32272         * sysdeps/wordsize-64/iofsetpos.c: File removed.
32273         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32274         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32275         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32276         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32277         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32278         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32279         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32280         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32281         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32282         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32283         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32284
32285         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32286         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32287         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32288         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32289         [defined __arch64__ || defined __sparcv9]
32290         (__OFF_T_MATCHES_OFF64_T): New macro.
32291         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32292         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32293         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32294         (__OFF_T_MATCHES_OFF64_T): New macro.
32295
32296 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32297
32298         * stdlib/secure-getenv.c (__secure_getenv): Replace
32299         GLIBC_2_16 with GLIBC_2_17.
32300
32301 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32302
32303         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32304         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32305
32306 2012-08-03  David S. Miller  <davem@davemloft.net>
32307
32308         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32309
32310 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32311
32312         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32313         Remove.
32314         (__ASSUME_CORRECT_SI_PID): Likewise.
32315         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32316         (__ASSUME_TMPFS_NAME): Likewise.
32317         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32318         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32319         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32320         (HAVE_AUX_SECURE): Make definition unconditional.
32321         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32322         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32323
32324 2012-08-03  Roland McGrath  <roland@hack.frob.com>
32325
32326         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32327         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32328         * sysdeps/mach/hurd/eloop-threshold.h: New file.
32329         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32330         __eloop_threshold instead of SYMLOOP_MAX.
32331
32332         * sysdeps/generic/eloop-threshold.h: New file.
32333         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32334         of MAXSYMLINKS.
32335         * elf/chroot_canon.c (chroot_canon): Likewise.
32336
32337 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32338
32339         [BZ #13717]
32340         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32341         Change to 2.6.0 everywhere.
32342         * sysdeps/unix/sysv/linux/configure: Regenerated.
32343         * sysdeps/unix/sysv/linux/kernel-features.h
32344         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32345         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32346         kernel versions.
32347         (__ASSUME_POSIX_TIMERS): Define unconditionally.
32348         (__ASSUME_FUTEX_REQUEUE): Remove.
32349         (__ASSUME_STATFS64): Define unconditionally.
32350         (__ASSUME_AT_SECURE): Likewise.
32351         (__ASSUME_CORRECT_SI_PID): Likewise.
32352         (__ASSUME_TGKILL): Define without depending on kernel version for
32353         i386.
32354         (__ASSUME_UTIMES): Likewise.
32355         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32356         kernel version.
32357         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32358         (__ASSUME_TMPFS_NAME): Likewise.
32359         * README: Update reference to Linux kernel versions.
32360
32361 2012-08-02  Marek Polacek  <polacek@redhat.com>
32362
32363         [BZ# 14150]
32364         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
32365         libc_cv_asm_type_prefix with %.
32366         * configure: Regenerated.
32367         * include/libc-symbols.h: Remove comment about
32368         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32369         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32370         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32371         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32372         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32373         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32374         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32375         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32376         * elf/tst-unique2mod1.c: Likewise.
32377         * elf/tst-unique1mod2.c: Likewise.
32378         * elf/tst-unique1mod1.c: Likewise.
32379         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32380         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32381         Replace ASM_TYPE_DIRECTIVE with .type.
32382         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32383         * sysdeps/i386/sysdep.h: Likewise.
32384         * sysdeps/x86_64/sysdep.h: Likewise.
32385         * sysdeps/sh/sysdep.h: Likewise.
32386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32387         Do not define ASM_TYPE_DIRECTIVE.
32388         * sysdeps/powerpc/sysdep.h: Likewise.
32389         * sysdeps/powerpc/powerpc32/sysdep.h:
32390         Replace ASM_TYPE_DIRECTIVE with .type.
32391         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32392         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32393         * sysdeps/i386/fpu/e_powf.S: Likewise.
32394         * sysdeps/i386/fpu/e_expl.S: Likewise.
32395         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32396         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32397         * sysdeps/i386/fpu/e_pow.S: Likewise.
32398         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32399         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32400         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32401         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32402         * sysdeps/i386/fpu/e_log2.S: Likewise.
32403         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32404         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32405         * sysdeps/i386/fpu/e_powl.S: Likewise.
32406         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32407         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32408         * sysdeps/i386/fpu/e_logl.S: Likewise.
32409         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32410         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32411         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32412         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32413         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32414         * sysdeps/i386/fpu/e_log.S: Likewise.
32415         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32416         * sysdeps/i386/fpu/e_logf.S: Likewise.
32417         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32418         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32419         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32420         * sysdeps/i386/fpu/e_log10.S: Likewise.
32421         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32422         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32423         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32424         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32425         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32426         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32427         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32428         * sysdeps/i386/i686/strtok.S: Likewise.
32429         * sysdeps/i386/i386-mcount.S: Likewise.
32430         * sysdeps/i386/strtok.S: Likewise.
32431         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32432         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32433         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32434         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32435         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32436         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32437         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32438         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32439         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32440         * sysdeps/x86_64/_mcount.S: Likewise.
32441         * sysdeps/x86_64/strtok.S: Likewise.
32442         * sysdeps/sh/_mcount.S: Likewise.
32443
32444 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32445
32446         * libio/iofopen.c: Include <fcntl.h>.
32447         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32448         (_IO_fopen64, fopen64): Define as aliases.
32449         * libio/iofopen64.c: Include <fcntl.h>.
32450         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32451         Conditionalize body on this.
32452         * sysdeps/wordsize-64/iofopen.c: File removed.
32453         * sysdeps/wordsize-64/iofopen64.c: File removed.
32454
32455 2012-08-01  Marek Polacek  <polacek@redhat.com>
32456
32457         * libc/Makeconfig: Use elf in place of binfmt-subdir.
32458         Use dlfcn directly instead of a variable.
32459         (binfmt-subdir): Do not define.
32460         (dlfcn): Likewise.
32461
32462 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
32463
32464         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32465         Remove all definitions.
32466         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32467         <kernel-features.h>.
32468         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32469         (miss_F_GETOWN_EX): Remove all definitions.
32470         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32471         macro definition.
32472         [!__ASSUME_FCNTL64]: Remove conditional code.
32473         [__ASSUME_FCNTL64]: Make code unconditional.
32474         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32475         <kernel-features.h>.
32476         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32477         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32478         (lockf64) [__NR_fcntl64]: Make code unconditional.
32479         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32480
32481         * sysdeps/unix/sysv/linux/kernel-features.h
32482         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32483         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32484         Make code unconditional.
32485         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32486         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32488         [__NR_vfork]: Make code unconditional.
32489         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32490         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32492         [__NR_vfork]: Make code unconditional.
32493         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32494         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32495
32496 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32497
32498         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32499         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32500
32501         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32502         Define mkstemp64 as an alias.
32503         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32504         Define mkstemps64 as an alias.
32505         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32506         Define mkostemp64 as an alias.
32507         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32508         Define mkostemps64 as an alias.
32509         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32510         Conditionalize body on this.
32511         * misc/mkostemp64.c: Likewise.
32512         * misc/mkostemps64.c: Likewise.
32513         * misc/mkstemps64.c: Likewise.
32514         * sysdeps/wordsize-64/mkstemp64.c: File removed.
32515         * sysdeps/wordsize-64/mkostemp64.c: File removed.
32516         * sysdeps/wordsize-64/mkostemp.c: File removed.
32517         * sysdeps/wordsize-64/mkstemp.c: File removed.
32518         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32519         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32520         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32521         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32522
32523         [BZ #14138]
32524         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32525         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32526         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32527         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32528
32529         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32530         compat_symbol macros from <shlib-compat.h> rather than the underlying
32531         default_symbol_version and symbol_version macros, so that DEFAULT
32532         lines in shlib-versions are respected.
32533         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32534
32535 2012-08-01  Florian Weimer  <fweimer@redhat.com>
32536
32537         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32538         Declare with warn_unused_result.
32539         (setgid, setregid, setegid, setresgid): Likewise.
32540         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32541         Likewise.
32542         * WUR-REPORT: Remove set*id functions.
32543
32544 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
32545
32546         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32547
32548 2012-07-31  Roland McGrath  <roland@hack.frob.com>
32549
32550         [BZ #10191]
32551         * include/sys/socket.h (__libc_accept, __libc_accept4):
32552         Add attribute_hidden.
32553         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32554
32555         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32556         use of PTR_MANGLE.
32557         * inet/getnetgrent_r.c (setup): Likewise.
32558
32559         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32560
32561 2012-07-31  David S. Miller  <davem@davemloft.net>
32562
32563         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32564
32565 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
32566
32567         [BZ #13629]
32568         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32569         value between 1.0 and 2.0 and smaller part has absolute value less
32570         than 1.0.
32571         * math/s_clog10.c (__clog10): Likewise.
32572         * math/s_clog10f.c (__clog10f): Likewise.
32573         * math/s_clog10l.c (__clog10l): Likewise.
32574         * math/s_clogf.c (__clogf): Likewise.
32575         * math/s_clogl.c (__clogl): Likewise.
32576         * math/libm-test.inc (clog_test): Add more tests.
32577         (clog10_test): Likewise.
32578         * sysdeps/i386/fpu/libm-test-ulps: Update.
32579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32580
32581 2012-07-31  Florian Weimer  <fweimer@redhat.com>
32582
32583         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32584         Exit with zero in case no suitable GID is found, and write a
32585         message to standard error.
32586
32587 2012-07-30  Roland McGrath  <roland@hack.frob.com>
32588
32589         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32590         rather than to 1.
32591         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32592         (MAXPATHLEN): Removed.
32593         (NOGROUP, NODEV): New macros.
32594         (setbit, clrbit, isset, isclr): New macros.
32595         (howmany, roundup, powerof2): New macros.
32596         (DEV_BSIZE): New macro.
32597
32598         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32599         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32600
32601         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32602         definition on [!__NO_LONG_DOUBLE_MATH].
32603
32604         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32605         PTR_MANGLE and PTR_DEMANGLE.
32606
32607         * socket/accept4.c (accept4): Rename to __libc_accept4.
32608         Define accept4 as a weak alias.
32609
32610         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32611         on [_DIRENT_HAVE_D_TYPE].
32612         * io/ftw.c (ftw_dir): Likewise.
32613
32614         * io/xmknod.c (__xmknod): Don't check PATH for being null.
32615
32616         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32617
32618         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32619         Use the BSD numbers rather than the arbitrary ones we had.
32620         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32621         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32622         (SIGXCPU, SIGXFSZ): New macros.
32623         (_NSIG): Now 32.
32624
32625         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32626         initializer on [_LIBC_REENTRANT].
32627
32628         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32629         definitions inside [_POSIX_MAPPED_FILES].
32630
32631         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32632
32633         * dirent/opendir.c: Include <fcntl.h>.
32634
32635         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32636         (__libc_getspecific): Likewise.
32637         (__libc_key_create): Likewise.
32638
32639         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32640         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32641         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32642         (tmpfile64): Define as alias.
32643         * sysdeps/wordsize-64/tmpfile.c: File removed.
32644         * sysdeps/wordsize-64/tmpfile64.c: File removed.
32645         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32646         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32647
32648         * stdio-common/vfscanf.c: Include <stdbool.h>.
32649         * nss/makedb.c: Likewise.
32650         * stdio-common/_i18n_number.h: Likewise.
32651         * argp/argp-help.c: Likewise.
32652         * posix/wordexp.c: Likewise.
32653         * sysdeps/posix/spawni.c: Likewise.
32654         * nss/nss_files/files-initgroups.c: Likewise.
32655         * stdio-common/reg-modifier.c: Include <stdlib.h>.
32656         * nss/nss_files/files-initgroups.c: Likewise.
32657         * nss/nss_db/db-netgrp.c: Likewise.
32658         * nss/nss_db/db-initgroups.c: Likewise.
32659         * io/fchmodat.c: Include <sys/stat.h>.
32660
32661         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32662         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32663
32664         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32665         [HAVE_MMAP].
32666
32667         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32668         Add multiple inclusion protection.
32669
32670 2012-07-27  David S. Miller  <davem@davemloft.net>
32671
32672         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32673
32674 2012-07-27  Gary Benson  <gbenson@redhat.com>
32675
32676         [BZ #14298]
32677         * elf/rtld.c: Include <stap-probe.h>.
32678         (dl_main): Added static probes "init_start" and "init_complete".
32679         * elf/dl-load.c: Include <stap-probe.h>.
32680         (lose): Take new parameter "nsid".
32681         Added static probe "map_failed".
32682         (_dl_map_object_from_fd): Pass namespace id to lose.
32683         Added static probe "map_start".
32684         (open_verify): Pass namespace id to lose.
32685         * elf/dl-open.c: Include <stap-probe.h>.
32686         (dl_open_worker) Added static probes "map_complete", "reloc_start"
32687         and "reloc_complete".
32688         * elf/dl-close.c: Include <stap-probe.h>.
32689         (_dl_close_worker): Added static probes "unmap_start" and
32690         "unmap_complete".
32691         * elf/rtld-debugger-interface.txt: New file documenting the above.
32692
32693 2012-07-26  Roland McGrath  <roland@hack.frob.com>
32694
32695         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32696         rather than a string variable.
32697         * sunrpc/rpc_main.c (h_output): Likewise.
32698         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32699
32700 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
32701
32702         * inet/check_native.c: New file.
32703
32704 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
32705
32706         [BZ #13629]
32707         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32708         if larger part has absolute value 1.0.
32709         * math/s_clog10.c (__clog10): Likewise.
32710         * math/s_clog10f.c (__clog10f): Likewise.
32711         * math/s_clog10l.c (__clog10l): Likewise.
32712         * math/s_clogf.c (__clogf): Likewise.
32713         * math/s_clogl.c (__clogl): Likewise.
32714         * math/libm-test.inc (clog_test): Add more tests.
32715         (clog10_test): Likewise.
32716         * sysdeps/i386/fpu/libm-test-ulps: Update.
32717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32718
32719         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32720         (pltexit): Likewise.
32721         (La_regs): Likewise.
32722         (La_retval): Likewise.
32723         (int_retval): Likewise.
32724         Update #error for removed macros to refer only to definitions in
32725         tst-audit.h.
32726         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32727         macro.
32728         (pltexit): Likewise.
32729         (La_regs): Likewise.
32730         (La_retval): Likewise.
32731         (int_retval): Likewise.
32732         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32733         macro.
32734         (pltexit): Likewise.
32735         (La_regs): Likewise.
32736         (La_retval): Likewise.
32737         (int_retval): Likewise.
32738         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32739         macro.
32740         (pltexit): Likewise.
32741         (La_regs): Likewise.
32742         (La_retval): Likewise.
32743         (int_retval): Likewise.
32744         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32745         macro.
32746         (pltexit): Likewise.
32747         (La_regs): Likewise.
32748         (La_retval): Likewise.
32749         (int_retval): Likewise.
32750         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32751         macro.
32752         (pltexit): Likewise.
32753         (La_regs): Likewise.
32754         (La_retval): Likewise.
32755         (int_retval): Likewise.
32756         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32757         macro.
32758         (pltexit): Likewise.
32759         (La_regs): Likewise.
32760         (La_retval): Likewise.
32761         (int_retval): Likewise.
32762         * sysdeps/generic/tst-audit.h: Update comment to refer only to
32763         macro definitions in tst-audit.h.
32764         * sysdeps/i386/tst-audit.h: New file.
32765         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32766         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32767         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32768         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32769         * sysdeps/sh/tst-audit.h: Likewise.
32770         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32771         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32772         * sysdeps/x86_64/tst-audit.h: Likewise.
32773
32774 2012-07-26  Andreas Jaeger  <aj@suse.de>
32775
32776         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32777         ptrace.
32778
32779         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32780         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32781         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32782         PTRACE_O_MASK.
32783         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32784         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32785         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32786
32787         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32788         value.
32789
32790         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32791         _sigsys.
32792         (si_call_addr, si_syscall, si_arch): Define new macro.
32793         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32794         _sigsys.
32795         (si_call_addr, si_syscall, si_arch): Define new marcro.
32796         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32797         _sigsys.
32798         (si_call_addr, si_syscall, si_arch): Define new macro.
32799         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32800         _sigsys.
32801         (si_call_addr, si_syscall, si_arch): Define new macro.
32802
32803 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32804
32805         [BZ #13717]
32806         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32807         Change to 2.4.21 where previously 2.4.1.
32808         * sysdeps/unix/sysv/linux/configure: Regenerated.
32809         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32810         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32811         Linux kernel version.
32812         (__ASSUME_STD_AUXV): Remove.
32813         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32814         kernel version.
32815         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32816         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32817         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32818         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32819         (__ASSUME_NETLINK_SUPPORT): Likewise.
32820         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32821         (__no_netlink_support): Remove conditional definition.
32822         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32823         Remove.
32824         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32825         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32826         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32827         (if_nameindex_ioctl): Remove.
32828         (if_nameindex_netlink): Do not handle __no_netlink_support.
32829         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32830         code.
32831         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32832         Remove conditional code.
32833         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32834         code.
32835         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32836         unconditional.
32837         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32838         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32839         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32840         Remove.
32841         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32842         [!__ASSUME_STD_AUXV]: Remove conditional code.
32843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32844         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32845         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32847         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32848         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32849         code.
32850         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32852         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32853         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32854         conditional code.
32855         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32857         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32858         code.
32859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32860         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32861         conditional code.
32862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32863         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32864         code unconditional.
32865         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32866         conditional code.
32867         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32868         unconditional.
32869         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32870         conditional code.
32871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32872         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32873         unconditional.
32874         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32875         conditional code.
32876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32877         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32878         code unconditional.
32879         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32880         conditional code.
32881         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32882         unconditional.
32883         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32884         conditional code.
32885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32886         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32887         code unconditional.
32888         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32889         conditional code.
32890         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32891         unconditional.
32892         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32893         conditional code.
32894
32895 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
32896
32897         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32898         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32899         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32900         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32901         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32902         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32903         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32904         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32905         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32906         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32907         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32908         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32909         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32910         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32911         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32912         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32913         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32914         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32915         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32916         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32917         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32918         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32919         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32920
32921 2012-07-25  Florian Weimer  <fweimer@redhat.com>
32922
32923         * Versions.def: Add GLIBC_2.17.
32924         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32925         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32926         Introduce __libc_secure_getenv.
32927         * stdlib/Versions (2.17): Add secure_getenv
32928         (GLIBC_PRIVATE): Add __libc_secure_getenv.
32929         * stdlib/secure-getenv.c: Rename __secure_getenv to
32930         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
32931         symbol __secure_getenv for GLIBC_2.0.
32932         * stdlib/tst-secure-getenv.c: New.
32933         * stdlib/Makefile (tests): Add testcase.
32934         * manual/startup.texi (Environment Access): Document
32935         secure_getenv.
32936         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32937         __libc_secure_getenv.
32938         * inet/ruserpass.c (ruserpass): Likewise.
32939         * malloc/mtrace.c (mtrace): Likewise.
32940         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32941         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32942         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32943         * sysdeps/posix/tempname.c: Likewise.  Evaluate
32944         HAVE_SECURE_GETENV.
32945         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32946         __secure_getenv to __libc_secure_getenv.
32947         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32949         Likewise.
32950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32951         Likewise.
32952         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32954         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32956         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32957         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32958         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32959
32960 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32961
32962         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32963         (struct La_i86_retval): Likewise.
32964         (struct La_x86_64_regs): Likewise.
32965         (struct La_x86_64_retval): Likewise.
32966         (struct La_x32_regs): Likewise.
32967         (struct La_x32_retval): Likewise.
32968         (struct La_ppc32_regs): Likewise.
32969         (struct La_ppc32_retval): Likewise.
32970         (struct La_ppc64_regs): Likewise.
32971         (struct La_ppc64_retval): Likewise.
32972         (struct La_sh_regs): Likewise.
32973         (struct La_sh_retval): Likewise.
32974         (struct La_s390_32_regs): Likewise.
32975         (struct La_s390_32_retval): Likewise.
32976         (struct La_s390_64_regs): Likewise.
32977         (struct La_s390_64_retval): Likewise.
32978         (struct La_sparc32_regs): Likewise.
32979         (struct La_sparc32_retval): Likewise.
32980         (struct La_sparc64_regs): Likewise.
32981         (struct La_sparc64_retval): Likewise.
32982         (struct audit_ifaces): Remove architecture-specific pltenter and
32983         pltexit members.
32984         * sysdeps/i386/ldsodefs.h: New file.
32985         * sysdeps/powerpc/ldsodefs.h: Likewise.
32986         * sysdeps/s390/ldsodefs.h: Likewise.
32987         * sysdeps/sh/ldsodefs.h: Likewise.
32988         * sysdeps/sparc/ldsodefs.h: Likewise.
32989         * sysdeps/x86_64/ldsodefs.h: Likewise.
32990
32991 2012-07-25  Marek Polacek  <polacek@redhat.com>
32992
32993         [BZ #6808]
32994         * math/libm-test.inc (yn_test): Add another test.
32995         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32996         to ERANGE when the result is +-Inf.
32997         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32998         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32999         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33000         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33001
33002 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
33003
33004         * conform/data/time.h-data (NULL): Use macro-constant.  Require
33005         equal to 0.
33006         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
33007         clock_t.
33008         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
33009
33010 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
33011
33012         * configure.in <sysdeps resolving>: Correct printing
33013         Implies_before.
33014         * configure: Regenerate.
33015
33016 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
33017
33018         * math/w_ilogb.c: Include <limits.h>.
33019         * math/w_ilogbl.c: Likewise.
33020
33021 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33022
33023         * manual/lang.texi (__va_copy): Document primarily as ISO C99
33024         va_copy.  Document allowing for unavailable va_copy only as
33025         pre-C99 compatibility.
33026         * manual/string.texi (Copying and Concatenation): Use va_copy
33027         instead of __va_copy in concat example.
33028
33029 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
33030
33031         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33032         (__sendto): Use create_address_port.  Initialize APORT and deallocate
33033         it if not null.
33034
33035         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33036         with O_NOLINK passed to __file_name_lookup.
33037
33038         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33039         with O_NOLINK passed to __file_name_lookup.
33040
33041         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33042         negative N or less than NGIDS.
33043
33044         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33045         type to string_t.  Set ERANGE as errno and return it if NAME is not big
33046         enough.  Use memcpy instead of strncpy.
33047
33048 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33049
33050         * elf/Makefile (check-data): Remove.
33051         (localplt.data): New vpath directive.
33052         ($(objpfx)check-localplt.out): Use localplt.data from vpath
33053         instead of $(check-data).
33054         * scripts/data/localplt-generic.data: Move to ...
33055         * sysdeps/generic/localplt.data: ... here.
33056         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33057         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33058         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33060         ... here.
33061         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33063         ... here.
33064         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33066         ... here.
33067         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33068         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33069         ... here.
33070         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33072         ... here.
33073         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33074         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33075         ... here.
33076
33077 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33078
33079         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33080         PPC32 and PPC64 files.
33081         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33082         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33083
33084 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33085
33086         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33087         __makecontext_ret to ...
33088         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33089         ... here and call exit if uc_link is NULL.  New file.
33090         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33091         __makecontext_ret.S.
33092         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33093         __makecontext_ret to ...
33094         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33095         ... here and call exit if uc_link is NULL.  New file.
33096         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33097         __makecontext_ret.S.
33098
33099 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33100
33101         * elf/elf.h (R_390_IRELATIVE): New definition.
33102         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33103         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
33104         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33105         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33106         (elf_machine_lazy_rel): Likewise.
33107         * sysdeps/s390/dl-irel.h: New file.
33108         * sysdeps/s390/s390-64/memcpy.S: New asm code.
33109         * sysdeps/s390/s390-64/memset.S: New asm code.
33110         * sysdeps/s390/s390-64/memcmp.S: New asm code.
33111         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33112         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33113         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33114         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33115         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33116         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33117         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33118         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33119         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33120         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33121         * sysdeps/s390/s390-32/memcpy.S: New asm code.
33122         * sysdeps/s390/s390-32/memset.S: New asm code.
33123         * sysdeps/s390/s390-32/memcmp.S: New asm code.
33124
33125 2012-07-17  Marek Polacek  <polacek@redhat.com>
33126
33127         [BZ #14349]
33128         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33129         * sysdeps/s390/s390-64/configure.in: Likewise.
33130         * sysdeps/sparc/configure.in: Likewise.
33131         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33132         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33133         * sysdeps/i386/configure.in: Likewise.
33134         * sysdeps/x86_64/configure.in: Likewise.
33135         * sysdeps/sh/configure.in: Likewise.
33136         * sysdeps/s390/s390-32/configure: Regenerated.
33137         * sysdeps/s390/s390-64/configure: Likewise.
33138         * sysdeps/x86_64/configure: Likewise.
33139         * sysdeps/sh/configure: Likewise.
33140         * sysdeps/powerpc/powerpc64/configure: Likewise.
33141         * sysdeps/powerpc/powerpc32/configure: Likewise.
33142         * sysdeps/sparc/configure: Likwise.
33143         * sysdeps/i386/configure: Likewise.
33144
33145         * elf/dl-open.c: Comment fixes.
33146
33147 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
33148
33149         * Makefile [CXX] (check-data): Remove.
33150         [CXX] (c++-types.data): New vpath directive.
33151         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33152         vpath.  Do not allow for C++ type data being missing.
33153         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33154         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33155         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33156         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33157         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33158         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33159         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33161         ... here.
33162         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33164         ... here.
33165         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33166         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33167         ... here.
33168         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33169         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33170         ... here.
33171         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33172         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33173         ... here.
33174         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33176         ... here.
33177         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33178         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33179         ... here.
33180         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33182
33183         * elf/tls-macros.h (TLS_LE): Move architecture-specific
33184         definitions to architecture-specific files.
33185         (TLS_IE): Likewise.
33186         (TLS_LD): Likewise.
33187         (TLS_GD): Likewise.
33188         * sysdeps/i386/tls-macros.h: New file.
33189         * sysdeps/powerpc/tls-macros.h: Likewise.
33190         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33191         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33192         * sysdeps/sh/tls-macros.h: Likewise.
33193         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33194         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33195         * sysdeps/x86_64/tls-macros.h: Likewise.
33196
33197 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33198
33199         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33200         zero value for regular exit case.
33201
33202         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33203         (__start_context): Preserve zero value for regular exit case.
33204
33205 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33206             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33207
33208         * manual/setjmp.texi (setcontext): Clarify normal process
33209         termination when uc_link is the null pointer.
33210         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33211         exit call.
33212
33213 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
33214
33215         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33216         preprocessor.  Test for each exception mask separately.
33217
33218 2012-07-16  Andreas Jaeger  <aj@suse.de>
33219
33220         * po/ru.po: Update from translation team.
33221
33222 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
33223
33224         * conform/data/string.h-data (NULL): Use macro-constant.  Require
33225         equal to 0.
33226         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33227         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33228         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33229         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33230         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33231
33232 2012-07-13  Andreas Jaeger  <aj@suse.de>
33233
33234         * po/fr.po: Update from translation team.
33235
33236 2012-07-12  Marek Polacek  <polacek@redhat.com>
33237
33238         [BZ #14173]
33239         * math/libm-test.inc (yn_test): Add test for BZ #14173.
33240         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33241         loop condition.
33242
33243 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
33244
33245         [BZ #13717]
33246         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33247         Change to 2.4.1 where previously 2.4.0.
33248         * sysdeps/unix/sysv/linux/configure: Regenerated.
33249         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33250         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33251         version.
33252         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33253         (__ASSUME_AT_CLKTCK): Remove.
33254         (__ASSUME_AT_PAGESIZE): Likewise.
33255         (__ASSUME_AT_XID): Likewise.
33256         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33257         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33258         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33259         unconditionally.
33260         (HAVE_AUX_PAGESIZE): Likewise.
33261         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33262         [__ASSUME_AT_CLKTCK]: Make code unconditional.
33263         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33264
33265 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
33266
33267         [BZ #14307]
33268         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33269         the temporary buffer used to invoke __gethostbyname2_r,
33270         __gethostbyaddr_r and gethostbyname4_r to make room for struct
33271         host_data / struct gaih_addrtuple.
33272         * resolv/nss_dns/dns-host.c (global scope): Move definition of
33273         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33274         header file nss/nsswitch.h.
33275         * nss/nsswitch.h (global scope): Add definition of implementation
33276         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33277         resolv/nss_dns/dns-host.c).
33278
33279 2012-07-11  Andreas Jaeger  <aj@suse.de>
33280
33281         * po/fr.po: Update from translation team.
33282
33283         * po/sv.po: Update from translation team
33284         * po/fr.po: Another update from translation team.
33285
33286 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33287
33288         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33289         for subnormals or multiply small sinh result by itself.
33290         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33292
33293 2012-07-11  David S. Miller  <davem@davemloft.net>
33294
33295         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33296
33297 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
33298
33299         [BZ #14347]
33300         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33301         (INTERNAL_MARK): Shift it here.
33302
33303 2012-07-10  Marek Polacek  <polacek@redhat.com>
33304
33305         [BZ #14151]
33306         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
33307         libc_cv_asm_global_directive with .globl.
33308         * configure: Regenerated.
33309         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33310         with .globl.
33311         * sysdeps/i386/configure: Regenerated.
33312         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33313         with .globl.
33314         * sysdeps/x86_64/configure: Regenerated.
33315         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33316         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33317         * elf/tst-unique2mod2.c: Likewise.
33318         * elf/tst-unique2mod1.c: Likewise.
33319         * elf/tst-unique1mod2.c: Likewise.
33320         * elf/tst-unique1mod1.c: Likewise.
33321         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33322         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33323         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33324         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33325         * sysdeps/mach/sysdep.h: Likewise.
33326         * sysdeps/i386/sysdep.h: Likewise.
33327         * sysdeps/i386/i386-mcount.S: Likewise.
33328         * sysdeps/x86_64/_mcount.S: Likewise.
33329         * sysdeps/x86_64/sysdep.h: Likewise.
33330         * sysdeps/sh/_mcount.S: Likewise.
33331         * sysdeps/sh/sysdep.h: Likewise.
33332         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33333         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33334         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33335         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33336         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33337         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33338         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33339         * locale/localeinfo.h: Likewise.
33340         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33341         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33342
33343 2012-07-09  Roland McGrath  <roland@hack.frob.com>
33344
33345         [BZ #14336]
33346         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33347         system".
33348         * manual/message.texi (The Uniforum approach): Likewise.
33349         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33350         (glibc iconv Implementation): Likewise.
33351
33352 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
33353
33354         [BZ #14337]
33355         * math/s_clog.c (__clog): Avoid scaling a value down where that
33356         could result in underflow.
33357         * math/s_clog10.c (__clog10): Likewise.
33358         * math/s_clog10f.c (__clog10f): Likewise.
33359         * math/s_clog10l.c (__clog10l): Likewise.
33360         * math/s_clogf.c (__clogf): Likewise.
33361         * math/s_clogl.c (__clogl): Likewise.
33362         * math/libm-test.inc (clog_test): Add more tests.
33363         (clog10_test): Likewise.
33364         * sysdeps/i386/fpu/libm-test-ulps: Update.
33365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33366
33367 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
33368
33369         [BZ #14283]
33370         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33371         by 7 not 8 to examine high bit of fractional part.
33372
33373         [BZ #14042]
33374         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33375         for call to __mcount_internal.
33376         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33377         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33378         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33379
33380 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
33381
33382         [BZ #14154]
33383         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33384         approximation for values within 0x1p-13f of an odd multiple of
33385         pi/4.
33386         * math/libm-test.inc (tan_test): Do not allow spurious underflow
33387         exception.  Add more tests.
33388         * sysdeps/i386/fpu/libm-test-ulps: Update.
33389
33390         [BZ #6778]
33391         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33392         inputs and return -1 for them.  Do not check for +Inf in case not
33393         reachable for +Inf.
33394         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33395         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33396         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33397         and return -1 for them.  Do not check for +Inf in case not
33398         reachable for +Inf.
33399         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33400         define.
33401         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33402         and return -1 for them.  Do not check for +Inf in case not
33403         reachable for +Inf.
33404         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
33405         spurious underflow.
33406         * sysdeps/i386/fpu/libm-test-ulps: Update.
33407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33408
33409 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
33410
33411         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33412
33413 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
33414
33415         [BZ #14157]
33416         [BZ #14331]
33417         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33418         could result in spurious underflow.  Scale down values above
33419         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33420         * math/s_csqrtf.c (__csqrtf): Likewise.
33421         * math/s_csqrtl.c (__csqrtl): Likewise.
33422         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
33423         spurious underflow.
33424         * sysdeps/i386/fpu/libm-test-ulps: Update.
33425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33426
33427 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
33428
33429         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33430         xopen-msg.sed.
33431         * catgets/xopen-msg.awk: New file.
33432         * catgets/xopen-msg.sed: Removed.
33433
33434         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33435         po2text.sed.
33436         * intl/po2test.awk: New file.
33437         * intl/po2test.sed: Removed.
33438
33439 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
33440
33441         [BZ #14328]
33442         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33443         or multiply small sinh result by itself.
33444         * math/s_ctanf.c (__ctanf): Likewise.
33445         * math/s_ctanh.c (__ctanh): Likewise.
33446         * math/s_ctanhf.c (__ctanhf): Likewise.
33447         * math/s_ctanhl.c (__ctanhl): Likewise.
33448         * math/s_ctanl.c (__ctanl): Likewise.
33449         * math/libm-test.inc (ctan_test_tonearest): New function.
33450         (ctan_test_towardzero): Likewise.
33451         (ctan_test_downward): Likewise.
33452         (ctan_test_upward): Likewise.
33453         (ctanh_test_tonearest): Likewise.
33454         (ctanh_test_towardzero): Likewise.
33455         (ctanh_test_downward): Likewise.
33456         (ctanh_test_upward): Likewise.
33457         (main): Call these new functions.
33458         * sysdeps/i386/fpu/libm-test-ulps: Update.
33459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33460
33461 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
33462
33463         * .gitignore: Delete /ports entry.
33464
33465 2012-07-03  Andreas Jaeger  <aj@suse.de>
33466
33467         * po/bg.po: Update from translation team.
33468         * po/cs.po: Likewise.
33469         * po/de.po: Likewise.
33470         * po/hr.po: Likewise.
33471         * po/nl.pl: Likewise.
33472         * po/pl.po: Likewise.
33473         * po/vi.po: Likewise.
33474
33475 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
33476
33477         * Makeconfig [!+link] (+link-before-libc): New variable.
33478         [!+link] (+link-after-libc): Likewise.
33479         [!+link] (+link-tests): Likewise.
33480         [!+link] (+link): Define in terms of $(+link-before-libc) and
33481         $(+link-after-libc).
33482         [!+link-static] (+link-static-before-libc): New variable.
33483         [!+link-static] (+link-static-after-libc): Likewise.
33484         [!+link-static] (+link-static-tests): Likewise.
33485         [!+link-static] (+link-static): Define in terms of
33486         $(+link-static-before-libc) and $(+link-static-after-libc).
33487         [build-shared] (link-libc-before-gnulib): New variable.
33488         [build-shared] (link-libc-tests): Likewise.
33489         [build-shared] (link-libc): Define in terms of
33490         $(link-libc-before-gnulib).
33491         [!build-shared] (link-libc-tests): New variable.
33492         (link-libc-static-tests): New variable.
33493         [!gnulib] (gnulib-arch): New variable.
33494         [!gnulib] (gnulib-tests): Likewise.
33495         [!gnulib] (static-gnulib-arch): Likewise.
33496         [!gnulib] (static-gnulib-tests): Likewise.
33497         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
33498         Define with "=" instead of ":=".
33499         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
33500         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
33501         * Rules (binaries-all-notests): New variable.
33502         (binaries-all-tests): Likewise.
33503         (binaries-static-notests): Likewise.
33504         (binaries-static-tests): Likewise.
33505         (binaries-all): Define using $(binaries-all-notests) and
33506         $(binaries-all-tests).
33507         (binaries-static): Define using $(binaries-static-notests) and
33508         $(binaries-static-tests).
33509         (binaries-shared-tests): New variable.
33510         (binaries-shared-notests): Likewise.
33511         (binaries-shared): Remove variable.
33512         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33513         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33514         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33515         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33516         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33517         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33518         * elf/Makefile (sln-modules): New variable.
33519         (extra-objs): Add $(sln-modules:=.o).
33520         (ldconfig-modules): Add static-stubs.
33521         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33522         * elf/static-stubs.c: New file.
33523
33524         [BZ #14283]
33525         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33526         by 7 not 8 to examine high bit of fractional part.  Use volatile
33527         variables when splitting into final array of floats if
33528         __FLT_EVAL_METHOD__ != 0.
33529         * math/libm-test.inc (cos_test): Add another test.
33530         (sin_test): Likewise.
33531         * sysdeps/i386/fpu/libm-test-ulps: Update.
33532
33533         [BZ #14273]
33534         * math/libm-test.inc (cosh_test): Add more tests.
33535
33536         * version.h (RELEASE): Set to "development".
33537         (VERSION): Set to "2.16.90".
33538
33539 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
33540
33541         * NEWS: Update copyright. Remove last-updated date.
33542         Mention math library bug fixes and timezone data changes.
33543         * README: Mention GNU/Hurd, x32, and HPPA support status.
33544
33545 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
33546
33547         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33548
33549 2012-06-27  Andreas Jaeger  <aj@suse.de>
33550
33551         * manual/contrib.texi (Contributors): Add Samuel Thibault.
33552
33553 2012-06-25  Andreas Jaeger  <aj@suse.de>
33554
33555         * sysdeps/s390/fpu/libm-test-ulps: Update.
33556
33557 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
33558             Thomas Schwinge  <thomas@codesourcery.com>
33559
33560         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33561         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33562         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33563         fanotify_mark.
33564
33565 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
33566
33567         * sysdeps/mach/start.c: Remove file.
33568         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33569         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33570         * sysdeps/sh/init-first.c: Likewise.
33571
33572         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33573         registers for frame unwinding purposes, add CFI directives.
33574         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33575         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33576         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33577         Likewise.
33578
33579         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33580         __fortify_fail returning.
33581         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33582
33583         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33584         sysdeps/sh/____longjmp_chk.S.
33585         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33586         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33587         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33588         (gen-as-const-headers): Append sigaltstack-offsets.sym.
33589
33590         * sysdeps/sh/abort-instr.h: New file.
33591         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33592         process in case exit returns.
33593
33594         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33595         initialize the GOT register before use.
33596
33597         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33598         calculation of ARGC > 4.
33599
33600         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33601         meaningful names to some local labels.
33602
33603 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33604             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33605
33606         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33607         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33608         (__arch_compare_and_exchange_val_16_acq): Likewise.
33609         (__arch_compare_and_exchange_val_32_acq): Likewise.
33610         (atomic_exchange_and_add): Fix gUSA sequence.
33611         (atomic_add): Likewise.
33612         (atomic_add_negative): Likewise.
33613         (atomic_add_zero): Likewise.
33614         (atomic_bit_test_set): Likewise.
33615
33616 2012-06-22  Andreas Schwab  <schwab@redhat.com>
33617
33618         [BZ #13579]
33619         * include/link.h (struct link_map): Add l_free_initfini.
33620         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33621         l_initfini.
33622         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33623         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33624         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33625         set.
33626
33627 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
33628
33629         * configure.in: Use AC_LANG_SOURCE.
33630         * configure: Regenerate.
33631
33632 2012-06-22  Roland McGrath  <roland@hack.frob.com>
33633
33634         * configure.in (libc_cv_localstatedir): New substituted variable.
33635         * configure: Regenerated.
33636         * config.make.in (localstatedir): New variable, substituted from
33637         libc_cv_localstatedir.
33638         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33639         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33640         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33641         * sysdeps/gnu/configure: Regenerated.
33642
33643 2012-06-21  Jeff Law  <law@redhat.com>
33644
33645         [BZ #14277]
33646         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33647         free.  Simplify list management for _LIBC case.
33648
33649 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
33650
33651         [BZ #14273]
33652         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33653         Clear sign bit of 64-bit integer value before comparing against
33654         overflow value.
33655
33656         * sysdeps/mach/configure: Regenerated.
33657
33658 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
33659
33660         [BZ #14278]
33661         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33662
33663 2012-06-21  Jeff Law  <law@redhat.com>
33664
33665         [BZ #13882]
33666         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
33667         uint16_t for elements in the "seen" array to avoid char overflows.
33668         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33669         * elf/dl-open.c (dl_open_worker): Likewise.
33670
33671 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
33672
33673         * scripts/list-sources.sh: Scan PORTS for translations.
33674         * po/libc.pot: Regenerated.
33675
33676 2012-06-21  Andreas Jaeger  <aj@suse.de>
33677
33678         [BZ #12194]
33679         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33680         warning.
33681         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33682         * bits/byteswap-16.h (__bswap_16): Likewise.
33683         * bits/byteswap.h (__bswap_constant_16): Likewise.
33684
33685 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
33686
33687         [BZ #14117]
33688         * sysdeps/i386/fpu_control.h: Removed.
33689         * sysdeps/x86_64/fpu_control.h: Moved to ...
33690         * sysdeps/x86/fpu_control.h: Here.
33691
33692         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33693         (_FPU_SETCW): Likewise.
33694
33695 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
33696
33697         [BZ #14117]
33698         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33699         * sysdeps/x86/fpu/bits/mathinline.h: This.
33700         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33701
33702         [BZ #14050]
33703         [BZ #14117]
33704         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33705         functions if __x86_64__ is defined.
33706
33707 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
33708
33709         * string/endian.h: Add !__ASSEMBLER__ condition for including
33710         conversion interfaces.
33711
33712 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
33713
33714         [BZ #14241]
33715         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33716         of ABS(x) in calculating zero to negative powers other than odd
33717         integers.
33718         * math/libm-test.inc (pow_test): Add more tests.
33719
33720 2012-06-15  Andreas Jaeger  <aj@suse.de>
33721
33722         * manual/contrib.texi (Contributors): Update entry of Liubov
33723         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33724         Machado Filho.
33725
33726 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
33727
33728         * string/string.h: Add __wur to GNU version of strerror_r.
33729
33730 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
33731
33732         [BZ #14229]
33733         * string/Makefile (tests): Add tst-strtok_r.
33734         * string/tst-strtok_r.c: New file.
33735         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33736         RAX_LP/RDX_LP on SAVE_PTR.
33737
33738 2012-06-14  Roland McGrath  <roland@hack.frob.com>
33739
33740         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33741
33742 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
33743
33744         * libm_test.inc (csqrt_test): Allow more spurious underflow
33745         exceptions.
33746         (j0_test): Likewise.
33747         (j1_test): Likewise.
33748         (y0_test): Likewise.
33749         (y1_test): Likewise.
33750
33751 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
33752
33753         * po/Makefile (libc.pot): Use UTF-8 charset.
33754
33755 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
33756
33757         [BZ #14210]
33758         Suppress sign-conversion warning from FD_SET.
33759         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33760         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33761         not unsigned long int.
33762         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33763
33764 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
33765
33766         [BZ #14050]
33767         [BZ #14117]
33768         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33769         __extern_always_inline instead of __extern_inline.
33770         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33771         (__signbit): Likewise.
33772         (__signbitl): Support C++ namespace.
33773         (lrintf): New inline function.
33774         (lrint): Likewise.
33775         (llrintf): Likewise.
33776         (llrint): Likewise.
33777         (fmaxf): Likewise.
33778         (fmax): Likewise.
33779         (fminf): Likewise.
33780         (fmin): Likewise.
33781         (rint): Likewise.
33782         (rintf): Likewise.
33783         (ceil): Likewise.
33784         (ceilf): Likewise.
33785         (floor): Likewise.
33786         (floorf): Likewise.
33787         (nearbyint): Likewise.
33788         (nearbyintf): Likewise.
33789
33790 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
33791
33792         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33793         non-default versions.
33794
33795 2012-06-11  Roland McGrath  <roland@hack.frob.com>
33796
33797         [BZ #14218]
33798         * manual/argp.texi (Argp): Reword argp_parse description slightly.
33799
33800 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
33801
33802         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33803         (FE_UPWARD, FE_DOWNWARD): Don't define.
33804         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33805         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33806
33807         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33808         reading it.
33809         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33810         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33811
33812 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33813
33814         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33815         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33816         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33817         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33818
33819 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
33820
33821         [BZ #14117]
33822         * sysdeps/i386/fpu/bits/fenv.h: Removed.
33823         * sysdeps/i386/fpu/Implies: New file.
33824         * sysdeps/x86_64/fpu/Implies: Likewise.
33825         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33826         * sysdeps/x86/fpu/bits/fenv.h: This.
33827
33828         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33829         __SSE_MATH__.
33830
33831 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33832
33833         [BZ #14134]
33834         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33835         character 0xffff that matches the last element of the
33836         conversion table.
33837
33838 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33839
33840         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33841         fmodl commit.
33842
33843 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33844
33845         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33846         values higher than 25.6283.
33847
33848 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33849
33850         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33851         subnormal exponent extraction and add some __builtin_expect.
33852         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33853         Fix for subnormal mantissa calculation.
33854
33855 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
33856
33857         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33858         cpu2 is -1 and errno is not ENOSYS.
33859
33860 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
33861
33862         [BZ #14117]
33863         * sysdeps/i386/i486/bits/string.h: Renamed to ...
33864         * sysdeps/x86/bits/string.h: This.
33865         * sysdeps/x86_64/bits/string.h: Removed.
33866
33867         * sysdeps/i386/i486/bits/string.h: Define inline functions only
33868         if not compiling for x86-64, but compiling for >= i486.
33869
33870         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33871         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33872
33873         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33874         New macro from Linux kernel 3.4.0.
33875         (FP_XSTATE_MAGIC2): Likewise.
33876         (FP_XSTATE_MAGIC2_SIZE): Likewise.
33877         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33878         (struct _fpx_sw_bytes): New struct.
33879         (struct _xsave_hdr): Likewise.
33880         (struct _ymmh_state): Likewise.
33881         (struct _xstate): Likewise.
33882
33883         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33884         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33885         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33886         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33887         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33888         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33889
33890         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33891         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33892         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33893         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33894         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33895         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33896
33897 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33898
33899         [BZ #13743]
33900         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33901         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33902         (sysdep_headers): Include sys/platform/ppc.h.
33903         * sysdeps/powerpc/test-gettimebase.c: Test for
33904         __ppc_get_timebase() to catch future ISA opcode/insn changes.
33905         * manual/Makefile (appendices): Include platform.texi.
33906         * manual/contrib.texi (Contributors): Update @node pointers.
33907         * manual/maint.texi (Maintenance): Likewise.
33908         (Platform): New node.
33909         * manual/platform.texi: New file.  Document the new features.
33910
33911 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33912             Jakub Jelinek  <jakub@redhat.com>
33913
33914         [BZ #14188]
33915         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33916         where __builtin_expect is unavailable.
33917
33918 2012-06-03  David S. Miller  <davem@davemloft.net>
33919
33920         * stdlib/longlong.h: Updated from GCC.
33921
33922 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
33923
33924         [BZ #14042]
33925         * sysdeps/powerpc/powerpc32/mcount.c: New file.
33926         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33927         __mcount_internal.
33928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33929         (GLIBC_2.16): Likewise.
33930
33931 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33932
33933         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33934
33935 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33936
33937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33938         (default-abi): New variable.
33939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33940         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33941         variable.
33942         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33943         Likewise.
33944         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33945         Likewise.
33946         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33947         Likewise.
33948
33949         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33950         definition.  Document in comment.
33951
33952 2012-06-01  David S. Miller  <davem@davemloft.net>
33953
33954         * stdlib/longlong.h: Updated from GCC.
33955
33956 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33957
33958         [BZ #14117]
33959         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33960         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33961         sys/debugreg.h sys/io.h here.
33962         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33963         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33964         sys/io.h.
33965         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33966         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33967         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33968         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33969         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33970         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33971
33972         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33973         Define only if __x86_64__ is defined.
33974
33975 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33976
33977         [BZ #14048]
33978         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33979         Use int64_t for variable i.
33980         * math/libm-test.inc (fmod_test): Add more tests.
33981
33982         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33983         z computation is not scheduled after fetestexcept.
33984         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33985         Use math_force_eval instead of asm to ensure calculation scheduled
33986         before exception test.
33987         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33988         Ensure a1 + u.d computation is not scheduled after fetestexcept.
33989
33990 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
33991
33992         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33993         computation is not scheduled after fetestexcept.
33994
33995 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33996
33997         [BZ #14117]
33998         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33999         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34000
34001 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34002
34003         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34004         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34005
34006 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34007
34008         [BZ #14117]
34009         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34010         <bits/wordsize.h>.
34011         (__WCHAR_MIN): Support __WORDSIZE == 64.
34012         (__WCHAR_MAX): Likewise.
34013
34014         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34015         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34016
34017         [BZ #14183]
34018         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34019         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34020
34021         [BZ #14117]
34022         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34023         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34024
34025         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34026         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34027
34028         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34029         Defined to 1 if __x86_64__ isn't defined.
34030         (_STAT_VER_LINUX_OLD): New.
34031         (st_atime): Remove duplicate.
34032         (st_mtime): Likewise.
34033         (st_ctime): Likewise.
34034
34035 2012-05-31  David S. Miller  <davem@davemloft.net>
34036
34037         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34038         entries.
34039
34040 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
34041
34042         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34043         gen-libm-test.pl.
34044
34045         [BZ #14132]
34046         * elf/dl-reloc.c: Include <_itoa.h>.
34047         (_dl_reloc_bad_type): Remove use of INTUSE.
34048         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34049         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34050         * stdio-common/psiginfo.c (psiginfo): Likewise.
34051         * stdio-common/psignal.c (psignal): Likewise.
34052         * string/strsignal.c (strsignal): Likewise.
34053         * include/signal.h (_sys_siglist): Declare hidden proto.
34054         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
34055         INTVARDEF with libc_hidden_data_def.
34056         * stdio-common/itoa-udigits.c: Likewise.
34057         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34058         (_itoa_lower_digits_internal): Remove declaration.
34059         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34060         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34061         (_sys_sigabbrev_internal): Remove aliases.
34062         (_sys_siglist): Define hidden alias.
34063
34064 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
34065
34066         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34067         bits/sysctl.h.
34068
34069 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34070
34071         [BZ #14117]
34072         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34073         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34074
34075         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34076         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34077         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34078         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34079         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34080         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34081
34082         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34083         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34084         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34085
34086         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34087         with __addr.
34088         (insw): Likewise.
34089         (insl): Likewise.
34090         (outsb): Likewise.
34091         (outsw): Likewise.
34092         (outsl): Likewise.
34093
34094         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34095         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34096         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34097
34098         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34099         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34100         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34101         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34102         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34103         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34104
34105         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34106         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34107
34108         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34109         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34110
34111         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34112         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34113         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34114
34115         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34116         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34117         to ...
34118         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34119
34120         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34121         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34122         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34123
34124         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34125         for x86-64.
34126         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34127
34128 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
34129
34130         * math/math.h (M_El): Use two more decimal places.
34131         (M_LOG2El): Likewise.
34132         (M_LOG10El): Likewise.
34133         (M_LN2l): Likewise.
34134         (M_LN10l): Likewise.
34135         (M_PIl): Likewise.
34136         (M_PI_2l): Likewise.
34137         (M_PI_4l): Likewise.
34138         (M_1_PIl): Likewise.
34139         (M_2_PIl): Likewise.
34140         (M_2_SQRTPIl): Likewise.
34141         (M_SQRT2l): Likewise.
34142         (M_SQRT1_2l): Likewise.
34143
34144 2012-05-31  David S. Miller  <davem@davemloft.net>
34145
34146         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34147         values between float registers.
34148         * sysdeps/sparc/sparc64/memset.S: Likewise.
34149         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34150
34151 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
34152
34153         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34154         -D_FORTIFY_SOURCE=1.
34155         (CPPFLAGS-tst-longjmp_chk.c): Define.
34156         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34157         (CPPFLAGS-tst-longjmp_chk2.c): Define.
34158         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34159         CFLAGS-tst-wchar-h.c.
34160
34161 2012-05-31  Marek Polacek  <polacek@redhat.com>
34162
34163         [BZ #14132]
34164         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34165         __endmntent_internal): Remove declaration.
34166         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34167         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34168         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34169
34170 2012-05-30  David S. Miller  <davem@davemloft.net>
34171
34172         * sysdeps/sparc/sparc32/soft-fp/q_util.c
34173         (___Q_simulate_exceptions): Use real FP ops rather than writing
34174         into the %fsr.
34175         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34176         Likewise.
34177
34178 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34179
34180         [BZ #14117]
34181         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34182         * sysdeps/x86/bits/xtitypes.h: This.
34183
34184         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34185         * sysdeps/x86/bits/wordsize.h: This.
34186
34187         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34188         * sysdeps/x86/bits/huge_vall.h: This.
34189
34190         * sysdeps/i386/bits/select.h: Removed.
34191         * sysdeps/x86_64/bits/select.h: Renamed to ...
34192         * sysdeps/x86/bits/select.h: This.
34193
34194         * sysdeps/i386/bits/setjmp.h: Removed.
34195         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34196         * sysdeps/x86/bits/setjmp.h: This.
34197
34198         * sysdeps/i386/bits/mathdef.h: Removed.
34199         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34200         * sysdeps/x86/bits/mathdef.h: This.
34201
34202 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
34203
34204         [BZ #14132]
34205         * include/sys/socket.h (__connect_internal)
34206         (__libc_sa_len_internal): Remove declaration.
34207         (__connect, __libc_sa_len): Declare hidden_proto.
34208         (SA_LEN): Remove use of INTUSE.
34209         * socket/connect.c: Add libc_hidden_def.
34210         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34211         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34212         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34213         alias.
34214         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34215         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34216         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34217         of adding _internal alias.
34218
34219 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34220
34221         [BZ #14117]
34222         * sysdeps/i386/bits/link.h: Removed.
34223         * sysdeps/i386/bits/linkmap.h: Likewise.
34224         * sysdeps/x86_64/bits/link.h: Renamed to ...
34225         * sysdeps/x86/bits/link.h: This.
34226         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34227         * sysdeps/x86/bits/linkmap.h: This.
34228
34229         * sysdeps/i386/bits/endian.h: Removed.
34230         * sysdeps/x86_64/bits/endian.h: Renamed to ...
34231         * sysdeps/x86/bits/endian.h: This.
34232
34233         * sysdeps/i386/bits/byteswap.h: Removed.
34234         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34235         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34236         * sysdeps/x86/bits/byteswap.h: This.
34237         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34238         * sysdeps/x86/bits/byteswap-16.h: This.
34239         * sysdeps/i386/Implies: Add x86.
34240         * sysdeps/x86_64/Implies: Likewise.
34241
34242 2012-05-30  David S. Miller  <davem@davemloft.net>
34243
34244         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34245         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34246         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34247         (FP_TRAPPING_EXCEPTIONS): Define.
34248         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34249         (FP_TRAPPING_EXCEPTIONS): Define.
34250         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34251         subnormals only when inexact has been signalled or underflow
34252         exceptions are enabled.
34253         (_FP_PACK_CANONICAL): Likewise.
34254
34255 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34256
34257         [BZ #14183]
34258         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34259         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34260
34261 2012-05-30  Richard Henderson  <rth@twiddle.net>
34262
34263         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34264         with #ifndef NOT_IN_libc.
34265
34266         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
34267         marked to avoid plt entry.
34268
34269 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34270
34271         [BZ #14112]
34272         * Makeconfig (default-abi): New macro.
34273         (abi-includes): Likewise.
34274         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
34275         $(abi-$(default-abi)-lib-soname) for soname if defined.
34276         ($(common-objpfx)gnu/lib-names.stmp): Generate from
34277         abi-variants.
34278         * Makefile (installed-stubs): Likewise.
34279         * include/stubs-biarch.h: Removed.
34280         * scripts/lib-names.awk: Only handle one library at a time.
34281         * scripts/soversions.awk: Remove WORDSIZE support.
34282         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34283         entries.
34284         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34285         Removed.
34286         (syscall-list-default-condition): Likewise.
34287         (syscall-list-default-condition): Likewise.
34288         (syscall-list-includes): Likewise.
34289         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34290         syscall-list-* with abi-*.  Handle undefined abi-variants.
34291         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34292         * sysdeps/unix/sysv/linux/i386/Implies: New file.
34293         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34294         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34295         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34296         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34297         Removed.
34298         (syscall-list-32-options): Likewise.
34299         (syscall-list-32-condition): Likewise.
34300         (syscall-list-64-options): Likewise.
34301         (syscall-list-64-condition): Likewise.
34302         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34303         macro.
34304         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34305         Renamed to ...
34306         (abi-*): This.
34307         (abi-64-ld-soname): New macro.
34308         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34309         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34310         Renamed to ...
34311         (abi-*): This.
34312         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34313         * sysdeps/x86_64/x32/shlib-versions: Likewise.
34314
34315 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
34316
34317         * sysdeps/unix/sysv/linux/kernel-features.h
34318         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34319         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34320         include <kernel-features.h>.
34321         [!__NR_ftruncate64]: Remove conditional code.
34322         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34323         [__NR_ftruncate64]: Make code unconditional.
34324         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34325         * sysdeps/unix/sysv/linux/truncate64.c: Do not
34326         include <kernel-features.h>.
34327         [!__NR_ftruncate64]: Remove conditional code.
34328         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34329         [__NR_ftruncate64]: Make code unconditional.
34330         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34332         include <kernel-features.h>.
34333         [!__NR_ftruncate64]: Remove conditional code.
34334         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34335         [__NR_ftruncate64]: Make code unconditional.
34336         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34338         include <kernel-features.h>.
34339         [!__NR_ftruncate64]: Remove conditional code.
34340         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34341         [__NR_ftruncate64]: Make code unconditional.
34342         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34343
34344         * configure.in (libc_cv_fpie): Weaken to a compile test using
34345         LIBC_TRY_CC_OPTION.
34346         * configure: Regenerated.
34347
34348 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34349
34350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34354         Refreshed.
34355         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34361         Refreshed.
34362
34363 2012-05-27  David S. Miller  <davem@davemloft.net>
34364
34365         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34366         (___Q_zero): New.
34367         (__Q_simulate_exceptions): Return void.  Change to simulate
34368         exceptions by writing into the %fsr.
34369         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34370         (__Qp_handle_exceptions): Likewise.
34371         (numbers): Delete.
34372         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34373         __Qp_handle_exceptions.
34374         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34375         __Qp_handle_exceptions.
34376         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34377         as unused and give dummy FP_RND_NEAREST initializer.
34378         (FP_INHIBIT_RESULTS): Define.
34379         (___Q_simulate_exceptions): Update declaration.
34380         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34381         formatting.
34382         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34383         as unused and give dummy FP_RND_NEAREST initializer.
34384         (__Qp_handle_exceptions): Update declaration.
34385         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34386         formatting.
34387
34388 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
34389
34390         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34391         the temporary FPU control word.
34392         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34393         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34394         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34395         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34396         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34397         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34398         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34399         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34400         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34401         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34402         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34403
34404 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34405
34406         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34407         fields.
34408
34409 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
34410
34411         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34412         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34413         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34414         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34415         Likewise.
34416         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34417         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34418         Likewise.
34419
34420 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
34421
34422         * po/h.po: Update from translation team.
34423
34424 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
34425
34426         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34427
34428         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34429         handling of denormals.
34430         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34431         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34432         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34433         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34434         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34435         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34436         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34437         Likewise.
34438
34439 2012-05-26  Marek Polacek  <polacek@redhat.com>
34440
34441         [BZ #14152]
34442         * math/libm-test.inc (fma_test): Don't always expect underflow
34443         exception.
34444
34445 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34446
34447         [BZ #12416]
34448         * elf/tst-execstack.c: Include stackinfo.h.
34449         (do_test): Adjust test case to ensure that pthread_getattr_np
34450         behaviour remains the same after marking stack executable.
34451
34452 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34453
34454         * sysdeps/unix/sysv/linux/kernel-features.h
34455         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34456         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34457         kernel-features.h.
34458         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34459         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34460         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34461         kernel-features.h.
34462         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34463         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34464
34465 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
34466
34467         * configure.in: Define the default includes to being none.
34468         * configure: Regenerated.
34469
34470 2012-05-25  Roland McGrath  <roland@hack.frob.com>
34471
34472         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34473         * sysdeps/x86_64/setjmp.S: Likewise.
34474         * sysdeps/i386/bsd-setjmp.S: Likewise.
34475         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34476         * sysdeps/i386/setjmp.S: Likewise.
34477         * sysdeps/i386/__longjmp.S: Likewise.
34478         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34479         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34480
34481         * include/stap-probe.h: New file.
34482         * configure.in: Handle --enable-systemtap.
34483         * configure: Regenerated.
34484         * config.h.in (USE_STAP_PROBE): New #undef.
34485         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34486         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34487         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34488
34489 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34490
34491         [BZ #13717]
34492         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34493         to 2.4.0 where earlier.
34494         * sysdeps/unix/sysv/linux/configure: Regenerated.
34495         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34496         <kernel-features.h>.
34497         [__ASSUME_32BITUIDS]: Make code unconditional.
34498         [!__ASSUME_32BITUIDS]: Remove conditional code.
34499         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34500         <kernel-features.h>.
34501         [__ASSUME_32BITUIDS]: Make code unconditional.
34502         [!__ASSUME_32BITUIDS]: Remove conditional code.
34503         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34504         [__ASSUME_32BITUIDS]: Make code unconditional.
34505         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34506         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34507         <kernel-features.h>.
34508         [__ASSUME_32BITUIDS]: Make code unconditional.
34509         [!__ASSUME_32BITUIDS]: Remove conditional code.
34510         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34511         <kernel-features.h>.
34512         [__ASSUME_32BITUIDS]: Make code unconditional.
34513         [!__ASSUME_32BITUIDS]: Remove conditional code.
34514         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34515         <kernel-features.h>.
34516         [__ASSUME_32BITUIDS]: Make code unconditional.
34517         [!__ASSUME_32BITUIDS]: Remove conditional code.
34518         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34519         <kernel-features.h>.
34520         [__ASSUME_32BITUIDS]: Make code unconditional.
34521         [!__ASSUME_32BITUIDS]: Remove conditional code.
34522         * sysdeps/unix/sysv/linux/i386/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
34547         <kernel-features.h>.
34548         [__NR_setresgid] (__setresgid): Do not declare.
34549         [__ASSUME_32BITUIDS]: Make code unconditional.
34550         [!__ASSUME_32BITUIDS]: Remove conditional code.
34551         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34552         <kernel-features.h>.
34553         [__NR_setresuid] (__setresuid): Do not declare.
34554         [__ASSUME_32BITUIDS]: Make code unconditional.
34555         [!__ASSUME_32BITUIDS]: Remove conditional code.
34556         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34557         <kernel-features.h>.
34558         [__ASSUME_32BITUIDS]: Make code unconditional.
34559         [!__ASSUME_32BITUIDS]: Remove conditional code.
34560         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34561         <kernel-features.h>.
34562         [__ASSUME_32BITUIDS]: Make code unconditional.
34563         [!__ASSUME_32BITUIDS]: Remove conditional code.
34564         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34565         <kernel-features.h>.
34566         [__ASSUME_32BITUIDS]: Make code unconditional.
34567         [!__ASSUME_32BITUIDS]: Remove conditional code.
34568         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34569         <kernel-features.h>.
34570         [__ASSUME_32BITUIDS]: Make code unconditional.
34571         [!__ASSUME_32BITUIDS]: Remove conditional code.
34572         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34573         <kernel-features.h>.
34574         [__ASSUME_32BITUIDS]: Make code unconditional.
34575         [!__ASSUME_32BITUIDS]: Remove conditional code.
34576         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34577         <kernel-features.h>.
34578         [__ASSUME_32BITUIDS]: Make code unconditional.
34579         [!__ASSUME_32BITUIDS]: Remove conditional code.
34580         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34581         <kernel-features.h>.
34582         [__ASSUME_32BITUIDS]: Make code unconditional.
34583         [!__ASSUME_32BITUIDS]: Remove conditional code.
34584         * sysdeps/unix/sysv/linux/i386/setreuid.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/i386/setuid.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/i386/shmctl.c: Do not include
34593         <kernel-features.h>.
34594         [__ASSUME_32BITUIDS]: Make code unconditional.
34595         [!__ASSUME_32BITUIDS]: Remove conditional code.
34596         * sysdeps/unix/sysv/linux/kernel-features.h
34597         (__ASSUME_SETRESUID_SYSCALL): Remove.
34598         (__ASSUME_SETRESGID_SYSCALL): Likewise.
34599         (__ASSUME_32BITUIDS): Likewise.
34600         (__ASSUME_LDT_WORKS): Likewise.
34601         (__ASSUME_O_DIRECTORY): Likewise.
34602         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34603         architecture but not kernel version.
34604         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34605         (__ASSUME_MMAP2_SYSCALL): Likewise.
34606         (__ASSUME_STAT64_SYSCALL): Likewise.
34607         (__ASSUME_IPC64): Likewise.
34608         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34609         <kernel-features.h>.
34610         [__ASSUME_32BITUIDS]: Make code unconditional.
34611         [!__ASSUME_32BITUIDS]: Remove conditional code.
34612         * sysdeps/unix/sysv/linux/opendir.c: Do not include
34613         <kernel-features.h>.
34614         [__ASSUME_O_DIRECTORY]: Make code unconditional.
34615         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34616         132096]: Remove conditional code.
34617         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34618         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34619         <kernel-features.h>.
34620         [__ASSUME_32BITUIDS]: Make code unconditional.
34621         [!__ASSUME_32BITUIDS]: Remove conditional code.
34622         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34623         <kernel-features.h>.
34624         [__ASSUME_32BITUIDS]: Make code unconditional.
34625         [!__ASSUME_32BITUIDS]: Remove conditional code.
34626         * sysdeps/unix/sysv/linux/setegid.c: Do not include
34627         <kernel-features.h>.
34628         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34629         unconditional.
34630         (__setresgid): Do not declare.
34631         [__ASSUME_32BITUIDS]: Make code unconditional.
34632         [!__ASSUME_32BITUIDS]: Remove conditional code.
34633         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34634         <kernel-features.h>.
34635         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34636         unconditional.
34637         (__setresuid): Do not declare.
34638         [__ASSUME_32BITUIDS]: Make code unconditional.
34639         [!__ASSUME_32BITUIDS]: Remove conditional code.
34640         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34641         <kernel-features.h>.
34642         [__ASSUME_32BITUIDS]: Make code unconditional.
34643         [!__ASSUME_32BITUIDS]: Remove conditional code.
34644         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34645         <kernel-features.h>.
34646         [__ASSUME_32BITUIDS]: Make code unconditional.
34647         [!__ASSUME_32BITUIDS]: Remove conditional code.
34648
34649 2012-05-25  Richard Henderson  <rth@twiddle.net>
34650
34651         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34652         dl_hwcap to ifunc resolver.
34653         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34654         elf_ifunc_invoke.
34655         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34656         dl_hwcap to ifunc resolver.
34657         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34658
34659 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34660
34661         [BZ #14153]
34662         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34663         for |x| <= 2**-26, not 2**-57.
34664         * math/libm-test.inc (acos_test): Do not allow spurious underflow
34665         exception.
34666
34667 2012-05-24  Jeff Law  <law@redhat.com>
34668
34669         * stdio-common/Makefile (tests): Add bug25.
34670         * stdio-common/bug25.c: New test.
34671
34672 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34673
34674         [BZ #13576]
34675         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34676         multiple of MALLOC_ALIGNMENT in size.
34677         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34678
34679 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34680
34681         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34682         Require >= 256.
34683         (FILENAME_MAX): Use macro-int-constant.
34684         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
34685         (_IOFBF): Use macro-int-constant.
34686         (_IOLBF): Likewise.
34687         (_IONBF): Likewise.
34688         (SEEK_CUR): Likewise.
34689         (SEEK_END): Likewise.
34690         (SEEK_SET): Likewise.
34691         (TMP_MAX): Likewise.
34692         (EOF): Use macro-int-constant.  Require < 0.
34693         (NULL): Use macro-constant.  Require == 0.
34694         (stdin): Require type to be FILE *.
34695         (stdout): Likewise.
34696         (stderr): Likewise.
34697         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34698         macro-int-constant.
34699         (EXIT_SUCCESS): Likewise.
34700         (NULL): Use macro-constant.  Require == 0.
34701         (RAND_MAX): Use macro-int-constant.
34702         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34703         [C99-based standards] (strtof): Require function.
34704         [C99-based standards] (strtold): Likewise.
34705         [C99-based standards] (strtoll): Likewise.
34706         [C99-based standards] (strtoull): Likewise.
34707         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34708         [ISO || ISO99 || ISO11] (limits.h): Likewise.
34709         [ISO || ISO99 || ISO11] (math.h): Likewise.
34710         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34711         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34712         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34713
34714 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
34715
34716         [BZ #14132]
34717         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34718         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34719         * intl/dgettext.c (DCGETTEXT): Likewise.
34720         * intl/gettext.c (DCGETTEXT): Likewise.
34721         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34722         * posix/regex_internal.h (gettext): Likewise.
34723         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34724         Remove declaration.
34725         * include/argz.h (__argz_count_internal)
34726         (__argz_stringify_internal): Remove declaration.
34727         (__argz_count, __argz_stringify): Declare hidden proto.
34728         * intl/dcgettext.c: Remove use of INTDEF.
34729         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34730         * string/argz-stringify.c: Likewise.
34731         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34732         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34733         Declare hidden proto.
34734         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34735         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34736         Declare hidden proto.
34737         * include/stdio.h (__asprintf_internal): Don't declare.
34738         (__asprintf): Don't define as macro.  Declare hidden proto.
34739         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34740         (__fsetlocking): Declare hidden proto.
34741         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34742         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34743         hidden proto.
34744         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34745         (_IO_setlinebuf): Remove use of INTUSE.
34746         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34747         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34748         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34749         Remove declaration.
34750         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34751         (_IO_do_flush): Remove use of INTUSE.
34752         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34753         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34754         (_IO_adjust_column, _IO_least_wmarker)
34755         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34756         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34757         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34758         (_IO_default_doallocate, _IO_wdefault_doallocate)
34759         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34760         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34761         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34762         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34763         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34764         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34765         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34766         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34767         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34768         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34769         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34770         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34771         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34772         proto.
34773         (_IO_flush_all_internal, _IO_adjust_column_internal)
34774         (_IO_default_uflow_internal, _IO_default_finish_internal)
34775         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34776         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34777         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34778         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34779         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34780         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34781         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34782         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34783         (_IO_file_close_internal, _IO_file_close_it_internal)
34784         (_IO_file_underflow_internal, _IO_file_overflow_internal)
34785         (_IO_file_init_internal, _IO_file_attach_internal)
34786         (_IO_file_fopen_internal, _IO_file_read_internal)
34787         (_IO_file_sync_internal, _IO_file_seek_internal)
34788         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34789         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34790         (_IO_str_underflow_internal, _IO_str_overflow_internal)
34791         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34792         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34793         (_IO_list_all_internal, _IO_link_in_internal)
34794         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34795         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34796         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34797         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34798         (_IO_do_write_internal, _IO_padn_internal)
34799         (_IO_getline_info_internal, _IO_getline_internal)
34800         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34801         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34802         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34803         (_IO_vfscanf_internal, _IO_vfprintf_internal)
34804         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34805         (_IO_init_internal, _IO_un_link_internal): Don't declare.
34806         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34807         with libc_hidden_ver, remove use of INTUSE.
34808         * libio/genops.c: Likewise.
34809         * libio/freopen.c: Likewise.
34810         * libio/freopen64.c: Likewise.
34811         * libio/iofclose.c: Likewise.
34812         * libio/iofdopen.c: Likewise.
34813         * libio/iofflush.c: Likewise.
34814         * libio/iofflush_u.c: Likewise.
34815         * libio/iofgets.c: Likewise.
34816         * libio/iofgets_u.c: Likewise.
34817         * libio/iofopen.c: Likewise.
34818         * libio/iofopncook.c: Likewise.
34819         * libio/iofread.c: Likewise.
34820         * libio/iofread_u.c: Likewise.
34821         * libio/ioftell.c: Likewise.
34822         * libio/iofwrite.c: Likewise.
34823         * libio/iogetline.c: Likewise.
34824         * libio/iogets.c: Likewise.
34825         * libio/iogetwline.c: Likewise.
34826         * libio/iopadn.c: Likewise.
34827         * libio/iopopen.c: Likewise.
34828         * libio/ioseekoff.c: Likewise.
34829         * libio/ioseekpos.c: Likewise.
34830         * libio/iosetbuffer.c: Likewise.
34831         * libio/iosetvbuf.c: Likewise.
34832         * libio/ioungetc.c: Likewise.
34833         * libio/ioungetwc.c: Likewise.
34834         * libio/iovdprintf.c: Likewise.
34835         * libio/iovsprintf.c: Likewise.
34836         * libio/iovsscanf.c: Likewise.
34837         * libio/memstream.c: Likewise.
34838         * libio/obprintf.c: Likewise.
34839         * libio/oldfileops.c: Likewise.
34840         * libio/oldiofclose.c: Likewise.
34841         * libio/oldiofdopen.c: Likewise.
34842         * libio/oldiofopen.c: Likewise.
34843         * libio/oldiopopen.c: Likewise.
34844         * libio/oldstdfiles.c: Likewise.
34845         * libio/putc.c: Likewise.
34846         * libio/setbuf.c: Likewise.
34847         * libio/setlinebuf.c: Likewise.
34848         * libio/stdfiles.c: Likewise.
34849         * libio/strops.c: Likewise.
34850         * libio/vasprintf.c: Likewise.
34851         * libio/vscanf.c: Likewise.
34852         * libio/vsnprintf.c: Likewise.
34853         * libio/vswprintf.c: Likewise.
34854         * libio/wfiledoalloc.c: Likewise.
34855         * libio/wfileops.c: Likewise.
34856         * libio/wgenops.c: Likewise.
34857         * libio/wmemstream.c: Likewise.
34858         * libio/wstrops.c: Likewise.
34859         * libio/__fpurge.c: Likewise.
34860         * libio/__fsetlocking.c: Likewise.
34861         * assert/assert.c: Likewise.
34862         * debug/fgets_chk.c: Likewise.
34863         * debug/fgets_u_chk.c: Likewise.
34864         * debug/fread_chk.c: Likewise.
34865         * debug/fread_u_chk.c: Likewise.
34866         * debug/gets_chk.c: Likewise.
34867         * debug/obprintf_chk.c: Likewise.
34868         * debug/vasprintf_chk.c: Likewise.
34869         * debug/vdprintf_chk.c: Likewise.
34870         * debug/vsnprintf_chk.c: Likewise.
34871         * debug/vsprintf_chk.c: Likewise.
34872         * malloc/mtrace.c: Likewise.
34873         * misc/error.c: Likewise.
34874         * misc/syslog.c: Likewise.
34875         * stdio-common/asprintf.c: Likewise.
34876         * stdio-common/fxprintf.c: Likewise.
34877         * stdio-common/getw.c: Likewise.
34878         * stdio-common/isoc99_fscanf.c: Likewise.
34879         * stdio-common/isoc99_scanf.c: Likewise.
34880         * stdio-common/isoc99_vfscanf.c: Likewise.
34881         * stdio-common/isoc99_vscanf.c: Likewise.
34882         * stdio-common/isoc99_vsscanf.c: Likewise.
34883         * stdio-common/printf-prs.c: Likewise.
34884         * stdio-common/printf_fp.c: Likewise.
34885         * stdio-common/printf_fphex.c: Likewise.
34886         * stdio-common/printf_size.c: Likewise.
34887         * stdio-common/putw.c: Likewise.
34888         * stdio-common/scanf.c: Likewise.
34889         * stdio-common/sprintf.c: Likewise.
34890         * stdio-common/tmpfile.c: Likewise.
34891         * stdio-common/vfprintf.c: Likewise.
34892         * stdio-common/vfscanf.c: Likewise.
34893         * stdlib/strfmon_l.c: Likewise.
34894         * sunrpc/openchild.c: Likewise.
34895         * sunrpc/xdr_stdio.c: Likewise.
34896         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34897         * sysdeps/mach/hurd/tmpfile.c: Likewise.
34898
34899 2012-05-24  Roland McGrath  <roland@hack.frob.com>
34900
34901         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34902
34903         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34904         in the third column, to generate for the shared library an IFUNC
34905         that uses _dl_vdso_vsym.
34906         * Makerules (COMPILE.c, compile-stdin.c): New variables.
34907         * Makeconfig (object-suffixes-noshared): New variable.
34908
34909         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34910         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34911         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34912         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34913
34914         [BZ #14132]
34915         * include/sys/time.h (__gettimeofday): Remove macro.
34916         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34917         * time/gettimeofday.c (__gettimeofday): Remove #undef.
34918         Remove INTDEF.
34919         (__gettimeofday): Add libc_hidden_def.
34920         (gettimeofday): Add libc_hidden_weak.
34921         * sysdeps/mach/gettimeofday.c: Likewise.
34922         * sysdeps/posix/gettimeofday.c: Likewise.
34923         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34924         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34925         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34926         (__gettimeofday_internal): Remove strong_alias.
34927         (__gettimeofday): Add libc_hidden_def.
34928         (gettimeofday): Add libc_hidden_weak.
34929         * sysdeps/unix/syscalls.list (gettimeofday):
34930         Remove __gettimeofday_internal alias.
34931
34932 2012-05-24  Daniel Jacobowitz  <drow@false.org>
34933             H.J. Lu  <hongjiu.lu@intel.com>
34934
34935         [BZ #12495]
34936         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34937         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34938         (largebin_index_32_big): New.
34939         (largebin_index): Use it for 16-byte alignment.
34940         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
34941         correction with front_misalign.
34942
34943 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34944
34945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34947         Likewise.
34948         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34949         Likewise.
34950         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34951         Likewise.
34952         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34953         Likewise.
34954         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34955         Likewise.
34956         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34957         Likewise.
34958         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34959         Likewise.
34960         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34961         Likewise.
34962         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34963         Likewise.
34964         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34965         Likewise.
34966         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34967         Likewise.
34968         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34969         Likewise.
34970
34971         * scripts/data/c++-types-x32-linux-gnu.data: New file.
34972         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34973
34974 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34975
34976         [BZ #10846]
34977         [BZ #14036]
34978         * math/libm-test.inc (exp_test): Add test from bug 14036.
34979         (pow_test): Add test from bug 10846.
34980
34981         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34982         and other flags.
34983         (special_function): Do not include flags in test name.
34984         (parse_args): Likewise.
34985         * sysdeps/i386/fpu/libm-test-ulps: Update.
34986         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34987         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34988         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34990
34991         * math/gen-libm-test.pl (%beautify): Add entries for underflow
34992         exceptions.
34993         * math/libm-test.inc ("Philosophy"): Update comment about
34994         exception testing.
34995         (UNDERFLOW_EXCEPTION): New macro.
34996         (UNDERFLOW_EXCEPTION_OK): Likewise.
34997         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34998         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34999         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35000         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35001         (INVALID_EXCEPTION_OK): Update value.
35002         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35003         (OVERFLOW_EXCEPTION_OK): Likewise.
35004         (IGNORE_ZERO_INF_SIGN): Likewise.
35005         (test_exceptions): Handle underflow exceptions.
35006         (acos_test): Update for underflow exception expectations.
35007         (cexp_test): Likewise.
35008         (clog_test): Likewise.
35009         (clog10_test): Likewise.
35010         (csqrt_test): Likewise.
35011         (ctan_test): Likewise.
35012         (ctanh_test): Likewise.
35013         (exp_test): Likewise.
35014         (exp10_test): Likewise.
35015         (exp2_test): Likewise.
35016         (expm1_test): Likewise.
35017         (fma_test): Likewise.
35018         (j0_test): Likewise.
35019         (jn_test): Likewise.
35020         (nexttoward_test): Likewise.
35021         (pow_test): Likewise.
35022         (scalbn_test): Likewise.
35023         (scalbln_test): Likewise.
35024         (tan_test): Likewise.
35025         (y1_test): Likewise.
35026         * sysdeps/i386/fpu/libm-test-ulps: Update.
35027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35028
35029 2012-05-23  David S. Miller  <davem@davemloft.net>
35030
35031         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35032         (__libc_sigaction): Remove unused local variables.
35033
35034 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35035
35036         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35037
35038 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
35039
35040         mktime: avoid signed integer overflow
35041         * time/mktime.c (__mktime_internal): Do not mishandle the case
35042         where diff == INT_MIN.
35043
35044         mktime: simplify computation of average
35045         * time/mktime.c (ranged_convert): Use new time_t_avg function
35046         instead of rolling our own (probably-slower) code.
35047
35048         mktime: do not assume signed right shift propagates sign bit
35049         * time/mktime.c (isdst_differ): New static function.
35050         (__mktime_internal): No need to normalize tm_isdst now.
35051         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35052         tm_isdst values.
35053
35054         mktime: merge another wrapv change from gnulib
35055         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35056         from some compilers.
35057
35058         mktime: remove incorrect attempt at unusual arithmetics
35059         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35060         The code didn't really work on such machines anyway.
35061         (TYPE_MINIMUM): Assume two's complement.
35062         (twos_complement_arithmetic): Verify that long_int and time_t
35063         are two's complement (or unsigned, in the latter case).
35064
35065         mktime: check signed shifts on long_int and time_t, too
35066         * time/mktime.c (SHR): Check that shifts work as desired
35067         on the types long_int and time_t too, as SHR is used on
35068         such types.
35069
35070         mktime: do not assume 'long' is wide enough
35071         * time/mktime.c (verify): Move decl up.
35072         (long_int): New type.
35073         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35074         to remove assumption in the code that 'long' is wide enough to
35075         store year values.  This assumption is not true on x32 and on
35076         some non-glibc platforms.
35077
35078         mktime: merge wrapv change from gnulib
35079         * time/mktime.c (WRAPV): New macro.
35080         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35081         (guess_time_tm, __mktime_internal): Do not assume that signed
35082         integer overflow wraps around; modern compilers generate code
35083         where this assumption is no longer valid.
35084
35085 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35086
35087         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35088         Replace "jmp L(pseudo_end)" with "ret".
35089         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35090         Likewise.
35091
35092 2012-05-23  Andreas Jaeger  <aj@suse.de>
35093
35094         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35095         * sysdeps/unix/sysv/linux/poll.c: Remove file.
35096
35097 2012-05-23  Andreas Jaeger  <aj@suse.de>
35098             Maximilian Attems  <max@stro.at>
35099
35100         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35101         New macros.
35102
35103 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35104
35105         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35106         code so that pseudo_end is just ret and the stack pointer is
35107         correct also for static library in error case.
35108
35109 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
35110
35111         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35112         move to syscalls.list.
35113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35117
35118         * manual/install.texi (Running make install): Do not mention Linux
35119         kernel version for which pt_chown is not needed.
35120         (Linux): Do not mention problems with nscd with 2.0 kernels.
35121         * INSTALL: Regenerated.
35122
35123 2012-05-23  Andreas Jaeger  <aj@suse.de>
35124
35125         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35126         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35127         macro.
35128         * sysdeps/unix/sysv/linux/s390/bits/mman.h
35129         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35130         * sysdeps/unix/sysv/linux/sh/bits/mman.h
35131         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35132         * sysdeps/unix/sysv/linux/i386/bits/mman.h
35133         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35134         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35135         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35136         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35137         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35138         * sysdeps/unix/sysv/linux/bits/in.h
35139         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35140
35141 2012-05-22  Roland McGrath  <roland@hack.frob.com>
35142
35143         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35144         (PREPARE_VERSION): Just use assert instead, it will be elided
35145         under [NDEBUG] anyway.
35146
35147 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35148
35149         * sysdeps/unix/sysv/linux/Makefile: Include
35150         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35151         (sysdep_routines): Remove sysctl.
35152         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35153         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35154         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35155         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35156         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35157
35158 2012-05-22  Andreas Jaeger  <aj@suse.de>
35159
35160         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35161         that pseudo_end is just ret and the stack pointer is correct also
35162         for static library in error case.
35163
35164 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35165
35166         [BZ #14122]
35167         * nss/nsswitch.c (defconfig_entries): New variable.
35168         (__nss_database_lookup): Don't leak defconfig entries.
35169         (nss_parse_service_list): Don't leak on error paths.
35170         (free_database_entries): New function.
35171         (free_defconfig): New function.
35172         (free_mem): Move common code to free_database_entries.
35173
35174 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35175
35176         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35177         Add arch_prctl.
35178         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35179
35180         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35181         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35182         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35183         New macro.
35184         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35185         (INTERNAL_SYSCALL_TYPES): Likewise.
35186         (LOAD_ARGS_TYPES_[1-6]): Likewise.
35187         (LOAD_REGS_TYPES_[1-6]): Likewise.
35188         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35189         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35190
35191 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35192
35193         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35194         copysignl for GLIBC_2_0.
35195         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35196         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35197         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35198         logbl for GLIBC_2_0.
35199         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35200         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35201
35202 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35203
35204         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35205         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35206
35207         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35208         Use "neg %eax".
35209
35210         * time/mktime.c: Update copyright years.
35211
35212 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35213
35214         mktime: merge comment-quoting-style change from gnulib
35215         * time/mktime.c: Quote 'like this' in comments.
35216         The GNU coding standards suggest that we no longer quote `like this',
35217         as "`" and "'" are typically rendered asymmetrically nowadays.
35218         The typical gnulib style is to quote 'like this' when quoting
35219         code, and "like this" when quoting English.
35220
35221         * time/mktime.c (compile-command): Add "-I.".
35222
35223         mktime: merge mktime-internal.h change from gnulib
35224         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35225
35226         mktime: merge time_r change from gnulib
35227         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35228
35229         mktime: merge DEBUG change from gnulib
35230         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35231         case system <time.h> has a #define.
35232
35233         mktime: merge <sys/types.h> change from gnulib
35234         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35235         since <time.t> is now guaranteed to define time_t.
35236
35237         mktime: merge HAVE_CONFIG_H change from gnulib
35238         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35239
35240 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35241
35242         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35243         Use "neg %eax".
35244
35245         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35246         __rlim_t cast.
35247         (struct rusage): Use anonymous union to pad each field to
35248         __syscall_slong_t.
35249
35250 2012-05-21  David S. Miller  <davem@davemloft.net>
35251
35252         * Makefules (o-iterator): Remove .s cases.
35253         (compile-command.s): Delete.
35254         (COMPILE.s): Delete.
35255         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35256
35257 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
35258
35259         * configure.in (libc_cv_predef_stack_protector): Only consider
35260         "foobar" and "__stack_chk_fail" lines in libc_undefs.
35261         * configure: Regenerated.
35262
35263 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35264
35265         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35266         New macro.  Use R*LP on int and pointer.
35267         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35268         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35269         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35270         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35271
35272         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35273         [__WORDSIZE_TIME64_COMPAT32] instead of
35274         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35275         (struct utmp): Likewise.
35276         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35277         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35278         Renamed to ...
35279         (__WORDSIZE_TIME64_COMPAT32): This.
35280         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35281         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35282         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35283         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35284         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35285         (__WORDSIZE_TIME64_COMPAT32): New macro.
35286
35287 2012-05-21  Andreas Jaeger  <aj@suse.de>
35288
35289         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35290         only if [SHARED]. Add prototype for __wcschr_ia32.
35291
35292 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35293
35294         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35295         of %rbp unmolested in the jmp_buf while mangling the low bits.
35296         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35297         unmolested high bits of %rbp while demangling the low bits.
35298         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35299
35300 2012-05-21  Andreas Jaeger  <aj@suse.de>
35301
35302         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35303         * sunrpc/svc_simple.c: Use it for registerrpc.
35304         * sunrpc/xcrypt.c: Use it for passwd2des.
35305
35306         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35307
35308 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35309
35310         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35311         Don't define if [__SYSCALL_WORDSIZE != 32].
35312         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35313         New macro.
35314
35315 2012-05-21  Bruno Haible  <bruno@clisp.org>
35316             Andreas Jaeger  <aj@suse.de>
35317
35318         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35319         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35320         inptr and inend for must_buffer_ch.
35321         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35322         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35323         * stdio-common/Makefile (tests): Remove bug15.
35324         (bug15-ENV): Remove macro.
35325         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35326         anymore.
35327
35328 2012-05-19  Andreas Jaeger  <aj@suse.de>
35329             Roland McGrath  <roland@hack.frob.com>
35330
35331         * manual/contrib.texi: Completely rewritten. It contains now an
35332         alphabetical list of contributors and their contributions.
35333
35334 2012-05-21  Richard Henderson  <rth@twiddle.net>
35335
35336         * misc/getauxval.c (__getauxval): Use unsigned long int.
35337         * misc/sys/auxv.h: Include <sys/cdefs.h>.
35338         (getauxval): Use unsigned long int.
35339
35340 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35341
35342         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35343
35344 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35345
35346         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35347         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35348         __alignof__ (long double).
35349
35350 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35351
35352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35353
35354 2012-05-20  Richard Henderson  <rth@twiddle.net>
35355
35356         * misc/getauxval.c: New file.
35357         * misc/sys/auxv.h: New file.
35358         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35359         (routines): Add getauxval.
35360         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35361         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35362         * elf/dl-sysdep.c (_dl_auxv): Remove.
35363         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35364         * elf/dl-support.c (_dl_auxv): New variable.
35365         (_dl_aux_init): Initialize it.
35366         * manual/startup.texi (Auxiliary Vector): New node.
35367         * sysdeps/generic/bits/hwcap.h: New file.
35368         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35369         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
35370         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35371         * sysdeps/sparc/sysdep.h: ... here.  Include it.
35372         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35373         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35375         Update.
35376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35378         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35379         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35380         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35382         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35383         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35384
35385 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35386
35387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35388
35389 2012-05-19  David S. Miller  <davem@davemloft.net>
35390
35391         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35392
35393 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35394
35395         [BZ #14123]
35396         * math/s_ccosh.c: Include <float.h>
35397         (__ccosh): Avoid internal overflow calculating sinh and cosh
35398         values before multiplying by sin and cos values.
35399         * math/s_ccoshf.c: Likewise.
35400         * math/s_ccoshl.c: Likewise.
35401         * math/s_csin.c: Likewise.
35402         * math/s_csinf.c: Likewise.
35403         * math/s_csinl.c: Likewise.
35404         * math/s_csinh.c: Likewise.
35405         * math/s_csinhf.c: Likewise.
35406         * math/s_csinhl.c: Likewise.
35407         * math/libm-test.inc (ccos_test): Add more tests.
35408         (ccosh_test): Likewise.
35409         (csin_test): Likewise.
35410         (csinh_test): Likewise.
35411         * sysdeps/i386/fpu/libm-test-ulps: Update.
35412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35413
35414 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
35415
35416         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35417         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35418
35419         * sysdeps/x86_64/x32/_itoa.h: Add comment.
35420
35421 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35422
35423         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35424         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35425         * sysdeps/powerpc/soft-fp/Versions: Likewise.
35426         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35427         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35428         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35429         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35430         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35431         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35432         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35433         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35434         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35435         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35436         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35437         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35438         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35439         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35440         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35441         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35442         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35443         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35444         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35445         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35446         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35447         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35448         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35449         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35450         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35451         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35452         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35453         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35454
35455 2012-05-18  Andreas Jaeger  <aj@suse.de>
35456
35457         * csu/.gitignore: Delete.
35458
35459 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35460
35461         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35462         (timex): Use __syscall_slong_t.
35463
35464 2012-05-18  Andreas Jaeger  <aj@suse.de>
35465             Carlos O'Donell  <carlos_odonell@mentor.com>
35466
35467         * manual/install.texi (Configuring and compiling): Update
35468         description about files modified in the source directory.
35469         * INSTALL: Regenerated.
35470
35471 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35472
35473         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35474         value.  Use "or" to set return value to -1.
35475         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35476         negate return value.
35477
35478 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35479
35480         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35481         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35482         failure if the compiler has Graphite support disabled.
35483         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35484         Likewise.
35485         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35486         (CFLAGS-memmove.c): Likewise.
35487         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35488         Likewise.
35489
35490 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35491
35492         * sysdeps/x86_64/x32/_itoa.h: New file.
35493
35494         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35495         getdents system call only if kernel and user dirents have the
35496         same d_ino and d_off.
35497
35498         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35499         LLONG_MAX != LONG_MAX.
35500         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35501         (_fitoa_word): Likewise.
35502
35503         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35504         years.
35505         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35506         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35507         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35508
35509         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35510         include <bits/wordsize.h>.  Check __x86_64__ instead of
35511         __WORDSIZE.
35512         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35513         if __x86_64__ is defined.  Use anonymous union on fpstate.
35514
35515         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35516         anonymous union.
35517
35518 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
35519
35520         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35521         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35522         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35523         Refer to _rtld_local_ro instead of _rtld_global_ro.
35524         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35525         Likewise.
35526         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35527         Likewise.
35528         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35529         Likewise.
35530         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35531         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35532         of _rtld_global, and rtld_progname instead of _dl_argv[0].
35533
35534         * sysdeps/powerpc/powerpc32/dl-machine.c
35535         (__elf_machine_runtime_setup) [PROF]: Don't reference
35536         _dl_prof_resolve.
35537
35538 2012-05-18  Andreas Jaeger  <aj@suse.de>
35539
35540         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35541         function only available for GCCs before 3.4 since GCC 3.4
35542         introduced a builtin.
35543         (lrint): Likewise.
35544         (llrintf): Likewise.
35545         (llrint): Likewise.
35546         (fmaxf): Likewise.
35547         (fmax): Likewise.
35548         (fminf): Likewise.
35549         (fmin): Likewise.
35550         (rint): Likewise.
35551         (rintf): Likewise.
35552         (nearbyint): Likewise.
35553         (nearbyintf): Likewise.
35554         (ceil): Likewise.
35555         (ceilf): Likewise.
35556         (floor): Likewise.
35557         (floorf): Likewise.
35558
35559 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35560
35561         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35562         on both fields and cast pointer to __syscall_ulong_t.
35563
35564         * bits/types.h (__fsword_t): New type.
35565         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35566         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35567         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35568         (__FSWORD_T_TYPE): Likewise.
35569         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35570         (__FSWORD_T_TYPE): Likewise.
35571         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35572         (__FSWORD_T_TYPE): Likewise.
35573         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35574         (__FSWORD_T_TYPE): Likewise.
35575         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35576         __SWORD_TYPE with __fsword_t.
35577         (statfs64): Likewise.
35578
35579 2012-05-17  David S. Miller  <davem@davemloft.net>
35580
35581         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35582
35583 2012-05-17  Andreas Jaeger  <aj@suse.de>
35584
35585         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35586         warning.
35587
35588 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35589
35590         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35591
35592 2012-05-17  Andreas Jaeger  <aj@suse.de>
35593
35594         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35595         when it is used.
35596
35597 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35598
35599         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35600
35601 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35602
35603         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35604         * sysdeps/x86_64/tst-mallocalign1.c: New file.
35605
35606 2012-05-17  Andreas Jaeger  <aj@suse.de>
35607             Carlos O'Donell  <carlos_odonell@mentor.com>
35608
35609         [BZ #14059]
35610         * sysdeps/x86_64/multiarch/init-arch.h
35611         (bit_YMM_Usable): Rename to...
35612         (bit_AVX_Usable): ... this.
35613         (bit_FMA4_Usable): New macro.
35614         (bit_XMM_state): New macro.
35615         (bit_YMM_state): New macro.
35616         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35617         [__ASSEMBLER__] (index_AVX_Usable): ... this.
35618         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35619         (CPUID_OSXSAVE): New macro.
35620         (CPUID_AVX): New macro.
35621         (CPUID_FMA4): New macro.
35622         (index_YMM_Usable): Rename to...
35623         (index_AVX_Usable): ... this.
35624         (HAS_AVX): Use HAS_ARCH_FEATURE.
35625         (HAS_FMA4): Likewise.
35626         (HAS_YMM_USABLE): Remove.
35627         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35628         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35629         are present.
35630         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35631         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35632         * sysdeps/x86_64/multiarch/Makefile: Likewise.
35633         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35634         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35635
35636 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35637
35638         * math/libm-test.c: Support platforms without multiple rounding modes.
35639         * math/bug-nextafter.c: Support platforms without FP exceptions.
35640         * math/bug-nexttoward.c: Likewise.
35641         * math/test-fenv.c: Likewise.
35642         * math/test-misc.c: Likewise.
35643         * stdlib/bug-getcontext.c: Likewise.
35644
35645 2012-05-17  Andreas Jaeger  <aj@suse.de>
35646
35647         * manual/examples/search.c (critter_cmp): Change signature to
35648         avoid warnings.
35649         * manual/string.texi (Collation Functions): Likewise.
35650
35651 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35652
35653         * bits/types.h: Fold copyright years.
35654         * bits/typesizes.h: Likewise.
35655         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35656         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35657         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35658         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35659         * time/time.h: Likewise.
35660
35661 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
35662
35663         [BZ #208]
35664         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35665         in instead of returning them.  Return void.
35666         (__libc_mallinfo): Accumulate over all arenas.
35667         (__malloc_stats): Adjust for change in int_mallinfo interface.
35668
35669 2012-05-16  Roland McGrath  <roland@hack.frob.com>
35670
35671         [BZ #10375]
35672         * configure.in (NM): Add AC_CHECK_TOOL for it.
35673         (libc_extra_cflags): New substituted variable.
35674         Check for -fstack-protector being used implicitly.
35675         * configure: Regenerated.
35676         * config.make.in (config-extra-cflags): New variable,
35677         gets @libc_extra_cflags@.
35678         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35679
35680         [BZ #10375]
35681         * configure.in: Check for _FORTIFY_SOURCE being predefined.
35682         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35683         * configure: Regenerated.
35684         * config.make.in (CPPUNDEFS): New substituted variable.
35685         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35686         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35687         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35688
35689 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35690
35691         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35692         (mq_attr): Use __syscall_slong_t.
35693
35694 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35695
35696         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35697         Check __x86_64__ instead of __WORDSIZE.
35698         (_STAT_VER_LINUX): Likewise.
35699         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
35700         __syscall_ulong_t and __syscall_slong_t.
35701         (stat64): Likewise.
35702
35703 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35704
35705         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35706
35707 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35708
35709         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35710
35711 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35712
35713         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35714         __syscall_ulong_t.
35715
35716         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35717         include <bits/wordsize.h>.  Check __x86_64__ instead of
35718         __WORDSIZE.
35719         (greg_t): Use "__extension__ long long int" if __x86_64__ is
35720         defined.
35721         (mcontext_t): Replace "unsigned long" with "unsigned long long".
35722
35723         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35724         include <bits/wordsize.h>.  Check __x86_64__ instead of
35725         __WORDSIZE.
35726         (user_regs_struct): Use "__extension__ unsigned long long"
35727         instead of "unsigned long" if __x86_64__ is defined.
35728         (user): Likewise.  Pad after pointer field if __ILP32__ is
35729         defined.
35730
35731 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
35732
35733         * configure.in (makeinfo): Require version 4.5 or later.  Allow
35734         versions 5 to 9.
35735         * configure: Regenerated.
35736         * manual/install.texi (texinfo): Increase version requirement to
35737         4.5 or later.
35738         * INSTALL: Regenerated.
35739
35740         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35741
35742 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35743
35744         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35745
35746         * sysdeps/x86_64/x32/ffs.c: New file.
35747
35748         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35749         __syscall_ulong_t.
35750         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35751         defined.  Use __syscall_ulong_t.
35752         (shminfo): Use __syscall_ulong_t.
35753         (shm_info): Likewise.
35754
35755         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35756         __syscall_ulong_t.
35757
35758         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35759         <bits/wordsize.h>.
35760         (msgqnum_t): Use __syscall_ulong_t.
35761         (msglen_t): Likewise.
35762         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
35763         __syscall_ulong_t.
35764
35765         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35766         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35767
35768         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35769
35770         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35771         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35772
35773         * sysvipc/sys/msg.h (msgbuf): Replace long int with
35774         __syscall_slong_t.
35775
35776         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35777         include <bits/wordsize.h>.  Check __x86_64__ instead of
35778         __WORDSIZE.
35779
35780         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35781         "unsigned long long int" if __x86_64__ is defined.
35782         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35783
35784         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35785         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35786         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35787
35788         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35789         <stdint.h>.
35790         (GET_PC): Cast to uintptr_t first.
35791         (GET_FRAME): Likewise.
35792         (GET_STACK): Likewise.
35793
35794         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35795         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35796         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35797         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35798         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35799         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35800         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35801         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35802         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35803         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35804         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35805         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35806         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35807         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35808         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35809         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35810         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35811         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35812         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35813         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35814         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35815         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35816         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35817         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35818         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35819         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35820         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35821         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35822         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35823
35824 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
35825
35826         * Makerules (+depfiles): Also collect depfiles from .oS in
35827         $(extra-objs).
35828         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35829         .oS, $(libnldbl-routines)).
35830
35831         * Makerules (native-compile-mkdep-flags): Define.
35832         * sunrpc/Makefile (extra-objs): Add $(addprefix
35833         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35834         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35835         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
35836         calling $(make-target-directory).
35837
35838 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35839
35840         * bits/types.h (__snseconds_t): Removed.
35841         * time/time.h (struct timespec): Replace __snseconds_t with
35842         __syscall_slong_t.
35843         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35844         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35845         Likewise.
35846         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35847         (__SNSECONDS_T_TYPE): Likewise.
35848         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35849         (__SNSECONDS_T_TYPE): Likewise.
35850         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35851         (__SNSECONDS_T_TYPE): Likewise.
35852
35853 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35854
35855         * sysdeps/mach/hurd/bits/typesizes.h
35856         (__SYSCALL_SLONG_TYPE): New macro.
35857         (__SYSCALL_ULONG_TYPE): Likewise.
35858
35859 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35860
35861         * bits/types.h (__syscall_slong_t): New type.
35862         (__syscall_ulong_t): Likewise.
35863
35864         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35865         (__SYSCALL_ULONG_TYPE): Likewise.
35866         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35867         (__SYSCALL_SLONG_TYPE): Likewise.
35868         (__SYSCALL_ULONG_TYPE): Likewise.
35869         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35870         (__SYSCALL_SLONG_TYPE): Likewise.
35871         (__SYSCALL_ULONG_TYPE): Likewise.
35872         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35873         (__SYSCALL_SLONG_TYPE): Likewise.
35874         (__SYSCALL_ULONG_TYPE): Likewise.
35875
35876 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35877
35878         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35879         Add sigaltstack-offsets.sym.
35880         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35881         <sigaltstack-offsets.h>.
35882         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
35883         longjmp_msg pointer.
35884         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
35885         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35886         signal stack.
35887         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35888
35889 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35890
35891         * elf/stackguard-macros.h: Remove file.
35892         * sysdeps/generic/stackguard-macros.h: New file.
35893         * sysdeps/i386/stackguard-macros.h: Likewise.
35894         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35895         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35896         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35897         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35898         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35899         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35900         * sysdeps/x86_64/stackguard-macros.h: Likewise.
35901         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35902         <elf/stackguard-macros.h>.
35903
35904         [BZ #14109]
35905         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35906         __aligned__ in attribute.
35907         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35908         (gregset_t): Likewise.
35909
35910 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35911
35912         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35913         * sysdeps/x86_64/64/Implies-after: Here.  New file.
35914         * sysdeps/x86_64/x32/Implies-after: New file.
35915
35916 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35917
35918         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35919         and access return value for _dl_profile_fixup.  Use R10_LP to
35920         load frame size.
35921
35922 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35923
35924         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35925
35926 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35927
35928         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35929         * sysdeps/x86_64/x32/sysdep.h: New file.
35930
35931 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35932
35933         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35934         * sysdeps/x86_64/setjmp.S: Likewise.
35935
35936 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35937
35938         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35939         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35940         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35941         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35942         remove unused global constant.
35943
35944 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
35945
35946         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35947         include of <not-cancel.h>.
35948
35949 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35950
35951         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35952
35953 2012-05-15  Jeff Law  <law@redhat.com>
35954             Andreas Jaeger  <aj@suse.de>
35955
35956         [BZ #13594]
35957         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35958         out from...
35959         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35960         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35961         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35962         code changing __hst_map_handle.map.
35963
35964 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35965
35966         * configure.in (sysnames): Look for Implies-before and Implies-after
35967         files.
35968         * configure: Regenerated.
35969
35970 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35971
35972         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35973         8-byte data alignment with LP_SIZE alignment.
35974
35975 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35976
35977         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35978         into R10_LP.
35979
35980 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35981
35982         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35983
35984 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35985
35986         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35987         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35988         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35989         Likewise.
35990         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35991
35992 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35993
35994         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35995         (stackinfo_sub_sp): Likewise.
35996
35997 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35998
35999         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36000         RAX_LP.
36001
36002 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36003
36004         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36005         into R*_LP.
36006
36007 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36008
36009         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36010         sizes into R*_LP.
36011
36012 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36013
36014         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36015
36016 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36017
36018         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36019         into R11_LP and load __x86_64_shared_cache_size_half into
36020         R8_LP.
36021
36022 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36023
36024         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36025         R8_LP.
36026
36027 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36028
36029         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36030         logb for POWER7.
36031         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36032         logbf for POWER7.
36033         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36034         logbl for POWER7.
36035         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36036         powerpc32/power7/fpu/s_logb.c via #include.
36037         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36038         powerpc32/power7/fpu/s_logbf.c via #include.
36039         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36040         powerpc32/power7/fpu/s_logbl.c via #include.
36041
36042 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36043
36044         * README.libm: Remove file.
36045
36046 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36047
36048         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36049         count for x32.  Use R*_LP and omit operand-size suffix.
36050
36051 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36052
36053         * shlib-versions: Move x86_64-.*-linux.* entries to ...
36054         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
36055         * sysdeps/x86_64/x32/shlib-versions: New file.
36056
36057 2012-05-14  Roland McGrath  <roland@hack.frob.com>
36058
36059         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36060         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36061         Use _dl_fatal_printf instead.
36062
36063 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36064
36065         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36066         set if not set by the user.  Do not allow for being unset.
36067         * sysdeps/unix/sysv/linux/configure: Regenerated.
36068
36069 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36070
36071         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36072         the `q' suffix from lea and replace .quad with ASM_ADDR.
36073
36074 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36075
36076         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36077         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
36078         instead of $17.
36079         (PTR_DEMANGLE): Likewise.
36080
36081 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36082
36083         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36084         (LP_OP): Likewise.
36085         (ASM_ADDR): Likewise.
36086         (RAX_LP): Likewise.
36087         (RBP_LP): Likewise.
36088         (RBX_LP): Likewise.
36089         (RCX_LP): Likewise.
36090         (RDI_LP): Likewise.
36091         (RSI_LP): Likewise.
36092         (RSP_LP): Likewise.
36093         (R8_LP): Likewise.
36094         (R9_LP): Likewise.
36095         (R10_LP): Likewise.
36096         (R10_LP): Likewise.
36097         (R11_LP): Likewise.
36098         (R12_LP): Likewise.
36099         (R13_LP): Likewise.
36100         (R14_LP): Likewise.
36101         (R15_LP): Likewise.
36102
36103 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36104
36105         * sysdeps/x86_64/x32/dl-machine.h: New file.
36106
36107 2012-05-14  Andreas Jaeger  <aj@suse.de>
36108
36109         * manual/Makefile (subdir): Remove export of subdir.
36110         (all): Remove target.
36111         (.PHONY): Remove all from list.
36112         (mkinstalldirs): Remove.
36113         (.PHONY): Remove installdirs from list.
36114         ($(inst_infodir)/libc.info): Use make-target-directory.
36115         (installdirs): Remove.
36116         (subdir_%): Remove.
36117         (glibc-targets): Remove.
36118         (lib): Remove.
36119         (stubs): Remove.
36120         ($(objpfx)stubs ../po/manual.pot): Remove.
36121         ($(objpfx)stamp%): Remove.
36122         (make-target-directory): Remove.
36123         (subdir_install): Remove.
36124         (routines): Remove.
36125         (aux): Remove.
36126         (sources): Remove.
36127         (objects): Remove.
36128         (headers): Remove.
36129
36130         [BZ #13750]
36131         * manual/.gitignore: Remove, it's not needed anymore.
36132         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36133         all files in it.
36134         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36135         directory.
36136         (texis): Renamed to $(objpfx)texis.
36137         (texis-path): New, contains path to generated files.
36138         (chapters.%): Use texis-path for complete path, add extra argument
36139         libc-texinfo.sh.
36140         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36141         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36142         (summary,texi, stamp-summary): Use complete path of
36143         files. Generate files in build dir.
36144         (dir-add.texi): Build in build dir.
36145         (libm-err.texi,stamp-libm-err): Likewise.
36146         (version.texi, stamp-version): Likewise.
36147         (.%c.texi): Likewise.
36148         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36149         (mostlyclean): Remove target.
36150         (realclean): Remove target.
36151         (generated): Add new variable with contents from mostlyclean and
36152         realclean, remove entries duplicated in common-mostlyclean, add
36153         stamp-libm-err and stamp-version.
36154         (generated-dirs): Add libc directory.
36155         ($(inst_infodir)/libc.info): Install files from build dir.
36156
36157         * manual/install.texi (Configuring and compiling): Adjust since
36158         the info files are not part of the tar ball anymore.
36159
36160 2012-05-14  Andreas Jaeger  <aj@suse.de>
36161
36162         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36163         variable.
36164
36165 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36166
36167         [BZ #13717]
36168         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36169         to 2.2.0 where earlier.
36170         * sysdeps/unix/sysv/linux/configure: Regenerated.
36171         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36172         Remove conditional code.
36173         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36174         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36175         Remove conditional code.
36176         [!__NR_lchown]: Likewise.
36177         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36178         [__NR_lchown]: Likewise.
36179         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36180         comment referencing __ASSUME_LCHOWN_SYSCALL.
36181         * sysdeps/unix/sysv/linux/i386/sigaction.c
36182         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36183         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36184         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36185         Remove conditional code.
36186         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36187         (__protocol_available): Remove #if 0 code.
36188         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36189         conditional code.
36190         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36191         * sysdeps/unix/sysv/linux/kernel-features.h
36192         (__ASSUME_GETCWD_SYSCALL): Don't define.
36193         (__ASSUME_REALTIME_SIGNALS): Likewise.
36194         (__ASSUME_PREAD_SYSCALL): Likewise.
36195         (__ASSUME_PWRITE_SYSCALL): Likewise.
36196         (__ASSUME_POLL_SYSCALL): Likewise.
36197         (__ASSUME_LCHOWN_SYSCALL): Likewise.
36198         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36199         non-SPARC.
36200         (__ASSUME_SIOCGIFNAME): Don't define.
36201         (__ASSUME_MSG_NOSIGNAL): Likewise.
36202         (__ASSUME_SENDFILE): Define unconditionally.
36203         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36204         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36205         conditional code.
36206         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36207         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36208         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36209         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36210         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36211         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36212         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36214         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36215         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36217         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36218         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36220         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36221         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36223         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36224         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36226         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36227         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36229         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36230         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36232         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36233         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36235         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36236         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36237         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36238         Remove conditional code.
36239         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36240         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36241         Remove conditional code.
36242         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36243         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36244         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36245         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36246         Remove conditional code.
36247         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36248         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36249         Remove conditional code.
36250         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36251         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36252         Remove conditional code.
36253         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36254         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36255         Remove conditional code.
36256         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36257         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36258         Remove conditional code.
36259         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36260         * sysdeps/unix/sysv/linux/sh/pwrite64.c
36261         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36262         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36263         * sysdeps/unix/sysv/linux/sigaction.c
36264         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36265         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36266         * sysdeps/unix/sysv/linux/sigpending.c
36267         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36268         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36269         * sysdeps/unix/sysv/linux/sigprocmask.c
36270         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36271         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36272         * sysdeps/unix/sysv/linux/sigsuspend.c
36273         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36274         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36275         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36276         (__libc_missing_rt_sigs): Remove.
36277         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36278         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36279         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36280         Remove conditional code.
36281         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36282         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36283         return 1.
36284         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36285         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36286         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36287         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36288
36289 2012-05-14  Andreas Jaeger  <aj@suse.de>
36290
36291         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36292         it's not used in glibc.
36293         (__coshm1): Likewise.
36294         (__acosh1p): Likewise.
36295         (__sgn): Likewise.
36296
36297         * manual/string.texi (Copying and Concatenation): Add missing
36298         variable in concat example.
36299         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36300
36301 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36302
36303         [BZ #14103]
36304         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36305         __builtin_clzl with __builtin_clzll.
36306
36307 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36308
36309         [BZ #14104]
36310         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36311         libc_freeres_ptr.
36312
36313 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36314
36315         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36316         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36317         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36318         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36319
36320 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
36321
36322         * NEWS: Update ia64 info.
36323
36324 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
36325
36326         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36327         used as bcopy.
36328
36329 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
36330
36331         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36332         * sysdeps/unix/syscalls.list (dup3): Likewise.
36333         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36334         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36335
36336 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36337
36338         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36339         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36340
36341 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36342
36343         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36344         thread pointer.
36345         (TLS_IE): Use mov/add instead of movq/addq to load thread
36346         pointer.
36347         (TLS_GD_PREFIX): New.
36348         (TLS_GD): Use it.
36349
36350 2012-05-11  David S. Miller  <davem@davemloft.net>
36351
36352         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36353         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36354         (_FPU_SETCW): Likewise.
36355
36356 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36357
36358         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36359         is 32-byte aligned.
36360
36361 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
36362
36363         [BZ #11837]
36364         * iconvdata/gb18030.c: Update tables.
36365         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
36366         characters specially.
36367         (BODY for TO_LOOP): Add encoding of missing ranges.
36368
36369 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
36370
36371         [BZ #13673]
36372         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36373         * sysdeps/mach/hurd/dup3.c: Likewise.
36374         * sysdeps/mach/hurd/readlinkat.c: Likewise.
36375         * sysdeps/powerpc/memmove.c:: Likewise.
36376
36377 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36378
36379         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36380         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36381
36382 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36383
36384         * elf/elf.h (R_X86_64_RELATIVE64): New.
36385         (R_X86_64_NUM): Updated.
36386         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36387         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
36388         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36389         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36390         tst-quad1pie tst-quad2pie
36391         (modules-names): Add tst-quadmod1 tst-quadmod2.
36392         ($(objpfx)tst-quad1): New dependency.
36393         ($(objpfx)tst-quad2): Likewise.
36394         ($(objpfx)tst-quad1pie): Likewise.
36395         ($(objpfx)tst-quad2pie): Likewise.
36396         * sysdeps/x86_64/tst-quad1.c: New file.
36397         * sysdeps/x86_64/tst-quad1pie.c: New file.
36398         * sysdeps/x86_64/tst-quad2.c: Likewise.
36399         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36400         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36401         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36402         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36403         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36404
36405 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36406
36407         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36408         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36409         * streams/stropts.h (t_scalar_t): Define type.
36410
36411         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36412         (_PATH_PRESERVE): Set to "/var/lib".
36413         (_PATH_RWHODIR): Set to "/var/spool/rwho".
36414
36415         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36416         instead of int.
36417
36418         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36419         if __dir_mkfile succeeded.
36420
36421         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36422         checking for _hurd_dtablesize.  Unlock it right after having
36423         finished _hurd_dtable allocation.
36424
36425 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36426
36427         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36428         * sysdeps/mach/hurd/configure: Regenerated.
36429         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36430         special-casing to...
36431         * sysdeps/gnu/configure.in: ... this new file.
36432         * sysdeps/unix/sysv/linux/configure: Regenerated.
36433         * sysdeps/gnu/configure: New generated file.
36434
36435         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36436         for Linux: use nsec instead of usec, as well as:
36437         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36438         members of type struct timespec.
36439         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36440         New macros.
36441         (struct stat64): Likewise.
36442         (_STATBUF_ST_NSEC): New macro.
36443         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36444
36445         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36446         __strtoul_internal rather than strtoul.
36447
36448 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36449
36450         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36451         and reject them.
36452
36453 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36454
36455         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36456         which preserves existing values.
36457         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36458
36459 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36460
36461         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36462         TIMEOUT values.  Return EINVAL for NFDS values either negative or
36463         greater than FD_SETSIZE.
36464
36465 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36466
36467         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36468         allocated, call __vm_protect to finish enabling the existing space, and
36469         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36470         allocate the remainder.
36471
36472 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36473
36474         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36475         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
36476
36477 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36478
36479         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36480         sysdeps/mach/hurd/readlink.c.
36481
36482         * posix/tst-sysconf.c (posix_options): Only use
36483         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36484         _POSIX_SYNCHRONIZED_IO when they are defined
36485         * sysdeps/mach/hurd/bits/posix_opt.h:
36486         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36487         (_XOPEN_REALTIME): Undefine macro.
36488         (_XOPEN_REALTIME_THREADS): Undefine macro.
36489         (_XOPEN_SHM): Undefine macro.
36490         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36491         macro to -1.
36492         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36493         macro to -1.
36494         (_POSIX_ASYNC_IO): Undefine macro.
36495         (_POSIX_PRIORITIZED_IO): Undefine macro.
36496         (_POSIX_SPIN_LOCKS): Define macro to -1.
36497
36498         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36499         SA_NODEFER, SA_RESETHAND.
36500         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36501         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36502         F_DUPFD_CLOEXEC.
36503
36504 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36505
36506         * elf/Makefile (pldd-modules): Define unconditionally.
36507
36508 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36509
36510         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36511
36512 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36513
36514         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36515         Return ENOENT when name is empty.
36516         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36517
36518 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36519
36520         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36521
36522         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36523
36524 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36525
36526         Fix mlock in all cases except non-readable pages.
36527         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36528         instead of VM_PROT_ALL as parameter to __vm_wire function.
36529
36530         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36531         (__mkdir): When path is `/', just fail with EEXIST.
36532         * sysdeps/mach/hurd/mkdirat.c: Likewise.
36533
36534 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36535
36536         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36537         <sys/uio.h> (for writev).
36538         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36539         and <sys/param.h> (for MIN).
36540
36541 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36542
36543         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36544         REQUESTED_TIME.  Properly set the remaining time and return EINTR
36545         if interrupted.
36546
36547 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36548
36549         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36550         Depend on against $(link-rpcuserlibs).
36551
36552 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36553
36554         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36555         (__libc_stack_end): Do not use attribute_relro.
36556         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36557         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36558         to libthread-provided value.
36559         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36560         attribute_relro.
36561
36562 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36563
36564         [BZ #3748]
36565         * bits/libc-lock.h (__libc_once_get): New macro.
36566         * sysdeps/mach/bits/libc-lock.h: Likewise.
36567         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36568         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36569         instead of using implementation details.
36570
36571         * libio/fileops.c: Unconditionally include <kernel-features.h>.
36572         * libio/freopen.c: Likewise.
36573         * libio/freopen64.c: Likewise.
36574         * misc/syslog.c: Likewise.
36575         * nscd/connections.c: Likewise.
36576         * nscd/netgroupcache.c: Likewise.
36577         * sysdeps/posix/getcwd.c: Likewise.
36578
36579 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36580
36581         * math/w_ilogbf.c: Add #include <limits.h>.
36582
36583 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36584
36585         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36586         path instead of returning without unlocking.
36587
36588         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36589         immediate-write ioctls.
36590         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36591
36592 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36593
36594         * sysdeps/mach/hurd/i386/init-first.c (init): Use
36595         __builtin_frame_address instead of making assumptions about the
36596         location of the return address relative to DATA.  Force early load of
36597         the return address.
36598         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36599         __builtin_frame_address.
36600
36601         dup3 for GNU Hurd.
36602         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36603         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
36604         implement dup3 and do some further code clean-ups.
36605         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36606         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36607
36608 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36609
36610         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36611
36612         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36613         HURD_CRITICAL_END around holding _hurd_dtable_lock.
36614         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36615         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36616         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36617         d->port.lock.
36618
36619         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36620         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
36621         when handler == SIG_ERR, not when handler != SIG_ERR.
36622
36623 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36624
36625         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36626         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36627         definitions.
36628
36629         accept4 for GNU Hurd.
36630         * include/sys/socket.h (__libc_accept4): New prototype.
36631         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
36632         to implement __libc_accept4.
36633         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36634         __libc_accept4.
36635         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36636
36637         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36638         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36639         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36640         signal-defines.sym.
36641
36642 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36643
36644         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36645
36646 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36647
36648         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36649         assertion on O_CLOEXEC flag.
36650         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36651         * hurd/intern-fd.c: Likewise.
36652         * hurd/port2fd.c: Likewise.
36653
36654 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36655
36656         [BZ #3906]
36657         * bits/in.h (IPV6_PKTINFO): Define new macro.
36658         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36659
36660 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36661
36662         [BZ #13954]
36663         [BZ #13955]
36664         [BZ #13956]
36665         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36666         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36667         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36668         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36669         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36670         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36671         * math/libm-test.inc (logb_test) : Additional logb tests.
36672
36673 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
36674             Andreas Jaeger  <aj@suse.de>
36675
36676         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36677         * configure: Regenerated.
36678         * config.h.in (LINK_OBSOLETE_RPC): New macro.
36679         * config.make.in (link-obsolete-rpc): New substituted variable.
36680         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36681         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36682         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36683         (shared-only-routines): Don't set it under [link-obsolete-rpc],
36684         so that libc.a contains the symbols.
36685         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36686         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36687         * sunrpc/auth_none.c: Likewise.
36688         * sunrpc/auth_unix.c: Likewise.
36689         * sunrpc/authdes_prot.c: Likewise.
36690         * sunrpc/authuxprot.c: Likewise.
36691         * sunrpc/clnt_gen.c: Likewise.
36692         * sunrpc/clnt_perr.c: Likewise.
36693         * sunrpc/clnt_raw.c: Likewise.
36694         * sunrpc/clnt_simp.c: Likewise.
36695         * sunrpc/clnt_tcp.c: Likewise.
36696         * sunrpc/clnt_udp.c: Likewise.
36697         * sunrpc/clnt_unix.c: Likewise.
36698         * sunrpc/des_crypt.c: Likewise.
36699         * sunrpc/des_soft.c: Likewise.
36700         * sunrpc/get_myaddr.c: Likewise.
36701         * sunrpc/key_call.c: Likewise.
36702         * sunrpc/key_prot.c: Likewise.
36703         * sunrpc/netname.c: Likewise.
36704         * sunrpc/pm_getmaps.c: Likewise.
36705         * sunrpc/pm_getport.c: Likewise.
36706         * sunrpc/pmap_clnt.c: Likewise.
36707         * sunrpc/pmap_prot.c: Likewise.
36708         * sunrpc/pmap_prot2.c: Likewise.
36709         * sunrpc/pmap_rmt.c: Likewise.
36710         * sunrpc/publickey.c: Likewise.
36711         * sunrpc/rpc_cmsg.c: Likewise.
36712         * sunrpc/rpc_common.c: Likewise.
36713         * sunrpc/rpc_dtable.c: Likewise.
36714         * sunrpc/rpc_prot.c: Likewise.
36715         * sunrpc/rpc_thread.c: Likewise.
36716         * sunrpc/rtime.c: Likewise.
36717         * sunrpc/svc.c: Likewise.
36718         * sunrpc/svc_auth.c: Likewise.
36719         * sunrpc/svc_raw.c: Likewise.
36720         * sunrpc/svc_run.c: Likewise.
36721         * sunrpc/svc_tcp.c: Likewise.
36722         * sunrpc/svc_udp.c: Likewise.
36723         * sunrpc/svc_unix.c: Likewise.
36724         * sunrpc/svcauth_des.c: Likewise.
36725         * sunrpc/xcrypt.c: Likewise.
36726         * sunrpc/xdr.c: Likewise.
36727         * sunrpc/xdr_array.c: Likewise.
36728         * sunrpc/xdr_float.c: Likewise.
36729         * sunrpc/xdr_intXX_t.c: Likewise.
36730         * sunrpc/xdr_mem.c: Likewise.
36731         * sunrpc/xdr_rec.c: Likewise.
36732         * sunrpc/xdr_ref.c: Likewise.
36733         * sunrpc/xdr_sizeof.c: Likewise.
36734         * sunrpc/xdr_stdio.c: Likewise.
36735
36736 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36737
36738         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36739         change.  Update copyright years.
36740
36741 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36742
36743         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36744
36745 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
36746             Joseph Myers  <joseph@codesourcery.com>
36747             Paul Pluzhnikov  <ppluzhnikov@google.com>
36748
36749         [BZ #14012]
36750         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36751         requiring rpcgen.
36752         [cross-compiling] (extra-libs): Likewise.
36753         [cross-compiling] (extra-libs-others): Likewise.
36754         [cross-compiling] (librpcsvc-routines): Likewise.
36755         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36756         [cross-compiling] (omit-deps): Likewise.
36757         (sunrpc-CPPFLAGS): New variable.
36758         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36759         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36760         (cross-rpcgen-objs): New variable.
36761         (extra-objs): Append $(cross-rpcgen-objs).
36762         ($(cross-rpcgen-objs)): New rule.
36763         ($(objpfx)cross-rpcgen): Likewise.
36764         (rpcgen-cmd): Define to use $(built-program-file).  Expand
36765         comment.
36766         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36767         ($(objpfx)x%.stmp): Likewise.
36768         * sunrpc/proto.h [IS_IN_build] (_): Define.
36769         [IS_IN_build] (_libc_intl_domainname): Likewise.
36770
36771 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36772
36773         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36774         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36775         and R_X86_64_TPOFF64.
36776
36777 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36778
36779         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36780         sysdeps/unix/sysv/syscalls.list.
36781         (stime): Likewise.
36782         (utime): Likewise.
36783         * sysdeps/unix/sysv/syscalls.list: Remove file.
36784
36785 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
36786
36787         [BZ #3440]
36788         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36789         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36790         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36791         (__LC_IDENTIFICATION): Make these macros useful in #if
36792         expressions, as required by C99.
36793
36794 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
36795
36796         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36797         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
36798         after this.
36799
36800 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
36801
36802         * stdlib/longlong.h: Updated from GCC.
36803
36804 2012-05-09  Andreas Jaeger  <aj@suse.de>
36805
36806         * nscd/nscd.c (run_modes): Make named enum, reorder so that
36807         default is first entry.
36808         (run_mode): Set type.
36809         (main): Remove informal message about syslog.
36810         (options): Fix typo.
36811
36812         [BZ #14053]
36813         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36814         to asm.
36815         (lrint): Likewise.
36816         (llrintf): Likewise.
36817         (llrint): Likewise.
36818         (rint): Likewise.
36819         (rintf): Likewise.
36820         (nearbyint): Likewise.
36821         (nearbyintf): Likewise.
36822
36823 2012-05-09  Andreas Jaeger  <aj@suse.de>
36824             Pedro Alves  <palves@redhat.com>
36825
36826         * nscd/nscd.c (run_mode): Use enum.
36827         (main): Cleanup coding style issue.
36828
36829 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
36830             Andreas Jaeger  <aj@suse.de>
36831
36832         * nscd/nscd.c (go_background): Replaced with...
36833         (run_mode): ... this.
36834         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36835         (options): Add -F --foreground.
36836         (main): Implement it.
36837         (parse_opt): Parse it.
36838
36839 2012-05-09  Andreas Jaeger  <aj@suse.de>
36840
36841         [BZ #14083]
36842         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36843         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36844         -Wconversion warning.
36845         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36846         Likewise.
36847
36848 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
36849
36850         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
36851         == 0.
36852         (LC_ALL): Use macro-int-constant.
36853         (LC_COLLATE): Likewise.
36854         (LC_CTYPE): Likewise.
36855         (LC_MESSAGES): Likewise.
36856         (LC_MONETARY): Likewise.
36857         (LC_NUMERIC): Likewise.
36858         (LC_TIME): Likewise.
36859         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36860         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36861         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36862         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36863         Specify type.
36864         [C99-based standards] (float_t): Expect type.
36865         [C99-based standards] (double_t): Expect type.
36866         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
36867         type.
36868         [C99-based standards] (HUGE_VALL): Likewise.
36869         [C99-based standards] (INFINITY): Likewise.
36870         [C99-based standards] (NAN): Likewise.
36871         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36872         [C99-based standards] (FP_NAN): Likewise.
36873         [C99-based standards] (FP_NORMAL): Likewise.
36874         [C99-based standards] (FP_SUBNORMAL): Likewise.
36875         [C99-based standards] (FP_ZERO): Likewise.
36876         [C99-based standards] (FP_FAST_FMA): Use
36877         optional-macro-int-constant.  Specify type.  Require == 1.
36878         [C99-based standards] (FP_FAST_FMAF): Likewise.
36879         [C99-based standards] (FP_FAST_FMAL): Likewise.
36880         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36881         [C99-based standards] (FP_ILOGBNAN): Likewise.
36882         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36883         Specify type.
36884         [C99-based standards] (MATH_ERREXCEPT): Likewise.
36885         [C99-based standards] (math_errhandling): Specify type.
36886         [ISO99 || ISO11] (signgam): Do not allow.
36887         [non-C99-based standards] (copysignf): Do not allow.
36888         [non-C99-based standards] (exp2f): Likewise.
36889         [non-C99-based standards] (log2f): Likewise.
36890         [non-C99-based standards] (modff): Allow.
36891         [non-C99-based standards] (erff): Do not allow.
36892         [non-C99-based standards] (erfcf): Likewise.
36893         [non-C99-based standards] (gammaf): Likewise.
36894         [non-C99-based standards] (hypotf): Likewise.
36895         [non-C99-based standards] (j0f): Likewise.
36896         [non-C99-based standards] (j1f): Likewise.
36897         [non-C99-based standards] (jnf): Likewise.
36898         [non-C99-based standards] (lgammaf): Likewise.
36899         [non-C99-based standards] (tgammaf): Likewise.
36900         [non-C99-based standards] (y0f): Likewise.
36901         [non-C99-based standards] (y1f): Likewise.
36902         [non-C99-based standards] (ynf): Likewise.
36903         [non-C99-based standards] (isnanf): Likewise.
36904         [non-C99-based standards] (acoshf): Likewise.
36905         [non-C99-based standards] (asinhf): Likewise.
36906         [non-C99-based standards] (atanhf): Likewise.
36907         [non-C99-based standards] (cbrtf): Likewise.
36908         [non-C99-based standards] (expm1f): Likewise.
36909         [non-C99-based standards] (ilogbf): Likewise.
36910         [non-C99-based standards] (log1pf): Likewise.
36911         [non-C99-based standards] (logbf): Likewise.
36912         [non-C99-based standards] (nextafterf): Likewise.
36913         [non-C99-based standards] (remainderf): Likewise.
36914         [non-C99-based standards] (rintf): Likewise.
36915         [non-C99-based standards] (scalbf): Likewise.
36916         [non-C99-based standards] (copysignl): Likewise.
36917         [non-C99-based standards] (exp2l): Likewise.
36918         [non-C99-based standards] (log2l): Likewise.
36919         [non-C99-based standards] (modfl): Allow.
36920         [non-C99-based standards] (erfl): Do not allow.
36921         [non-C99-based standards] (erfcl): Likewise.
36922         [non-C99-based standards] (gammal): Likewise.
36923         [non-C99-based standards] (hypotl): Likewise.
36924         [non-C99-based standards] (j0l): Likewise.
36925         [non-C99-based standards] (j1l): Likewise.
36926         [non-C99-based standards] (jnl): Likewise.
36927         [non-C99-based standards] (lgammal): Likewise.
36928         [non-C99-based standards] (tgammal): Likewise.
36929         [non-C99-based standards] (y0l): Likewise.
36930         [non-C99-based standards] (y1l): Likewise.
36931         [non-C99-based standards] (ynl): Likewise.
36932         [non-C99-based standards] (isnanl): Likewise.
36933         [non-C99-based standards] (acoshl): Likewise.
36934         [non-C99-based standards] (asinhl): Likewise.
36935         [non-C99-based standards] (atanhl): Likewise.
36936         [non-C99-based standards] (cbrtl): Likewise.
36937         [non-C99-based standards] (expm1l): Likewise.
36938         [non-C99-based standards] (ilogbl): Likewise.
36939         [non-C99-based standards] (log1pl): Likewise.
36940         [non-C99-based standards] (logbl): Likewise.
36941         [non-C99-based standards] (nextafterl): Likewise.
36942         [non-C99-based standards] (remainderl): Likewise.
36943         [non-C99-based standards] (rintl): Likewise.
36944         [non-C99-based standards] (scalbl): Likewise.
36945         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36946         [non-C99-based standards] (FP_*): Do not allow.
36947         [C99-based standards] (FP_*): Change to
36948         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36949         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36950         allow.
36951         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36952         (SIG_ERR): Likewise.
36953         [X/Open-based standards] (SIG_HOLD): Likewise.
36954         (SIG_IGN): Likewise.
36955         (SIGABRT): Use macro-int-constant.  Specify type.  Require
36956         positive value.
36957         (SIGFPE): Likewise.
36958         (SIGILL): Likewise.
36959         (SIGINT): Likewise.
36960         (SIGSEGV): Likewise.
36961         (SIGTER): Likewise.
36962         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36963         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36964         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36965         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36966         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36967         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36968         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36969         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36970         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36971         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36972         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36973         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36974         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36975         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36976         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36977         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36978         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36979         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36980         [X/Open-based standards] (SIGTRAP): Likewise.
36981         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36982         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36983         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36984         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36985         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36986         allow.
36987
36988 2012-05-08  Ian Wienand  <ianw@vmware.com>
36989
36990         [BZ #14080]
36991         * time/tzset.c (__tzset_parse_tz): Update default rules for
36992         daylight time changes in the Energy Policy Act of 2005.
36993
36994 2012-05-09  Andreas Jaeger  <aj@suse.de>
36995
36996         [BZ #13983]
36997         * elf/ldconfig.c (parse_conf): Change string to make clear that
36998         ldconfig only issued a warning if ld.so.conf does not exist.
36999
37000 2012-05-08  David S. Miller  <davem@davemloft.net>
37001
37002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37003         movxtod instead of popping the value on the stack.
37004
37005         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37006
37007 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
37008
37009         * config.h.in: Add HAVE_ARM_PCS_VFP.
37010
37011 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
37012
37013         [BZ #13979]
37014         * include/features.h: Warn if user requests __FORTIFY_SOURCE
37015         checking but the checks are disabled for any reason.
37016
37017 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
37018
37019         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37020         and ELF64_R_TYPE with ELFW(R_TYPE).
37021
37022 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
37023
37024         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37025         (ulimit): Likewise.
37026
37027         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37028         (settimeofday): Likewise.
37029
37030 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
37031
37032         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
37033         a struct th_u2 inside the union, and move tu_block/tu_code into
37034         a new th_u3 union of tu_block/tu_code inside of that.  Move
37035         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
37036         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
37037         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37038         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37039         (th_stuff): Change to th_u1.tu_stuff.
37040         (th_data): Define.
37041         (th_msg): Change to th_u1.th_u2.tu_data.
37042
37043 2012-05-07  David S. Miller  <davem@davemloft.net>
37044
37045         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37046
37047         [BZ #14074]
37048         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37049         (SETUP_PIC_REG): Use it.
37050         (SETUP_PIC_REG_LEAF): Use it.
37051
37052 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
37053
37054         [BZ #13885]
37055         [BZ #13923]
37056         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37057         USE_AS_EXPM1L.
37058         (EXPL_FINITE): Likewise.
37059         (FLDLOG): Likewise.
37060         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37061         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37062         e_expl.S.
37063         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37064         USE_AS_EXPM1L.
37065         (EXPL_FINITE): Likewise.
37066         (FLDLOG): Likewise.
37067         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37068         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37069         e_expl.S.
37070         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
37071         test of -max_value argument for long double.
37072         * sysdeps/i386/fpu/libm-test-ulps: Update.
37073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37074
37075 2012-05-06  David S. Miller  <davem@davemloft.net>
37076
37077         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37078         quad soft-float symbols whose references which are compiler
37079         generated.
37080         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37081
37082 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
37083
37084         [BZ #13884]
37085         [BZ #13914]
37086         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37087         USE_AS_EXP10L.
37088         (EXPL_FINITE): Likewise.
37089         (FLDLOG): Likewise.
37090         (c0): Likewise.
37091         (c1): Likewise.
37092         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37093         Adjust comments for base varying.
37094         (__expl_finite): Change alias to EXPL_FINITE.
37095         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37096         e_expl.S.
37097         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37098         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37099         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37100         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37101         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37102         USE_AS_EXP10L.
37103         (EXPL_FINITE): Likewise.
37104         (FLDLOG): Likewise.
37105         (c0): Likewise.
37106         (c1): Likewise.
37107         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37108         Adjust comments for base varying.
37109         (__expl_finite): Change alias to EXPL_FINITE.
37110         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
37111         tests for bugs.
37112         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37113
37114         [BZ #14064]
37115         * math/libm-test.inc (check_float_internal): Correct ulp
37116         calculation for subnormal expected results.
37117
37118 2012-05-06  Andreas Jaeger  <aj@suse.de>
37119
37120         * Makeconfig (+math-flags): New, set to -frounding-math.
37121         (+cflags): Add +math-flags so that all of glibc gets compiled with
37122         it.
37123
37124         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37125
37126 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
37127
37128         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37129         Disable one test.
37130
37131         [BZ #13787]
37132         [BZ #13922]
37133         [BZ #14036]
37134         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37135         (__ieee754_expl): Allow for and saturate large arguments.
37136         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37137         (u_threshold): Likewise.
37138         (__exp): Call __ieee754_exp before checking for overflow and
37139         underflow.
37140         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37141         (u_threshold): Likewise.
37142         (__expf): Call __ieee754_expf before checking for overflow and
37143         underflow.
37144         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37145         (u_threshold): Likewise.
37146         (__expl): Call __ieee754_expl before checking for overflow and
37147         underflow.
37148         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37149         (__ieee754_expl): Allow for and saturate large arguments.
37150         * math/libm-test.inc (exp_test): Add another test.  Do not allow
37151         missing overflow exception on overflow.
37152         (expm1_test): Do not allow missing overflow exception on overflow.
37153
37154         * sysdeps/i386/fpu/e_expl.c: Move to ...
37155         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
37156         rather than using inline asm.
37157         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37158         * sysdeps/x86_64/fpu/e_expl.S: Copy from
37159         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37160
37161         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37162         (nice): Likewise.
37163         (poll): Likewise.
37164         (signal): Likewise.
37165         (time): Likewise.
37166         (times): Likewise.
37167
37168 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37169
37170         * sysdeps/unix/syscalls.list (adjtime): Add entry from
37171         sysdeps/unix/common/syscalls.list.
37172         (fchmod): Likewise.
37173         (fchown): Likewise.
37174         (ftruncate): Likewise.
37175         (getrusage): Likewise.
37176         (gettimeofday): Likewise.
37177         (setpgid): Likewise.
37178         (setregid): Likewise.
37179         (setreuid): Likewise.
37180         (sigaction): Likewise.
37181         (truncate): Likewise.
37182         (vhangup): Likewise.
37183         * sysdeps/unix/common/syscalls.list: Remove file.
37184         * sysdeps/unix/bsd/Implies: Don't include unix/common.
37185         * sysdeps/unix/sysv/linux/Implies: Likewise.
37186
37187 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
37188
37189         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37190         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37191         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37192         Moved to ...
37193         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37194         Here.
37195         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37196         to ...
37197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37198         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37199         to ...
37200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37201         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37202         to ...
37203         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37204         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37205         to ...
37206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37207         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37208         to ...
37209         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37210         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37211         to ...
37212         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37213         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37214         to ...
37215         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37216         Here.
37217         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37218         to ...
37219         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37220         Here.
37221         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37222         to ...
37223         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37224         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37225         Moved to ...
37226         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37227         Here.
37228         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37229         to ...
37230         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37231
37232 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37233
37234         * sysdeps/unix/common/bits/dirent.h: Remove file.
37235         * sysdeps/unix/common/bits/fcntl.h: Likewise.
37236
37237         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37238         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37239         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37240         * sysdeps/unix/bsd/isatty.c: Likewise.
37241         * sysdeps/unix/bsd/tcdrain.c: Likewise.
37242         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37243         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37244
37245 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37246
37247         [BZ #13563]
37248         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37249         long double comparison inaccuracies.
37250         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37251         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37252
37253 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
37254
37255         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37256         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37257
37258 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37259
37260         [BZ #14049]
37261         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37262         nonzero digits before rounding a hex value.
37263         * stdlib/tst-strtod.c (tests): Add another test.
37264
37265 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37266
37267         * sysdeps/s390/fpu/libm-test-ulps: Update.
37268
37269 2012-05-03  Andreas Jaeger  <aj@suse.de>
37270
37271         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37272         does not get optimized out.
37273         (malloc_opt_barrier): New.
37274
37275 2012-05-03  Andreas Jaeger  <aj@suse.de>
37276             Roland McGrath  <roland@hack.frob.com>
37277
37278         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37279         intermediate file deletion.
37280         (generated): Add .symlist files.
37281
37282 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
37283
37284         [BZ #13775]
37285         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37286         Redirect under this condition.
37287         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37288         [__USE_GNU] (__dprintf_chk): Not under this condition.
37289         [__USE_GNU] (__vdprintf_chk): Likewise.
37290         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37291         under this condition.
37292         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37293         [__USE_XOPEN2K8] (dprintf): Define under this condition.
37294         [__USE_XOPEN2K8] (vdprintf): Likewise.
37295         [__USE_GNU] (__dprintf_chk): Not under this condition.
37296         [__USE_GNU] (__vdprintf_chk): Likewise.
37297         [__USE_GNU] (dprintf): Likewise.
37298         [__USE_GNU] (vdprintf): Likewise.
37299
37300 2012-05-03  Roland McGrath  <roland@hack.frob.com>
37301
37302         * elf/Makefile (common-generated): Set this instead of generated for
37303         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
37304         $(all-built-dso)-derived lists.
37305
37306 2012-05-03  Andreas Jaeger  <aj@suse.de>
37307
37308         * sysdeps/i386/fpu/libm-test-ulps: Update.
37309
37310         * FAQ: Removed.
37311         * FAQ.in: Likewise.
37312         * scripts/gen-FAQ.pl: Likewise.
37313         * manual/install.texi (Installation): Point to online location of
37314         FAQ.
37315         * Makefile (files-for-dist): Remove FAQ.
37316         (FAQ): Remove.
37317
37318 2012-05-02  Allan McRae  <allan@archlinux.org>
37319
37320         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37321         (LDFLAGS-reldepmod5.so): Likewise.
37322         (LDFLAGS-reldep6mod1.so): Likewise.
37323         (LDFLAGS-reldep6mod4.so): Likewise.
37324         (LDFLAGS-reldep8mod3.so): Likewise.
37325         (LDFLAGS-unload4mod1.so): Likewise.
37326         (LDFLAGS-unload4mod2.so): Likewise.
37327         (LDFLAGS-tst-initorder): Likewise.
37328         (LDFLAGS-tst-initordera2.so): Likewise.
37329         (LDFLAGS-tst-initordera3.so): Likewise.
37330         (LDFLAGS-tst-initordera4.so): Likewise.
37331         (LDFLAGS-tst-initorderb2.so): Likewise.
37332         (LDFLAGS-noload): Likewise.
37333         (LDFLAGS-next): Likewise.
37334         (LDFLAGS-order2mod1.so): Likewise.
37335         (LDFLAGS-order2mod2.so): Likewise.
37336         (LDFLAGS-tst-initorder2): Likewise.
37337         (LDFLAGS-tst-initorder2a.so): Likewise.
37338         (LDFLAGS-tst-initorder2b.so): Likewise.
37339         (LDFLAGS-tst-initorder2c.so): Likewise.
37340         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37341
37342 2012-05-02  David S. Miller  <davem@davemloft.net>
37343
37344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37345
37346 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37347
37348         [BZ #14055]
37349         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37350
37351 2012-05-02  Andreas Jaeger  <aj@suse.de>
37352
37353         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37354         since we manipulate rounding mode.
37355         (CPPFLAGS-test-idouble.c): Likewise.
37356         (CPPFLAGS-test-ifloat.c): Likewise.
37357         (CFLAGS-test-ldouble.c): Likewise.
37358         (CFLAGS-test-double.c): Likewise.
37359         (CFLAGS-test-float.c): Likewise.
37360         (CFLAGS-test-misc.c): Likewise.
37361         (CFLAGS-test-test-fenv.c): Likewise.
37362
37363 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37364
37365         [BZ #2550]
37366         [BZ #2570]
37367         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37368         comparisons to determine direction to adjust input.
37369
37370 2012-05-01  Roland McGrath  <roland@hack.frob.com>
37371
37372         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37373         output to the target.
37374
37375         * scripts/localplt.awk: New file.
37376         * elf/Makefile ($(objpfx)check-localplt): Target removed.
37377         (check-localplt-CFLAGS): Variable removed.
37378         ($(all-built-dso:=.jmprel)): New static pattern rule.
37379         (generated): Add those targets.
37380         (localplt-built-dso): New variable.
37381         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37382
37383         * elf/check-localplt.c: File removed.
37384
37385         * scripts/check-execstack.awk: New file.
37386         * elf/Makefile ($(objpfx)check-execstack): Target removed.
37387         (check-execstack-CFLAGS): Variable removed.
37388         ($(objpfx)check-execstack.h): Target removed.
37389         ($(objpfx)execstack-default): New target.
37390         (generated): Add that instead of check-execstack.h.
37391         ($(all-built-dso:=.phdr)): New static pattern rule.
37392         (generated): Add those targets.
37393         * elf/check-execstack.c: File removed.
37394
37395         * scripts/check-textrel.awk: New file.
37396         * elf/Makefile ($(objpfx)check-textrel): Target removed.
37397         (check-textrel-CFLAGS): Variable removed.
37398         (all-built-dso): Use := to define.o
37399         ($(all-built-dso:=.dyn)): New static pattern rule.
37400         (generated): Add those targets.
37401         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37402         * config.make.in (READELF): New substituted variable.
37403         * elf/check-textrel.c: File removed.
37404
37405 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37406
37407         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37408         allow.
37409         * conform/data/ctype.h-data [C99-based standards] (isblank):
37410         Expect function.
37411         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37412         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37413         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37414         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37415         Specify type.  Require positive value.
37416         (EILSEQ): Likewise.
37417         (ERANGE): Likewise.
37418         [ISO || POSIX] (EILSEQ): Do not expect.
37419         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37420         Specify type.  Require positive value.
37421         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37422         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37423         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37424         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37425         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37426         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37427         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37428         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37429         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37430         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37431         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37432         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37433         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37434         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37435         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37436         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37437         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37438         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37439         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37440         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37441         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37442         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37443         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37444         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37445         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37446         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37447         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37448         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37449         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37450         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37451         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37452         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37453         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37454         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37455         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37456         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37457         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37458         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37459         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37460         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37461         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37462         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37463         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37464         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37465         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37466         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37467         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37468         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37469         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37470         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37471         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37472         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37473         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37474         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37475         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37476         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37477         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37478         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37479         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37480         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37481         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37482         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37483         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37484         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37485         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37486         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37487         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37488         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37489         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37490         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37491         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37492         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37493         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37494         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37495         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37496         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37497         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37498         Require >= 2.
37499         (FLT_ROUNDS): Expect as macro, not constant.
37500         (FLT_MANT_DIG): Use macro-int-constant.
37501         (DBL_MANT_DIG): Likewise.
37502         (LDBL_MANT_DIG): Likewise.
37503         (FLT_DIG): Likewise.
37504         (DBL_DIG): Likewise.
37505         (LDBL_DIG): Likewise.
37506         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
37507         (DBL_MIN_EXP): Likewise.
37508         (LDBL_MIN_EXP): Likewise.
37509         (FLT_MAX_EXP): Use macro-int-constant.
37510         (DBL_MAX_EXP): Likewise.
37511         (LDBL_MAX_EXP): Likewise.
37512         (FLT_MAX_10_EXP): Likewise.
37513         (DBL_MAX_10_EXP): Likewise.
37514         (LDBL_MAX_10_EXP): Likewise.
37515         (FLT_MAX): Use macro-constant.
37516         (DBL_MAX): Likewise.
37517         (LDBL_MAX): Likewise.
37518         (FLT_EPSILON): Use macro-constant.  Give upper bound.
37519         (DBL_EPSILON): Likewise.
37520         (LDBL_EPSILON): Likewise.
37521         (FLT_MIN): Likewise.
37522         (DBL_MIN): Likewise.
37523         (LDBL_MIN): Likewise.
37524         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37525         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37526         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37527         [ISO11] (FLT_HAS_SUBNORM): Likewise.
37528         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37529         [ISO11] (DBL_DECIMAL_DIG): Likewise.
37530         [ISO11] (FLT_DECIMAL_DIG): Likewise.
37531         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37532         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37533         [ISO11] (FLT_TRUE_MIN): Likewise.
37534         [ISO11] (LDBL_TRUE_MIN): Likewise.
37535         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37536         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37537         (SCHAR_MIN): Use macro-int-constant.  Specify type.
37538         (SCHAR_MAX): Likewise.
37539         (UCHAR_MAX): Likewise.
37540         (CHAR_MIN): Likewise.
37541         (CHAR_MAX): Likewise.
37542         (MB_LEN_MAX): Use macro-int-constant.
37543         (SHRT_MIN): Use macro-int-constant.  Specify type.
37544         (SHRT_MAX): Likewise.
37545         (USHRT_MAX): Likewise.
37546         (INT_MAX): Likewise.
37547         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
37548         bound negative.
37549         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37550         bound with "U".
37551         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37552         bound with "L".
37553         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
37554         bound negative.  Suffix upper bound with "L".
37555         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37556         bound with "UL".
37557         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37558         Specify type.
37559         [C99-based standards] (LLONG_MAX): Likewise.
37560         [C99-based standards] (ULLONG_MAX): Likewise.
37561         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
37562         == 0.
37563         [ISO11] (max_align_t): Require type.
37564         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37565
37566         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37567         from $CFLAGS, without defining away __attribute__ calls.
37568         (checknamespace): Use $CFLAGS_namespace.
37569
37570         * conform/conformtest.pl (@keywords): Only include C99 keywords
37571         for standards based on C99 or C11.
37572
37573         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37574         Disable tests.
37575         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37576         UNIX98]: Likewise.
37577
37578         * conform/conformtest.pl: Handle "macro-int-constant" and test for
37579         usability of symbols in #if.
37580
37581         * conform/conformtest.pl: If macro or constant types start
37582         "promoted:", expect the symbol to be of the following type
37583         promoted by the integer promotions.
37584
37585         * conform/conformtest.pl: Parse all "constant" and "macro" lines
37586         in one place.  Also handle "macro-constant".
37587
37588         * conform/conformtest.pl: Only accept expected macro values with
37589         "==".  Parse all "macro" lines in one place.
37590         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37591
37592         * conform/conformtest.pl: Handle braced types on "constant" lines
37593         instead of handling "typed-constant".
37594         * conform/data/signal.h-data: Use "constant" instead of
37595         "typed-constant".
37596
37597         * conform/conformtest.pl: Handle "optional-" at start of lines in
37598         one place rather than duplicating several cases.  Handle each
37599         format of "macro" line with initial "optional-".
37600
37601         * conform/conformtest.pl: Only accept expected constant or
37602         optional-constant values with "==".  Parse all "constant" lines in
37603         one place.  Parse all "optional-constant" lines in one place.
37604         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37605         * conform/data/fmtmsg.h-data: Likewise.
37606         * conform/data/netinet/in.h-data: Likewise.
37607         * conform/data/tar.h-data: Likewise.
37608         * conform/data/limits.h-data: Use "==" form on "constant" and
37609         "optional-constant" lines.
37610
37611         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37612         Use -std=c99 for XOPEN2K.
37613         (@knownproblems): Remove.
37614         (newtoken): Don't check %isknown.
37615
37616         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37617         Do not expect macro.
37618         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37619         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37620         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37621         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37622         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37623         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37624         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37625         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37626         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37627         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37628         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37629         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37630         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37631         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37632         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37633         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37634         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37635         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37636         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37637         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37638         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37639         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37640         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37641         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37642         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37643         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37644         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37645         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37646         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37647         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37648         [XPG3] (acosh): Likewise.
37649         [XPG3] (asinh): Likewise.
37650         [XPG3] (atanh): Likewise.
37651         [XPG3] (cbrt): Likewise.
37652         [XPG3] (expm1): Likewise.
37653         [XPG3] (ilogb): Likewise.
37654         [XPG3] (log1p): Likewise.
37655         [XPG3] (logb): Likewise.
37656         [XPG3] (nextafter): Likewise.
37657         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37658         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37659         [XPG3] (remainder): Likewise.
37660         [XPG3] (rint): Likewise.
37661         [XPG3 || XPG4 || UNIX98] (round): Likewise.
37662         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37663         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37664         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37665         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37666         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37667         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37668         [UNIX98 || XOPEN2K] (scalb): Expect.
37669         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37670         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37671         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37672         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37673         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37674         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37675         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37676         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37677         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37678         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37679         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37680         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37681         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37682         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37683         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37684         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37685         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37686         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37687         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37688         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37689         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37690         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37691         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37692         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37693         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37694         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37695         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37696         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37697         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37698         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37699         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37700         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37701         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37702         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37703         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37704         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37705         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37706         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37707         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37708         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37709         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37710         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37711         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37712         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37713         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37714         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37715         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37716         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37717         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37718         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37719         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37720         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37721         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37722         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37723         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37724         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37725         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37726         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37727         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37728         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37729         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37730         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37731         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37732         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37733         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37734         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37735         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37736         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37737         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37738         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37739         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37740         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37741         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37742         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37743         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37744         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37745         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37746         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37747         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37748         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37749         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37750         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37751         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37752         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37753         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37754         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37755         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37756         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37757         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37758         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37759         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37760         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37761         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37762         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37763         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37764         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37765         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37766         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37767         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37768         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37769         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37770         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37771         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37772         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37773         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37774         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37775         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37776         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37777         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37778         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37779         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37780         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37781         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37782         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37783         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37784         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37785         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37786         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37787         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37788         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37789         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37790         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37791         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37792         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37793         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37794         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37795         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37796         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37797         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37798         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37799         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37800         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37801         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37802         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37803         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37804         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37805         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37806
37807         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37808         _XOPEN_SOURCE_EXTENDED for XPG4.
37809
37810         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37811
37812         * Makeconfig (localtime): Remove variable.
37813         (inst_localtime-file): Likewise.
37814
37815 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37816
37817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37818         Update.
37819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37820         Update.
37821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37822         Update.
37823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37824         Update.
37825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37826         Update.
37827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37828         Update.
37829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37830         Update.
37831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37832         Update.
37833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37834         Update.
37835
37836 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37837
37838         [BZ #2550]
37839         [BZ #2570]
37840         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37841         comparisons to determine direction to adjust input.
37842         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37843         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37844         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37845         Likewise.
37846         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37847         Likewise.
37848         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37849         Likewise.
37850         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37851         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37852         Likewise.
37853         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37854         Likewise.
37855         * math/libm-test.inc (nexttoward_test): Add more tests.
37856
37857 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37858
37859         [BZ #14040]
37860         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37861         in version GLIBC_2.1, not GLIBC_2.0.
37862         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37863         Likewise.
37864
37865 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
37866
37867         [BZ #13942]
37868         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37869         (1 - x) * (1 + x).
37870         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37871         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37872         * math/libm-test.inc (acos_test): Add more tests.
37873         (asin_test): Likewise.
37874         * sysdeps/i386/fpu/libm-test-ulps: Update.
37875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37876
37877         [BZ #14034]
37878         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37879         of square root.
37880         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37881         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37882         * math/libm-test.inc (acos_test_tonearest): New function.
37883         (acos_test_towardzero): Likewise.
37884         (acos_test_downward): Likewise.
37885         (acos_test_upward): Likewise.
37886         (asin_test_tonearest): Likewise.
37887         (asin_test_towardzero): Likewise.
37888         (asin_test_downward): Likewise.
37889         (asin_test_upward): Likewise.
37890         (main): Call the new functions.
37891         * sysdeps/i386/fpu/libm-test-ulps: Update.
37892         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37893
37894         [BZ #13884]
37895         [BZ #13924]
37896         * math/e_exp10.c: Include <float.h>.
37897         (__ieee754_exp10): Handle underflow here rather than multiplying
37898         large negative argument by M_LN10.
37899         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37900         of __ieee754_expf.
37901         * math/e_exp10l.c: Include <float.h>.
37902         (__ieee754_exp10l): Handle underflow here rather than multiplying
37903         large negative argument by M_LN10l.
37904         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
37905         spurious overflow exception on underflow.
37906
37907 2012-04-29  Marek Polacek  <polacek@redhat.com>
37908
37909         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37910         (__fortify_function): New macro.
37911         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37912         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37913         __extern_always_inline.
37914         * libio/bits/stdio2.h: Likewise.
37915         * libio/bits/stdio.h: Likewise.
37916         * string/string.h: Likewise.
37917         * string/bits/string3.h: Likewise.
37918         * include/stdio.h: Likewise.
37919         * stdlib/bits/stdlib.h: Likewise.
37920         * stdlib/stdlib.h: Likewise.
37921         * rt/bits/mqueue2.h: Likewise.
37922         * rt/mqueue.h: Likewise.
37923         * posix/bits/unistd.h: Likewise.
37924         * posix/unistd.h: Likewise.
37925         * io/bits/poll2.h: Likewise.
37926         * io/bits/fcntl2.h: Likewise.
37927         * io/fcntl.h: Likewise.
37928         * io/sys/poll.h: Likewise.
37929         * misc/bits/syslog.h: Likewise.
37930         * misc/bits/syslog-ldbl.h: Likewise.
37931         * misc/sys/syslog.h: Likewise.
37932         * socket/bits/socket2.h: Likewise.
37933         * socket/sys/socket.h: Likewise.
37934         * debug/tst-chk1.c: Likewise.
37935         * wcsmbs/bits/wchar2.h: Likewise.
37936         * wcsmbs/bits/wchar-ldbl.h: Likewise.
37937         * wcsmbs/wchar.h: Likewise.
37938
37939 2012-04-29  Andreas Jaeger  <aj@suse.de>
37940
37941         * Makerules (tests): Remove enable-check-abi protection.
37942         (check-abi-warn): Remove.
37943         (check-abi-%): Remove check-abi-warn usage.
37944
37945         * configure.in: Remove check-abi configure option.
37946         * configure: Regenerated.
37947         * config.make.in (enable-check-abi): Remove.
37948
37949 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
37950
37951         [BZ #14033]
37952         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37953         double functions to double *_finite functions.
37954
37955         [BZ #13941]
37956         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37957         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37958         LDBL_MIN_EXP.
37959         * stdio-common/Makefile (tests): Add tst-sprintf3.
37960         * stdio-common/tst-sprintf3.c: New file.
37961
37962         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37963         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37964
37965 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37966
37967         * conform/conformtest.pl: Remove duplicate typed-constant
37968         handling.
37969
37970 2012-04-28  David S. Miller  <davem@davemloft.net>
37971
37972         * Makerules (%.abilist): Add vpath on sysdep_dirs.
37973         (check-abi-%): Remove AWK script prerequisite and explicit
37974         abilist directory.
37975         (check-abi): Rewrite to just diff the symlist with the abilist.
37976         (config-tls, config-abi-config): Delete, no longer used.
37977         (update-abi-%): Remove AWK script and explicit abilist directory.
37978         (update-abi): Rewrite to simply compare and conditionally copy the
37979         symlist and the sysdep abilist file.  Remove update-abi-config
37980         checks.
37981         * abilist/ld.abilist: Remove.
37982         * abilist/libBrokenLocale.abilist: Remove.
37983         * abilist/libanl.abilist: Remove.
37984         * abilist/libcrypt.abilist: Remove.
37985         * abilist/libdl.abilist: Remove.
37986         * abilist/librt.abilist: Remove.
37987         * abilist/libthread_db.abilist: Remove.
37988         * abilist/libutil.abilist: Remove.
37989         * scripts/extract-abilist.awk: Remove.
37990         * scripts/merge-abilist.awk: Remove.
37991         * sysdeps/generic/libcidn.abilist: New file.
37992         * sysdeps/generic/libnss_compat.abilist: New file.
37993         * sysdeps/generic/libnss_db.abilist: New file.
37994         * sysdeps/generic/libnss_dns.abilist: New file.
37995         * sysdeps/generic/libnss_files.abilist: New file.
37996         * sysdeps/generic/libnss_hesiod.abilist: New file.
37997         * sysdeps/generic/libnss_nis.abilist: New file.
37998         * sysdeps/generic/libnss_nisplus.abilist: New file.
37999         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38000         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38001         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38002         file.
38003         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38004         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38005         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38006         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38007         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38008         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38009         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38010         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38011         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38012         file.
38013         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38014         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38015         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38016         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38017         file.
38018         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38019         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38020         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38021         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38022         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38023         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38024         file.
38025         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38026         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38027         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38028         file.
38029         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38030         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38031         New file.
38032         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38033         New file.
38034         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38035         New file.
38036         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38037         New file.
38038         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38039         New file.
38040         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38041         New file.
38042         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38043         New file.
38044         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38045         New file.
38046         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38047         New file.
38048         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38049         New file.
38050         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38051         New file.
38052         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38053         New file.
38054         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38055         New file.
38056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38057         file.
38058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38059         New file.
38060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38061         New file.
38062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38063         file.
38064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38065         New file.
38066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38067         New file.
38068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38069         file.
38070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38071         New file.
38072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38073         New file.
38074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38075         New file.
38076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38077         New file.
38078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38079         New file.
38080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38081         New file.
38082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38083         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38084         file.
38085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38086         New file.
38087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38088         file.
38089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38090         file.
38091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38092         file.
38093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38094         file.
38095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38096         file.
38097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38098         New file.
38099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38100         file.
38101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38102         file.
38103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38104         New file.
38105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38106         file.
38107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38108         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38109         file.
38110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38111         New file.
38112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38113         file.
38114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38115         file.
38116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38117         file.
38118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38119         file.
38120         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38121         file.
38122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38123         New file.
38124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38125         file.
38126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38127         file.
38128         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38129         New file.
38130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38131         file.
38132         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38133         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38134         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38135         file.
38136         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38137         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38138         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38139         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38140         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38141         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38142         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38143         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38144         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38145         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38147         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38148         file.
38149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38150         New file.
38151         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38152         file.
38153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38154         file.
38155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38156         file.
38157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38158         file.
38159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38160         file.
38161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38162         New file.
38163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38164         New file.
38165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38166         file.
38167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38168         New file.
38169         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38170         file.
38171         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38172         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38173         file.
38174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38175         New file.
38176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38177         file.
38178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38179         file.
38180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38181         file.
38182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38183         file.
38184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38185         file.
38186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38187         New file.
38188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38189         New file.
38190         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38191         file.
38192         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38193         New file.
38194         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38195         file.
38196
38197 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38198
38199         * conform/conformtest.pl: Fix typo in handling typed-constant from
38200         allow-header.
38201
38202 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38203
38204         * README: Cut down references to pre-2.6 Linux kernels and
38205         Linuxthreads.  Update lists of configurations in libc and ports
38206         and sort alphabetically.  Say "or newer" with Linux kernel version
38207         requirements.
38208
38209         * config.h.in [IS_IN_build]: Allow compiling without optimization.
38210
38211 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38212
38213         [BZ #887]
38214         * math/libm-test.inc (logb_test_downward): New test to expose
38215         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38216         rounding mode.
38217
38218 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38219
38220         [BZ #14027]
38221         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38222         to be done.
38223         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38224         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38225
38226 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
38227
38228         * sysdeps/unix/i386/brk.S: Remove file.
38229         * sysdeps/unix/i386/dl-brk.S: Likewise.
38230         * sysdeps/unix/i386/pipe.S: Likewise.
38231         * sysdeps/unix/i386/sigreturn.S: Likewise.
38232         * sysdeps/unix/i386/syscall.S: Likewise.
38233         * sysdeps/unix/i386/vfork.S: Likewise.
38234         * sysdeps/unix/i386/wait.S: Likewise.
38235
38236         * sysdeps/unix/common/tcsendbrk.c: Move to ...
38237         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38238
38239         * configure.in (arm*-none*): Do not allow without
38240         --enable-hacker-mode.
38241         (netbsd*): Remove case setting base_os.
38242         (386bsd*): Likewise.
38243         (freebsd*): Likewise.
38244         (bsdi*): Likewise.
38245         (osf*): Likewise.
38246         (sunos*): Likewise.
38247         (ultrix*): Likewise.
38248         (newsos*): Likewise.
38249         (dynix*): Likewise.
38250         (*bsd*): Likewise.
38251         (sysv*): Likewise.
38252         (isc*): Likewise.
38253         (esix*): Likewise.
38254         (sco*): Likewise.
38255         (minix*): Likewise.
38256         (irix4*): Likewise.
38257         (irix6*): Likewise.
38258         (solaris[2-9]*): Likewise.
38259         (none): Likewise.
38260         * configure: Regenerated.
38261
38262 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38263
38264         [BZ #11521]
38265         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38266         overflow or cancellation in calculating denominator.
38267         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38268         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38269         down expression to avoid unexpected rounding in newer GCCs.
38270         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38271
38272 2012-04-26  David S. Miller  <davem@davemloft.net>
38273
38274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38275         long-double compat symbols.
38276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38289
38290 2012-04-25  David S. Miller  <davem@davemloft.net>
38291
38292         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38293         HWCAP_* values only after the memory barriers have been defined.
38294         (atomic_full_barrier): Define.
38295         (atomic_read_barrier): Define.
38296         (atomic_write_barrier): Define.
38297
38298 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38299
38300         * shlib-versions: Add libgcc_s version information.
38301         * sysdeps/generic/libgcc_s.h: Remove.
38302         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38303         libgcc_s.h.
38304         * sysdeps/gnu/unwind-resume.c: Likewise.
38305         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38306
38307 2012-04-25  David S. Miller  <davem@davemloft.net>
38308
38309         * sysdeps/unix/sparc/brk.S: Delete.
38310         * sysdeps/unix/sparc/dl-brk.S: Delete.
38311         * sysdeps/unix/sparc/pipe.S: Delete.
38312         * sysdeps/unix/sparc/sysdep.S: Delete.
38313         * sysdeps/unix/sparc/sysdep.h: Delete.
38314         * sysdeps/unix/sparc/vfork.S: Delete.
38315         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38316         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38317         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38318         (ret_ERRVAL, r0, r1, MOVE): Define.
38319         (JUMPTARGET): Remove.
38320         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38321         sysdeps/unix/sparc/sysdep.h
38322         (ENTRY, END): Remove.
38323         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38324
38325 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
38326
38327         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38328         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38329         -DIS_IN_build.
38330
38331         * timezone/README: Update upstream location and email address for
38332         tzcode and tzdata.
38333         * timezone/zdump.c: Update from tzcode 2012b.
38334         * timezone/zic.c: Likewise.
38335
38336         * configure.in (libc_cv_as_needed): Remove test.
38337         * configure: Regenerated.
38338         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38339         conditional definition.
38340         [$(have-as-needed) != yes] (no-as-needed): Likewise.
38341         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38342         * config.make.in (have-as-needed): Remove variable.
38343
38344 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38345             Paul Pluzhnikov  <ppluzhnikov@google.com>
38346
38347         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38348         strings correctly.
38349
38350 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
38351
38352         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38353         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38354         * sysdeps/sh/strlen.S: Likewise.
38355
38356 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38357
38358         * sysdeps/unix/fork.S: Remove file.
38359         * sysdeps/unix/i386/fork.S: Likewise.
38360         * sysdeps/unix/sparc/fork.S: Likewise.
38361
38362         * sysdeps/unix/system.c: Remove file.
38363         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38364
38365         * sysdeps/unix/getegid.S: Remove file.
38366         * sysdeps/unix/geteuid.S: Likewise.
38367
38368 2012-04-24  Roland McGrath  <roland@hack.frob.com>
38369
38370         * scripts/check-localplt.awk: New file.
38371         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38372         of diff.
38373         * scripts/data/localplt-generic.data: Add a comment.
38374
38375         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38376         NODE when __dir_mkfile failed.
38377         * sysdeps/mach/hurd/symlinkat.c: Likewise.
38378         Reported by Ludovic Courtès <ludo@gnu.org>.
38379
38380 2012-04-24  Andreas Jaeger  <aj@suse.de>
38381
38382         * Makerules (common-clean): Also remove gen-as-const-headers
38383         files.
38384
38385 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38386
38387         * Makerules (native-compile): Do not change working directory for
38388         build.  Use $(OUTPUT_OPTION) in command.
38389         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38390
38391 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38392
38393         [BZ #13886]
38394         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38395         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38396         * math/libm-test.inc (floor_test): Add more tests.
38397         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38398
38399 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38400
38401         * sysdeps/unix/getdents.c: Remove file.
38402         * sysdeps/unix/sysv/getdents.c: Likewise.
38403         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38404
38405         * sysdeps/unix/syscalls.list (madvise): Add syscall from
38406         sysdeps/unix/mman/syscalls.list.
38407         (mmap): Likewise.
38408         (mprotect): Likewise.
38409         (msync): Likewise.
38410         (munmap): Likewise.
38411         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38412         * sysdeps/unix/mman/syscalls.list: Remove.
38413         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38414
38415         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38416         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38417         * configure: Regenerated.
38418         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38419         $(libgcc_s_suffix).
38420         * config.make.in (libgcc_s_suffix): Remove variable.
38421
38422 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
38423
38424         * sysdeps/unix/sysv/gethostname.c: Move to ...
38425         * sysdeps/posix/gethostname.c: ... here.
38426
38427         * sysdeps/unix/execve.S: Remove file.
38428
38429         * sysdeps/unix/_exit.S: Remove file.
38430
38431 2012-04-23  Andreas Jaeger  <aj@suse.de>
38432
38433         [BZ #13739]
38434         * manual/Makefile: Remove make dist support, there's no
38435         need for a stand-alone documentation tar ball.
38436         (TEXI2DVI): Define always, it's not in Makeconfig.
38437         (dist): Removed.
38438         (tar-it): Removed.
38439         (edition): Removed.
38440         (glibc-doc-$(edition).tar): Removed
38441         (%.Z): Removed.
38442         (%.gz): Removed.
38443         (%.uu): Removed.
38444         (ETAGS): Remove, it's in Makeconfig.
38445         (move-if-change): Remove, it's in Makeconfig.
38446
38447 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
38448
38449         [BZ #13970]
38450         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38451         (strtod, strtof, strtold, strtol, strtoul, strtoq)
38452         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38453         (strtod_l, strtof_l, strtold_l): Remove __wur.
38454         It is not necessarily an error to ignore strtol's return value.
38455         One can reliably look at the stored endptr to decide whether
38456         the number had valid syntax.
38457
38458 2012-04-21  Andreas Jaeger  <aj@suse.de>
38459
38460         [BZ #13739]
38461         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38462
38463 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
38464
38465         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38466         * sysdeps/unix/sysv/Versions: Remove file.
38467
38468 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
38469
38470         [BZ #13927]
38471         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38472
38473 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
38474
38475         [BZ #7064]
38476         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38477         version from __vm86.
38478
38479 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38480
38481         * sysdeps/unix/common/lxstat.c: Remove file.
38482         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38483
38484         * sysdeps/unix/sysv/Makefile: Remove file.
38485
38486         * sysdeps/unix/sysv/direct.h: Remove file.
38487
38488         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38489         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38490         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38491         * sysdeps/unix/sysv/bits/signum.h: Likewise.
38492         * sysdeps/unix/sysv/bits/stat.h: Likewise.
38493         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38494         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38495
38496         * sysdeps/unix/sysv/setrlimit.c: Remove file.
38497
38498         * sysdeps/unix/xmknod.c: Remove file.
38499         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38500
38501         * sysdeps/unix/sysv/settimeofday.c: Remove file.
38502
38503         * sysdeps/unix/sysv/i386/time.S: Remove file.
38504
38505         * sysdeps/unix/fxstat.c: Remove file.
38506         * sysdeps/unix/xstat.c: Likewise.
38507         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38508
38509         * sysdeps/unix/sysv/sigaction.c: Remove file.
38510
38511         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38512         (sysdep_headers): Remove variable.
38513         [termio.h not in sysdep_headers] (generated): Likewise.
38514         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38515         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38516         * sysdeps/unix/sysv/tcdrain.c: Likewise.
38517         * sysdeps/unix/sysv/tcflow.c: Likewise.
38518         * sysdeps/unix/sysv/tcflush.c: Likewise.
38519         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38520         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38521         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38522         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38523         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38524
38525         * sysdeps/unix/siglist.c: Remove file.
38526
38527         * sysdeps/unix/getppid.S: Remove file.
38528
38529         * sysdeps/unix/mkdir.c: Remove file.
38530         * sysdeps/unix/rmdir.c: Likewise.
38531
38532 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
38533
38534         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38535         ERR_MAX value.
38536         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38537         errlist-compat value.
38538
38539 2012-04-18  David S. Miller  <davem@davemloft.net>
38540
38541         * sysdeps/generic/memcopy.h (reg_char): Delete.
38542         * debug/strcat_chk.c: Use char, not reg_char.
38543         * debug/strcpy_chk.c: Likewise.
38544         * debug/strncat_chk.c: Likewise.
38545         * debug/strncpy_chk.c: Likewise.
38546         * string/memchr.c: Likewise.
38547         * string/memrchr.c: Likewise.
38548         * string/rawmemchr.c: Likewise.
38549         * string/strcat.c: Likewise.
38550         * string/strchr.c: Likewise.
38551         * string/strchrnul.c: Likewise.
38552         * string/strcmp.c: Likewise.
38553         * string/strcpy.c: Likewise.
38554         * string/strncat.c: Likewise.
38555         * string/strncmp.c: Likewise.
38556         * string/strncpy.c: Likewise.
38557
38558 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38559
38560         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38561         __builtin_memcopy is called when src and dest ranges are known to not
38562         overlap.
38563
38564 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38565
38566         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38567         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38568         fwd_align_merge macro call.
38569         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38570         bwd_align_merge macro call.
38571         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38572
38573 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38574
38575         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38576         bwd_align_merge macros.
38577         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38578         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38579         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38580
38581 2012-04-18  David S. Miller  <davem@davemloft.net>
38582
38583         * sysdeps/sparc/sparc64/memcopy.h: Delete.
38584
38585 2012-04-18  Andreas Jaeger  <aj@suse.de>
38586
38587         [BZ# 6794]
38588         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38589         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38590         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38591
38592         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38593         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38594         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38595
38596         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38597         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38598         Adjust for changed ldbl-128 files.
38599
38600         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38601         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38602         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38603
38604 2012-04-17  David S. Miller  <davem@davemloft.net>
38605
38606         * sysdeps/sparc/sparc32/memcopy.h: Delete.
38607
38608 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
38609
38610         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38611         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38612         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38613         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38614         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38615         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38616
38617 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38618
38619         [BZ #6794]
38620         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38621         * math/libm-test.inc: Add ilogb errno and exception tests.
38622         * math/w_ilogb.c: New file: ilogb wrapper.
38623         * math/w_ilogbf.c: New file: ilogbf wrapper.
38624         * math/w_ilogbl.c: New file: ilogbl wrapper.
38625         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38626         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38627         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38628         exception being thrown with 0.0 as argument.
38629         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38630         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38631         exception being thrown with 0.0 as argument.
38632         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38633         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38634         exception being thrown with 0.0 as argument.
38635         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38636         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38637         exception being thrown with 0.0 as argument.
38638         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38639         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38640         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38641         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38642         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38643         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38644         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38645         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38646         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38647
38648 2012-04-17  Petr Baudis  <pasky@ucw.cz>
38649
38650         * include/sys/uio.h: Change __vector to __iovec to avoid clash
38651         with altivec.
38652
38653 2012-04-16  Marek Polacek  <polacek@redhat.com>
38654
38655         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38656
38657 2012-04-16  Marek Polacek  <polacek@redhat.com>
38658
38659         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38660         operands of fdivp instruction.
38661
38662 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38663
38664         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38665         * elf/tst-auditmod3b.c: Likewise.
38666         * elf/tst-auditmod4b.c: Likewise.
38667         * elf/tst-auditmod5b.c: Likewise.
38668         * elf/tst-auditmod6b.c: Likewise.
38669         * elf/tst-auditmod6c.c: Likewise.
38670         * elf/tst-auditmod7b.c: Likewise.
38671         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38672         * sysdeps/x86_64/preconfigure.in: Likewise.
38673         * sysdeps/x86_64/preconfigure: Regenerated.
38674
38675 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38676
38677         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38678         __ILP32__.
38679
38680 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
38681
38682         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38683         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38684
38685 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
38686
38687         [BZ #13973]
38688         * locale/iso-639.def: Fix gl language name. Spotted by
38689         Yaron Shahrabani.
38690
38691 2012-04-12  Roland McGrath  <roland@hack.frob.com>
38692
38693         [BZ #2074]
38694         * libio/libio.h (__io_write_fn): Update comment.
38695
38696 2012-04-12  Petr Baudis  <pasky@ucw.cz>
38697
38698         [BZ #2074]
38699         * stdio.texi (Hook Functions): The user provided writer function
38700         is not allowed to return -1.
38701
38702 2012-04-11  David S. Miller  <davem@davemloft.net>
38703
38704         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38705
38706 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
38707
38708         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38709         Add a leading slash to rtkaio.
38710
38711 2012-04-11  Jim Meyering  <meyering@redhat.com>
38712
38713         [BZ #11959]
38714         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38715         It is not necessarily an error to ignore fwrite's return
38716         value.  One can reliably use ferror to test for errors after
38717         the fact.
38718
38719 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38720
38721         * bits/types.h (__snseconds_t): New type.
38722         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38723
38724         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38725         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38726         (__SNSECONDS_T_TYPE): Likewise.
38727         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38728         (__SNSECONDS_T_TYPE): Likewise.
38729         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38730         (__SNSECONDS_T_TYPE): Likewise.
38731
38732 2012-04-10  Andreas Jaeger  <aj@suse.de>
38733
38734         [BZ #2636]
38735         * manual/time.texi (Processor Time): Return type of times is
38736         elapsed real time since an arbitrary point in the past.
38737         (CPU Time): Move CLK_TCK from here...
38738         (Processor Time): ...to here.  Correct description.
38739         * manual/conf.texi (Constants for Sysconf): Correct description of
38740         _SC_CLK_TCK.
38741
38742 2012-04-10  David S. Miller  <davem@davemloft.net>
38743
38744         [BZ #13967]
38745         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38746         where the is a gap between DT_REL(A) and DT_JMPREL.
38747
38748 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38749
38750         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38751         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38752         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38753
38754 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38755
38756         * elf/dl-support.c (_dl_inhibit_cache): New variable.
38757         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38758         (dl_main): Handle --inhibit-cache.
38759         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38760         _dl_inhibit_cache.
38761         * elf/dl-load.c (_dl_map_object): Use it.
38762         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38763
38764 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38765
38766         [BZ #13872]
38767         * sysdeps/i386/fpu/e_powl.S (p78): New object.
38768         (__ieee754_powl): Saturate large exponents rather than testing for
38769         overflow of y*log2(x).
38770         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38771         * math/libm-test.inc (pow_test): Do not permit spurious overflow
38772         exceptions.
38773
38774         [BZ #11521]
38775         * math/s_ctan.c: Include <float.h>.
38776         (__ctan): Avoid internal overflow or cancellation in calculating
38777         denominator.
38778         * math/s_ctanf.c: Likewise.
38779         * math/s_ctanl.c: Likewise.
38780         * math/s_ctanh.c: Likewise.
38781         * math/s_ctanhf.c: Likewise.
38782         * math/s_ctanhl.c: Likewise.
38783         * math/libm-test.inc (ctan_test): Add more tests.
38784         (ctanh_test): Likewise.
38785         * sysdeps/i386/fpu/libm-test-ulps: Update.
38786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38787
38788 2012-04-09  Andreas Jaeger  <aj@suse.de>
38789
38790         [BZ #6894]
38791         * manual/filesys.texi (Directory Entries): Mention that d_namlen
38792         is an optional BSD extension.
38793
38794         [BZ #10254]
38795         * manual/stdio.texi (Opening Streams): Document additional fopen
38796         parameters.
38797
38798 2012-04-09  Roland McGrath  <roland@hack.frob.com>
38799
38800         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38801         %eax without telling the compiler.
38802
38803 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
38804
38805         [BZ # 13963]
38806         * manual/install.texi: Use sourceware.org.
38807
38808 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38809
38810         [BZ #13873]
38811         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38812         (__ieee754_pow): Generate overflow and underflow using huge*huge
38813         and tiny*tiny rather than just returning constant infinity or zero
38814         for large exponents.
38815         * math/libm-test.inc (pow_test): Require overflow exceptions for
38816         applicable cases of large exponents.
38817
38818         [BZ #706]
38819         * sysdeps/i386/fpu/e_pow.S (p10): New object.
38820         (__ieee754_pow): Use iterative multiplication algorithm only for
38821         integer exponents with absolute value below 1024.  Check for odd
38822         integer exponents when using algorithm for real exponents.
38823         * math/libm-test.inc (pow_test): Add more tests.
38824         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38825
38826 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
38827
38828         [BZ #13705]
38829         * math/libm-test.inc (exp_test): Do not allow overflow exception
38830         on underflow test.
38831
38832 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
38833
38834         [BZ #13705]
38835         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38836         instead of __kernel_standard_f.
38837
38838 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
38839
38840         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38841         * sysdeps/x86_64/memset_chk.S: Likewise.
38842
38843 2012-04-08  Andreas Jaeger  <aj@suse.de>
38844
38845         [BZ #10153]
38846         * manual/startup.texi (Environment Access): Describe return value
38847         for putenv and setenv.
38848
38849         [BZ #6895]
38850         * manual/filesys.texi (Directory Entries): Add description for
38851         DT_LNK.
38852
38853         [BZ #6890]
38854         * manual/filesys.texi (Directory Entries): Clarify that it's file
38855         system not operating system in the description of DT_UNKNOWN.
38856
38857         [BZ #6578]
38858         * manual/syslog.texi (closelog): Fix reference, it's openlog.
38859
38860 2012-04-08  Stephen Compall  <s11@member.fsf.org>
38861
38862         [BZ #6649]
38863         * manual/llio.texi (Opening and Closing Files): Add cross
38864         reference to explain mode argument.
38865
38866 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
38867
38868         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38869         * sysdeps/x86_64/memset_chk.S: Likewise.
38870
38871 2012-04-07  David S. Miller  <davem@davemloft.net>
38872
38873         * elf/elf.h (R_SPARC_WDISP10): Define.
38874         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38875         R_SPARC_SIZE32.
38876         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38877         R_SPARC_SIZE64 and R_SPARC_H34.
38878
38879 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
38880
38881         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38882         conditions and remove no longer applicable assertion.
38883
38884 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38885
38886         * bits/byteswap.h: Include <features.h>.
38887         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38888         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38889
38890 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38891
38892         * bits/byteswap.h (__bswap_16): Removed.
38893         Include <bits/byteswap-16.h> to get __bswap_16.
38894         * sysdeps/i386/bits/byteswap.h: Likewise.
38895         * sysdeps/s390/bits/byteswap.h: Likewise.
38896         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38897         * bits/byteswap-16.h: New file.
38898         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38899         * sysdeps/s390/bits/byteswap-16.h: Likewise.
38900         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38901         * string/Makefile (headers): Add bits/byteswap-16.h.
38902
38903 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38904
38905         [BZ #13895]
38906         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38907         extra indirection.
38908         * nss/Makefile (tests-static, tests): Add tst-nss-static.
38909         * nss/tst-nss-static.c: New.
38910
38911 2012-04-06  Robert Millan  <rmh@gnu.org>
38912
38913         [BZ #6486]
38914         * manual/llio.texi (File Position Primitive): lseek
38915         refers to WHENCE when it really means OFFSET.
38916
38917 2012-04-06  Andreas Jaeger  <aj@suse.de>
38918
38919         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38920         strncmp declarations.
38921
38922         * abilist/libc.abilist: Add __poll and __ppoll.
38923
38924 2012-04-05  David S. Miller  <davem@davemloft.net>
38925
38926         * scripts/check-local-headers.sh: Accept a host triplet in the
38927         path matched by the exclude regexp.
38928
38929         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38930         definition.
38931         * sysdeps/powerpc/powerpc32/dl-machine.h
38932         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38933         * sysdeps/s390/s390-32/dl-machine.h
38934         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38935         * sysdeps/sparc/sparc32/dl-machine.h
38936         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38937         * sysdeps/sparc/sparc64/dl-machine.h
38938         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38939
38940         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38941         lazy binding.
38942         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38943         undefined symbol errors.
38944
38945         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38946         DT_NEEDED entries.
38947
38948 2012-04-05  Michael Matz  <matz@suse.de>
38949
38950         [BZ #13592]
38951         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38952
38953 2012-04-05  Andreas Jaeger  <aj@suse.de>
38954
38955         [BZ #13908]
38956         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38957         comment.
38958
38959 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38960
38961         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38962         which ROUND is no valid rounding mode.
38963
38964 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38965
38966         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38967         read again.
38968         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38969
38970 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38971
38972         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38973         an exception using FPU order intentionally.
38974
38975 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38976
38977         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38978         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38979         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38980         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38981
38982 2012-04-05  Simon Josefsson  <simon@josefsson.org>
38983
38984         [BZ #12340]
38985         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38986         EINVAL when BUFLEN is too smal.
38987
38988 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
38989
38990         [BZ #13553]
38991         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38992         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38993
38994 2012-04-03  Andreas Jaeger  <aj@suse.de>
38995
38996         [BZ #13938]
38997         * manual/setjmp.texi (System V contexts): Fix sentence.
38998
38999         [BZ #13926]
39000         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39001         New macro for this case.
39002         [!__GNUC__] (__bswap_64): New inline function for this case.
39003         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39004         * bits/byteswap.h: Likewise.
39005         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39006         ull, guard with __GLIBC_HAVE_LONG_LONG.
39007
39008         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39009         __GLIBC_HAVE_LONG_LONG.
39010
39011         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39012         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39013
39014 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39015
39016         [BZ #13691]
39017         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39018         inptr and inend, rather than using last_ch.
39019
39020 2012-04-02  David S. Miller  <davem@davemloft.net>
39021
39022         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39023         * stdio-common/printf-parse.h (read_int): Change return type to
39024         'int', return -1 on INT_MAX overflow.
39025         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39026         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
39027         overflows INT_MAX.  Check for overflow of in-format-string precision
39028         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
39029         SIZE_MAX not INT_MAX for integer overflow test.
39030         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39031         skip the construct in the format string but do not record anything.
39032         * stdio-common/bug22.c: Adjust to test both width/prevision
39033         INT_MAX overflow as well as total length INT_MAX overflow.  Check
39034         explicitly for proper errno values.
39035
39036 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
39037
39038         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39039         CHAR_MAX.
39040         * string/test-strcmp.c [! WIDE]: Likewise.
39041         * time/tst-mktime2.c: Likewise for INT_MAX.
39042         * string/test-string.h: #include <sys/param.h> for MIN.
39043
39044         * csu/init-first.c (__libc_init_first): Call __ctype_init.
39045         * sysdeps/i386/init-first.c (init): Likewise.
39046         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39047         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39048         * sysdeps/sh/init-first.c (init): Likewise.
39049
39050 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
39051
39052         * po/ru.po: Update from translation team.
39053         * po/vi.po: Likewise.
39054
39055 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39056
39057         * resolv/nss_dns/dns-host.c: Merge copyright years.
39058
39059 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39060
39061         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39062         Optimize memcpy with prefetch if
39063         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
39064         src, dst pointers have unequal 16 byte alignments.
39065
39066 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39067
39068         [BZ #13928]
39069         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39070         from a CNAME entry and return the minimum ttl for the query.
39071         (gaih_getanswer_slice): Likewise.
39072
39073 2012-03-30  Jeff Law  <law@redhat.com>
39074
39075         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39076         due to long keys.
39077         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39078         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39079
39080         * resolv/nss_dns/dns-host.c: Update copyright year.
39081
39082 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
39083
39084         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39085         requests to save a system call.  Fix check that all bytes are sent.
39086
39087         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39088         comments for sendmmsg.
39089
39090 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39091
39092         [BZ #13691]
39093         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39094         with only 1 character between 0x0041 and 0x01b0.
39095         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39096         * wcsmbs/tst-mbsnrtowcs.c: New file.
39097
39098 2012-03-29  David S. Miller  <davem@davemloft.net>
39099
39100         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39101         small copies by hand.
39102
39103 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39104
39105         [BZ #13761]
39106         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39107         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39108         group memberships.
39109
39110 2012-03-28  David S. Miller  <davem@davemloft.net>
39111
39112         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39113         that branches into memcpy.
39114         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39115         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39116         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39117         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39118         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39119         bits.
39120         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39121         implementation too.
39122         * sysdeps/sparc/mempcpy.S: New file.
39123
39124         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39125         the IFUNC routine in the libc case.
39126         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39127
39128         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39129         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39130         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39131         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39132         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39133         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39134         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39135         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39136
39137         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39138         loop to 256 bytes instead of 64 bytes and fix test signedness.
39139
39140         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39141         * sysdeps/sparc/sparc32/Makefile: rather than here...
39142         * sysdeps/sparc/sparc64/Makefile: and here.
39143
39144 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
39145
39146         * malloc/mallocbug.c: Avoid warnings about unused variables.
39147
39148 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39149
39150         [BZ #13760]
39151         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39152         in the right place. Discard and retry query if response is
39153         larger than input buffer size.
39154
39155 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
39156
39157         [BZ #369]
39158         [BZ #2678]
39159         [BZ #3866]
39160         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39161         x for large integer exponent.
39162         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39163         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
39164         sign of result as needed afterwards.
39165         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39166         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39167         result for underflowing pow the same as for overflow.
39168         (__kernel_standard_l): Handle powl overflow and underflow here
39169         rather than calling __kernel_standard.
39170         * math/libm-test.inc (pow_test): Add more tests.
39171
39172         [BZ #3868]
39173         [BZ #13879]
39174         [BZ #13910]
39175         [BZ #13911]
39176         [BZ #13912]
39177         [BZ #13913]
39178         [BZ #13915]
39179         [BZ #13916]
39180         [BZ #13917]
39181         [BZ #13918]
39182         [BZ #13919]
39183         [BZ #13920]
39184         [BZ #13921]
39185         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39186         * sysdeps/ieee754/k_standard.c: Include <float.h>.
39187         (__kernel_standard_l): New function.
39188         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39189         __kernel_standard.
39190         * math/w_acosl.c (__acosl): Likewise.
39191         * math/w_asinl.c (__asinl): Likewise.
39192         * math/w_atan2l.c (__atan2l): Likewise.
39193         * math/w_atanhl.c (__atanhl): Likewise.
39194         * math/w_coshl.c (__coshl): Likewise.
39195         * math/w_exp10l.c (__exp10l): Likewise.
39196         * math/w_exp2l.c (__exp2l): Likewise.
39197         * math/w_fmodl.c (__fmodl): Likewise.
39198         * math/w_hypotl.c (__hypotl): Likewise.
39199         * math/w_j0l.c (__j0l, __y0l): Likewise.
39200         * math/w_j1l.c (__j1l, __y1l): Likewise.
39201         * math/w_jnl.c (__jnl, __ynl): Likewise.
39202         * math/w_lgammal.c (__lgammal): Likewise.
39203         * math/w_log10l.c (__log10l): Likewise.
39204         * math/w_log2l.c (__log2l): Likewise.
39205         * math/w_logl.c (__logl): Likewise.
39206         * math/w_powl.c (__powl): Likewise.
39207         * math/w_remainderl.c (__remainderl): Likewise.
39208         * math/w_scalbl.c (sysv_scalbl): Likewise.
39209         * math/w_sinhl.c (__sinhl): Likewise.
39210         * math/w_sqrtl.c (__sqrtl): Likewise.
39211         * math/w_tgammal.c (__tgammal): Likewise.
39212         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39213         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39214         * math/libm-test.inc (acos_test): Add more tests.
39215         (acosh_test): Likewise.
39216         (asin_test): Likewise.
39217         (atanh_test): Likewise.
39218         (exp_test): Likewise.
39219         (exp10_test): Likewise.
39220         (exp2_test): Likewise.
39221         (expm1_test): Likewise.
39222         (lgamma_test): Likewise.
39223         (log_test): Likewise.
39224         (log10_test): Likewise.
39225         (log1p_test): Likewise.
39226         (log2_test): Likewise.
39227         (pow_test): Do not allow some spurious overflow exceptions.
39228         (sqrt_test): Add more tests.
39229         (tgamma_test): Likewise.
39230         (y0_test): Likewise.
39231         (y1_test): Likewise.
39232         (yn_test): Likewise.
39233
39234 2012-03-27  Anton Blanchard  <anton@samba.org>
39235
39236         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39237         MAP_HUGETLB.
39238         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39239         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39240         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39241
39242 2012-03-27  David S. Miller  <davem@davemloft.net>
39243
39244         * conform/Makefile: Run run-conformtest.sh using $(BASH).
39245
39246         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39247         have-as-vis3 check.
39248
39249 2012-03-27  Andreas Jaeger  <aj@suse.de>
39250
39251         * sysdeps/x86_64/elf/configure.in: Moved to ...
39252         * sysdeps/x86_64/configure.in: ... here.
39253         * sysdeps/x86_64/elf/start.S: Moved to ...
39254         * sysdeps/x86_64/start.S: ... here.
39255         * sysdeps/x86_64/elf/configure: Delete.
39256
39257         * sysdeps/x86_64/configure.in: Merge contents from
39258         sysdeps/i386/configure.in (without i686 check).
39259
39260         * sysdeps/i386/elf/Versions: Merge into ...
39261         * sysdeps/i386/Versions: ... this.
39262         * sysdeps/i386/elf/Versions: Delete file.
39263         * sysdeps/i386/elf/start.S: Moved to ...
39264         * sysdeps/i386/start.S: ...here.
39265         * sysdeps/i386/elf/configure.in: Merge into...
39266         * sysdeps/i386/configure.in: ...here.
39267         * sysdeps/i386/elf/configure.in: Delete file.
39268         * sysdeps/i386/elf/configure: Delete file.
39269
39270         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39271         * debug/backtracesyms.c: ... here.
39272         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39273         * debug/backtracesymsfd.c: ... here.
39274         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39275         * sysdeps/generic/ifunc-sel.h: ... here.
39276
39277         * sysdeps/unix/i386/start.c: Delete file.
39278         * sysdeps/unix/sparc/start.c: Delete file.
39279         * sysdeps/unix/start.c: Delete file.
39280
39281         * sysdeps/sh/elf/configure.in: Moved to ...
39282         * sysdeps/sh/configure.in: ... here.
39283         * sysdeps/sh/elf/start.S: Moved to ...
39284         * sysdeps/sh/start.S: ... here.
39285         * sysdeps/sh/elf/configure: Delete file.
39286
39287         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39288         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39289         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39290         * sysdeps/powerpc/powerpc64/entry.h: ... here.
39291         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39292         * sysdeps/powerpc/powerpc64/start.S: here.
39293         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39294         * sysdeps/powerpc/powerpc64/Makefile: ... this.
39295         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39296         * sysdeps/powerpc/powerpc64/configure.in: ... this.
39297         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39298
39299         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39300         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39301         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39302         * sysdeps/powerpc/powerpc32/start.S: ... here.
39303         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39304         * sysdeps/powerpc/powerpc32/configure.in: ... this.
39305         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39306
39307         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39308         * sysdeps/powerpc/ifunc-sel.h: ... here.
39309         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39310         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39311
39312         * sysdeps/sparc/elf/configure.in: Moved to ...
39313         * sysdeps/sparc/configure.in: ... here.
39314         * sysdeps/sparc/elf/configure: Delete file.
39315         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39316         * sysdeps/sparc/sparc32/start.S: ... here.
39317         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39318         * sysdeps/sparc/sparc64/start.S: ... here.
39319         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39320         * sysdeps/sparc/sparc32/Makefile: ... this.
39321         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39322         * sysdeps/sparc/sparc64/Makefile: ... this.
39323
39324         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39325         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39326         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39327         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39328         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39329         * sysdeps/s390/s390-32/setjmp.S: ... here.
39330         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39331         * sysdeps/s390/s390-32/configure.in: ... here.
39332         * sysdeps/s390/s390-32/elf/configure: Delete file.
39333         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39334         * sysdeps/s390/s390-32/start.S: ... here.
39335
39336         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39337         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39338         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39339         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39340         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39341         * sysdeps/s390/s390-64/setjmp.S: ... here.
39342         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39343         * sysdeps/s390/s390-64/configure.in: ... here
39344         * sysdeps/s390/s390-64/elf/configure: Delete file.
39345         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39346         * sysdeps/s390/s390-64/start.S: ... here.
39347         * sysdeps/s390/s390-64/elf/configure: Delete.
39348
39349         * configure.in: Remove support for elf directories in sysdeps.
39350
39351         * configure: Regenerated.
39352         * sysdeps/i386/configure: Regenerated.
39353         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39354         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39355         * sysdeps/s390/s390-32/configure: Regenerated.
39356         * sysdeps/s390/s390-64/configure: Regenerated.
39357         * sysdeps/sh/configure: Regenerated.
39358         * sysdeps/sparc/configure: Regenerated.
39359         * sysdeps/x86_64/configure: Regenerated.
39360
39361 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
39362
39363         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39364
39365         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39366         denormal result into account.
39367
39368 2012-03-25  Roland McGrath  <roland@hack.frob.com>
39369
39370         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39371         Reported by Allan McRae <allan@archlinux.org>.
39372
39373 2012-03-23  Jeff Law  <law@redhat.com>
39374
39375         * nss/getnssent.c (__nss_getent): Fix typo.
39376
39377 2012-03-23  David S. Miller  <davem@davemloft.net>
39378
39379         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39380
39381 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
39382
39383         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39384         to pad to uint64_t for each field.
39385         (dl_tls_index): Replace unsigned long with uint64_t.
39386
39387 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
39388         Paul Pluzhnikov  <ppluzhnikov@google.com>
39389
39390         [BZ #6528]
39391         * grp/Makefile (otherlibs): Don't set it.
39392         * inet/Makefile (otherlibs): Likewise.
39393         * login/Makefile (otherlibs): Likewise.
39394         * nscd/Makefile (otherlibs): Likewise.
39395         * posix/Makefile (otherlibs): Likewise.
39396         * pwd/Makefile (otherlibs): Likewise.
39397         * rt/Makefile (otherlibs): Likewise.
39398         * sunrpc/Makefile (otherlibs): Likewise.
39399         * nss/Makefile (otherlibs): Likewise.
39400         Add libnss_files to routines and static-only-routines.
39401         ($(objpfx)getent): Remove rule.
39402         * resolv/Makefile: Add libnss_dns and libresolv to routines and
39403         static-only-routines.
39404
39405 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39406
39407         [BZ #13892]
39408         * math/s_cexp.c: Include <float.h>.
39409         (__cexp): Handle exp result overflowing not necessarily
39410         overflowing both real and imaginary parts of result.
39411         * math/s_cexpf.c: Likewise.
39412         * math/s_cexpl.c: Likewise.
39413         * math/libm-test.inc (cexp_test): Add more tests.
39414         * sysdeps/i386/fpu/libm-test-ulps: Update.
39415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39416
39417 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39418
39419         * include/link.h (ELFW): New macro.
39420         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39421         Replace ELF64_R_TYPE with ELFW(R_TYPE).
39422
39423 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39424
39425         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39426         with uint64_t.
39427
39428 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39429
39430         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39431         declaration.
39432         (struct La_x32_retval): Likewise.
39433
39434 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39435
39436         * sysdeps/x86_64/preconfigure.in: New file.
39437         * sysdeps/x86_64/preconfigure: New generated file.
39438
39439 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39440
39441         [BZ #13824]
39442         * math/e_exp2l.c: Include <float.h>.
39443         (__ieee754_exp2l): Handle overflow and underflow cases
39444         separately.  Only pass fractional part of argument to
39445         __ieee754_expl.
39446         * math/libm-test.inc (exp2_test): Add more tests.
39447
39448         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39449         negating x to take absolute value.
39450         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39451         Likewise.
39452         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39453         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39454         Likewise.
39455         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39456         computing low part if x was negated.
39457         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39458
39459 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39460
39461         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39462         la_x32_gnu_pltexit.
39463         (pltexit): Cast int_retval to ptrdiff_t.
39464         * elf/tst-auditmod3b.c: Likewise.
39465         * elf/tst-auditmod4b.c: Likewise.
39466         * elf/tst-auditmod5b.c: Likewise.
39467         * elf/tst-auditmod6b.c: Likewise.
39468         * elf/tst-auditmod6c.c: Likewise.
39469         * elf/tst-auditmod7b.c: Likewise.
39470
39471         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39472         and x32_gnu_pltexit.
39473
39474         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39475         __ELF_NATIVE_CLASS.
39476         (La_x32_regs): New macro.
39477         (La_x32_retval): Likewise.
39478         (la_x32_gnu_pltenter): New function prototype.
39479         (la_x32_gnu_pltexit): Likewise.
39480
39481 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39482
39483         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39484         exponent.
39485
39486         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39487
39488         * configure.in (libc_cv_cc_nofma): Check for option to disable
39489         generation of FMA instructions.
39490         * configure: Regenerate.
39491         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39492         * sysdeps/ieee754/dbl-64/Makefile: New file.
39493         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39494         Remove brandred-fma4.
39495         (CFLAGS-brandred-fma4.c): Remove.
39496         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39497         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39498         define.
39499         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39500         define.
39501
39502 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39503
39504         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39505         LLONG_MAX != LONG_MAX.
39506         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39507         (_fitoa_word): Likewise.
39508         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39509         LLONG_MAX != LONG_MAX.
39510         * stdio-common/_itowa.h: Include <_itoa.h>.
39511         (_itowa_word): Use _ITOA_WORD_TYPE on value.
39512         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
39513         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
39514         only if not defined.
39515         (_ITOA_WORD_TYPE): Likewise.
39516         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39517         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39518
39519 2012-03-21  David S. Miller  <davem@davemloft.net>
39520
39521         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39522
39523 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39524
39525         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39526         of x86_64 when setting libc_cv_slibdir, libdir and
39527         libc_cv_localedir.
39528         * sysdeps/unix/sysv/linux/configure: Regenerated.
39529
39530 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39531
39532         * manual/lang.texi (Old Varargs): Remove section.
39533         (How Variadic): Update menu.
39534         (va_start): Do not mention varargs.h.
39535
39536 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39537             Joseph Myers  <joseph@codesourcery.com>
39538
39539         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39540         link test.
39541         * configure: Regenerated.
39542
39543 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39544
39545         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39546         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39547         conformtest.pl
39548
39549 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39550
39551         * NOTES: Remove.
39552         * Makefile (files-for-dist): Remove NOTES.
39553         (NOTES): Remove rule.
39554         * README: Don't refer to NOTES.
39555         * manual/creature.texi: Don't include macros.texi.
39556         * manual/intro.texi (creature.texi): Remove comment referring to
39557         NOTES.
39558
39559         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39560         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39561         * configure: Regenerated.
39562         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39563         LIBC_TRY_CC_OPTION.
39564         (libc_cv_as_i686): Likewise.
39565         (libc_cv_cc_avx): Likewise.
39566         (libc_cv_cc_sse2avx): Likewise.
39567         (libc_cv_cc_fma4): Likewise.
39568         (libc_cv_cc_novzeroupper): Likewise.
39569         * sysdeps/i386/configure: Regenerated.
39570
39571         [BZ #13883]
39572         * sysdeps/i386/fpu/s_cexp.S: Remove.
39573         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39574         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39575         * math/libm-test.inc (cexp_test): Add more tests.
39576         * sysdeps/i386/fpu/libm-test-ulps: Update.
39577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39578
39579 2012-03-21  Allan McRae  <allan@archlinux.org>
39580
39581         * timezone/Makefile: Do not install iso3166.tab and zone.tab
39582
39583 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39584
39585         [BZ #13871]
39586         * math/w_exp2.c: Do not include <float.h>.
39587         (o_threshold, u_threshold): Remove.
39588         (__exp2): Calculate result before checking finiteness and calling
39589         __kernel_standard.
39590         * math/w_exp2f.c: Likewise.
39591         * math/w_exp2l.c: Likewise.
39592         * math/libm-test.inc (exp2_test): Require overflow exception for
39593         1e6 input.
39594
39595         [BZ #3866]
39596         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39597         range of signed 64-bit integers before using fistpll.  Remove
39598         checks for whether integers fit in mantissa bits.
39599         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39600         the range of signed 32-bit integers before using fistpl.  Remove
39601         checks for whether integers fit in mantissa bits.
39602         * sysdeps/i386/fpu/e_powl.S (p64): New object.
39603         (__ieee754_powl): Test for y outside the range of signed 64-bit
39604         integers before using fistpll.  Reduce 64-bit values to 63-bit
39605         ones as needed.
39606         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39607         divide-by-zero is raised for zero to large negative powers.
39608         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39609         (__ieee754_powl): Test for y outside the range of signed 64-bit
39610         integers before using fistpll.  Reduce 64-bit values to 63-bit
39611         ones as needed.
39612         * math/libm-test.inc (pow_test): Add more tests.
39613
39614 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39615
39616         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39617         <stdio-common/_itoa.h>.
39618         * debug/segfault.c: Likewise.
39619         * elf/dl-cache.c: Likewise.
39620         * elf/dl-minimal.c: Likewise.
39621         * elf/dl-misc.c: Likewise.
39622         * elf/dl-sysdep.c: Likewise.
39623         * elf/dl-version.c: Likewise.
39624         * elf/rtld.c: Likewise.
39625         * hurd/hurdsock.c: Likewise.
39626         * hurd/lookup-retry.c: Likewise.
39627         * malloc/malloc.c: Likewise.
39628         * malloc/mtrace.c: Likewise.
39629         * nscd/nscd_getgr_r.c: Likewise.
39630         * nscd/nscd_getpw_r.c: Likewise.
39631         * nscd/nscd_getserv_r.c: Likewise.
39632         * posix/getopt_init.c: Likewise.
39633         * posix/wordexp.c: Likewise.
39634         * stdio-common/_itoa.c: Likewise.
39635         * stdio-common/printf_fphex.c: Likewise.
39636         * stdio-common/vfprintf.c: Likewise.
39637         * string/_strerror.c: Likewise.
39638         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39639         * sysdeps/i386/i686/hp-timing.h: Likewise.
39640         * sysdeps/mach/_strerror.c: Likewise.
39641         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39642         * sysdeps/mach/hurd/sethostid.c: Likewise.
39643         * sysdeps/mach/hurd/xmknodat.c: Likewise.
39644         * sysdeps/mach/xpg-strerror.c: Likewise.
39645         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39646         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39647         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39648         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39649         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39650         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39651         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39652         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39653         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39654         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39655         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39656         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39657         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39658         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39659         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39660         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39661         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39662         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39663         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39664         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39665         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39666
39667         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39668
39669         * stdio-common/_itoa.h: Moved to ...
39670         * sysdeps/generic/_itoa.h: Here.
39671
39672         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39673
39674         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39675         instead of "_itoa.h" and "_itowa.h".
39676         * stdio-common/vfprintf.: Likewise.
39677
39678 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39679
39680         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39681         <bits/wordsize.h>.
39682         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39683         (__signbit): Likwise.
39684         (llrintf): Likwise.
39685         (llrint): Likwise.
39686
39687 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39688
39689         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39690         __WORDSIZE != 64.
39691
39692 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
39693
39694         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39695         OVERFLOW_EXCEPTION_OK.
39696         * math/libm-test.inc ("Philosophy"): Update comment about
39697         exception testing.
39698         (OVERFLOW_EXCEPTION): Define.
39699         (OVERFLOW_EXCEPTION_OK): Likewise.
39700         (INVALID_EXCEPTION_OK): Renumber.
39701         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39702         (IGNORE_ZERO_INF_SIGN): Likewise.
39703         (test_exceptions): Handle FE_OVERFLOW.
39704         (exp10_test): Expect overflow exceptions.
39705         (exp2_test): Likewise.
39706         (expm1_test): Likewise.
39707         (nextafter_test): Likewise.
39708         (pow_test): Likewise.
39709         (scalbn_test): Likewise.
39710         (scalbln_test): Likewise.
39711
39712 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39713
39714         * sysdeps/x86_64/bits/atomic.h
39715         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39716         64bit integer.
39717         (atomic_exchange_acq): Likewise.
39718         (__arch_exchange_and_add_body): Likewise.
39719         (__arch_add_body): Likewise.
39720         (atomic_add_negative): Likewise.
39721         (atomic_add_zero): Likewise.
39722
39723 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39724
39725         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39726         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39727
39728 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39729
39730         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39731         Check __x86_64__ instead of __WORDSIZE.
39732
39733 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39734
39735         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39736
39737 2012-03-19  David S. Miller  <davem@davemloft.net>
39738
39739         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39740
39741         * sysdeps/sparc/fpu/fenv_private.h: New file.
39742         * sysdeps/sparc/fpu/math_private.h: Use it.
39743         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39744         Remove.
39745         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39746         (libc_feholdexcept_setroundl): Remove.
39747         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39748         Remove.
39749         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39750         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39751
39752 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39753
39754         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39755         int64_t instead of long int.
39756         (INSERT_WORDS64): Likwise.
39757
39758 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39759
39760         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39761         _Unwind_GetCFA return to _Unwind_Ptr first.
39762
39763 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
39764
39765         [BZ #13629]
39766         * math/s_clog.c: Include <float.h>.
39767         (__clog): Scale large or subnormal inputs.
39768         * math/s_clogf.c: Likewise.
39769         * math/s_clogl.c: Likewise.
39770         * math/s_clog10.c: Include <float.h>.
39771         (M_LOG10_2): Define.
39772         (__clog10): Scale large or subnormal inputs.
39773         * math/s_clog10f.c: Likewise.
39774         * math/s_clog10l.c: Likewise.
39775         * math/libm-test.inc (clog_test): Add more tests.
39776         (clog10_test): Likewise.
39777         * sysdeps/i386/fpu/libm-test-ulps: Update.
39778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39779
39780         [BZ #11451]
39781         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39782         x and y.
39783         * math/libm-test.inc (atan2_test): Add another test.
39784
39785         * Makerules (common-objdir-compile): Remove.
39786         * sysdeps/unix/Makefile (config-generated): Do not add
39787         $(unix-generated) to variable.
39788         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39789         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39790         Remove rule.
39791         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39792         Likewise.
39793         [generic bits/local_lim.h] (before-compile): Do not append to
39794         variable.
39795         [generic bits/local_lim.h] (common-generated): Likewise.
39796         [generic sys/param.h] (before-compile): Do not append to variable.
39797         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39798         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39799         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39800         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39801         include.
39802         [generic sys/param.h] (sys/param.h-includes): Remove variable.
39803         [generic sys/param.h] (sys/param.h-includes): Remove rule.
39804         [generic sys/param.h] ($(addprefix
39805         $(common-objpfx),$(sys/param.h-includes))): Likewise.
39806         [generic sys/param.h] (common-generated): Do not append to
39807         variable.
39808         [generic sys/param.h] (sysdep_headers): Likewise.
39809         [generic bits/errno.h] (before-compile): Do not append to
39810         variable.
39811         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39812         rule.
39813         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39814         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39815         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39816         [generic bits/errno.h] (common-generated): Do not append to
39817         variable.
39818         [generic bits/ioctls.h] (before-compile): Do not append to
39819         variable.
39820         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39821         rule.
39822         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39823         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39824         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39825         rule.
39826         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39827         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39828         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39829         [generic bits/ioctls.h] (common-generated): Do not append to
39830         variable.
39831         [generic sys/syscall.h] (syscall.h): Remove variable.
39832         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39833         rule.
39834         [generic sys/syscall.h] (before-compile): Do not append to
39835         variable.
39836         [generic sys/syscall.h] (common-generated): Likewise.
39837         * sysdeps/unix/errnos-tmpl.c: Remove file.
39838         * sysdeps/unix/errnos.awk: Likewise.
39839         * sysdeps/unix/ioctls-tmpl.c: Likewise.
39840         * sysdeps/unix/ioctls.awk: Likewise.
39841         * sysdeps/unix/mk-local_lim.c: Likewise.
39842         * sysdeps/unix/snarf-ioctls: Likewise.
39843
39844 2012-03-19  Richard Henderson  <rth@twiddle.net>
39845
39846         * sysdeps/i386/fpu/fenv_private.h: New file.
39847         * sysdeps/i386/fpu/math_private.h: Use it.
39848         (math_opt_barrier, math_force_eval): Remove.
39849         (libc_feholdexcept_setround_53bit): Remove.
39850         (libc_feupdateenv_53bit): Remove.
39851         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39852         (math_opt_barrier, math_force_eval): Remove.
39853         (libc_feholdexcept): Remove.
39854         (libc_feholdexcept_setround): Remove.
39855         (libc_fetestexcept, libc_fesetenv): Remove.
39856         (libc_feupdateenv_test): Remove.
39857         (libc_feupdateenv, libc_feholdsetround): Remove.
39858         (libc_feresetround): Remove.
39859
39860         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39861         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39862
39863         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39864         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39865         (libc_feupdateenv_testl): New.
39866         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39867         (libc_feupdateenv_testf): New.
39868         (libc_feupdateenv): Use libc_feupdateenv_test.
39869         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39870         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39871
39872         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39873         (libc_feholdsetroundf, libc_feholdsetroundl): New.
39874         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39875         (libc_feresetround_noex): New.
39876         (libc_feresetround_noexf): New.
39877         (libc_feresetround_noexl): New.
39878         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39879         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39880         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39881         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39882         SET_RESTORE_ROUND.
39883         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39884         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39885         (__cos): Likewise.
39886         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39887         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39888         SET_RESTORE_ROUND_NOEX.
39889         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39890         SET_RESTORE_ROUND_NOEXF.
39891         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39892         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39893         (libc_feholdsetroundf): New.
39894         (libc_feresetround, libc_feresetroundf): New.
39895
39896         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39897         (libc_feholdexcept_setround_53bit): Convert from macro to function.
39898         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
39899
39900         * sysdeps/generic/math_private.h: Include <fenv.h>.
39901         (default_libc_feholdexcept): New.
39902         (default_libc_feholdexcept_setround): New.
39903         (default_libc_fesetenv, default_libc_feupdateenv): New.
39904         (libc_feholdexcept): Only define if undefined.
39905         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39906         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39907         (libc_feholdexcept_setroundl): Likewise.
39908         (libc_feholdexcept_setround_53bit): Likewise.
39909         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39910         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39911         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39912         (libc_feupdateenv_53bit): Likewise.
39913         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39914         (libc_feholdexcept): Convert from macro to inline function.
39915         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39916         (libc_fesetenv, libc_feupdateenv): Likewise.
39917
39918         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39919         not previously defined.
39920         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39921         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39922         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39923         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39924         * sysdeps/ieee754/flt-32/math_private.h: New file.
39925         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39926         math_private.h below SET_FLOAT_WORD.
39927         (__isnan, __isinf_ns, __finite): Remove.
39928         (__isnanf, __isinf_nsf, __finitef): Remove.
39929
39930 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
39931
39932         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39933
39934 2012-03-17  David S. Miller  <davem@davemloft.net>
39935
39936         [BZ #6471]
39937         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39938         for 2.16.
39939
39940 2012-03-16  David S. Miller  <davem@davemloft.net>
39941
39942         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39943         warnings.
39944
39945         [BZ #6471]
39946         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39947         properly.
39948         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39949         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39950         sysdep_routines when subdir is sysvipc.
39951         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39952         __getshmlba helper.
39953
39954         * sysdeps/sparc/fpu/libm-test/ulps: Update.
39955
39956 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39957
39958         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39959         [__LP64__].
39960
39961 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39962
39963         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39964         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39965         (__lround): Renamed to ...
39966         (__llround): This.  Replace long int with long long int.
39967         Define lround functions as aliases of llround functions.
39968         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39969
39970 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39971
39972         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39973         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
39974         adresses to uintptr_t.  Replace "long int" and "unsigned long
39975         int" with "greg_t" on va_arg.
39976
39977 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39978
39979         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39980         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39981
39982         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39983         Move e_machine check before EI_CLASS check.  Handle x32
39984         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39985         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39986         SKIP_EM_IA_64 and include
39987         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39988
39989         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39990         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39991         (add_system_dir): New macro.
39992
39993         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39994         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39995
39996 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39997
39998         [BZ #2551]
39999         [BZ #2552]
40000         [BZ #2553]
40001         [BZ #2554]
40002         [BZ #2562]
40003         [BZ #2563]
40004         [BZ #2565]
40005         [BZ #2566]
40006         [BZ #2576]
40007         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40008         (y0): Likewise.
40009         * math/w_j0f.c (j0f): Likewise.
40010         (y0f): Likewise.
40011         * math/w_j0l.c (__j0l): Likewise.
40012         (__y0l): Likewise.
40013         * math/w_j1.c (j1): Likewise.
40014         (y1): Likewise.
40015         * math/w_j1f.c (j1f): Likewise.
40016         (y1f): Likewise.
40017         * math/w_j1l.c (__j1l): Likewise.
40018         (__y1l): Likewise.
40019         * math/w_jn.c (jn): Likewise.
40020         (yn): Likewise.
40021         * math/w_jnf.c (jnf): Likewise.
40022         (ynf): Likewise.
40023         * math/w_jnl.c (__jnl): Likewise.
40024         (__ynl): Likewise.
40025         * math/libm-test.inc (j0_test): Add more tests.
40026         (j1_test): Likewise.
40027         (jn_test): Likewise.  Add trailing semicolon to existing test.
40028         (y0_test): Likewise.
40029         (y1_test): Likewise.
40030         * sysdeps/i386/fpu/libm-test-ulps: Update.
40031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40032
40033         [BZ #13851]
40034         [BZ #13854]
40035         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40036         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40037         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40038         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40039         (__tanl): Set errno for infinite argument.
40040         * sysdeps/i386/fpu/mptan.c: Remove.
40041         * sysdeps/i386/fpu/s_tan.S: Likewise.
40042         * sysdeps/i386/fpu/s_tanl.S: Likewise.
40043         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40044         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40045         * math/libm-test.inc (tan_test): Add more tests and enable more
40046         tests for double and long double.
40047         * sysdeps/i386/fpu/libm-test-ulps: Update.
40048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40049
40050 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
40051
40052         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40053         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40054
40055 2012-03-16  Roland McGrath  <roland@hack.frob.com>
40056
40057         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40058         * configure.in: Use it for both main tree and add-ons.
40059         * configure: Regenerated.
40060
40061 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40062
40063         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40064
40065 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40066
40067         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40068         in comment.
40069
40070         [BZ #13851]
40071         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40072         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40073         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40074         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40075         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40076         infinite argument.
40077         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40078         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40079         != 0 for prec == 2.
40080         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40081         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40082         * sysdeps/i386/fpu/s_cosl.S: Likewise.
40083         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40084         * sysdeps/i386/fpu/s_sinl.S: Likewise.
40085         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40086         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40087         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40088         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40089         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40090         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40091         * math/libm-test.inc (cos_test): Add more tests and enable more
40092         tests for long double.
40093         (sin_test): Likewise.
40094         (sincos_test): Likewise.
40095         * sysdeps/i386/fpu/libm-test-ulps: Update.
40096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40097
40098 2012-03-16  David S. Miller  <davem@davemloft.net>
40099
40100         * sysdeps/sparc/fpu/math_private.h: New file.
40101
40102 2012-03-15  David S. Miller  <davem@davemloft.net>
40103
40104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40105         file.
40106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40108         file.
40109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40110         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40111         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40112         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40113         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40114         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40115         sysdep routines.
40116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40117
40118         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40119         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40120
40121         * sysdeps/sparc/sparc-ifunc.h: New file.
40122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40123         sparc-ifunc.h
40124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40126         Likewise.
40127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40128         Likewise.
40129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40133         Likewise.
40134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40139         Likewise.
40140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40141         Likewise.
40142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40146         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40147         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40148         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40149         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40150         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40151         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40152         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40153         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40154         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40155         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40156         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40157         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40158         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40159         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40160         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40161         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40162         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40163         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40164         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40165         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40166
40167 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40168
40169         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40170         scaling.
40171         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40172
40173 2012-03-15  Andreas Jaeger  <aj@suse.de>
40174
40175         [BZ #13852]
40176         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40177         ieee754/flt-32 implementation for sin, cos and sincos.
40178         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40179         * sysdeps/i386/fpu/s_cosf.S: Likewise.
40180         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40181         * sysdeps/i386/fpu/s_sinf.S: Likewise.
40182         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40183         ieee754/flt-32 implementation for tan.
40184
40185         * math/libm-test.inc (cos_test): Enable some large input tests for
40186         float as well
40187         (sin_test): Likewise.
40188         (sincos_test): Likewise.
40189         (tan_test): Add tests for large input.
40190
40191         * sysdeps/i386/fpu/libm-test-ulps: Update.
40192
40193 2012-03-15  Andreas Jaeger  <aj@suse.de>
40194
40195         [BZ #13658]
40196         * math/libm-test.inc (cos_test): Add more test cases.
40197         (sin_test): Likewise.
40198         (sincos_test): Likewise.
40199
40200 2012-03-15  Andreas Jaeger  <aj@suse.de>
40201
40202         [BZ #13837]
40203         * math/libm-test.inc (cos_test): Add a test case for large input
40204         value.
40205         (sin_test): Likewise.
40206         (sincos_test): Likewise.
40207
40208 2012-03-15  Andreas Jaeger  <aj@suse.de>
40209             Joseph Myers  <joseph@codesourcery.com>
40210
40211         [BZ #13658]
40212         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40213         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40214         * sysdeps/i386/fpu/branred.c: Likewise.
40215         * sysdeps/i386/fpu/dosincos.c: Likewise.
40216         * sysdeps/i386/fpu/mpa.c: Likewise.
40217         * sysdeps/i386/fpu/s_cos.S: Likewise.
40218         * sysdeps/i386/fpu/s_sin.S: Likewise.
40219         * sysdeps/i386/fpu/s_sincos.S: Likewise.
40220         * sysdeps/i386/fpu/sincos32.c: Likewise.
40221
40222         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40223         Define.
40224         (libc_feupdateenv_53bit): Define.
40225         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40226         Define.
40227         (libc_feupdateenv_53bit): Define.
40228
40229         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40230         53 bit (without extend i386 double precision).
40231
40232         * math/libm-test.inc (sincos_test): Add tests for large input.
40233         (sin): Likewise.
40234         (cos): Likewise.
40235
40236         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40237
40238 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40239
40240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40241
40242 2012-03-15  David S. Miller  <davem@davemloft.net>
40243
40244         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40245         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40246         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40247         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40252         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40253         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40254         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40255         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40256         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40257         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40258         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40260         file.
40261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40263         file.
40264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40266         file.
40267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40269         file.
40270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40271         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40272         fmin/fmax sysdep routines.
40273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40274
40275 2012-03-14  David S. Miller  <davem@davemloft.net>
40276
40277         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40278         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40279         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40280         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40281         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40282         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40283         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40284         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40285         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40286         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40287         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40288         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40289         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40290         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40291         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40292         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40293         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40294         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40295         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40296         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40297         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40298         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40299         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40300         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40301         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40302         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40303         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40304         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40305         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40306         routines.
40307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40308         file.
40309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40311         file.
40312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40314         file.
40315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40317         file.
40318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40320         file.
40321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40323         file.
40324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40325         file.
40326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40327         file.
40328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40329         file.
40330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40331         New file.
40332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40333         file.
40334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40335         file.
40336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40338         file.
40339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40341         file.
40342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40344         file.
40345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40347         VIS3 routines.
40348
40349         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40350         New file.
40351
40352         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40353
40354         * sysdeps/sparc/configure.in: New file.
40355         * sysdeps/sparc/configure: Generate.
40356         * configure.in (libc_cv_sparc_as_vis3): Substitute.
40357         * configure: Regenerate.
40358         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40359         * config.make.in (have-as-vis3): New.
40360         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40361         available use -Av9d instead of -Av9a.
40362         * sysdeps/sparc/sparc64/Makefile: Likewise.
40363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40365         New file.
40366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40367         file.
40368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40369         New file.
40370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40371         file.
40372         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40373         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40374         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40375         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40376         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40377
40378         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40379         fzeros/fnegs to load 0x80000000 into a float register instead of
40380         using the stack.
40381         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40382
40383 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40384
40385         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40386         bits/syscall.h.
40387         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40388         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40389         ($(inst_includedir)/bits/syscall.h): Remove rule.
40390         ($(objpfx)bits/syscall.d): Include instead of
40391         $(objpfx)syscall-list.d.
40392         (generated): Change syscall-list.h and syscall-list.d to
40393         bits/syscall.h and bits/syscall.d.
40394
40395 2012-03-14  Roland McGrath  <roland@hack.frob.com>
40396
40397         [BZ #13846]
40398         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40399
40400 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40401
40402         [BZ #13841]
40403         * math/s_csqrt.c: Include <float.h>.
40404         (__csqrt): Scale large or subnormal inputs.
40405         * math/s_csqrtf.c: Likewise.
40406         * math/s_csqrtl.c: Likewise.
40407         * math/libm-test.inc (csqrt_test): Add more tests.
40408         * sysdeps/i386/fpu/libm-test-ulps: Update.
40409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40410
40411         [BZ #13840]
40412         * math/libm-test.inc (hypot_test): Add more tests.
40413
40414 2012-03-13  David S. Miller  <davem@davemloft.net>
40415
40416         [BZ #13840]
40417         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40418         double-precision for the calculation instead of scaling.
40419
40420 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
40421
40422         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40423         manipulate bits before adding and subtracting TWO52[sx].
40424         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40425         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40426         Likewise.
40427         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40428
40429 2012-03-13  David S. Miller  <davem@davemloft.net>
40430
40431         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40432         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40433         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40434         rtld-global-offsets.h
40435         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40436
40437         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40438         large parameters.
40439
40440         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40441
40442         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40443         'err' in the ifdef scope in which it is actually used.
40444
40445         * nss/nss_db/db-init.c: Include string.h
40446
40447 2012-03-12  David S. Miller  <davem@davemloft.net>
40448
40449         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40450         masking out of the most significant byte of random value used.
40451         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40452         Fix coding style in previous change.
40453
40454         * sysdeps/unix/sysv/linux/kernel-features.h
40455         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40456         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40457         expression.
40458         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40459         later.
40460
40461 2012-03-11  David S. Miller  <davem@davemloft.net>
40462
40463         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40464         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40465         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40466         for 'resultvar' otherwise things get truncated on 64-bit.
40467
40468         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40469         Fix masking out of the most significant byte of random value used.
40470
40471         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40472
40473 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
40474
40475         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40476
40477 2012-03-09  David S. Miller  <davem@davemloft.net>
40478
40479         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40480         variables with appropriate CPP guards.
40481         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40482         from the frame pointer, not the stack pointer.  Correct layout
40483         comments.  Fix test on resulting framesize and the management of
40484         the outregs buffer for pltexit.  Preserve floating point return
40485         values across _dl_call_pltexit call.
40486         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40487         framesize and the management of the outregs buffer for pltexit.
40488         Preserve floating point return values across _dl_call_pltexit
40489         call.
40490         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40491         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40492         (la_sparc64_gnu_pltexit): New functions.
40493         (print_exit): Fix format string for return register value.
40494
40495 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
40496
40497         * sunrpc/Makefile (others): Add rpcgen.
40498         ($(objpfx)rpcgen): Remove special build rule and dependency on
40499         libc.
40500         * sunrpc/rpcgen.c: New file.
40501
40502 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
40503
40504         [BZ #13673]
40505         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40506         * stdio-common/bug-vfprintf-nargs.c: Likewise.
40507         * sysdeps/i386/crti.S: Likewise.
40508         * sysdeps/i386/crtn.S: Likewise.
40509         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40510         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40511         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40512         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40513         * sysdeps/sh/crti.S: Likewise.
40514         * sysdeps/sh/crtn.S: Likewise.
40515         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40516
40517         [BZ #13673]
40518         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40519         with URL.
40520         * locale/programs/locfile-kw.gperf: Likewise.
40521         * locale/programs/charmap-kw.h: Regenerated.
40522         * locale/programs/locfile-kw.h: Likewise.
40523
40524         [BZ #13673]
40525         * intl/plural.y: Replace FSF snail mail address with URL.
40526         * intl/plural.c: Regenerated.
40527
40528 2012-03-09  Richard Henderson  <rth@twiddle.net>
40529
40530         * include/math_private.h: Remove file.
40531         * math/math_private.h: Move file ...
40532         * sysdeps/generic/math_private.h: ... here.
40533
40534         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40535         * sysdeps/powerpc/fpu/math_private.h: Likewise.
40536         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40537
40538         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40539         and <math_private.h>.
40540         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40541         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40542         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40543         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40544         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40545         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40546         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40547         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40548         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40549         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40550         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40551         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40552         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40553         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40554         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40555         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40556         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40557         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40558         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40559         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40560         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40561         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40562         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40563         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40564         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40565         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40566         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40567         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40568         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40569         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40570         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40571         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40572         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40573         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40574         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40575         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40576         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40577         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40578         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40579         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40580         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40581         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40582         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40583         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40584         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40585         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40586         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40587         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40588         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40589         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40590         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40591         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40592         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40593         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40594         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40595         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40596         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40597         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40598         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40599         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40600         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40601         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40602         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40603         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40604         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40605         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40606         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40607         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40608         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40609         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40610         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40611         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40612         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40613         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40614         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40615         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40616         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40617         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40618         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40619         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40620         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40621         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40622         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40623         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40624         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40625         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40626         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40627         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40628         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40629         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40630         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40631         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40632         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40633         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40634         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40635         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40636         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40637         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40638         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40639         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40640         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40641         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40642         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40643         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40644         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40645         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40646         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40647         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40648         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40649         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40650         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40651         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40652         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40653         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40654         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40655         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40656         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40657         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40658         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40659         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40660         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40661         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40662         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40663         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40664         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40665         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40666         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40667         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40668         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40669         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40670         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40671         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40672         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40673         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40674         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40675         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40676         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40677         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40678         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40679         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40680         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40681         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40682         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40683         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40684         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40685         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40686         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40687         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40688         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40689         * sysdeps/ieee754/k_standard.c: Likewise.
40690         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40691         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40692         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40693         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40694         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40695         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40696         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40697         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40698         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40699         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40700         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40701         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40702         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40703         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40704         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40705         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40706         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40707         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40708         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40709         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40710         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40711         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40712         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40713         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40714         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40715         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40716         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40717         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40718         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40719         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40720         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40721         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40722         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40723         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40724         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40725         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40726         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40727         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40728         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40729         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40730         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40731         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40732         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40733         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40734         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40735         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40736         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40737         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40738         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40739         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40740         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40741         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40742         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40743         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40744         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40745         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40746         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40747         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40748         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40749         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40750         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40751         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40752         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40753         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40754         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40755         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40756         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40757         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40758         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40759         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40760         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40761         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40762         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40763         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40764         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40765         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40766         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40767         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40768         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40769         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40770         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40771         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40772         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40773         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40774         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40775         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40776         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40777         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40778         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40779         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40780         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40781         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40782         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40783         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40784         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40785         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40786         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40787         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40788         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40789         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40790         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40791         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40792         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40793         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40794         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40795         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40796         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40797         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40798         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40799         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40800         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40801         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40802         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40803         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40804         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40805         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40806         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40807         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40808         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40809         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40810         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40811         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40812         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40813         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40814         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40815         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40816         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40817         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40818         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40819         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40820         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40821         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40822         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40823         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40824         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40825         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40826         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40827         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40828         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40829         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40830         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40831         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40832         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40833         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40834         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40835         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40836         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40837         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40838         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40839         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40840         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40841         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40842         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40843         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40844         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40845         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40846         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40847         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40848         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40849         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40850         * sysdeps/ieee754/s_lib_version.c: Likewise.
40851         * sysdeps/ieee754/s_matherr.c: Likewise.
40852         * sysdeps/ieee754/s_signgam.c: Likewise.
40853         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40854         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40855         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40856         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40857         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40858         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40859         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40860         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40861         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40862         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40863         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40864         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40865         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40866         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40867         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40868         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40869         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40870         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40871         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40872         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40873         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40874
40875 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40876
40877         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40878         * sunrpc/rpc_main.c: Likewise.
40879         * sunrpc/rpc_svcout.c: Likewise.
40880
40881 2012-03-09  David S. Miller  <davem@davemloft.net>
40882
40883         * include/math_private.h: New file.
40884
40885 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40886
40887         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40888         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40889         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40890         from <bits/socket_type.h>.
40891         (enum __socket_type): Don't define here.
40892         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40893         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40894         bits/socket_type.h.
40895
40896         [BZ #13566]
40897         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40898         checking __USE_GNU.
40899
40900         * Makerules ($(inst_includedir)/%.h): New rule.
40901         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40902         (install-others): Remove variable setting.
40903         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40904
40905 2012-03-08  Richard Henderson  <rth@twiddle.net>
40906
40907         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40908         from macro to inline function; merge with the
40909         !__LIBC_INTERNAL_MATH_INLINES version.
40910         (__ieee754_sqrtf): Likewise.
40911
40912         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40913         to inline function.
40914         (__rintf, __floor, __floorf): Likewise.
40915
40916         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40917         macro to inline function.
40918         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40919
40920         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40921         not <math/math_private.h>.
40922
40923 2012-03-08  David S. Miller  <davem@davemloft.net>
40924
40925         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40926         copyright year.
40927         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40928
40929 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
40930
40931         * resolv/gai_misc.c (handle_requests): Fix struct timespec
40932         normalization.
40933         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40934         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40935
40936 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
40937
40938         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
40939         be defined individually, they must be defined as a block.  Define
40940         S for printing a string instead of hidint the different by using a
40941         macro for adding the 'l'.
40942         * stdio-common/tst-fphex-wide.c: Adjust.
40943
40944 2012-03-07  Marek Polacek  <polacek@redhat.com>
40945
40946         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40947
40948 2012-03-08  Marek Polacek  <polacek@redhat.com>
40949
40950         [BZ #13806]
40951         * stdio-common/Makefile (tests): Add tst-fphex-wide.
40952         * stdio-common/tst-fphex.c: Define a few macros to make the
40953         test reusable.  Use them.
40954         * stdio-common/tst-fphex-wide.c: New file.
40955
40956 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
40957
40958         [BZ #6911]
40959         * manual/macros.texi (gnusystems): New macro.
40960         (nongnusystems): Likewise.
40961         (gnulinuxhurdsystems): Likewise.
40962         (gnuhurdsystems): Likewise..
40963         (gnulinuxsystems): Likewise.
40964         * manual/charset.texi: Use new macros or @theglibc{} to refer to
40965         variants of the GNU system, not "GNU system".
40966         * manual/conf.texi: Likewise.
40967         * manual/errno.texi: Likewise.  Update example of errno macro
40968         expansion.
40969         * manual/filesys.texi: Likewise.
40970         (getumask): Document as specific to GNU/Hurd.
40971         * manual/install.texi: Likewise.  Reword some references to
40972         GNU/Linux.
40973         * manual/intro.texi: Likewise.
40974         * manual/io.texi: Likewise.
40975         (File Name Portability): Detail which constraints are inapplicable
40976         to all GNU systems and which are only inapplicable to GNU/Hurd.
40977         * manual/job.texi: Likewise.
40978         * manual/llio.texi: Likewise.
40979         (O_NOCTTY): Document as present on GNU/Linux.
40980         * manual/maint.texi: Likewise.
40981         * manual/memory.texi: Likewise.
40982         * manual/pattern.texi: Likewise.
40983         * manual/pipe.texi: Likewise.
40984         * manual/process.texi: Likewise.
40985         * manual/resource.texi: Likewise.
40986         (RUSAGE_CHILDREN): Remove statement about specifying a particular
40987         child on GNU/Hurd.
40988         * manual/setjmp.texi: Likewise.
40989         * manual/signal.texi: Likewise.
40990         * manual/startup.texi: Likewise.
40991         * manual/stdio.texi: Likewise.
40992         * manual/terminal.texi: Likewise.
40993         (ONLCR): Document as POSIX.
40994         (OXTABS): Document availability on GNU/Linux as XTABS.
40995         (ONOEOT): Document availability separately from other bits.
40996         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40997         * manual/time.texi: Likewise.
40998         * manual/users.texi: Likewise.
40999         * INSTALL: Regenerated.
41000         * sysdeps/gnu/errlist.c: Regenerated.
41001
41002         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41003         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41004         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
41005         puts.
41006         * configure: Regenerated.
41007
41008 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
41009
41010         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41011         default includes instead of AC_HEADER_CHECK.
41012         * sysdeps/i386/configure: Regenerated.
41013
41014         [BZ #10716]
41015         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41016         * math/s_cacoshf.c (__cacoshf): Likewise.
41017         * math/s_cacoshl.c (__cacoshl): Likewise.
41018         * math/s_casinh.c (__casinh): Set signs of result from argument.
41019         * math/s_casinhf.c (__casinhf): Likewise.
41020         * math/s_casinhl.c (__casinhl): Likewise.
41021         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41022         (casinh_test): Add more tests.
41023         * sysdeps/i386/fpu/libm-test-ulps: Update.
41024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41025
41026 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
41027
41028         * po/zh_TW.po: Update from translation team.
41029
41030         * login/Makefile (distribute): Remove variable.
41031         * catgets/Makefile: Likewise.
41032         * mach/Makefile: Likewise.
41033         * malloc/Makefile: Likewise.
41034         * misc/Makefile: Likewise.
41035         * iconv/Makefile: Likewise.
41036         * nscd/Makefile: Likewise.
41037         * hurd/Makefile: Likewise.
41038         * manual/Makefile: Likewise.
41039         * locale/Makefile: Likewise.
41040         * intl/Makefile: Likewise.
41041         * conform/Makefile: Likewise.
41042         * nss/Makefile: Likewise.
41043         * time/Makefile: Likewise.
41044         * soft-fp/Makefile: Likewise.
41045         * dirent/Makefile: Likewise.
41046         * gmon/Makefile: Likewise.
41047         * po/Makefile: Likewise.
41048         * rt/Makefile: Likewise.
41049         * socket/Makefile: Likewise.
41050         * math/Makefile: Likewise.
41051         * signal/Makefile: Likewise.
41052         * debug/Makefile: Likewise.
41053         * elf/Makefile: Likewise.
41054         * timezone/Makefile: Likewise.
41055         * stdlib/Makefile: Likewise.
41056         * iconvdata/Makefile: Likewise.
41057         * sunrpc/Makefile: Likewise.
41058         * io/Makefile: Likewise.
41059         * argp/Makefile: Likewise.
41060         * inet/Makefile: Likewise.
41061         * hesiod/Makefile: Likewise.
41062         * grp/Makefile: Likewise.
41063         * csu/Makefile: Likewise.
41064         * wctype/Makefile: Likewise.
41065         * crypt/Makefile: Likewise.
41066         * libio/Makefile: Likewise.
41067         * string/Makefile: Likewise.
41068         * nis/Makefile: Likewise.
41069         * resolv/Makefile: Likewise.
41070         * stdio-common/Makefile: Likewise.
41071         * wcsmbs/Makefile: Likewise.
41072         * dlfcn/Makefile: Likewise.
41073         * posix/Makefile: Likewise.
41074
41075         [BZ #6959]
41076         * timezone/Makefile: Don't install timezone files, just the programs
41077         and scripts.
41078
41079 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
41080
41081         * nss/databases.def: Add missing gshadow entry.
41082
41083         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
41084
41085 2012-03-06  Marek Polacek  <polacek@redhat.com>
41086
41087         [BZ #13726]
41088         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41089         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41090         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41091         * stdio-common/tst-long-dbl-fphex.c: New file.
41092
41093 2012-03-06  David S. Miller  <davem@davemloft.net>
41094
41095         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41096         (set_obp_int): New function.
41097         (get_obp_int): New function.
41098         (__get_clockfreq_via_dev_openprom): Likewise.
41099         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41100         Avoid unused variable warnings on 'val' and use builtin_expect.
41101         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41102         __builtin_expect.
41103         (INLINE_CLONE_SYSCALL): Likewise.
41104
41105 2012-03-05  David S. Miller  <davem@davemloft.net>
41106
41107         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41108
41109 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
41110
41111         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41112
41113         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41114         only for |x| >= 40.
41115         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41116
41117 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
41118
41119         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41120         Replace gettimeofday with __vdso_gettimeofday.
41121
41122         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41123         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41124         __vdso_clock_gettime and __vdso_getcpu.
41125
41126         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41127         time with __vdso_time.
41128
41129 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41130
41131         * manual/lang.texi (size_t): Note types to which size_t may be
41132         equivalent with the GNU C Library, but do not describe when
41133         differences between them are significant.
41134
41135 2012-03-05  Andreas Jaeger  <aj@suse.de>
41136
41137         * sysdeps/i386/fpu/libm-test-ulps: Update.
41138
41139 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41140
41141         [BZ #3976]
41142         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41143         (__ieee754_pow): Save and restore rounding mode and use
41144         round-to-nearest for main computations.
41145         * math/libm-test.inc (pow_test_tonearest): New function.
41146         (pow_test_towardzero): Likewise.
41147         (pow_test_downward): Likewise.
41148         (pow_test_upward): Likewise.
41149         (main): Call the new functions.
41150         * sysdeps/i386/fpu/libm-test-ulps: Update.
41151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41152
41153         [BZ #3976]
41154         * math/libm-test.inc (cosh_test_tonearest): New function.
41155         (cosh_test_towardzero): Likewise.
41156         (cosh_test_downward): Likewise.
41157         (cosh_test_upward): Likewise.
41158         (sinh_test_tonearest): Likewise.
41159         (sinh_test_towardzero): Likewise.
41160         (sinh_test_downward): Likewise.
41161         (sinh_test_upward): Likewise.
41162         (main): Call the new functions.
41163         * sysdeps/i386/fpu/libm-test-ulps: Update.
41164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41165
41166 2012-03-05  Tom de Vries  <tom@codesourcery.com>
41167
41168         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41169         default stack guard is set in last bytes.
41170         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41171
41172 2012-03-05  Kees Cook  <keescook@chromium.org>
41173
41174         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41175
41176         [BZ #13656]
41177         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41178         possibly allocate from heap instead of stack.
41179         * stdio-common/bug-vfprintf-nargs.c: New file.
41180         * stdio-common/Makefile (tests): Add nargs overflow test.
41181
41182 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
41183
41184         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41185
41186 2012-03-03  Marek Polacek  <polacek@redhat.com>
41187
41188         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41189         * math/math_private.h: Likewise.
41190         * stdlib/tst-strtod.c: Likewise.
41191         * sysdeps/i386/i486/bits/atomic.h: Likewise.
41192         * sysdeps/x86_64/bits/atomic.h: Likewise.
41193
41194 2012-03-02  David S. Miller  <davem@davemloft.net>
41195
41196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41198         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41199         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41200         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41201         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41202         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41203         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41204
41205 2012-03-02  Roland McGrath  <roland@hack.frob.com>
41206
41207         [BZ #13792]
41208         * manual/examples/README: New file, says the example source files
41209         can be used under GPL>=2.
41210         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41211         line containing just "*/".
41212         * manual/examples/add.c: Add copyright header (GPL>=2).
41213         * manual/examples/argp-ex1.c: Likewise.
41214         * manual/examples/argp-ex2.c: Likewise.
41215         * manual/examples/argp-ex3.c: Likewise.
41216         * manual/examples/argp-ex4.c: Likewise.
41217         * manual/examples/atexit.c: Likewise.
41218         * manual/examples/db.c: Likewise.
41219         * manual/examples/dir.c: Likewise.
41220         * manual/examples/dir2.c: Likewise.
41221         * manual/examples/execinfo.c: Likewise.
41222         * manual/examples/filecli.c: Likewise.
41223         * manual/examples/filesrv.c: Likewise.
41224         * manual/examples/fmtmsgexpl.c: Likewise.
41225         * manual/examples/genpass.c: Likewise.
41226         * manual/examples/inetcli.c: Likewise.
41227         * manual/examples/inetsrv.c: Likewise.
41228         * manual/examples/isockad.c: Likewise.
41229         * manual/examples/longopt.c: Likewise.
41230         * manual/examples/memopen.c: Likewise.
41231         * manual/examples/memstrm.c: Likewise.
41232         * manual/examples/mkfsock.c: Likewise.
41233         * manual/examples/mkisock.c: Likewise.
41234         * manual/examples/mygetpass.c: Likewise.
41235         * manual/examples/pipe.c: Likewise.
41236         * manual/examples/popen.c: Likewise.
41237         * manual/examples/rprintf.c: Likewise.
41238         * manual/examples/search.c: Likewise.
41239         * manual/examples/select.c: Likewise.
41240         * manual/examples/setjmp.c: Likewise.
41241         * manual/examples/sigh1.c: Likewise.
41242         * manual/examples/sigusr.c: Likewise.
41243         * manual/examples/stpcpy.c: Likewise.
41244         * manual/examples/strdupa.c: Likewise.
41245         * manual/examples/strftim.c: Likewise.
41246         * manual/examples/strncat.c: Likewise.
41247         * manual/examples/subopt.c: Likewise.
41248         * manual/examples/swapcontext.c: Likewise.
41249         * manual/examples/termios.c: Likewise.
41250         * manual/examples/testopt.c: Likewise.
41251         * manual/examples/testpass.c: Likewise.
41252         * manual/examples/timeval_subtract.c: Likewise.
41253
41254         [BZ #13792]
41255         * manual/time.texi (Elapsed Time): Move timeval_subtract example
41256         function to ...
41257         * manual/timeval_subtract.c.texi: ... here, new file.
41258
41259 2012-03-02  David S. Miller  <davem@davemloft.net>
41260
41261         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41262
41263 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
41264
41265         [BZ #3976]
41266         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41267         (__sin): Save and restore rounding mode and use round-to-nearest
41268         for all computations.
41269         (__cos): Save and restore rounding mode and use round-to-nearest
41270         for all computations.
41271         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41272         <fenv.h>.
41273         (tan): Save and restore rounding mode and use round-to-nearest for
41274         all computations.
41275         * math/libm-test.inc (cos_test_tonearest): New function.
41276         (cos_test_towardzero): Likewise.
41277         (cos_test_downward): Likewise.
41278         (cos_test_upward): Likewise.
41279         (sin_test_tonearest): Likewise.
41280         (sin_test_towardzero): Likewise.
41281         (sin_test_downward): Likewise.
41282         (sin_test_upward): Likewise.
41283         (tan_test_tonearest): Likewise.
41284         (tan_test_towardzero): Likewise.
41285         (tan_test_downward): Likewise.
41286         (tan_test_upward): Likewise.
41287         (main): Call the new functions.
41288         * sysdeps/i386/fpu/libm-test-ulps: Update.
41289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41290
41291         [BZ #10135]
41292         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41293         small n, then large n, before computing and testing k+n.
41294         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41295         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41296         Likewise.
41297         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41298         Likewise.
41299         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41300         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41301         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41302         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41303         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41304         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41305         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41306         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41307         * math/libm-test.inc (scalbn_test): Add more tests.
41308         (scalbln_test): Likewise.
41309
41310         * manual/filesys.texi (mode_t): Describe constraints on size and
41311         signedness, not exact equivalence to a particular type.
41312         (ino_t): Likewise.
41313         (ino64_t): Likewise.
41314         (dev_t): Likewise.
41315         (nlink_t): Likewise.
41316         (blkcnt_t): Likewise.
41317         (blkcnt64_t): Likewise.
41318         * manual/llio.texi (off_t): Likewise.
41319
41320         [BZ #3976]
41321         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41322         (__ieee754_exp): Save and restore rounding mode and use
41323         round-to-nearest for all computations.
41324         * math/libm-test.inc (exp_test_tonearest): New function.
41325         (exp_test_towardzero): Likewise.
41326         (exp_test_downward): Likewise.
41327         (exp_test_upward): Likewise.
41328         (main): Call the new functions.
41329         * sysdeps/i386/fpu/libm-test-ulps: Update.
41330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41331
41332 2012-03-01  Chris Demetriou  <cgd@google.com>
41333
41334         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41335         have predictable order.
41336
41337 2012-03-01  David S. Miller  <davem@davemloft.net>
41338
41339         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41340
41341         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41342         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41343         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41344         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41345
41346         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41347         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41348         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41349         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41350         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41351         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41352         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41353         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41354         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41355
41356         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41357
41358         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41359         * sysdeps/sparc/fpu/libm-test-ulps: to here.
41360         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41361
41362         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41363         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41364         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41365         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41366         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41367         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41368         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41369         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41370         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41371         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41372         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41373         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41374         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41375         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41376         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41377         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41378         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41379         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41380         * sysdeps/sparc/elf/configure: Regenerated.
41381
41382 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
41383
41384         * configure.in (AS, LD): Require binutils 2.20 or later.
41385         * configure: Regenerated.
41386         * manual/install.texi (Tools for Compilation): Give binutils 2.20
41387         as required minimum version.
41388         * INSTALL: Regenerated.
41389
41390         [BZ #2541]
41391         [BZ #4108]
41392         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41393         before squaring exponent.
41394         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41395         bottom long double and 27 bits of top long double before squaring
41396         exponent.
41397         * math/libm-test.inc (erfc_test): Add more tests.
41398         * sysdeps/i386/fpu/libm-test-ulps: Update.
41399         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41401
41402 2012-03-01  Kai Tietz  <ktietz@redhat.com>
41403
41404         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41405         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41406         containing bit-fields.
41407         * soft-fp/extended.h (_FP_UNION_E): Likewise.
41408         * soft-fp/single.h (_FP_UNION_S): Likewise.
41409         * soft-fp/double.h (_FP_UNION_D): Likewise.
41410
41411 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41412
41413         [BZ #13786]
41414         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41415         not include ../strcmp.S.
41416         [USE_AS_STRNCASECMP_L]: Likewise.
41417         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41418         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41419         * sysdeps/i386/i686/multiarch/strncase_l-c.c
41420         (__strncasecmp_l_ia32): Define as alias to
41421         __strncasecmp_l_nonascii.
41422
41423         [BZ #5794]
41424         * math/libm-test.inc (expm1_test): Add test for bug 5794.
41425         * sysdeps/i386/fpu/libm-test-ulps: Update.
41426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41427
41428         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41430
41431 2012-02-29  Jeff Law  <law@redhat.com>
41432
41433         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41434         out of bounds read.
41435
41436 2012-02-29  Marek Polacek  <polacek@redhat.com>
41437
41438         [BZ #13706]
41439         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41440         * elf/Makefile: Add rules to run tst-unused-dep.out.
41441
41442 2012-02-28  David S. Miller  <davem@davemloft.net>
41443
41444         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41445         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41446         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41447         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41448         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41449         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41450
41451 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41452
41453         * math/libm-test.inc (llround_test): Move one test from
41454         lround_test.  Use TEST_f_L in moved test.
41455         (lround_test): Move misplaced test to llround_test.  Add testcase
41456         from bug 2561.
41457
41458 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
41459
41460         * sysdeps/x86_64/fpu/e_expf.S: New file.
41461         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41462
41463 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
41464
41465         [BZ #13637]
41466         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41467         of remain_len that may cause incomplete multi-byte character and
41468         false match.
41469         * posix/bug-regex33.c: New file.
41470         * posix/Makefile (tests): Add bug-regex33.
41471
41472 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
41473
41474         * manual/macros.texi: New file.
41475         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41476         * manual/libc.texinfo: Include macros.texi.
41477         * manual/creatute.texi: Likewise.
41478         * manual/install.texi: Likewise.
41479         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41480         @glibcadj{} in references to the GNU C Library.
41481         * manual/charset.texi: Likewise.
41482         * manual/conf.texi: Likewise.
41483         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41484         when not using those macros.
41485         * manual/creature.texi: Likewise.
41486         * manual/crypt.texi: Likewise.
41487         * manual/errno.texi: Likewise.
41488         * manual/filesys.texi: Likewise.
41489         * manual/header.texi: Likewise.
41490         * manual/install.texi: Likewise.
41491         * manual/intro.texi: Likewise.
41492         * manual/io.texi: Likewise.
41493         * manual/job.texi: Likewise.
41494         * manual/lang.texi: Likewise.
41495         * manual/libc.texiinfo: Likewise.
41496         * manual/llio.texi: Likewise.
41497         * manual/locale.texi: Likewise.
41498         * manual/maint.texi: Likewise.
41499         * manual/math.texi: Likewise.
41500         * manual/memory.texi: Likewise.
41501         * manual/message.texi: Likewise.
41502         * manual/nss.texi: Likewise.
41503         * manual/pattern.texi: Likewise.
41504         * manual/process.texi: Likewise.
41505         * manual/resource.texi: Likewise.
41506         * manual/search.texi: Likewise.
41507         * manual/setjmp.texi: Likewise.
41508         * manual/signal.texi: Likewise.
41509         * manual/socket.texi: Likewise.
41510         * manual/startup.texi: Likewise.
41511         * manual/stdio.texi: Likewise.
41512         * manual/string.texi: Likewise.
41513         * manual/sysinfo.texi: Likewise.
41514         * manual/syslog.texi: Likewise.
41515         * manual/terminal.texi: Likewise.
41516         * manual/time.texi: Likewise.
41517         * manual/users.texi: Likewise.
41518         * INSTALL: Regenerated.
41519         * NOTES: Regenerated.
41520         * sysdeps/gnu/errlist.c: Regenerated.
41521
41522 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
41523
41524         * include/dirent.h: Include <dirstream.h> before
41525         <dirent/dirent.h>.
41526
41527 2012-02-28  David S. Miller  <davem@davemloft.net>
41528
41529         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41530         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41531         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41532         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41533
41534 2012-02-27  David S. Miller  <davem@davemloft.net>
41535
41536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41538         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41539         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41540
41541         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41542         frame pointer instead of stack pointer relative arg slot.
41543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41544         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41545         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41546
41547 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
41548
41549         [BZ #3992]
41550         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41551
41552 2012-02-27  David S. Miller  <davem@davemloft.net>
41553
41554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41557         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41558         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41559         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41560         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41561         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41562
41563 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41564
41565         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41566         later.  Allow versions 5-9.
41567         * configure: Regenerated.
41568         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41569         required minimum version and 4.6 as recommended version.  Do not
41570         mention bugs in GCC 2.7 and 2.8.
41571         * INSTALL: Regenerated.
41572
41573 2012-02-27  David S. Miller  <davem@davemloft.net>
41574
41575         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41579         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41580         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41581         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41582         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41583
41584         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41585         manipulate bits before adding and subtracting TWO112[sx].
41586         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41587
41588 2012-02-27  Roland McGrath  <roland@hack.frob.com>
41589
41590         [BZ #13775]
41591         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41592         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41593         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41594         being in POSIX, because they are in 1003.1-2008.
41595
41596         * rt/tst-aio.c: Include <fcntl.h>.
41597         * rt/tst-aio7.c: Likewise.
41598         * rt/tst-aio64.c: Likewise.
41599
41600         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41601
41602 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41603
41604         * manual/install.texi (--with-headers): Describe headers as
41605         interface headers, not private headers.
41606         (Specific advice for GNU/Linux systems): Describe use of headers
41607         from "make headers_install", not private headers from older
41608         kernels.
41609         * INSTALL: Regenerated.
41610         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41611         Change to 2.6.19.
41612         * sysdeps/unix/sysv/linux/configure: Regenerated.
41613
41614         * manual/llio.texi (fclean): Remove documentation.
41615
41616         * manual/Makefile (libc-texi-generated): New variable.  Include
41617         version.texi.
41618         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41619         $(libc-texi-generated), not duplicated list of files.
41620         (version.texi, stamp-version): New rules.
41621         (realclean): Remove $(libc-texi-generated), not individual files
41622         from that list.  Do not remove dir-add.texinfo.
41623         * manual/libc.texinfo: Comment out uses of edition numbers and
41624         references to printed manual.  Remove last-updated dates.
41625         (EDITION): Comment out.
41626         (ISBN): Likewise.
41627         (VERSION, UPDATED): Remove.
41628         (version.texi): Include.
41629
41630 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
41631
41632         * sysdeps/posix/spawni.c: Include <signal.h>.
41633         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41634         * sysdeps/pthread/aio_fsync.c: Likewise.
41635
41636 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
41637
41638         * conform/Makefile (tests): Run only when not cross-compiling and
41639         when fast-check is not defined.
41640
41641         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41642         * conform/data/limits.h-data: Fixes for POSIX2008.
41643         * conform/run-conformtest.sh: Run all tests.
41644         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41645         headers.
41646         * include/bits/dlfcn.h: Likewise.
41647         * include/langinfo.h: Likewise.
41648         * include/monetary.h: Likewise.
41649         * include/sys/poll.h: Likewise.
41650
41651         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41652         for __USE_GNU.
41653         * posix/spawn.h: Define __need_sigset_t.
41654         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41655         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41656         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
41657         to get sigevent_t only.
41658         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41659         only for __USE_GNU.
41660         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41661         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41662         process_vm_writev only for __USE_GNU.
41663         * termios/termios.h: Declare tcgetsid also for POSIX2008.
41664
41665         * conform/Makefile: For now ignore errors from run-conformtest.
41666         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
41667         POSIX to avoid namespace pollution.  Don't prepend headers.
41668         * conform/data/aio.h-data: Fixes for POSIX testing.
41669         * conform/data/fcntl.h-data: Likewise.
41670         * conform/data/glob.h-data: Likewise.
41671         * conform/data/grp.h-data: Likewise.
41672         * conform/data/pthread.h-data: Likewise.
41673         * conform/data/pwd.h-data: Likewise.
41674         * conform/data/signal.h-data: Likewise.
41675         * conform/data/spawn.h-data: Likewise.
41676         * conform/data/stdio.h-data: Likewise.
41677         * conform/data/stdlib.h-data: Likewise.
41678         * conform/data/stropts.h-data: Likewise.
41679         * conform/data/sys/mman.h-data: Likewise.
41680         * conform/data/sys/stat.h-data: Likewise.
41681         * conform/data/sys/types.h-data: Likewise.
41682         * conform/data/sys/wait.h-data: Likewise.
41683         * conform/data/time.h-data: Likewise.
41684         * conform/data/unistd.h-data: Likewise.
41685         * conform/data/utime.h-data: Likewise.
41686
41687         * io/sys/stat.h: fchmod was always in POSIX.
41688         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41689         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41690         * rt/aio.h: Define __need_timespec before including <time.h>.
41691         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41692         struct.  Add forward declaration of pthread_attr_t and use it in
41693         sigevent.
41694         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41695         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41696         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41697         always remove CLK_TCK definition.
41698
41699 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
41700
41701         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41702
41703 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
41704
41705         * conform/run-conformtest.sh: New file.
41706         * conform/Makefile: Run run-conformtest for tests.
41707         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
41708         support.
41709
41710         * conform/data/uchar.h-data: New file.
41711         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41712         * conform/data/arpa/inet.h-data: Likewise.
41713         * conform/data/assert.h-data: Likewise.
41714         * conform/data/complex.h-data: Likewise.
41715         * conform/data/cpio.h-data: Likewise.
41716         * conform/data/ctype.h-data: Likewise.
41717         * conform/data/dirent.h-data: Likewise.
41718         * conform/data/dlfcn.h-data: Likewise.
41719         * conform/data/errno.h-data: Likewise.
41720         * conform/data/fcntl.h-data: Likewise.
41721         * conform/data/float.h-data: Likewise.
41722         * conform/data/fmtmsg.h-data: Likewise.
41723         * conform/data/fnmatch.h-data: Likewise.
41724         * conform/data/ftw.h-data: Likewise.
41725         * conform/data/glob.h-data: Likewise.
41726         * conform/data/grp.h-data: Likewise.
41727         * conform/data/iconv.h-data: Likewise.
41728         * conform/data/inttypes.h-data: Likewise.
41729         * conform/data/langinfo.h-data: Likewise.
41730         * conform/data/libgen.h-data: Likewise.
41731         * conform/data/limits.h-data: Likewise.
41732         * conform/data/locale.h-data: Likewise.
41733         * conform/data/math.h-data: Likewise.
41734         * conform/data/monetary.h-data: Likewise.
41735         * conform/data/mqueue.h-data: Likewise.
41736         * conform/data/ndbm.h-data: Likewise.
41737         * conform/data/net/if.h-data: Likewise.
41738         * conform/data/netdb.h-data: Likewise.
41739         * conform/data/netinet/in.h-data: Likewise.
41740         * conform/data/nl_types.h-data: Likewise.
41741         * conform/data/poll.h-data: Likewise.
41742         * conform/data/pthread.h-data: Likewise.
41743         * conform/data/pwd.h-data: Likewise.
41744         * conform/data/regex.h-data: Likewise.
41745         * conform/data/sched.h-data: Likewise.
41746         * conform/data/search.h-data: Likewise.
41747         * conform/data/semaphore.h-data: Likewise.
41748         * conform/data/setjmp.h-data: Likewise.
41749         * conform/data/signal.h-data: Likewise.
41750         * conform/data/spawn.h-data: Likewise.
41751         * conform/data/stdarg.h-data: Likewise.
41752         * conform/data/stdio.h-data: Likewise.
41753         * conform/data/stdlib.h-data: Likewise.
41754         * conform/data/string.h-data: Likewise.
41755         * conform/data/strings.h-data: Likewise.
41756         * conform/data/stropts.h-data: Likewise.
41757         * conform/data/sys/ipc.h-data: Likewise.
41758         * conform/data/sys/mman.h-data: Likewise.
41759         * conform/data/sys/msg.h-data: Likewise.
41760         * conform/data/sys/resource.h-data: Likewise.
41761         * conform/data/sys/select.h-data: Likewise.
41762         * conform/data/sys/sem.h-data: Likewise.
41763         * conform/data/sys/shm.h-data: Likewise.
41764         * conform/data/sys/socket.h-data: Likewise.
41765         * conform/data/sys/stat.h-data: Likewise.
41766         * conform/data/sys/statvfs.h-data: Likewise.
41767         * conform/data/sys/time.h-data: Likewise.
41768         * conform/data/sys/timeb.h-data: Likewise.
41769         * conform/data/sys/times.h-data: Likewise.
41770         * conform/data/sys/types.h-data: Likewise.
41771         * conform/data/sys/uio.h-data: Likewise.
41772         * conform/data/sys/un.h-data: Likewise.
41773         * conform/data/sys/utsname.h-data: Likewise.
41774         * conform/data/sys/wait.h-data: Likewise.
41775         * conform/data/syslog.h-data: Likewise.
41776         * conform/data/tar.h-data: Likewise.
41777         * conform/data/termios.h-data: Likewise.
41778         * conform/data/utime.h-data: Likewise.
41779         * conform/data/utmpx.h-data: Likewise.
41780         * conform/data/varargs.h-data: Likewise.
41781         * conform/data/wchar.h-data: Likewise.
41782         * conform/data/wctype.h-data: Likewise.
41783         * conform/data/wordexp.h-data: Likewise.
41784
41785         * include/stropts.h: New file.
41786         * include/uchar.h: New file.
41787         * include/aio.h: Changes to allow conformtest.pl to use the headers.
41788         * include/assert.h: Likewise.
41789         * include/ctype.h: Likewise.
41790         * include/dirent.h: Likewise.
41791         * include/dlfcn.h: Likewise.
41792         * include/fcntl.h: Likewise.
41793         * include/fnmatch.h: Likewise.
41794         * include/glob.h: Likewise.
41795         * include/grp.h: Likewise.
41796         * include/libio.h: Likewise.
41797         * include/locale.h: Likewise.
41798         * include/math.h: Likewise.
41799         * include/net/if.h: Likewise.
41800         * include/netdb.h: Likewise.
41801         * include/netinet/in.h: Likewise.
41802         * include/pthread.h: Likewise.
41803         * include/pwd.h: Likewise.
41804         * include/regex.h: Likewise.
41805         * include/sched.h: Likewise.
41806         * include/search.h: Likewise.
41807         * include/setjmp.h: Likewise.
41808         * include/signal.h: Likewise.
41809         * include/stdio.h: Likewise.
41810         * include/stdlib.h: Likewise.
41811         * include/string.h: Likewise.
41812         * include/sys/cdefs.h: Likewise.
41813         * include/sys/mman.h: Likewise.
41814         * include/sys/msg.h: Likewise.
41815         * include/sys/resource.h: Likewise.
41816         * include/sys/select.h: Likewise.
41817         * include/sys/socket.h: Likewise.
41818         * include/sys/stat.h: Likewise.
41819         * include/sys/statvfs.h: Likewise.
41820         * include/sys/time.h: Likewise.
41821         * include/sys/times.h: Likewise.
41822         * include/sys/uio.h: Likewise.
41823         * include/sys/utsname.h: Likewise.
41824         * include/sys/wait.h: Likewise.
41825         * include/termios.h: Likewise.
41826         * include/time.h: Likewise.
41827         * include/ulimit.h: Likewise.
41828         * include/unistd.h: Likewise.
41829         * include/utime.h: Likewise.
41830         * include/wchar.h: Likewise.
41831         * include/wctype.h: Likewise.
41832         * include/wordexp.h: Likewise.
41833
41834         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41835
41836         * time/time.h: TIME_UTC must be a macro.
41837         Make timespec_get available for ISO C11 only as well.
41838
41839 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
41840
41841         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41842         Reported by Peng Haitao <penght@cn.fujitsu.com>.
41843
41844 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41845
41846         * configure.in: Use -o not -a in test for unsupported multi-arch.
41847
41848 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41849
41850         * manual/texinfo.tex: Update to version 2012-01-19.16.
41851
41852 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41853
41854         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41855
41856 2012-02-24  Roland McGrath  <roland@hack.frob.com>
41857
41858         [BZ #13738]
41859         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41860         * manual/fdl-1.3.texi: New file.
41861         * manual/fdl-1.1.texi: File removed.
41862
41863         [BZ #13738]
41864         * manual/libc.texinfo (FDL_VERSION): New @set.
41865         Use it for mention of FDL in cover text.
41866         (Documentation License): Use it in @include file name.
41867
41868 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41869             Roland McGrath  <roland@hack.frob.com>
41870
41871         [BZ #5461]
41872         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41873         (not LONG_LONG_MAX and LONG_LONG_MIN.
41874         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41875         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
41876         name.
41877         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41878
41879 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41880
41881         [BZ #2547]
41882         [BZ #11365]
41883         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41884         manipulate bits before adding and subtracting TWO23[sx].
41885         * math/libm-test.inc (nearbyint_test): Add more tests.
41886
41887 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41888
41889         [BZ #2548]
41890         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41891         bits before adding and subtracting TWO23[sx].
41892         * math/libm-test.inc (rint_test): Add more tests.
41893         (rint_test_tonearest): Likewise.
41894         (rint_test_towardzero): Likewise.
41895         (rint_test_downward): Likewise.
41896         (rint_test_upward: Likewise.
41897
41898 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41899
41900         [BZ #10110]
41901         * include/stdc-predef.h: New file.  Extracted from features.h.
41902         * include/features.h: Include stdc-predef.h.
41903         * Makefile (headers): Add stdc-predef.h.
41904         * CONFORMANCE (Compiler limitations): Update.
41905
41906 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41907
41908         * manual/libc.texinfo (VERSION, UPDATED): Revert.
41909
41910 2012-02-21  David S. Miller  <davem@davemloft.net>
41911
41912         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41913         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41914
41915 2012-02-20  David S. Miller  <davem@davemloft.net>
41916
41917         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41918         using a normal save/restore sequence, rather than allocating a
41919         dummy stack frame just to store a frame pointer and restore.
41920         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41921
41922 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41923
41924         * manual/install.texi: Fix stray word in line-wrapped comment.
41925
41926 2012-02-20  David S. Miller  <davem@davemloft.net>
41927
41928         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41929         both binutils and gcc support GOTDATA.
41930
41931         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41932         "rd %pc" in the PIC register setup sequences.
41933
41934         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41935         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41936         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41937         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41938         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41939         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41940         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41941         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41942         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41943         (SYSCALL_ERROR_HANDLER): Likewise.
41944         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41945         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41946         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41947         (SYSCALL_ERROR_HANDLER): Likewise.
41948
41949         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41950         (HAVE_GCC_GOTDATA): New.
41951         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41952         relocation support in both binutils and gcc.
41953         * sysdeps/sparc/elf/configure: Regenerate.
41954
41955         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41956         * sysdeps/sparc/sparc32/elf/configure: Delete.
41957         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41958         * sysdeps/sparc/sparc64/elf/configure: Delete.
41959         * sysdeps/sparc/elf/configure.in: New file.
41960         * sysdeps/sparc/elf/configure: Generate.
41961
41962         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41963         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41964         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41965         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41966         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41967
41968 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41969
41970         * manual/install.texi: Do not mention specific glibc version
41971         numbers.
41972         * manual/libc.texinfo (VERSION, UPDATED): Update.
41973         (@copying): Use @copyright{} and range of years.
41974
41975 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41976
41977         [BZ #13695]
41978         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41979         [crti.S not in sysdirs] (generated): Do not append.
41980         [crti.S not in sysdirs] (omit-deps): Likewise.
41981         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41982         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41983         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41984         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41985         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41986         Likewise.
41987         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41988         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41989         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41990         * csu/defs.awk: Remove file.
41991         * sysdeps/generic/initfini.c: Likewise.
41992         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41993         variable.
41994         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41995         Likewise.
41996
41997 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41998
41999         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42000         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42001         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42002         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42003         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42004         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42005         <bits/epoll.h>.
42006         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42007         (__EPOLL_PACKED): Define to empty if not defined by
42008         <bits/epoll.h>.
42009         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42010         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42011         bits/epoll.h.
42012
42013 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42014
42015         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42016         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42017         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42018         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42019         <bits/timerfd.h>.
42020         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42021         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42022         bits/timerfd.h.
42023
42024 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42025
42026         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42027         in C locale.
42028         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42029         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42030         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42032
42033 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
42034
42035         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42036         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42037
42038 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
42039
42040         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42041         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42042         defined.
42043         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42044         Likewise.
42045         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42046         entry for 2.16.
42047
42048 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
42049
42050         * math/w_acos.c: Use non-signaling floating-point comparisons.
42051         * math/w_acosf.c: Likewise.
42052         * math/w_acosh.c: Likewise.
42053         * math/w_acoshf.c: Likewise.
42054         * math/w_acoshl.c: Likewise.
42055         * math/w_acosl.c: Likewise.
42056         * math/w_asin.c: Likewise.
42057         * math/w_asinf.c: Likewise.
42058         * math/w_asinl.c: Likewise.
42059         * math/w_atanh.c: Likewise.
42060         * math/w_atanhf.c: Likewise.
42061         * math/w_atanhl.c: Likewise.
42062         * math/w_exp2.c: Likewise.
42063         * math/w_exp2f.c: Likewise.
42064         * math/w_exp2l.c: Likewise.
42065         * math/w_j0.c: Likewise.
42066         * math/w_j0f.c: Likewise.
42067         * math/w_j0l.c: Likewise.
42068         * math/w_j1.c: Likewise.
42069         * math/w_j1f.c: Likewise.
42070         * math/w_j1l.c: Likewise.
42071         * math/w_jn.c: Likewise.
42072         * math/w_jnf.c: Likewise.
42073         * math/w_log.c: Likewise.
42074         * math/w_log10.c: Likewise.
42075         * math/w_log10f.c: Likewise.
42076         * math/w_log10l.c: Likewise.
42077         * math/w_log2.c: Likewise.
42078         * math/w_log2f.c: Likewise.
42079         * math/w_log2l.c: Likewise.
42080         * math/w_logf.c: Likewise.
42081         * math/w_logl.c: Likewise.
42082         * math/w_sqrt.c: Likewise.
42083         * math/w_sqrtf.c: Likewise.
42084         * math/w_sqrtl.c: Likewise.
42085         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42086         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42087         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42088         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42089         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42090
42091 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42092
42093         [BZ #9739]
42094         * manual/string.texi (strnlen): Use correct parameter name in
42095         equivalent expression.
42096
42097 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42098
42099         [BZ #11174]
42100         * manual/users.texi (seteuid): Consistently use neweuid for
42101         argument name.
42102
42103 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42104
42105         [BZ #13704]
42106         * manual/nss.texi (Services in the NSS configuration): Correct
42107         list of services in example configuration file.
42108
42109 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
42110
42111         [BZ #11322]
42112         * manual/arith.texi: Remove statements about negative zero
42113         behaving identically to zero.
42114
42115 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42116
42117         [BZ #5993]
42118         * manual/install.texi: Do not document upgrading from libc5.
42119
42120 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42121
42122         [BZ #4596]
42123         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42124
42125 2012-02-18  David S. Miller  <davem@davemloft.net>
42126
42127         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42128         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42129         %o7 across the call.
42130         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42131         instead.
42132         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42133         SETUP_PIC_REG_LEAF.
42134         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42135         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42136         * sysdeps/sparc/crtn.S: Likewise.
42137
42138 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
42139
42140         * aout/Makefile: Remove.
42141
42142 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
42143
42144         [BZ #13058]
42145         * manual/examples/argp-ex1.c (main): Format definition in GNU
42146         style.
42147         * manual/examples/argp-ex2.c (main): Likewise.
42148         * manual/examples/argp-ex3.c (main): Likewise.
42149         * manual/examples/argp-ex4.c (main): Likewise.
42150         * manual/examples/longopt.c (main): Use new-style prototype
42151         definition.
42152         * manual/examples/strncat.c (main): Specify return type and use
42153         (void) for arguments.
42154         * manual/examples/subopt.c (main): Use char **argv argument.
42155
42156 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42157
42158         [BZ #5077]
42159         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42160         rounding modes.
42161
42162 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
42163
42164         [BZ #6907]
42165         * manual/string.texi (strchr): Change when strchrnul is
42166         recommended.
42167
42168 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
42169
42170         [BZ #174]
42171         * manual/locale.texi (setlocale): Document LOCPATH.
42172
42173 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42174
42175         [BZ #10210]
42176         * manual/process.texi (execle): Move @dots{} before last argument.
42177
42178 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
42179
42180         [BZ #12047]
42181         * manual/charset.texi (Generic Charset Conversion): Fix typo
42182         (LC_TYPE -> LC_CTYPE).
42183
42184 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
42185
42186         [BZ #5805]
42187         * manual/arith.texi (scalbn): Use @var{} on parameter names.
42188         (scalbnf): Likewise.
42189         (scalbnl): Likewise.
42190         (scalbln): Likewise.
42191         (scalblnf): Likewise.
42192         (scalblnl): Likewise.
42193         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42194         (vwarnx): Likewise.
42195         (verr): Likewise.
42196         (verrx): Likewise.
42197         * manual/filesys.texi (telldir): Use braces around return type.
42198         * manual/llio.texi (mmap): Add space after comma.
42199         (mmap64): Likewise.
42200         * manual/math.texi (jn): Use @var{} on parameter names.
42201         (jnf): Likewise.
42202         (jnl): Likewise.
42203         (yn): Likewise.
42204         (ynf): Likewise.
42205         (ynl): Likewise.
42206         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42207         line.
42208         * manual/resource.texi (ulimit): Use @dots{} instead of literal
42209         "...".
42210         (sched_get_priority_min): Remove semicolon on @deftypefun line.
42211         (sched_get_priority_max): Likewise.
42212         * manual/signal.texi (sigvec): Add space after comma.
42213         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42214         names.
42215         (if_indextoname): Likewise.
42216         (if_freenameindex): Likewise.
42217         (sendto): Use ',' instead of '.' in prototype.
42218         * manual/startup.texi (syscall): Use @dots{} instead of literal
42219         "...".
42220         * manual/stdio.texi (__fpending): Separate initial words of
42221         paragraph from @deftypefun line.
42222         * manual/syslog.texi (syslog): Use @dots{} instead of literal
42223         "...".
42224         (vsyslog): Use @var{} on parameter names.
42225         * manual/terminal.texi (stty): Use @var{} on parameter names.
42226         * manual/users.texi (getutmp): Use @var{} on parameter names.
42227         (getutmpx): Likewise.
42228
42229 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42230
42231         [BZ #6884]
42232         * manual/stdio.texi (fopen): Fix typos in description of
42233         ",ccs=STRING".
42234
42235 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
42236
42237         [BZ #4026]
42238         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42239         get clock_id definition.
42240
42241 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
42242
42243         [BZ #4822]
42244         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42245         (madvise): Cast every argument to void on its own.
42246
42247 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42248
42249         [BZ #9902]
42250         * manual/startup.texi (Exit Status): Fix typo.
42251
42252 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42253
42254         [BZ #10140]
42255         * manual/examples/argp-ex1.c: Include <stdlib.h>.
42256         * manual/examples/argp-ex2.c: Likewise.
42257         * manual/examples/argp-ex3.c: Likewise.
42258
42259 2012-02-16  Richard Henderson  <rth@redhat.com>
42260
42261         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42262         * sysdeps/s390/s390-32/initfini.c: Remove.
42263         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42264         * sysdeps/s390/s390-64/initfini.c: Remove.
42265
42266 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42267
42268         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42269         compiler output for sysdeps/generic/initfini.c.
42270         * sysdeps/sh/elf/initfini.c: Remove file.
42271
42272 2012-02-16  David S. Miller  <davem@davemloft.net>
42273
42274         [BZ #11494]
42275         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42276
42277         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42278         * sysdeps/sparc/crti.S: New file.
42279         * sysdeps/sparc/crtn.S: New file.
42280         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42281         * sysdeps/sparc/sparc64/Makefile: Likewise.
42282
42283 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
42284
42285         [BZ #3335]
42286         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42287
42288 2012-02-15  Roland McGrath  <roland@hack.frob.com>
42289
42290         [BZ #4822]
42291         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42292
42293         * mach/devstream.c (cookie_io_functions_t): Macro removed.
42294         (write, read, close): Likewise.
42295         Patch by Aurelien Jarno <aurelien@aurel32.net>.
42296
42297 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
42298
42299         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42300         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42301         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42302         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42303         <bits/signalfd.h>.
42304         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42305         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42306         bits/signalfd.h.
42307
42308 2012-02-14  Marek Polacek  <polacek@redhat.com>
42309
42310         * sysdeps/x86_64/crti.S: New file.
42311         * sysdeps/x86_64/crtn.S: New file.
42312         * sysdeps/x86_64/elf/initfini.c: Remove file.
42313
42314 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42315
42316         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42317         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42318         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42319         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42320         <bits/inotify.h>.
42321         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42322         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42323         bits/inotify.h.
42324
42325 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42326
42327         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42328         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42329         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42330         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42331         <bits/eventfd.h>.
42332         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42333         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42334         bits/eventfd.h.
42335
42336 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
42337
42338         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42339         __feraiseexcept instead of feraiseexcept.
42340
42341         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42342         nanosleep invocations.
42343         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42344         strings, and add error checking for a nanosleep invocations.
42345
42346 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
42347
42348         Replace FSF snail mail address with URLs, as per GNU coding standards.
42349         Most of the snail mail addresses were wrong anyway, and omitting
42350         them makes the source code easier to maintain.  Almost all of the
42351         changes are to license notices and to locale LC_IDENTIFICATION
42352         addresses, except for this one:
42353         * manual/libc.texinfo: In "Published by", give the FSF's URL,
42354         not its snail mail address.
42355
42356 2012-02-09  Richard Henderson  <rth@twiddle.net>
42357
42358         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42359         of kernel-features.h.
42360
42361         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42362
42363 2012-02-08  Marek Polacek  <polacek@redhat.com>
42364
42365         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42366         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42367         * sysdeps/gnu/_G_config.h: Likewise.
42368         * sysdeps/generic/_G_config.h: Likewise.
42369
42370 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
42371
42372         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42373         tests.
42374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42375
42376         * sysdeps/powerpc/powerpc32/crti.S: New file.
42377         * sysdeps/powerpc/powerpc32/crtn.S: New file.
42378         * sysdeps/powerpc/powerpc64/crti.S: New file.
42379         * sysdeps/powerpc/powerpc64/crtn.S: New file.
42380
42381         * Makeconfig (have-initfini): Don't set.
42382         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42383         * configure.in (nopic_initfini): Don't substitute.
42384         * config.h.in (HAVE_INITFINI): Don't #undef.
42385         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42386         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42387
42388 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
42389
42390         Support crti.S and crtn.S provided directly by architectures.
42391         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42392         [crti.S in sysdirs] (omit-deps): Likewise.
42393         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42394         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42395         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42396         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42397         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42398         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42399         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42400         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42401         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42402         compiler output for sysdeps/generic/initfini.c.
42403         * sysdeps/i386/elf/Makefile: Remove file.
42404         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42405
42406 2012-02-07  Marek Polacek  <polacek@redhat.com>
42407
42408         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42409         * sysdeps/gnu/_G_config.h: Likewise.
42410         * sysdeps/mach/hurd/_G_config.h: Likewise.
42411
42412 2012-02-07  Marek Polacek  <polacek@redhat.com>
42413
42414         * math/Makefile (tests): Add tst-CMPLX2.
42415         * math/tst-CMPLX2.c: New file.
42416
42417 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
42418
42419         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42420
42421         * math/libm-test.inc (jn_test): Add missing L suffix.
42422
42423 2012-02-06  Marek Polacek  <polacek@redhat.com>
42424
42425         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42426         * sysdeps/i386/fpu/e_powf.S: Likewise.
42427         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42428         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42429         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42430         * sysdeps/i386/fpu/e_pow.S: Likewise.
42431         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42432         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42433         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42434         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42435         * sysdeps/i386/fpu/e_log2.S: Likewise.
42436         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42437         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42438         * sysdeps/i386/fpu/e_powl.S: Likewise.
42439         * sysdeps/i386/fpu/s_log1p.S: Likewise.
42440         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42441         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42442         * sysdeps/i386/fpu/e_logl.S: Likewise.
42443         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42444         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42445         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42446         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42447         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42448         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42449         * sysdeps/i386/fpu/e_log.S: Likewise.
42450         * sysdeps/i386/fpu/s_cexp.S: Likewise.
42451         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42452         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42453         * sysdeps/i386/fpu/e_logf.S: Likewise.
42454         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42455         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42456         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42457         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42458         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42459         * sysdeps/i386/fpu/e_log10.S: Likewise.
42460         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42461         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42462         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42463         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42464         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42465         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42466         * sysdeps/i386/asm-syntax.h: Likewise.
42467         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42468         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42469         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42470         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42471         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42472         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42473         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42474         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42475         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42476         * sysdeps/powerpc/sysdep.h: Likewise.
42477         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42478         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42479
42480 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42481
42482         [BZ #411]
42483         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42484
42485 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42486
42487         * sysdeps/i386/sysdep.h: Include <features.h>.
42488         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42489         version.
42490
42491 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
42492
42493         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42494         Define.
42495         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42496         LOAD_PIC_REG_STR.
42497
42498 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42499
42500         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42501         (SETUP_PIC_REG): Use GET_PC_THUNK.
42502         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42503         macro.
42504
42505 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42506
42507         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42508         for non-PIC compilation.
42509         (SETUP_PIC_REG): Add .p2align directive.
42510         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42511         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42512         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42513         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42514         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42515         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42516         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42517         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42518         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42519         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42520         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42521         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42522         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42523         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42524         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42525         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42526         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42527         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42528         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42529         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42530         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42531         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42532         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42533         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42534         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42535         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42536         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42537         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42538         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42539         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42540         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42541         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42542         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42543         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42544         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42545         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42546         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42547         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42548         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42549         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42550         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42551
42552 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42553
42554         * math/tst-CMPLX.c: Include <stdio.h>.
42555
42556 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
42557
42558         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42559         float.
42560         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42561         * sysdeps/sparc/bits/mathdef.h: Likewise.
42562
42563 2012-01-31  Marek Polacek  <polacek@redhat.com>
42564
42565         * libio/libio.h: Don't define _PARAMS.
42566         * locale/programs/config.h: Don't define PARAMS.
42567         * stdlib/strtol_l.c: Likewise.
42568         (__strtol_l): Remove PARAMS from the prototype.
42569
42570 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
42571
42572         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
42573         names.  Just use the correct names.  Remove unnecessary wrapper
42574         functions.
42575         * malloc/arena.c: Likewise.
42576         * malloc/hooks.c: Likewise.
42577
42578         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42579         ARENA_TEST says not to.  Simplify test for creation of a new arena.
42580         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42581
42582 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
42583
42584         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42585         into tail calls.
42586         (update_get_addr): New function.
42587         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42588         GET_ADDR_MODULE parameter.
42589
42590 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42591
42592         * crypt/cert.c: Remove __STDC__ conditionals.
42593         * crypt/crypt-entry.c: Likewise.
42594         * crypt/crypt_util.c: Likewise.
42595         * libio/filedoalloc.c: Likewise.
42596         * libio/fileops.c: Likewise.
42597         * libio/genops.c: Likewise.
42598         * libio/iofclose.c: Likewise.
42599         * libio/iofdopen.c: Likewise.
42600         * libio/iofopen.c: Likewise.
42601         * libio/iofopen64.c: Likewise.
42602         * libio/iogetdelim.c: Likewise.
42603         * libio/iopopen.c: Likewise.
42604         * libio/obprintf.c: Likewise.
42605         * libio/oldfileops.c: Likewise.
42606         * libio/oldiofclose.c: Likewise.
42607         * libio/oldiofdopen.c: Likewise.
42608         * libio/oldiofopen.c: Likewise.
42609         * libio/oldiopopen.c: Likewise.
42610         * libio/wfiledoalloc.c: Likewise.
42611         * libio/wgenops.c: Likewise.
42612         * locale/programs/xmalloc.c: Likewise.
42613         * misc/syslog.c: Likewise.
42614         * stdio-common/xbug.c: Likewise.
42615         * string/memchr.c: Likewise.
42616         * string/memcmp.c: Likewise.
42617         * string/memrchr.c: Likewise.
42618         * string/rawmemchr.c: Likewise.
42619         * sysdeps/posix/getcwd.c: Likewise.
42620         * time/strftime_l.c: Likewise.
42621
42622 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42623
42624         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42625         * config.make.in (config-cflags-sse2avx): Define.
42626         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42627         Fix typo.
42628
42629 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
42630
42631         * scripts/config.guess: Update from upstream config git repository.
42632         * scripts/config.sub: Likewise.
42633
42634 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
42635
42636         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42637         (EM_NUM): Update.
42638         (R_TILEPRO_*, R_TILEGX_*): New macros.
42639
42640         * scripts/firstversions.awk: Fix bug in version range handling.
42641
42642         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42643
42644         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42645
42646         * include/sys/epoll.h: New file.
42647         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42648         libc_hidden_def.
42649
42650 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
42651
42652         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42653         Avoid unnecessary __WORDSIZE == 64 test.
42654         (fmaxf): Use VEX format if possible.
42655         (fmax): Likewise.
42656         (fminf): Likewise.
42657         (fmin): Likewise.
42658
42659         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42660         * math/math_private.h: Remove libc_fegetround* and
42661         libc_fesetround*.
42662         * sysdeps/i386/configure.in: Check for -msse2avx.
42663         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42664         also if SSE2AVX is defined.
42665         Remove libc_fegetround* and libc_fesetround*.
42666         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42667         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
42668         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42669         of HAS_YMM_USABLE.
42670         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42671         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42672         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42673         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42674         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42675
42676         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42677
42678 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42679
42680         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42681         size is not set.
42682         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42683
42684 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
42685
42686         [BZ #13618]
42687         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42688         relocation.
42689         * Makeconfig (libm): Define.
42690         * elf/Makefile: Add rules to build and run tst-relsort1.
42691         * elf/tst-relsort1.c: New file.
42692         * elf/tst-relsort1mod1.c: New file.
42693         * elf/tst-relsort1mod2.c: New file.
42694
42695 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
42696
42697         * math/s_ldexp.c: Remove __STDC__ conditionals.
42698         * math/s_ldexpf.c: Likewise.
42699         * math/s_ldexpl.c: Likewise.
42700         * math/s_nextafter.c: Likewise.
42701         * math/s_nexttowardf.c: Likewise.
42702         * math/s_significand.c: Likewise.
42703         * math/s_significandf.c: Likewise.
42704         * math/s_significandl.c: Likewise.
42705         * math/w_jnl.c: Likewise.
42706         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42707         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42708         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42709         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42710         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42711         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42712         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42713         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42714         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42715         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42716         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42717         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42718         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42719         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42720         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42721         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42722         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42723         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42724         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42725         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42726         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42727         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42728         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42729         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42730         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42731         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42732         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42733         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42734         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42735         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42736         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42737         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42738         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42739         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42740         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42741         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42742         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42743         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42744         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42745         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42746         * sysdeps/ieee754/k_standard.c: Likewise.
42747         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42748         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42749         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42750         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42751         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42752         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42753         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42754         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42755         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42756         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42757         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42758         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42759         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42760         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42761         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42762         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42763         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42764         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42765         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42766         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42767         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42768         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42769         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42770         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42771         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42772         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42773         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42774         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42775         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42776         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42777         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42778         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42779         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42780         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42781         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42782         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42783         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42784         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42785         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42786         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42787         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42788         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42789         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42790         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42791         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42792         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42793         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42794         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42795         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42796         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42797         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42798         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42799         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42800         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42801         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42802         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42803         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42804         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42805         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42806         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42807         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42808         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42809         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42810         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42811         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42812         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42813         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42814         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42815         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42816         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42817         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42818         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42819         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42820         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42821         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42822         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42823         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42824         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42825         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42826         * sysdeps/ieee754/s_matherr.c: Likewise.
42827         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42828         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42829         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42830         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42831
42832 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42833
42834         * crypt/md5.h: Remove __STDC__ conditionals.
42835         * libio/libioP.h: Likewise.
42836         * locale/programs/config.h: Likewise.
42837         * sysdeps/generic/sysdep.h: Likewise.
42838         * sysdeps/i386/asm-syntax.h: Likewise.
42839         * sysdeps/s390/asm-syntax.h: Likewise.
42840         * sysdeps/unix/sysdep.h: Likewise.
42841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42843
42844 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42845
42846         * libio/libio.h: Remove __STDC__ conditionals.
42847         * malloc/obstack.h: Likewise.
42848         * math/complex.h: Likewise.
42849         * math/math.h: Likewise.
42850         * sysdeps/generic/_G_config.h: Likewise.
42851         * sysdeps/gnu/_G_config.h: Likewise.
42852         * sysdeps/mach/hurd/_G_config.h: Likewise.
42853         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42854         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42855         * sysdeps/sparc/bits/mathdef.h: Likewise.
42856
42857 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
42858
42859         [BZ #13583]
42860         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42861         Clean up HAS_* macros.
42862         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42863         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42864         possible.
42865         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42866         HAS_AVX.
42867         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42868         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42869         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42870         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42871         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42872
42873 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
42874
42875         * elf/tst-unique3.cc (gets): Remove declaration.
42876         * elf/tst-unique3lib.cc (gets): Likewise.
42877         * elf/tst-unique3lib2.cc (gets): Likewise.
42878         * elf/tst-unique4.cc (gets): Likewise.
42879
42880 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
42881
42882         * include/stdio.h: Add C++ protection.  Add gets declarations and
42883         definitions.
42884         * debug/tst-chk1.c: Don't declare gets here.
42885         * stdio-common/tst-gets.c: Likewise.
42886
42887 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42888
42889         * posix/glob: Remove directory.
42890
42891 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42892
42893         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42894
42895 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
42896
42897         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42898         of the non-standard EPFNOSUPPORT.
42899
42900 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42901
42902         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42903         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42904         ANYWHERE set to 1 only on KERN_NO_SPACE error.
42905
42906 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
42907
42908         * wcsmbs/uchar.h: Test __STDC_VERSION__.
42909
42910 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
42911
42912         * nscd/aicache.c (addhstaiX): Do not cache negative results of
42913         transient errors.
42914         * nscd/grpcache.c (cache_addgr): Likewise.
42915         * nscd/hstcache.c (cache_addhst): Likewise.
42916         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42917         * nscd/pwdcache.c (cache_addpw): Likewise.
42918         * nscd/servicescache.c (cache_addserv): Likewise.
42919
42920 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
42921
42922         * malloc/malloc.c: Various cleanups.
42923         * malloc/hooks.c: Likewise.
42924
42925         * stdlib/Makefile (tests): Add bug-fmtmsg1.
42926         * stdlib/bug-fmtmsg1.c: New file.
42927
42928         * stdlib/fmtmsg.c (init): Add missing unlock.
42929         Patch by Peng Haitao <penght@cn.fujitsu.com>.
42930
42931 2012-01-12  Marek Polacek  <polacek@redhat.com>
42932
42933         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42934         and _GNU_SOURCE.
42935
42936 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42937
42938         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42939         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42940         macro to ensure uniqueness of label name.
42941         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42942         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42943
42944 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
42945
42946         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42947
42948         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42949         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42950         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42951         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42952
42953 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
42954
42955         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42956
42957         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42958         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42959         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42960
42961         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42962
42963         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42964         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42965         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42966         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42967
42968         * math/bits/math-finite.h: Add ldexp support.
42969
42970 2012-01-10  Marek Polacek  <polacek@redhat.com>
42971
42972         * locale/programs/localedef.h (show_archive_content): Add noreturn
42973         attribute.
42974
42975 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
42976
42977         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42978
42979 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42980
42981         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42982
42983         * io/Makefile (headers): Add bits/poll2.h.
42984
42985 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
42986
42987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42988         typo #include statement.
42989
42990 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42991
42992         * include/sys/cdefs.h: Define __attribute_alloc_size.
42993         * catgets/gencat.c: Add alloc_size attribute and apply consistently
42994         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42995         * elf/pldd.c: Likewise.
42996         * iconv/iconv_charmap.c: Likewise.
42997         * iconv/iconvconfig.c: Likewise.
42998         * iconv/strtab.c: Likewise.
42999         * locale/programs/locale.c: Likewise.
43000         * locale/programs/localedef.h: Likewise.
43001         * locale/programs/simple-hash.c: Likewise.
43002         * nscd/nscd.h: Likewise.
43003         * nss/makedb.c: Likewise.
43004         * sysdeps/generic/ldconfig.h: Likewise.
43005         * locale/programs/localedef.c: Remove xmalloc prototype.
43006         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43007
43008 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43009
43010         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43011         appropriate.
43012
43013 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43014
43015         * math/Makefile (tests): Add tst-CMPLX.
43016         * math/tst-CMPLX.c: New file.
43017
43018         * math/complex.h (CMPLXL): Fix typo.
43019
43020         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43021         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43022         GLIBC_2.16.
43023         * debug/tst-chk1.c: Add poll and ppoll tests.
43024         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43025         * include/sys/poll.h: Add hidden proto for ppoll.
43026         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43027         * sysdeps/mach/hurd/ppoll.c: Likewise.
43028         * io/ppoll.c: Likewise.
43029         * debug/poll_chk.c: New file.
43030         * debug/ppoll_chk.c: New file.
43031         * include/bits/poll2.h: New file.
43032         * io/bits/poll2.h: New file.
43033
43034         [BZ #1350]
43035         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43036
43037         * configure.in: static is always set to yes.  Remove.
43038         * config.make.in: Don't set build-static.
43039         * Makeconfig: Remove use of build-static.
43040         * dlfcn/Makefile: Likewise.
43041         * elf/Makefile: Likewise.
43042         * math/Makefile: Likewise.
43043         * misc/Makefile: Likewise.
43044         * nptl/Makefile: Likewise.
43045         * sysdeps/mach/hurd/Makefile: Likewise.
43046
43047         * configure.in: PWD_P is not used anymore.
43048         * config.make.in: Remove PWD_P entry.
43049
43050         * configure.in: Remove last remnants of RANLIB.
43051         No need to check for signed size_t anymore.
43052         Don't set libc_commonpagesize and libc_relro_required here for Alpha
43053         and IA-64.
43054         Remove __builtin_expect test because we require at least gcc 3.4.
43055         * aclocal.m4: Likewise.
43056
43057         * wcsmbs/mbrtoc16.c: Implement using towc function.
43058         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43059         * wcsmbs/wcsmbsload.c: Likewise.
43060         * iconv/gconv_simple.c: Likewise.
43061         * iconv/gconv_int.h: Likewise.
43062         * iconv/gconv_builtin.h: Likewise.
43063         * iconv/iconv_prog.c: Remove CHAR16 handling.
43064
43065         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43066
43067         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43068
43069         * configure.in: Remove --with-elf and --enable-bounded options.
43070         Dont set base_machine for ia64.  More non-ELF conditions removed.
43071         Remove testing and setting of leading underscore information.
43072         * config.make.in (build-bounded): Set to no.
43073         * config.h.in: Remove NO_UNDERSCORES entry.
43074         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
43075         them.
43076         * csu/start.c: Remove !NO_UNDERSCORE code.
43077         * locale/localeinfo.h: Likewise.
43078         * sysdeps/generic/machine-gmon.h: Likewise.
43079         * sysdeps/generic/sysdep.h: Likewise.
43080         * sysdeps/i386/sysdep.h: Likewise.
43081         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43082         * sysdeps/mach/sysdep.h: Likewise.
43083         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43084         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43085         * sysdeps/sh/sysdep.h: Likewise.
43086         * sysdeps/sparc/sparc32/alloca.S: Likewise.
43087         * sysdeps/unix/i386/sysdep.S: Likewise.
43088         * sysdeps/unix/sparc/start.c: Likewise.
43089         * sysdeps/unix/sparc/sysdep.S: Likewise.
43090         * sysdeps/unix/sparc/sysdep.h: Likewise.
43091         * sysdeps/unix/start.c: Likewise.
43092         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43093         * sysdeps/x86_64/sysdep.h: Likewise.
43094
43095 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
43096
43097         [BZ #13553]
43098         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43099         for non-gcc.
43100         * argp/argp-fmtstream.h: Use const instead __const.
43101         * argp/argp.h: Likewise.
43102         * assert/assert.h: Likewise.
43103         * bits/fenv.h: Likewise.
43104         * bits/sched.h: Likewise.
43105         * bits/sigset.h: Likewise.
43106         * bits/sigthread.h: Likewise.
43107         * catgets/nl_types.h: Likewise.
43108         * conform/data/pthread.h-data: Likewise.
43109         * crypt/crypt-private.h: Likewise.
43110         * crypt/crypt.h: Likewise.
43111         * crypt/crypt_util.c: Likewise.
43112         * ctype/ctype.h: Likewise.
43113         * debug/execinfo.h: Likewise.
43114         * debug/mbsnrtowcs_chk.c: Likewise.
43115         * debug/mbsrtowcs_chk.c: Likewise.
43116         * debug/wcsnrtombs_chk.c: Likewise.
43117         * debug/wcsrtombs_chk.c: Likewise.
43118         * debug/wcstombs_chk.c: Likewise.
43119         * dirent/dirent.h: Likewise.
43120         * dlfcn/dlfcn.h: Likewise.
43121         * elf/neededtest4.c: Likewise.
43122         * grp/grp.h: Likewise.
43123         * gshadow/gshadow.h: Likewise.
43124         * iconv/gconv.h: Likewise.
43125         * iconv/gconv_int.h: Likewise.
43126         * iconv/gconv_simple.c: Likewise.
43127         * iconv/iconv.h: Likewise.
43128         * iconv/loop.c: Likewise.
43129         * iconv/skeleton.c: Likewise.
43130         * include/aio.h: Likewise.
43131         * include/aliases.h: Likewise.
43132         * include/argz.h: Likewise.
43133         * include/arpa/inet.h: Likewise.
43134         * include/assert.h: Likewise.
43135         * include/dirent.h: Likewise.
43136         * include/dlfcn.h: Likewise.
43137         * include/execinfo.h: Likewise.
43138         * include/fcntl.h: Likewise.
43139         * include/fenv.h: Likewise.
43140         * include/glob.h: Likewise.
43141         * include/grp.h: Likewise.
43142         * include/libintl.h: Likewise.
43143         * include/mntent.h: Likewise.
43144         * include/netdb.h: Likewise.
43145         * include/pwd.h: Likewise.
43146         * include/rpc/netdb.h: Likewise.
43147         * include/sched.h: Likewise.
43148         * include/search.h: Likewise.
43149         * include/shadow.h: Likewise.
43150         * include/signal.h: Likewise.
43151         * include/stdio.h: Likewise.
43152         * include/stdlib.h: Likewise.
43153         * include/string.h: Likewise.
43154         * include/sys/socket.h: Likewise.
43155         * include/sys/stat.h: Likewise.
43156         * include/sys/statfs.h: Likewise.
43157         * include/sys/statvfs.h: Likewise.
43158         * include/sys/syslog.h: Likewise.
43159         * include/sys/time.h: Likewise.
43160         * include/sys/uio.h: Likewise.
43161         * include/time.h: Likewise.
43162         * include/unistd.h: Likewise.
43163         * include/utmp.h: Likewise.
43164         * include/wchar.h: Likewise.
43165         * include/wctype.h: Likewise.
43166         * inet/aliases.h: Likewise.
43167         * inet/arpa/inet.h: Likewise.
43168         * inet/netinet/ether.h: Likewise.
43169         * inet/netinet/in.h: Likewise.
43170         * intl/libintl.h: Likewise.
43171         * io/bits/fcntl2.h: Likewise.
43172         * io/fcntl.h: Likewise.
43173         * io/ftw.h: Likewise.
43174         * io/sys/poll.h: Likewise.
43175         * io/sys/stat.h: Likewise.
43176         * io/sys/statfs.h: Likewise.
43177         * io/sys/statvfs.h: Likewise.
43178         * io/utime.h: Likewise.
43179         * libio/bits/stdio.h: Likewise.
43180         * libio/bits/stdio2.h: Likewise.
43181         * libio/libio.h: Likewise.
43182         * libio/libioP.h: Likewise.
43183         * libio/stdio.h: Likewise.
43184         * locale/lc-ctype.c: Likewise.
43185         * locale/locale.h: Likewise.
43186         * login/utmp.h: Likewise.
43187         * malloc/arena.c: Likewise.
43188         * malloc/malloc.c: Likewise.
43189         * malloc/malloc.h: Likewise.
43190         * malloc/mcheck.c: Likewise.
43191         * malloc/mtrace.c: Likewise.
43192         * math/bits/mathcalls.h: Likewise.
43193         * math/fenv.h: Likewise.
43194         * math/math_private.h: Likewise.
43195         * misc/bits/error.h: Likewise.
43196         * misc/bits/syslog.h: Likewise.
43197         * misc/err.h: Likewise.
43198         * misc/error.h: Likewise.
43199         * misc/fstab.h: Likewise.
43200         * misc/mntent.h: Likewise.
43201         * misc/regexp.h: Likewise.
43202         * misc/search.h: Likewise.
43203         * misc/sgtty.h: Likewise.
43204         * misc/sys/mman.h: Likewise.
43205         * misc/sys/syslog.h: Likewise.
43206         * misc/sys/uio.h: Likewise.
43207         * misc/sys/xattr.h: Likewise.
43208         * misc/ttyent.h: Likewise.
43209         * nis/rpcsvc/ypclnt.h: Likewise.
43210         * nss/nss.h: Likewise.
43211         * posix/bits/unistd.h: Likewise.
43212         * posix/fnmatch.h: Likewise.
43213         * posix/glob.h: Likewise.
43214         * posix/sched.h: Likewise.
43215         * posix/spawn.h: Likewise.
43216         * posix/sys/wait.h: Likewise.
43217         * posix/unistd.h: Likewise.
43218         * posix/wordexp.h: Likewise.
43219         * pwd/pwd.h: Likewise.
43220         * resolv/netdb.h: Likewise.
43221         * resource/sys/resource.h: Likewise.
43222         * rt/aio.h: Likewise.
43223         * rt/bits/mqueue2.h: Likewise.
43224         * rt/mqueue.h: Likewise.
43225         * shadow/shadow.h: Likewise.
43226         * signal/signal.h: Likewise.
43227         * socket/send.c: Likewise.
43228         * socket/sendto.c: Likewise.
43229         * socket/sys/socket.h: Likewise.
43230         * stdio-common/printf.h: Likewise.
43231         * stdlib/bits/stdlib.h: Likewise.
43232         * stdlib/fmtmsg.h: Likewise.
43233         * stdlib/monetary.h: Likewise.
43234         * stdlib/stdlib.h: Likewise.
43235         * stdlib/ucontext.h: Likewise.
43236         * streams/stropts.h: Likewise.
43237         * string/argz.h: Likewise.
43238         * string/bits/string2.h: Likewise.
43239         * string/string.h: Likewise.
43240         * string/strings.h: Likewise.
43241         * sunrpc/rpc/auth.h: Likewise.
43242         * sunrpc/rpc/auth_des.h: Likewise.
43243         * sunrpc/rpc/clnt.h: Likewise.
43244         * sunrpc/rpc/netdb.h: Likewise.
43245         * sunrpc/rpc/pmap_clnt.h: Likewise.
43246         * sunrpc/rpc/xdr.h: Likewise.
43247         * sysdeps/generic/inttypes.h: Likewise.
43248         * sysdeps/generic/net/if.h: Likewise.
43249         * sysdeps/generic/sys/swap.h: Likewise.
43250         * sysdeps/gnu/net/if.h: Likewise.
43251         * sysdeps/gnu/utmpx.h: Likewise.
43252         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43253         * sysdeps/i386/i486/bits/string.h: Likewise.
43254         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43255         * sysdeps/s390/bits/string.h: Likewise.
43256         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43257         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43258         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43259         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43260         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43261         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43262         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43263         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43264         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43265         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43266         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43267         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43268         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43269         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43270         * sysdeps/unix/sysv/linux/readv.c: Likewise.
43271         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43272         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43273         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43274         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43275         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43276         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43277         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43278         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43279         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43280         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43281         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43282         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43283         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43284         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43285         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43286         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43287         * sysvipc/sys/ipc.h: Likewise.
43288         * sysvipc/sys/msg.h: Likewise.
43289         * sysvipc/sys/sem.h: Likewise.
43290         * sysvipc/sys/shm.h: Likewise.
43291         * termios/termios.h: Likewise.
43292         * time/sys/time.h: Likewise.
43293         * time/time.h: Likewise.
43294         * wcsmbs/bits/wchar2.h: Likewise.
43295         * wcsmbs/uchar.h: Likewise.
43296         * wcsmbs/wchar.h: Likewise.
43297         * wctype/wctype.h: Likewise.
43298
43299         [BZ #13551]
43300         * Makeconfig: Remove all but ELF support including AIX support.
43301         * Makerules: Likewise.
43302         * config.h.in: Likewise.
43303         * config.make.in: Likewise.
43304         * configure: Likewise.
43305         * configure.in: Likewise.
43306         * csu/Makefile: Likewise.
43307         * csu/version.c: Likewise.
43308         * debug/Makefile: Likewise.
43309         * dlfcn/Makefile: Likewise.
43310         * elf/Makefile: Likewise.
43311         * extra-lib.mk: Likewise.
43312         * iconv/Makefile: Likewise.
43313         * include/libc-symbols.h: Likewise.
43314         * include/shlib-compat.h: Likewise.
43315         * resolv/Makefile: Likewise.
43316         * resolv/res_libc.c: Likewise.
43317         * rt/Makefile: Likewise.
43318         * sysdeps/i386/asm-syntax.h: Likewise.
43319         * sysdeps/i386/sysdep.h: Likewise.
43320         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43321         * sysdeps/mach/sysdep.h: Likewise.
43322         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43323         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43324         * sysdeps/s390/asm-syntax.h: Likewise.
43325         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43326         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43327         * sysdeps/sh/sysdep.h: Likewise.
43328         * sysdeps/unix/sparc/sysdep.h: Likewise.
43329         * sysdeps/wordsize-32/divdi3.c: Likewise.
43330         * sysdeps/x86_64/sysdep.h: Likewise.
43331
43332         * argp/Versions: Remove _argp_unlock_xxx.
43333
43334         [BZ #13559]
43335         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
43336         * abilist/libBrokenLocale.abilist: Likewise.
43337         * abilist/libanl.abilist: Likewise.
43338         * abilist/libc.abilist: Likewise.
43339         * abilist/libcrypt.abilist: Likewise.
43340         * abilist/libdl.abilist: Likewise.
43341         * abilist/libm.abilist: Likewise.
43342         * abilist/libnsl.abilist: Likewise.
43343         * abilist/libpthread.abilist: Likewise.
43344         * abilist/libresolv.abilist: Likewise.
43345         * abilist/librt.abilist: Likewise.
43346         * abilist/libthread_db.abilist: Likewise.
43347         * abilist/libutil.abilist: Likewise.
43348         * abilist/libnss_db.abilist: New file.
43349
43350         * scripts/abilist.awk: Add support for indirect functions.
43351
43352         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43353
43354         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43355
43356         * shlib-versions: Remove entries for ports architectures.
43357
43358         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
43359         files in ports.
43360         * elf/stackguard-macros.h: Remove support for IA-64.
43361         * elf/tst-auditmod1.c: Likewise.
43362         * sysdeps/generic/ldsodefs.h: Likewise.
43363
43364         * sysdeps/unix/sysv/linux/configure.in: Ports should define
43365         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43366         configure files.
43367
43368         [BZ #13552]
43369         * configure.in: Remove --enable-omitfp support.
43370         * FAQ.in: Adjust.
43371         * config.make.in: Likewise.
43372         * Makeconfig: Likewise.
43373         * manual/install.texi: Likewise.
43374
43375         In case anyone cares, the IA-64 architecture could move to ports.
43376         * sysdeps/ia64/*: Removed.
43377         * sysdeps/unix/sysv/linux/ia64/*: Removed.
43378         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43379
43380         [BZ #13555]
43381         * configure.in: Remove entries for unsupported architectures.
43382
43383         [BZ #13533]
43384         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43385         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
43386         routines.
43387         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43388         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43389         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
43390         fall back to using wcrtomb.
43391         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43392         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
43393         renaming.
43394         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43395         * wcsmbs/tst-c16c32-1.c: New file.
43396
43397         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43398         local variable.
43399
43400         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43401
43402         * elf/tst-unique3.cc: Add explicit declaration of gets.
43403         * elf/tst-unique3lib.cc: Likewise.
43404         * elf/tst-unique3lib2.cc: Likewise.
43405         * elf/tst-unique4.cc: Likewise.
43406
43407         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43408
43409 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
43410
43411         [BZ #13566]
43412         * assert/assert.h (static_assert): Don't define for C++.
43413         * libio/stdio.h (gets): Do declare for C++ <= C++11.
43414         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43415
43416 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
43417
43418         * iconv/loop.c (single loop): Fix assertion in storing of
43419         remaining bytes.
43420
43421         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43422
43423 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
43424
43425         * posix/getconf.c: Update copyright year.
43426         * nss/getent.c: Likewise.
43427         * nss/makedb.c: Likewise.
43428         * iconv/iconvconfig.c: Likewise.
43429         * iconv/iconv_prog.c: Likewise.
43430         * elf/ldconfig.c: Likewise.
43431         * elf/pldd.c: Likewise.
43432         * elf/sotruss.ksh: Likewise.
43433         * catgets/gencat.c: Likewise.
43434         * csu/version.c: Likewise.
43435         * elf/ldd.bash.in: Likewise.
43436         * elf/sprof.c (print_version): Likewise.
43437         * locale/programs/locale.c: Likewise.
43438         * locale/programs/localedef.c: Likewise.
43439         * login/programs/pt_chown.c: Likewise.
43440         * nscd/nscd.c (print_version): Likewise.
43441         * debug/xtrace.sh: Likewise.
43442         * malloc/memusage.sh: Likewise.
43443         * malloc/mtrace.pl: Likewise.
43444         * debug/catchsegv.sh: Likewise.
43445
43446 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
43447
43448         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43449         pure attribute.
43450
43451 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
43452
43453         [BZ #13533]
43454         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43455         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43456         transformations.
43457         * iconv/gconv_int.h: Likewise.
43458         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43459         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43460         from libc for GLIBC_2.16.
43461         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43462         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43463         * wcsmbs/uchar.h: Really define mbstate_t.
43464         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43465         * wcsmbs/c16rtomb.c: New file.
43466         * wcsmbs/mbrtoc16.c: New file.
43467         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43468         for C/POSIX locale.
43469         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43470         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43471
43472         * wcsmbs/wchar.h: Add missing __restrict.
43473
43474 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43475
43476         [BZ #13532]
43477         * time/Makefile (routines): Add timespec_get.
43478         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43479         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43480         timespec for ISO C11.
43481         * time/timespec_get.c: New file.
43482         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43483         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43484
43485         [BZ #13531]
43486         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43487         * stdlib/stdlib.h: Declare aligned_alloc.
43488         * Versions.def: Add GLIBC_2.16 for libc.
43489         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43490
43491         [BZ 13527]
43492         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43493         ISO C11.
43494
43495         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43496         code.
43497
43498         [BZ #13528]
43499         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43500
43501         [BZ #13529]
43502         * assert/assert.h (static_assert): Define.
43503
43504         * version.h: Update for 2.16 development version.
43505
43506         [BZ #13526]
43507         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43508         _ISOC11_SOURCE.
43509
43510         * version.h (RELEASE): Bump for 2.15 release.
43511         * include/features.h (__GLIBC_MINOR__): Bump to 15.
43512
43513         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43514         Patch by Marek Polacek <mpolacek@redhat.com>.
43515
43516         * bits/byteswap.h: Protect long long constants with __extension__.
43517         * sysdeps/i386/bits/byteswap.h: Likewise.
43518         * sysdeps/ia64/bits/byteswap.h: Likewise.
43519         * sysdeps/s390/bits/byteswap.h: Likewise.
43520         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43521
43522 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43523
43524         [BZ #13540]
43525         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43526         destination buffer.
43527         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43528
43529 2011-12-23  Marek Polacek  <polacek@redhat.com>
43530
43531         * elf/dl-addr.c (determine_info): Add inline keyword.
43532         * elf/tst-auditmod4b.c (check_avx): Likewise.
43533         * elf/tst-auditmod6b.c (check_avx): Likewise.
43534         * elf/tst-auditmod6c.c (check_avx): Likewise.
43535         * elf/tst-auditmod7b.c (check_avx): Likewise.
43536
43537 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43538
43539         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43540         !__SSE_MATH__.
43541
43542 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43543
43544         [BZ #13540]
43545         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43546         processing for last bytes.
43547
43548 2011-08-06  Bruno Haible  <bruno@clisp.org>
43549
43550         [BZ #13061]
43551         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43552         U+0385, not to U+1FEE.
43553
43554         [BZ #13062]
43555         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43556         entry for U+00A5 U+0301.
43557
43558 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43559
43560         [BZ #13166]
43561         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43562         buffer for the output is too small.
43563
43564         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43565         optimization.
43566
43567         [BZ #13185]
43568         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43569         SSE flags if possible.
43570
43571 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43572
43573         [BZ #13540]
43574         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43575         processing for last bytes.
43576
43577 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
43578
43579         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43580         (syscall-list-default-options, syscall-list-default-condition)
43581         (syscall-list-includes): Define.
43582         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43583         list of ABIs and options and #if conditions for each ABI.  Do not
43584         handle common syscalls between ABIs specially.
43585         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43586         Remove.
43587         (syscall-list-variants, syscall-list-32bit-options)
43588         (syscall-list-32bit-condition, syscall-list-64bit-options)
43589         (syscall-list-64bit-condition): Define.
43590         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43591         (syscall-list-variants, syscall-list-32bit-options)
43592         (syscall-list-32bit-condition, syscall-list-64bit-options)
43593         (syscall-list-64bit-condition): Define.
43594         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43595         Remove.
43596         (syscall-list-variants, syscall-list-32bit-options)
43597         (syscall-list-32bit-condition, syscall-list-64bit-options)
43598         (syscall-list-64bit-condition): Define.
43599         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43600         Remove.
43601         (syscall-list-variants, syscall-list-32bit-options)
43602         (syscall-list-32bit-condition, syscall-list-64bit-options)
43603         (syscall-list-64bit-condition): Define.
43604
43605 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43606
43607         * locale/iso-639.def: Add brx entry.
43608
43609         [BZ #13328]
43610         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43611         Proposed by Mariusz_Cukr <marcukr@op.pl>.
43612
43613         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43614         __feraiseexcept_renamed.
43615
43616 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43617
43618         [BZ #13538]
43619         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43620         EPOLLET with unsigned values.
43621         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43622         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43623
43624         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43625         to large cancellation.
43626         * math/s_cacoshf.c: Likewise.
43627         * math/s_cacoshl.c: Likewise.
43628
43629 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
43630
43631         [BZ #13305]
43632         [BZ #12786]
43633         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43634         * math/s_cacoshf.c: Likewise.
43635         * math/s_cacoshl.c: Likewise.
43636
43637 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43638
43639         [BZ #13439]
43640         * iconv/gconv.h: Define __GCONV_SWAP.
43641         * iconvdata/unicode.c: The swap bit must be stored in __flags.
43642         * iconvdata/utf-16.c: Likewise.
43643         * iconvdata/utf-32.c: Likewise.
43644
43645 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
43646
43647         [BZ #13524]
43648         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43649         numerator after shifting it by one limb.
43650
43651 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
43652
43653         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43654         under [__USE_EXTERN_INLINES].
43655
43656 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43657
43658         [BZ #13446]
43659         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43660
43661 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43662
43663         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43664         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43665         optimized code.
43666         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43667         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43668         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43669         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43670         for strncasecmp/strncasecmp_l compilation.
43671         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43672         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43673
43674 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
43675
43676         [BZ #13484]
43677         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43678         of __asm__.
43679
43680 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43681
43682         [BZ #13506]
43683         * time/tzfile.c (__tzfile_read): Check values from file header.
43684
43685 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43686
43687         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43688         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43689         * powerpc/powerpc32/dl-start.S: Likewise.
43690         * powerpc/powerpc32/elf/start.S: Likewise.
43691         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43692         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43693         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43694         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43695         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43696         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43697         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43698         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43699         * powerpc/powerpc32/fpu/s_round.S: Likewise.
43700         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43701         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43702         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43703         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43704         * powerpc/powerpc32/memset.S: Likewise.
43705         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43706         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43707         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43708         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43709         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43710         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43711         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43712         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43713         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43714         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43715         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43716         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43717         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43718
43719 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43720
43721         * math/libm-test.inc: Added more nearbyint tests.
43722         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43723         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43724         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43725         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43726
43727 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
43728
43729         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43730         FD_CLOEXEC.
43731
43732 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43733
43734         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43735         Add wcscpy-ssse3 wcscpy-c.
43736         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43737         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43738         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43739         * sysdeps/x86_64/wcschr.S: New file.
43740         * sysdeps/x86_64/wcsrchr.S: New file.
43741         * string/test-strcmp.c: Remove checking of wcscmp function for
43742         wrong alignments.
43743         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43744         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43745         wcsrchr-sse2 wcsrchr-c.
43746         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43747         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43748         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43749         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43750         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43751         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43752         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43753         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43754         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43755         * wcsmbc/wcschr.c (WCSCHR): New macro.
43756
43757 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43758
43759         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43760         * wcsmbs/test-wcsrchr.c: New file.
43761         * string/test-strrchr.c: Add wcsrchr support.
43762         (WIDE): New macro.
43763         * wcsmbs/test-wcscpy.c: New file.
43764         * string/test-strcpy.c: Add wcscpy support.
43765         (WIDE): New macro.
43766
43767 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
43768
43769         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43770         the inner loop.
43771
43772 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
43773
43774         [BZ #13472]
43775         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43776
43777 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
43778
43779         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43780         Minor optimizations.
43781
43782         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43783         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43784         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43785
43786 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
43787
43788         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43789         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43790         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43791         for gcc to avoid warnings.
43792         * inet/Makefile (tests): Add tst-checks.
43793         * inet/tst-checks.c: New file.
43794
43795         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43796         warning.
43797
43798         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43799         __wmemcmp_sse2.
43800
43801         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43802         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43803
43804         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43805
43806 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
43807
43808         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43809         problem.
43810
43811         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43812
43813 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
43814
43815         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43816         conditional on GCC version.
43817         (__arch_compare_and_exchange_val_8_acq)
43818         (__arch_compare_and_exchange_val_16_acq)
43819         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43820         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43821         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43822
43823 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
43824
43825         * sysdeps/sh/backtrace.c: New file.
43826
43827 2011-12-02  Andreas Schwab  <schwab@redhat.com>
43828
43829         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
43830         parenthesis.
43831
43832 2011-12-01  Andreas Schwab  <schwab@redhat.com>
43833
43834         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43835         falling back to utime.
43836
43837 2011-11-30  Andreas Schwab  <schwab@redhat.com>
43838
43839         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43840         expectations for float.
43841
43842 2011-11-29  Andreas Schwab  <schwab@redhat.com>
43843
43844         * locale/weight.h (findidx): Add parameter len.
43845         * locale/weightwc.h (findidx): Likewise.
43846         * posix/fnmatch_loop.c (FCT): Adjust caller.
43847         * posix/regcomp.c (build_equiv_class): Likewise.
43848         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43849         * posix/regexec.c (check_node_accept_bytes): Likewise.
43850         * string/strcoll_l.c (STRCOLL): Likewise.
43851         * string/strxfrm_l.c (STRXFRM): Likewise.
43852
43853 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
43854
43855         * Makefile.in: Remove CVSOPT handling.
43856         * configure.in: Remove use of AC_REVISION.
43857         * iconvdata/Makefile (distribute): No need to filter out CVS.
43858         * scripts/list-sources.sh: Remove CVS, subversion and monotone
43859         handling.
43860
43861 2011-11-16  Andreas Schwab  <schwab@redhat.com>
43862
43863         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43864         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43865         [USE_AS_STRNCASECMP_L]: Likewise.
43866         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43867         NO_TLS_DIRECT_SEG_REFS.
43868         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43869         Fix argument offsets for non-PIC.
43870         [USE_AS_STRNCASECMP_L]: Likewise.
43871         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43872         NO_TLS_DIRECT_SEG_REFS.
43873
43874 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43875
43876         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43877         O_CLOEXEC.
43878         * locale/loadlocale.c (_nl_load_locale): Likewise.
43879
43880 2011-11-15  Andreas Schwab  <schwab@redhat.com>
43881
43882         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43883         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43884         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43885         (SYSCALL_GETTIME): Set errno on error.
43886
43887         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43888         count references to noai6ai_cached.
43889
43890 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43891
43892         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43893
43894         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43895         FD_CLOEXEC for /proc/self/maps.
43896
43897         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43898         FD_CLOEXEC for /proc/meminfo.
43899
43900         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43901         gai.conf.
43902
43903         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
43904         FD_CLOEXEC for given file.
43905
43906         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43907
43908         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43909         FD_CLOEXEC for /etc/hosts.
43910         (_gethtent): Likewise.
43911
43912         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43913
43914         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43915         cancellation and set FD_CLOEXEC for /etc/netgroup.
43916
43917         * nss/nss_files/files-key.c (search): Don't allow cancellation when
43918         reading /etc/publickey.
43919
43920         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43921         allow cancellation when reading /etc/group.
43922
43923         * nss/nss_files/files-alias.c (internal_setent): Don't allow
43924         cancellation.
43925         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
43926
43927         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43928         when using data file.
43929
43930         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43931
43932         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43933         (write_nis_obj): Use "c" and "e" in fopen.
43934
43935         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43936
43937         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43938
43939         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43940
43941         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43942
43943         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43944         locale.alias.
43945
43946         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43947
43948         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43949
43950         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43951
43952         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43953         file parsing and set FD_CLOEXEC.
43954
43955 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43956
43957         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43958
43959 2011-11-14  Andreas Schwab  <schwab@redhat.com>
43960
43961         * malloc/arena.c (arena_get2): Don't call reused_arena when
43962         _int_new_arena failed.
43963
43964 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43965
43966         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43967         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43968         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43969         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43970         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43971         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43972         to compile strcasecmp and strncasecmp.
43973         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43974         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43975
43976         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43977
43978 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
43979
43980         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43981         locale-defines.sym to gen-as-const-headers.
43982         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43983         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43984         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43985         to compile strcasecmp and strncasecmp.
43986         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43987         strcasecmp_l and strncasecmp_l.
43988         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43989         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43990         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43991         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43992         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43993         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43994         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43995         * sysdeps/i386/i686/multiarch/strncase.S: New file.
43996         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43997         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43998         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43999
44000 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
44001
44002         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44003         result of SYSDEP_GETTIME_CPU to retval.
44004         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44005         parameter list to macro.  Remove trailing semicolon.  Adjust users.
44006
44007         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44008         variable.
44009
44010         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44011         mantissa words.
44012         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44013
44014         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44015         from unused variable.
44016
44017         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44018         DWARF definitions.
44019         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44020         for assembling.
44021
44022         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44023         over namespaces.
44024
44025         * sunrpc/rpc_prot.c (rejected): Fix case value.
44026
44027         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44028         unsigned long long int to avoid warnings in shift.
44029
44030         * posix/regex_internal.c (re_string_reconstruct): Actually use result
44031         of use of trans.
44032         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44033         variable tmp.
44034
44035         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44036         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44037         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44038
44039         * nis/nis_table.c (nis_list): Use variable of correct type for
44040         result of __follow_path call.
44041
44042 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44043
44044         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44045         of math functions ceil, trunc, floor, round, and sqrt, when
44046         avaliable on the platform.
44047         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44048         name clash.
44049         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44050         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44051         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44052
44053 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
44054
44055         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44056         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44057
44058 2011-11-11  Roland McGrath  <roland@hack.frob.com>
44059
44060         * include/unistd.h: Fix __readlink return type.
44061         Reported by Chris Metcalf <cmetcalf@tilera.com>.
44062
44063 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
44064
44065         * stdlib/ucontext.h: Undo last change for makecontext.
44066
44067 2011-11-11  Andreas Schwab  <schwab@redhat.com>
44068
44069         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44070
44071         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44072         * setjmp/setjmp.h: Mark functions as non-leaf.
44073         * setjmp/bits/setjmp2.h: Likewise.
44074         * stdlib/ucontext.h: Likewise.
44075
44076 2011-11-10  Andreas Schwab  <schwab@redhat.com>
44077
44078         * malloc/arena.c (_int_new_arena): Don't increment narenas.
44079         (reused_arena): Don't check arena limit.
44080         (arena_get2): Atomically check arena limit.
44081
44082 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
44083
44084         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44085         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44086
44087         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44088         instructions.
44089
44090 2011-11-07  Andreas Schwab  <schwab@redhat.com>
44091
44092         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44093         handler when locking.
44094
44095         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44096         Fix size of allocated buffer.
44097
44098 2011-11-04  Andreas Schwab  <schwab@redhat.com>
44099
44100         [BZ #10103]
44101         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44102         declarations for long double functions.
44103         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44104
44105         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44106
44107 2011-11-03  Andreas Schwab  <schwab@redhat.com>
44108
44109         * nscd/nscd.c (main): Don't start AVC thread until credentials are
44110         installed.
44111
44112         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44113         is disabled.
44114
44115 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44116
44117         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44118
44119 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
44120
44121         * include/alloca.h (stackinfo_alloca_round): Define.
44122         (extend_alloca): Use it.
44123         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44124         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44125         here.
44126
44127         * scripts/check-local-headers.sh: Ignore libaudit.h.
44128
44129         * nscd/Makefile (extra-objs): Make recursively expanded.
44130
44131 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
44132
44133         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44134         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44135
44136         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44137         * posix/tst-rfc3484-2.c: Likewise.
44138         * posix/tst-rfc3484-3.c: Likewise.
44139
44140         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44141         process_vm_writev.
44142         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44143         process_vm_writev.
44144         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44145         process_vm_writev from libc using GLIBC_2.15 version.
44146
44147         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44148
44149 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
44150
44151         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44152         stack usage.
44153
44154 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
44155
44156         [BZ #13367]
44157         * nss/getent.c (initgroups_keys): Show error message in case no group
44158         names are given.
44159
44160         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44161         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44162         __bump_nl_timestamp.
44163         * nscd/connections (nscd_init): When host database is served open
44164         netlink socket and request notification about configuration changes.
44165         (main_loop_poll): Track netlink file descriptor and bump timestamp
44166         in case data becomes available.
44167         (main_loop_epoll): Likewise.
44168         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44169         (database_pers_head): Add extra_data fileds.
44170         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44171         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44172         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44173         Adjust caller.
44174         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44175         in6ai data, call __free_in6ai.
44176         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44177         Add -DHAVE_NETLINK.
44178         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
44179         interface information.  Reuse previous data if netlink timestamp
44180         is not changed.
44181         (__bump_nl_timestamp): New function.
44182         (__free_in6ai): New function.
44183
44184 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
44185
44186         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44187         close_not_cancel_no_status here.
44188         (__check_pf): Reorganize code a bit to not call close twice if OOM.
44189
44190 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44191
44192         [BZ #13276]
44193         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44194         return value.
44195
44196         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44197         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44198         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44199
44200 2011-07-03  Andreas Jaeger  <aj@suse.de>
44201
44202         [BZ #10709]
44203         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44204         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44205         * math/libm-test.inc (sin_test): Add test case.
44206
44207 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44208
44209         [BZ #13337]
44210         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44211         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44212
44213         * elf/chroot_canon.c (chroot_canon): Cleanups.
44214
44215         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44216
44217         [BZ #13335]
44218         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44219         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44220
44221         * string/test-strchr.c: Make usable for strchrnul testing.
44222         * string/test-strchrnul.c: New file.
44223         * string/Makefile (strop-tests): Add strchrnul.
44224
44225         * po/it.po: Update from translation team.
44226         * po/es.po: Likewise.
44227
44228 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
44229
44230         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44231         the three constants needed as parameters.  Drop the others.
44232         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44233         __m128i_strloadu_tolower.
44234         Create and initialize variable zero and use it in all the places
44235         where _mm_setzero_si128 was used.
44236
44237         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44238         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44239         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44240         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44241         anymore.
44242         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44243         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44244         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44245         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44246         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44247         __mpranred, __mptan.
44248         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44249         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44250         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44251         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44252         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44253         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44254         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44255         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44256         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44257
44258 2011-10-28  Andreas Schwab  <schwab@redhat.com>
44259
44260         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44261         redefine if SHARED.
44262         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44263
44264         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44265         wide char related routines to wcsmbs subdir.
44266
44267 2011-10-27  Andreas Schwab  <schwab@redhat.com>
44268
44269         [BZ #13344]
44270         * misc/sys/cdefs.h (__THROWNL): Define.
44271         * posix/unistd.h: Use __THREADNL instead of __THREAD
44272         for memory synchronization functions.
44273
44274 2011-10-26  Roland McGrath  <roland@hack.frob.com>
44275
44276         [BZ #13349]
44277         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44278         doesn't exist.
44279         * manual/stdio.texi (Obstack Streams): Node removed.
44280
44281 2011-10-26  Andreas Schwab  <schwab@redhat.com>
44282
44283         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44284         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44285         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44286
44287         * math/math_private.h (math_force_eval): Allow non-addressable
44288         arguments.
44289         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44290
44291 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44292
44293         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44294         file is not needed.
44295
44296         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44297         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44298         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44299         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44300         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44301         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44302         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44303         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44304         Add AVX variants.
44305         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44306         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44307         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44308         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44309         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44310         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44311         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44312         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44313         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44314         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44315         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44316         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44317         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44318         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44319         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44320         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44321         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44322         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44323         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44324
44325         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44326         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
44327
44328         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44329         place.  Use VEX encoding when compiling for AVX.
44330
44331 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44332
44333         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44334         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44335
44336         * string/test-strchr.c (do_test): Don't generate NUL bytes.
44337
44338 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44339
44340         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44341         useless if() expression.
44342         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44343         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44344         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44345         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44346         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44347         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44348         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44349         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44350         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44351         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44352         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44353         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44354         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44355         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44356         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44357         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44358         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44359         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44360         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44361
44362         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44363
44364 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44365
44366         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44367         condition.
44368         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44369
44370 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44371
44372         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44373         .text section.  Avoid duplicate constants.
44374         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44375         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44376         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44377         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44378         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44379         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44380         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44381         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44382         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44383         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44384         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44385         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44386         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44387         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44388         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44389         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44390         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44391         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44392         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44393         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44394         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44395         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44396         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44397         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44398         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44399         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44400         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44401         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44402         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44403         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44404         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44405         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44406         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44407         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44408         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44409         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44410         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44411         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44412         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44413         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44414         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44415         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44416         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44417         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44418         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44419
44420 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
44421
44422         * sysdeps/x86_64/dla.h: Move to ...
44423         * sysdeps/x86_64/fpu/dla.h: ...here.
44424         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44425         situations.  Use __builtin_fma only for gcc 4.6 and up.
44426
44427         * config.make.in: Add have-mfma4 entry.
44428         * configure.in: Substitute libc_cv_cc_fma4.
44429         * math/Makefile (dbl-only-routines): Add sincostab.
44430         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44431         Use __sincostab not sincos.
44432         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44433         name is a macro.
44434         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44435         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44436         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44437         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
44438         using __copysign.
44439         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
44440         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
44441         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44442         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44443         and __inv.
44444         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44445         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44446         __copysign.
44447         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
44448         define aliases when function name is a macro.
44449         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44450         sysdeps/ieee754/dbl-64/sincos.tbl.
44451         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44452         fma4-enabled routines.
44453         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44454         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44455         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44456         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44457         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44458         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44459         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44460         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44461         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44462         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44463         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44464         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44465         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44466         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44467         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44468         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44469         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44470         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44471         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44472         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44473         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44474         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44475         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44476         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44477         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44478         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44479         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44480         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44481         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44482         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44483
44484         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44485         rename.
44486         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44487         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44488         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44489         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44490         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44491         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44492         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44493         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44494
44495 2011-10-24  Andreas Schwab  <schwab@redhat.com>
44496
44497         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44498
44499 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44500
44501         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44502
44503         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44504         prediction.
44505         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44506
44507         * string/strnlen.c: Don't define STRNLEN, reverse logic.
44508         Remove unused variable magic_bits.
44509         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44510
44511         * string/strnlen.c: Define and use STRNLEN macro.
44512         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44513         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44514         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44515         * wcsmbs/wcslen.c: Define and use WCSLEN.
44516         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44517         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44518         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44519         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44520         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44521         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44522         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44523
44524 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44525
44526         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44527         strnlen-sse2-no-bsf.
44528         Rename strlen-no-bsf to strlen-sse2-no-bsf.
44529         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44530         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44531         Add strnlen support.
44532         (USE_AS_STRNLEN): New macro.
44533         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44534         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44535         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44536         * sysdeps/x86_64/wcslen.S: New file.
44537
44538 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
44539
44540         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44541         XMM-moves are used for copying on small sizes.
44542
44543 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44544
44545         * wcsmbs/Makefile (strop-tests): Add wcschr.
44546         * wcsmbs/test-wcschr.c: New file.
44547         * string/test-strchr.c: Update.
44548         Add wcschr support.
44549         (WIDE): New macro.
44550
44551 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44552
44553         * wcsmbs/Makefile (strop-tests): Add wcslen.
44554         * wcsmbs/test-wcslen.c: New file.
44555         * string/test-strlen.c: Update.
44556         Add wcslen support.
44557         (WIDE): New macro.
44558
44559 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44560
44561         * po/it.po: Update from translation team.
44562
44563 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44564
44565         * sysdeps/x86_64/wcscmp.S: Update.
44566         Fix wrong comparison semantics.
44567         wcscmp shall use signed comparison not unsigned.
44568         Don't use substraction to avoid overflow bug.
44569         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44570         * wcsmbc/wcscmp.c: Likewise.
44571         * string/test-strcmp.c: Likewise.
44572         Add new tests to check cases with negative values.
44573
44574 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44575
44576         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44577         * sysdeps/x86_64/dla.h: ...here.  New file.
44578         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44579         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44580         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44581         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44582         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44583         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44584         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44585         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44586         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44587
44588 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
44589
44590         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44591         __ynl_finite aliases.
44592
44593 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44594
44595         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44596
44597         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44598         define DLA_FMA.
44599         [DLA_FMA] (EMULV): Use DLA_FMA.
44600         [DLA_FMA] (MUL12): Use EMULV.
44601         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44602         that are not needed.
44603         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44604         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44605         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44606         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44607         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44608         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44609         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44610
44611 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
44612
44613         * math/s_nan.c: Undef __nan.
44614         * math/s_nanf.c: Undef __nanf.
44615         * math/s_nanl.c: Undef __nanl.
44616         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44617         "math_private.h".
44618
44619 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44620
44621         * math/s_catan.c: Add branch predictions.
44622         * math/s_catanf.c: Likewise.
44623         * math/s_catanh.c: Likewise.
44624         * math/s_catanhf.c: Likewise.
44625         * math/s_catanhl.c: Likewise.
44626         * math/s_catanl.c: Likewise.
44627         * math/s_cexp.c: Likewise.
44628         * math/s_cexpf.c: Likewise.
44629         * math/s_cexpl.c: Likewise.
44630         * math/s_clog.c: Likewise.
44631         * math/s_clog10.c: Likewise.
44632         * math/s_clog10f.c: Likewise.
44633         * math/s_clog10l.c: Likewise.
44634         * math/s_clogf.c: Likewise.
44635         * math/s_clogl.c: Likewise.
44636         * math/s_csqrt.c: Likewise.
44637         * math/s_csqrtf.c: Likewise.
44638         * math/s_csqrtl.c: Likewise.
44639         * math/s_ctanf.c: Likewise.
44640         * math/s_ctanh.c: Likewise.
44641         * math/s_ctanhf.c: Likewise.
44642         * math/s_ctanhl.c: Likewise.
44643         * math/s_ctanl.c: Likewise.
44644
44645         * math/math_private.h: Define __nan, __nanf, __nanl.
44646         * math/s_cacosh.c: Include <math_private.h>.
44647         * math/s_cacoshl.c: Likewise.
44648         * math/s_casinh.c: Likewise.
44649         * math/s_casinhf.c: Likewise.
44650         * math/s_casinhl.c: Likewise.
44651         * math/s_ccos.c: Rely entire on ccosh.
44652         * math/s_ccosf.c: Rely entire on ccoshf.
44653         * math/s_ccosl.c: Rely entirely on ccoshl.
44654         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
44655         Remove tests for FE_INVALID.
44656         * math/s_ccoshf.c: Likewise.
44657         * math/s_ccoshl.c: Likewise.
44658         * math/s_csin.c: Likewise.
44659         * math/s_csinf.c: Likewise.
44660         * math/s_csinh.c Likewise.
44661         * math/s_csinhf.c: Likewise.
44662         * math/s_csinhl.c: Likewise.
44663         * math/s_csinl.c: Likewise.
44664         * math/s_ctan.c: Likewise.
44665         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44666         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44667         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44668
44669 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
44670
44671         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44672         compilation problems.
44673
44674         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44675         __builtin_expect.
44676
44677 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
44678
44679         * sysdeps/i386/configure.in: Test for -mfma4 option.
44680         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44681         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44682         COMMON_CPUID_INDEX_80000001.
44683         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44684         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44685         use it if FMA3 is not supported.
44686         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44687
44688         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44689         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44690
44691 2011-10-20  Andreas Schwab  <schwab@redhat.com>
44692
44693         [BZ #12892]
44694         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44695         it would create a cycle with a link time dependency.
44696
44697 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
44698
44699         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44700         instruction.
44701         * string/Makefile (strop-tests): Add rawmemchr.
44702         * string/test-rawmemchr.c: New file.
44703
44704         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44705         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
44706         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
44707         when compiling str{,n}casecmp and when AVX is available.  Hook up
44708         new optimized code in initializers.
44709
44710 2011-10-19  Andreas Schwab  <schwab@redhat.com>
44711
44712         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44713         __feraiseexcept instead of feraiseexcept.
44714
44715 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
44716
44717         * math/math_private.h: Define defaults for libc_fetestexcept and
44718         libc_feupdateenv.
44719         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44720         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44721         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44722         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44723         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44724         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44725         libc_fetestexcept and libc_feupdateenv.
44726
44727         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44728         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44729         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44730         * sysdeps/x86_64/fpu/math_private.h: Define special version of
44731         libc_feholdexcept_setround.
44732
44733         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44734         Add s_nearbyint-c and s_nearbyintf-c.
44735         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44736         nearbyintf inlines.
44737         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44738         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44739         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44740         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44741
44742         * math/math_private.h: Define defaults for libc_fegetround,
44743         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44744         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44745         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44746         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44747         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44748         standard functions.
44749         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44750         Remove comments and hacks for old compiler versions.
44751         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44752         libc_fegetround, libc_fesetround, libc_feholdexcept, and
44753         libc_feholdexceptl.
44754
44755 2011-10-18  Andreas Schwab  <schwab@redhat.com>
44756
44757         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44758         (__feraiseexcept_renamed): Add __NTH.
44759         (feraiseexcept): Add __NTH.  Rename local variables to fix
44760         namespace violations.
44761
44762 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
44763
44764         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44765
44766         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44767
44768         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44769         recently added interfaces.
44770         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44771
44772         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44773         about macro parameter expansion.
44774
44775         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44776         __NO_MATH_INLINES is defined.  Cleanups.
44777
44778         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44779         and __floorf is target has SSE4.1.
44780         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44781         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44782         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44783         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44784
44785         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44786         name.
44787         (floorf): Likewise.
44788
44789         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44790
44791 2011-10-17  Andreas Schwab  <schwab@redhat.com>
44792
44793         * misc/sys/cdefs.h: Fix last change.
44794
44795         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44796         database lookup.
44797
44798 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
44799
44800         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44801
44802         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44803         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44804         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44805         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44806         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44807         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44808         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44809         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44810         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44811         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44812         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44813         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44814         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44815         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44816         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44817         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44818         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44819         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44820         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44821         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44822         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44823         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44824
44825         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44826         ceil, ceilf, floor, floorf.
44827
44828         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44829         Perform IRELATIVE relocations last.
44830
44831         * elf/do-rel.h: Add another parameter nrelative, replacing the
44832         local variable with the same name.  Change name of the function
44833         to end in Rel or Rela (uppercase).
44834         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44835         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
44836         elf_dynamic_do_##reloc function.
44837
44838 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44839
44840         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44841         is sufficient, at least on modern CPUs.
44842
44843         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44844
44845         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44846         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44847
44848         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44849         __expl_finite.
44850         * math/bits/math-finite.h: Add entries for exp.
44851         * math/e_expl.c: Add __*_finite alias.
44852         * sysdeps/i386/fpu/e_exp.S: Likewise.
44853         * sysdeps/i386/fpu/e_expf.S: Likewise.
44854         * sysdeps/i386/fpu/e_expl.c: Likewise.
44855         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44856         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44857         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44858         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44859         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44860         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44861         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44862
44863         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44864         is sufficient, at least on modern CPUs.
44865
44866         * ctype/ctype-info.c (__ctype_init): Define.
44867         * include/ctype.h (__ctype_init): Declare.
44868         (__ctype_b_loc): The variable is always initialized.
44869         (__ctype_toupper_loc): Likewise.
44870         (__ctype_tolower_loc): Likewise.
44871         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44872         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44873
44874 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
44875
44876         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44877
44878         * configure.in: Also look in $cxxmachine/include for C++ system
44879         headers.
44880
44881 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44882
44883         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44884         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44885         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44886         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
44887         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44888         (USE_AS_WMEMCMP): New macro.
44889         Fixing indents.
44890         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44891         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44892         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44893         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44894         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44895         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44896         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44897         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44898         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44899         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44900         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44901         (USE_AS_WMEMCMP): New macro.
44902         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44903         * sysdeps/string/test-memcmp.c: Update.
44904         Fix simple_wmemcmp.
44905         Add new tests.
44906         * wcsmbs/wmemcmp.c: Update.
44907         (WMEMCMP): New macro.
44908         Fix overflow bug.
44909
44910 2011-10-12  Andreas Jaeger  <aj@suse.de>
44911
44912         [BZ #13268]
44913         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44914
44915 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44916
44917         * libio/iofwide.c (do_length): Avoid warning.
44918
44919         * ctype/ctype.h (__isctype_f): Add missing __THROW.
44920
44921 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
44922
44923         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44924
44925         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44926         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44927         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44928         * sysdeps/i386/i686/fpu/e_log.S: New file.
44929         * sysdeps/i386/i686/fpu/e_logf.S: New file.
44930         * sysdeps/i386/i686/fpu/e_logl.S: New file.
44931
44932         * ctype/ctype.h: Add support for inlined isXXX functions when
44933         compiling C++ code.
44934
44935 2011-10-14  Andreas Schwab  <schwab@redhat.com>
44936
44937         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44938
44939         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44940
44941 2011-10-13  Roland McGrath  <roland@hack.frob.com>
44942
44943         [BZ #13291]
44944         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44945
44946 2011-10-13  Andreas Schwab  <schwab@redhat.com>
44947
44948         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44949         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44950         feraiseexcept.
44951
44952         * sysdeps/x86_64/memrchr.S: Check for zero size.
44953
44954         * string/stratcliff.c: Add memrchr tests.
44955
44956 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44957
44958         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44959         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44960         rawmemchr-sse2 rawmemchr-sse2-bsf.
44961         * sysdeps/i386/i686/multiarch/memchr.S: New file.
44962         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44963         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44964         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44965         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44966         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44967         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44968         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44969         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44970         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44971         * string/memrchr.c (MEMRCHR): New macro.
44972
44973 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
44974
44975         Add integration with gcc's -ffinite-math-only and optimize wrapper
44976         functions in libm.
44977         * Versions.def: Define GLIBC_2.15 version for libm.
44978         * math/Makefile (headers): Add bits/math-finite.h.
44979         * math/bits/math-finite.h: New file.
44980         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44981         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44982         * math/e_acoshl.c: Add __*_finite alias.
44983         * math/e_acosl.c: Likewise.
44984         * math/e_asinl.c: Likewise.
44985         * math/e_atan2l.c: Likewise.
44986         * math/e_atanhl.c: Likewise.
44987         * math/e_coshl.c: Likewise.
44988         * math/e_exp10.c: Likewise.
44989         * math/e_exp10f.c: Likewise.
44990         * math/e_exp10l.c: Likewise.
44991         * math/e_exp2l.c: Likewise.
44992         * math/e_fmodl.c: Likewise.
44993         * math/e_gammal_r.c: Likewise.
44994         * math/e_hypotl.c: Likewise.
44995         * math/e_j0l.c: Likewise.
44996         * math/e_j1l.c: Likewise.
44997         * math/e_jnl.c: Likewise.
44998         * math/e_lgammal_r.c: Likewise.
44999         * math/e_log10l.c: Likewise.
45000         * math/e_log2l.c: Likewise.
45001         * math/e_logl.c: Likewise.
45002         * math/e_powl.c: Likewise.
45003         * math/e_sinhl.c: Likewise.
45004         * math/e_sqrtl.c: Likewise.
45005         * math/e_scalb.c: Completely rewritten and optimized.
45006         * math/e_scalbf.c: Likewise.
45007         * math/e_scalbl.c: Likewise.
45008         * math/w_acos.c: Likewise.
45009         * math/w_acosf.c: Likewise.
45010         * math/w_acosl.c: Likewise.
45011         * math/w_acosh.c: Likewise.
45012         * math/w_acoshf.c: Likewise.
45013         * math/w_acoshl.c: Likewise.
45014         * math/w_asin.c: Likewise.
45015         * math/w_asinf.c: Likewise.
45016         * math/w_asinl.c: Likewise.
45017         * math/w_atan2.c: Likewise.
45018         * math/w_atan2f.c: Likewise.
45019         * math/w_atan2l.c: Likewise.
45020         * math/w_atanh.c: Likewise.
45021         * math/w_atanhf.c: Likewise.
45022         * math/w_atanhl.c: Likewise.
45023         * math/w_exp10.c: Likewise.
45024         * math/w_exp10f.c: Likewise.
45025         * math/w_exp10l.c: Likewise.
45026         * math/w_fmod.c: Likewise.
45027         * math/w_fmodf.c: Likewise.
45028         * math/w_fmodl.c: Likewise.
45029         * math/w_j0.c: Likewise.
45030         * math/w_j0f.c: Likewise.
45031         * math/w_j0l.c: Likewise.
45032         * math/w_j1.c: Likewise.
45033         * math/w_j1f.c: Likewise.
45034         * math/w_j1l.c: Likewise.
45035         * math/w_jn.c: Likewise.
45036         * math/w_jnf.c: Likewise.
45037         * math/w_log.c: Likewise.
45038         * math/w_logf.c: Likewise.
45039         * math/w_logl.c: Likewise.
45040         * math/w_log10.c: Likewise.
45041         * math/w_log10f.c: Likewise.
45042         * math/w_log10l.c: Likewise.
45043         * math/w_log2.c: Likewise.
45044         * math/w_log2f.c: Likewise.
45045         * math/w_log2l.c: Likewise.
45046         * math/w_pow.c: Likewise.
45047         * math/w_powf.c: Likewise.
45048         * math/w_powl.c: Likewise.
45049         * math/w_remainder.c: Likewise.
45050         * math/w_remainderf.c: Likewise.
45051         * math/w_remainderl.c: Likewise.
45052         * math/w_scalb.c: Likewise.
45053         * math/w_scalbf.c: Likewise.
45054         * math/w_scalbl.c: Likewise.
45055         * math/w_sqrt.c: Likewise.
45056         * math/w_sqrtf.c: Likewise.
45057         * math/w_sqrtl.c: Likewise.
45058         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45059         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
45060         used.
45061         * math/math_private.h: Declare __kernel_standard_f.
45062         * math/w_cosh.c: Remove cruft and optimize a bit.
45063         * math/w_coshf.c: Likewise.
45064         * math/w_coshl.c: Likewise.
45065         * math/w_exp2.c: Likewise.
45066         * math/w_exp2f.c: Likewise.
45067         * math/w_exp2l.c: Likewise.
45068         * math/w_hypot.c: Likewise.
45069         * math/w_hypotf.c: Likewise.
45070         * math/w_hypotl.c: Likewise.
45071         * math/w_lgamma.c: Likewise.
45072         * math/w_lgamma_r.c: Likewise.
45073         * math/w_lgammaf.c: Likewise.
45074         * math/w_lgammaf_r.c: Likewise.
45075         * math/w_lgammal.c: Likewise.
45076         * math/w_lgammal_r.c: Likewise.
45077         * math/w_sinh.c: Likewise.
45078         * math/w_sinhf.c: Likewise.
45079         * math/w_sinhl.c: Likewise.
45080         * math/w_tgamma.c: Likewise.
45081         * math/w_tgammaf.c: Likewise.
45082         * math/w_tgammal.c: Likewise.
45083         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45084         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45085         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45086         Minor optimizations.  Pretty printing.  Remove cruft.
45087         * sysdeps/i386/fpu/e_acosf.S: Likewise.
45088         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45089         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45090         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45091         * sysdeps/i386/fpu/e_acosl.c: Likewise.
45092         * sysdeps/i386/fpu/e_asin.S: Likewise.
45093         * sysdeps/i386/fpu/e_asinf.S: Likewise.
45094         * sysdeps/i386/fpu/e_atan2.S: Likewise.
45095         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45096         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45097         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45098         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45099         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45100         * sysdeps/i386/fpu/e_exp10.S: Likewise.
45101         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45102         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45103         * sysdeps/i386/fpu/e_exp2.S: Likewise.
45104         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45105         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45106         * sysdeps/i386/fpu/e_fmod.S: Likewise.
45107         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45108         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45109         * sysdeps/i386/fpu/e_hypot.S: Likewise.
45110         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45111         * sysdeps/i386/fpu/e_log.S: Likewise.
45112         * sysdeps/i386/fpu/e_log10.S: Likewise.
45113         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45114         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45115         * sysdeps/i386/fpu/e_log2.S: Likewise.
45116         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45117         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45118         * sysdeps/i386/fpu/e_logf.S: Likewise.
45119         * sysdeps/i386/fpu/e_logl.S: Likewise.
45120         * sysdeps/i386/fpu/e_pow.S: Likewise.
45121         * sysdeps/i386/fpu/e_powf.S: Likewise.
45122         * sysdeps/i386/fpu/e_powl.S: Likewise.
45123         * sysdeps/i386/fpu/e_remainder.S: Likewise.
45124         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45125         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45126         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45127         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45128         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45129         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45130         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45131         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45132         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45133         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45134         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45135         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45136         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45137         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45138         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45139         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45140         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45141         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45142         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45143         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45144         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45145         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45146         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45147         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45148         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45149         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45150         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45151         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45152         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45153         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45154         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45155         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45156         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45157         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45158         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45159         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45160         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45161         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45162         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45163         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45164         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45165         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45166         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45167         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45168         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45169         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45170         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45171         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45172         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45173         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45174         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45175         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45176         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45177         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45178         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45179         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45180         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45181         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45182         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45183         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45184         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45185         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45186         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45187         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45188         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45189         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45190         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45191         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45192         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45193         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45194         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45195         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45196         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45197         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45198         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45199         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45200         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45201         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45202         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45203         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45204         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45205         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45206         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45207         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45208         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45209         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45210         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45211         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45212         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45213         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45214         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45215         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45216         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45217         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45218         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45219         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45220         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45221         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45222         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45223         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45224         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45225         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45226         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45227         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45228         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45229         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45230         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45231         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45232         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45233         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45234         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45235         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45236         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45237         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45238         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45239         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45240         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45241         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45242         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
45243         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45244         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45245         (__isnanf): Likewise.
45246         (__isinf_ns): Likewise.
45247         (__isinf_nsf): Likewise.
45248         (__finite): Likewise.
45249         (__finitef): Likewise.
45250         (__ieee754_sqrt): Define as macro.
45251         (__ieee754_sqrtf): Define as macro.
45252         (__ieee754_sqrtl): Define as macro.
45253         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45254         inlined copy.
45255         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45256         __FINITE_MATH_ONLY__ consistent.
45257         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45258
45259 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
45260
45261         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45262         of rawmemchr.
45263
45264         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45265
45266 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
45267
45268         * po/ja.po: Update from translation team.
45269
45270 2011-10-08  Roland McGrath  <roland@hack.frob.com>
45271
45272         * locale/programs/locarchive.c (prepare_address_space): New function.
45273         (create_archive, enlarge_archive, open_archive): Use it.
45274
45275         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45276         inside [SHARED], where it is used.
45277
45278         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45279
45280         * nss/getent.c (netgroup_keys): Remove unused variable.
45281         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45282
45283 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
45284
45285         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45286         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45287         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45288         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45289         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45290         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45291         * math/Makefile (libm-calls): Add s_isinf_ns.
45292         * math/divtc3.c: Use __isinf_nsl instead of isinf.
45293         * math/multc3.c: Likewise.
45294         * math/s_casin.c: Likewise.
45295         * math/s_casinf.c: Likewise.
45296         * math/s_casinl.c: Likewise.
45297         * math/s_ccos.c: Likewise.
45298         * math/s_ccosf.c: Likewise.
45299         * math/s_ccosl.c: Likewise.
45300         * math/s_ctan.c: Likewise.
45301         * math/s_ctanf.c: Likewise.
45302         * math/s_ctanh.c: Likewise.
45303         * math/s_ctanhf.c: Likewise.
45304         * math/s_ctanhl.c: Likewise.
45305         * math/s_ctanl.c: Likewise.
45306         * math/w_fmod.c: Likewise.
45307         * math/w_fmodf.c: Likewise.
45308         * math/w_fmodl.c: Likewise.
45309         * math/w_remainder.c: Likewise.
45310         * math/w_remainderf.c: Likewise.
45311         * math/w_remainderl.c: Likewise.
45312         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45313         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45314         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45315         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45316         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45317         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45318         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45319         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45320
45321         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45322         of the number.
45323         * stdio-common/printf_fphex.c: Likewise.
45324         * stdio-common/printf_size.c: Likewise.
45325
45326         * math/e_exp10.c: Include math_private.h using <...> not "...".
45327         * math/e_exp10f.c: Likewise.
45328         * math/e_exp10l.c: Likewise.
45329         * math/e_exp2l.c: Likewise.
45330         * math/e_j0l.c: Likewise.
45331         * math/e_j1l.c: Likewise.
45332         * math/e_jnl.c: Likewise.
45333         * math/e_lgammal_r.c: Likewise.
45334         * math/e_rem_pio2l.c: Likewise.
45335         * math/e_scalb.c: Likewise.
45336         * math/e_scalbf.c: Likewise.
45337         * math/e_scalbl.c: Likewise.
45338         * math/k_cosl.c: Likewise.
45339         * math/k_sinl.c: Likewise.
45340         * math/k_tanl.c: Likewise.
45341         * math/s_cacoshf.c: Likewise.
45342         * math/s_catan.c: Likewise.
45343         * math/s_catanf.c: Likewise.
45344         * math/s_catanh.c: Likewise.
45345         * math/s_catanhf.c: Likewise.
45346         * math/s_catanhl.c: Likewise.
45347         * math/s_catanl.c: Likewise.
45348         * math/s_ccosh.c: Likewise.
45349         * math/s_ccoshf.c: Likewise.
45350         * math/s_ccoshl.c: Likewise.
45351         * math/s_cexp.c: Likewise.
45352         * math/s_cexpf.c: Likewise.
45353         * math/s_cexpl.c: Likewise.
45354         * math/s_clog.c: Likewise.
45355         * math/s_clog10.c: Likewise.
45356         * math/s_clog10f.c: Likewise.
45357         * math/s_clog10l.c: Likewise.
45358         * math/s_clogf.c: Likewise.
45359         * math/s_clogl.c: Likewise.
45360         * math/s_csin.c: Likewise.
45361         * math/s_csinf.c: Likewise.
45362         * math/s_csinh.c: Likewise.
45363         * math/s_csinhf.c: Likewise.
45364         * math/s_csinhl.c: Likewise.
45365         * math/s_csinl.c: Likewise.
45366         * math/s_csqrt.c: Likewise.
45367         * math/s_csqrtf.c: Likewise.
45368         * math/s_csqrtl.c: Likewise.
45369         * math/s_ctan.c: Likewise.
45370         * math/s_ctanf.c: Likewise.
45371         * math/s_ctanh.c: Likewise.
45372         * math/s_ctanhf.c: Likewise.
45373         * math/s_ctanhl.c: Likewise.
45374         * math/s_ctanl.c: Likewise.
45375         * math/s_ldexp.c: Likewise.
45376         * math/s_ldexpf.c: Likewise.
45377         * math/s_ldexpl.c: Likewise.
45378         * math/s_significand.c: Likewise.
45379         * math/s_significandf.c: Likewise.
45380         * math/s_significandl.c: Likewise.
45381         * math/w_acos.c: Likewise.
45382         * math/w_acosf.c: Likewise.
45383         * math/w_acosh.c: Likewise.
45384         * math/w_acoshf.c: Likewise.
45385         * math/w_acoshl.c: Likewise.
45386         * math/w_acosl.c: Likewise.
45387         * math/w_asin.c: Likewise.
45388         * math/w_asinf.c: Likewise.
45389         * math/w_asinl.c: Likewise.
45390         * math/w_atan2.c: Likewise.
45391         * math/w_atan2f.c: Likewise.
45392         * math/w_atan2l.c: Likewise.
45393         * math/w_atanh.c: Likewise.
45394         * math/w_atanhf.c: Likewise.
45395         * math/w_atanhl.c: Likewise.
45396         * math/w_cosh.c: Likewise.
45397         * math/w_coshf.c: Likewise.
45398         * math/w_coshl.c: Likewise.
45399         * math/w_dremf.c: Likewise.
45400         * math/w_exp10.c: Likewise.
45401         * math/w_exp10f.c: Likewise.
45402         * math/w_exp10l.c: Likewise.
45403         * math/w_exp2.c: Likewise.
45404         * math/w_exp2f.c: Likewise.
45405         * math/w_fmod.c: Likewise.
45406         * math/w_fmodf.c: Likewise.
45407         * math/w_fmodl.c: Likewise.
45408         * math/w_hypot.c: Likewise.
45409         * math/w_hypotf.c: Likewise.
45410         * math/w_hypotl.c: Likewise.
45411         * math/w_j0.c: Likewise.
45412         * math/w_j0f.c: Likewise.
45413         * math/w_j0l.c: Likewise.
45414         * math/w_j1.c: Likewise.
45415         * math/w_j1f.c: Likewise.
45416         * math/w_j1l.c: Likewise.
45417         * math/w_jn.c: Likewise.
45418         * math/w_jnf.c: Likewise.
45419         * math/w_jnl.c: Likewise.
45420         * math/w_lgamma.c: Likewise.
45421         * math/w_lgamma_r.c: Likewise.
45422         * math/w_lgammaf.c: Likewise.
45423         * math/w_lgammaf_r.c: Likewise.
45424         * math/w_lgammal.c: Likewise.
45425         * math/w_lgammal_r.c: Likewise.
45426         * math/w_log.c: Likewise.
45427         * math/w_log10.c: Likewise.
45428         * math/w_log10f.c: Likewise.
45429         * math/w_log10l.c: Likewise.
45430         * math/w_log2.c: Likewise.
45431         * math/w_log2f.c: Likewise.
45432         * math/w_log2l.c: Likewise.
45433         * math/w_logf.c: Likewise.
45434         * math/w_logl.c: Likewise.
45435         * math/w_pow.c: Likewise.
45436         * math/w_powf.c: Likewise.
45437         * math/w_powl.c: Likewise.
45438         * math/w_remainder.c: Likewise.
45439         * math/w_remainderf.c: Likewise.
45440         * math/w_remainderl.c: Likewise.
45441         * math/w_scalb.c: Likewise.
45442         * math/w_scalbf.c: Likewise.
45443         * math/w_scalbl.c: Likewise.
45444         * math/w_sinh.c: Likewise.
45445         * math/w_sinhf.c: Likewise.
45446         * math/w_sinhl.c: Likewise.
45447         * math/w_sqrt.c: Likewise.
45448         * math/w_sqrtf.c: Likewise.
45449         * math/w_sqrtl.c: Likewise.
45450         * math/w_tgamma.c: Likewise.
45451         * math/w_tgammaf.c: Likewise.
45452         * math/w_tgammal.c: Likewise.
45453
45454         * po/ja.po: Update from translation team.
45455
45456 2011-09-29  Andreas Jaeger  <aj@suse.de>
45457
45458         [BZ #13179]
45459         * sunrpc/netname.c (netname2host): Fix logic.
45460
45461         [BZ #6779]
45462         [BZ #6783]
45463         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45464         correctly.
45465         * math/w_remainder.c (__remainder): Likewise.
45466         * math/w_remainderf.c (__remainderf): Likewise.
45467         * math/libm-test.inc (remainder_test): Add test cases.
45468
45469 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45470
45471         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
45472         sdiv_qrnnd.
45473
45474 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45475
45476         * string/test-memcmp.c: Avoid unncessary #defines.
45477         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45478
45479 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45480
45481         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45482         Use new sse2 version for core i3 - i7 as it's faster
45483         than sse42 version.
45484         (bit_Prefer_PMINUB_for_stringop): New.
45485         * sysdeps/x86_64/rawmemchr.S: Update.
45486         Replace with faster SSE2 version.
45487         * sysdeps/x86_64/memrchr.S: New file.
45488         * sysdeps/x86_64/memchr.S: Update.
45489         Replace with faster SSE2 version.
45490
45491 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
45492
45493         * elf/dl-load.c (lose): Add cast to avoid warning.
45494
45495 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45496
45497         * po/ca.po: Update from translation team.
45498
45499         * inet/getnetgrent_r.c: Hook up nscd.
45500         * nscd/Makefile (routines): Add nscd_netgroup.
45501         (nscd-modules): Add netgroupcache.
45502         (CFLAGS-netgroupcache.c): Define.
45503         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45504         (cache_search): Add const to second parameter.
45505         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45506         INNETGR.
45507         (dbs): Add netgrdb entry.
45508         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45509         (verify_persistent_db): Handle netgrdb.
45510         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45511         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45512         GETFDNETGR.
45513         (netgroup_response_header): Define.
45514         (innetgroup_response_header): Define.
45515         (datahead): Add netgroup_response_header and innetgroup_response_header
45516         elements.
45517         * nscd/nscd.conf: Add entries for netgroup cache.
45518         * nscd/nscd.h (dbtype): Add netgrdb.
45519         (_PATH_NSCD_NETGROUP_DB): Define.
45520         (netgroup_iov_disabled): Declare.
45521         (xmalloc, xcalloc, xrealloc): Move declarations here.
45522         (cache_search): Adjust prototype.
45523         Add netgroup-related prototypes.
45524         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45525         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45526         (__nscd_innetgr): Declare.
45527         * nscd/selinux.c (perms): Use access_vector_t as element type and
45528         add netgroup-related initializers.
45529         * nscd/netgroupcache.c: New file.
45530         * nscd/nscd_netgroup.c: New file.
45531         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45532         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45533         For four parameters use innetgr.
45534         * nss/nss_files/files-init.c: Add definition and callback for netgr.
45535         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45536         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45537         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45538
45539         * nscd/connections.c (register_traced_file): Don't register file
45540         for disabled databases.
45541
45542 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
45543
45544         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45545
45546         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45547         from tree and freeing node.
45548
45549 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
45550
45551         * nss/nsswitch.c (__nss_database_lookup): Handle
45552         nss_parse_service_list out of memory case.
45553
45554 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
45555
45556         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45557         out of memory case.
45558
45559 2011-10-04  Andreas Schwab  <schwab@redhat.com>
45560
45561         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45562         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45563         pass it down.
45564         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45565         elf_machine_rela, elf_machine_lazy_rel.
45566         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45567         (ELF_DYNAMIC_DO_REL): Likewise.
45568         (ELF_DYNAMIC_DO_RELA): Likewise.
45569         (ELF_DYNAMIC_RELOCATE): Likewise.
45570         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45571         to ELF_DYNAMIC_DO_REL.
45572         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45573         (dl_main): In trace mode always set __RTLD_NOIFUNC.
45574         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45575         elf_machine_rela.
45576         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45577         skip_ifunc, don't call ifunc function if non-zero.
45578         (elf_machine_rela): Likewise.
45579         (elf_machine_lazy_rel): Likewise.
45580         (elf_machine_lazy_rela): Likewise.
45581         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45582         (elf_machine_lazy_rel): Likewise.
45583         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45584         Likewise.
45585         (elf_machine_lazy_rel): Likewise.
45586         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45587         Likewise.
45588         (elf_machine_lazy_rel): Likewise.
45589         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45590         (elf_machine_lazy_rel): Likewise.
45591         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45592         (elf_machine_lazy_rel): Likewise.
45593         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45594         (elf_machine_lazy_rel): Likewise.
45595         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45596         (elf_machine_lazy_rel): Likewise.
45597         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45598         (elf_machine_lazy_rel): Likewise.
45599         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45600         (elf_machine_lazy_rel): Likewise.
45601
45602 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
45603
45604         * nss/nss_files/files-init.c (_nss_files_init): Use static
45605         initialization for all the *_traced_file variables.
45606
45607 2011-09-28  Andreas Schwab  <schwab@redhat.com>
45608
45609         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45610
45611 2011-09-27  Roland McGrath  <roland@hack.frob.com>
45612
45613         [BZ #13226]
45614         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45615
45616 2011-09-27  Andreas Schwab  <schwab@redhat.com>
45617
45618         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45619         Reread the line before reparsing it.
45620
45621 2011-09-26  Andreas Schwab  <schwab@redhat.com>
45622
45623         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45624
45625 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
45626             Maxim Kuvyrkov  <maxim@codesourcery.com>
45627             Joseph Myers  <joseph@codesourcery.com>
45628
45629         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45630         if needed for __stack_chk_guard.
45631
45632 2011-09-19  Roland McGrath  <roland@hack.frob.com>
45633
45634         * sysdeps/posix/spawni.c (script_execute): Always define it.
45635         It will be optimized away if unused.
45636         (maybe_script_execute): New function.
45637         (__spawni): Call it.
45638
45639         * Makerules: Don't include tls.make.
45640         (config-tls): Always set to thread.
45641         * tls.make.c: File removed.
45642
45643 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
45644
45645         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45646         * config.make.in (CPPFLAGS-config): New substituted variable.
45647
45648 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45649
45650         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45651
45652         [BZ #13192]
45653         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45654         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45655
45656 2011-09-15  Roland McGrath  <roland@hack.frob.com>
45657
45658         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45659         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45660         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45661         (CALL_FAIL): Likewise.
45662         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45663         (CALL_FAIL): Macro removed.
45664         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45665
45666 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45667
45668         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45669         for __FINITE_MATH_ONLY__ == 1.
45670
45671 2011-09-15  Andreas Schwab  <schwab@redhat.com>
45672
45673         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45674         __ieee754_sqrt instead of sqrt.
45675         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45676         __ieee754_sqrtf instead of sqrtf.
45677         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45678         __floorf instead of floorf.
45679         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45680         __floorf, __truncf instead of floorf, truncf.
45681
45682 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
45683
45684         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45685
45686         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45687         __extern_always_inline.
45688         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45689         32-bit.
45690
45691 2011-09-14  Andreas Schwab  <schwab@redhat.com>
45692
45693         * elf/rtld.c (dl_main): Also relocate in dependency order when
45694         doing symbol dependency testing.
45695
45696 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
45697
45698         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45699         Always define `refsym'.
45700
45701 2011-09-13  Andreas Schwab  <schwab@redhat.com>
45702
45703         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45704         (__FD_ELT): Renamed from __FDELT.
45705         * misc/bits/select2.h (__FD_ELT): Likewise.
45706         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45707         __FD_MASK instead of __FDELT, __FDMASK.
45708         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45709         Likewise.
45710         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45711         Likewise.
45712
45713         * elf/Makefile (gen-ldd): Fix pattern.
45714
45715         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45716         (init_tls): Likewise.
45717
45718 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
45719
45720         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45721
45722 2011-09-12  Andreas Schwab  <schwab@redhat.com>
45723
45724         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45725         `struct cmsghdr *' instead of `void *'.
45726         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45727         Likewise.
45728
45729 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
45730
45731         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45732         if non-absolute.
45733         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45734         ldd_rewrite_script.
45735
45736 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
45737
45738         * configure.in: Remove --with-tls option.
45739         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45740         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45741         out in case it is missing.
45742         * sysdeps/ia64/elf/configure.in: Likewise.
45743         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45744         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45745         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45746         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45747         * sysdeps/sh/elf/configure.in: Likewise.
45748         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45749         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45750         * sysdeps/x86_64/elf/configure.in: Likewise.
45751         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45752         * sysdeps/mach/hurd/tls.h: Likewise.
45753
45754         [BZ #13067]
45755         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45756
45757         [BZ #13090]
45758         * configure.in: Fix use of AC_INIT.
45759
45760         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45761
45762 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
45763
45764         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45765         __set_errno.
45766         * malloc/hooks.c: Likewise.
45767
45768         [BZ #11929]
45769         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
45770         variables statically.
45771         (narenas): Initialize.
45772         (list_lock): Initialize.
45773         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
45774         initializtion of main_arena and list_lock.  Small cleanups.
45775         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45776         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
45777         Add initializers to main_arena and mp_.
45778         (malloc_state): Remove pagesize member.  Change all users to use
45779         GLRO(dl_pagesize).
45780
45781         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45782         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
45783         is always initialized.
45784
45785         * malloc/malloc.c: Removed unused configurations and dead code.
45786         * malloc/arena.c: Likewise.
45787         * malloc/hooks.c: Likewise.
45788         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45789
45790         * include/tls.h: Removed.  USE___THREAD must always be defined.
45791         * bits/libc-tsd.h: Don't handle !USE___THREAD.
45792         * elf/dl-libc.c: Likewise.
45793         * elf/dl-tsd.c: Likewise.
45794         * include/errno.h: Likewise.
45795         * include/netdb.h: Likewise.
45796         * include/resolv.h: Likewise.
45797         * inet/herrno-loc.c: Likewise.
45798         * inet/herrno.c: Likewise.
45799         * malloc/arena.c: Likewise.
45800         * malloc/hooks.c: Likewise.
45801         * malloc/malloc.c: Likewise.
45802         * resolv/res-state.c: Likewise.
45803         * resolv/res_libc.c: Likewise.
45804         * sysdeps/i386/dl-machine.h: Likewise.
45805         * sysdeps/ia64/dl-machine.h: Likewise.
45806         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45807         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45808         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45809         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45810         * sysdeps/sh/dl-machine.h: Likewise.
45811         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45812         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45813         * sysdeps/unix/i386/sysdep.S: Likewise.
45814         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45815         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45816         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45817         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45818         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45819         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45820         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45821         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45822         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45823         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45824         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45825         * sysdeps/x86_64/dl-machine.h: Likewise.
45826         * tls.make.c: Likewise.
45827
45828         * configure.in: Remove --with-__thread option.  Make tests for
45829         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45830         tls_model attribute fail if no support is available.  Remove
45831         USE_IN_LIBIO.
45832         * Makeconfig: Adjust for dropped configure option.  All features are
45833         now mandatory.
45834         * Makerules: Likewise.
45835         * Versions.def: Likewise.
45836         * argp/argp-fmtstream.c: Likewise.
45837         * argp/argp-fmtstream.h: Likewise.
45838         * argp/argp-help.c: Likewise.
45839         * assert/assert.c: Likewise.
45840         * config.h.in: Likewise.
45841         * config.make.in: Likewise.
45842         * configure: Likewise.
45843         * configure.in: Likewise.
45844         * csu/Versions: Likewise.
45845         * csu/init.c: Likewise.
45846         * elf/tst-audit2.c: Likewise.
45847         * elf/tst-tls10.c: Likewise.
45848         * elf/tst-tls10.h: Likewise.
45849         * elf/tst-tls11.c: Likewise.
45850         * elf/tst-tls12.c: Likewise.
45851         * elf/tst-tls14.c: Likewise.
45852         * elf/tst-tlsmod11.c: Likewise.
45853         * elf/tst-tlsmod12.c: Likewise.
45854         * elf/tst-tlsmod13.c: Likewise.
45855         * elf/tst-tlsmod13a.c: Likewise.
45856         * elf/tst-tlsmod14a.c: Likewise.
45857         * elf/tst-tlsmod15b.c: Likewise.
45858         * elf/tst-tlsmod16a.c: Likewise.
45859         * elf/tst-tlsmod16b.c: Likewise.
45860         * elf/tst-tlsmod7.c: Likewise.
45861         * elf/tst-tlsmod8.c: Likewise.
45862         * elf/tst-tlsmod9.c: Likewise.
45863         * gmon/gmon.c: Likewise.
45864         * grp/fgetgrent_r.c: Likewise.
45865         * grp/putgrent.c: Likewise.
45866         * hurd/fopenport.c: Likewise.
45867         * include/libc-symbols.h: Likewise.
45868         * include/tls.h: Likewise.
45869         * intl/gettextP.h: Likewise.
45870         * intl/loadinfo.h: Likewise.
45871         * locale/global-locale.c: Likewise.
45872         * locale/localeinfo.h: Likewise.
45873         * mach/devstream.c: Likewise.
45874         * malloc/arena.c: Likewise.
45875         * malloc/set-freeres.c: Likewise.
45876         * misc/err.c: Likewise.
45877         * misc/getttyent.c: Likewise.
45878         * misc/mntent_r.c: Likewise.
45879         * posix/getopt.c: Likewise.
45880         * posix/wordexp.c: Likewise.
45881         * pwd/fgetpwent_r.c: Likewise.
45882         * resolv/Versions: Likewise.
45883         * resolv/res_hconf.c: Likewise.
45884         * shadow/fgetspent_r.c: Likewise.
45885         * shadow/putspent.c: Likewise.
45886         * stdio-common/printf_fphex.c: Likewise.
45887         * stdio-common/tmpfile.c: Likewise.
45888         * stdlib/abort.c: Likewise.
45889         * stdlib/fmtmsg.c: Likewise.
45890         * sunrpc/auth_unix.c: Likewise.
45891         * sunrpc/clnt_perr.c: Likewise.
45892         * sunrpc/clnt_tcp.c: Likewise.
45893         * sunrpc/clnt_udp.c: Likewise.
45894         * sunrpc/clnt_unix.c: Likewise.
45895         * sunrpc/openchild.c: Likewise.
45896         * sunrpc/svc_simple.c: Likewise.
45897         * sunrpc/svc_tcp.c: Likewise.
45898         * sunrpc/svc_udp.c: Likewise.
45899         * sunrpc/svc_unix.c: Likewise.
45900         * sunrpc/xdr.c: Likewise.
45901         * sunrpc/xdr_array.c: Likewise.
45902         * sunrpc/xdr_rec.c: Likewise.
45903         * sunrpc/xdr_ref.c: Likewise.
45904         * sunrpc/xdr_stdio.c: Likewise.
45905
45906 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45907
45908         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45909
45910 2011-07-03  Andreas Jaeger  <aj@suse.de>
45911
45912         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45913         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45914         regenerate with gen-libm-tests.pl.
45915
45916 2010-05-12  Petr Baudis  <pasky@suse.cz>
45917
45918         [BZ #11589]
45919         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45920         around j0() zero points by switching to j1().
45921         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45922         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45923         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45924         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45925
45926 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45927
45928         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45929         instead of 0.
45930         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45931         instead of 0.
45932         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45933         Patch in part by Pavel Roskin <proski@gnu.org>.
45934
45935         [BZ #13138]
45936         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45937         realloc.
45938         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
45939         Free memory block if necessary.
45940
45941         [BZ #12847]
45942         * libio/genops.c (INTDEF): For string streams the _lock pointer can
45943         be NULL.  Don't lock in this case.
45944
45945 2011-09-09  Roland McGrath  <roland@hack.frob.com>
45946
45947         * elf/elf.h (ELFOSABI_GNU): New macro.
45948         (ELFOSABI_LINUX): Define to that.
45949
45950 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
45951
45952         * string/strncat.c (strncat): Undef the symbol in case it has been
45953         defined in bits/string.h.
45954
45955 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45956
45957         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45958
45959         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45960         link map.
45961
45962 2011-08-17  Andreas Jaeger  <aj@suse.de>
45963
45964         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45965
45966 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45967             Ian Lance Taylor  <iant@google.com>
45968
45969         * math/libm-test.inc (lround_test): New testcase.
45970         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45971
45972 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
45973
45974         * Makefile: Remove support for automatic cvs check-ins.
45975         * Makerules: Likewise.
45976         * config.make.in: Likewise.
45977         * configure.in: Likewise.
45978         * intl/Makefile: Likewise.
45979         * locale/Makefile: Likewise.
45980         * po/Makefile: Likewise.
45981         * posix/Makefile: Likewise.
45982         * sysdeps/gnu/Makefile: Likewise.
45983         * sysdeps/mach/hurd/Makefile: Likewise.
45984         * sysdeps/sparc/sparc32/Makefile: Likewise.
45985
45986         [BZ #13118]
45987         * posix/Makefile (bug-regex32-ENV): Define.
45988         Patch by John Stanley <jpsinthemix@verizon.net>.
45989
45990         * misc/Makefile (headers): Add bits/select2.h.
45991         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45992         * misc/bits/select2.h: New file.
45993         * include/bits/select2.h: New file.
45994         * debug/Makefile (routines): Add fdelt_chk.
45995         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45996         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45997         FD_ISSET.
45998         * debug/fdelt_chk.c: New file.
45999
46000         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
46001         * wcsmbs/test-wmemcmp.c: Likewise.
46002         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46003         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46004
46005 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46006
46007         * string/Makefile (strop-tests): Add memcmp.
46008         * string/test-wmemcmp.c: New file.
46009         * string/test-memcmp.c: Add wmemcmp support.
46010
46011 2011-09-08  Roland McGrath  <roland@hack.frob.com>
46012
46013         [BZ #13153]
46014         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46015         2011-07-19 change.
46016
46017         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46018         garbage value in a __mach_port_mod_refs call in the cases of the
46019         task-self and thread-self ports.
46020
46021 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46022
46023         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46024
46025 2011-09-08  Andreas Schwab  <schwab@redhat.com>
46026
46027         * elf/dl-load.c (lose): Check for non-null L.
46028
46029 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46030
46031         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46032
46033         * elf/dl-libc.c (dlerror_run): Pass back error code from
46034         dl_catch_error.
46035
46036         [BZ #13123]
46037         * elf/dl-load.c (lose): Free l_origin if it is valid.
46038
46039         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46040         names.
46041         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46042         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46043         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46044         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46045         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46046         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46047
46048 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46049
46050         * sysdeps/powerpc/fpu/e_hypot.c: New file.
46051         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46052         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46053         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46054         * sysdeps/powerpc/fpu/k_cosf.c: New file.
46055         * sysdeps/powerpc/fpu/k_sinf.c: New file.
46056         * sysdeps/powerpc/fpu/s_cosf.c: New file.
46057         * sysdeps/powerpc/fpu/s_sinf.c: New file.
46058         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46059         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46060
46061 2011-08-15  Alan Modra  <amodra@gmail.com>
46062
46063         [BZ #13092]
46064         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46065         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46066         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
46067         ppc_mcount to static-only-routines.
46068         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46069         __mcount_internal.
46070         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46071         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
46072
46073 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
46074
46075         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46076         for finite and infinity parameters.
46077
46078 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
46079
46080         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46081         and add nop instructions for throughput optimization.
46082         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46083
46084 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
46085
46086         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46087         aligned copy for power7 with vector-scalar instructions.
46088         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46089
46090 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
46091
46092         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46093         AVX check.
46094
46095 2011-09-07  Andreas Schwab  <schwab@redhat.com>
46096
46097         [BZ #13144]
46098         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46099         last change.
46100
46101 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46102
46103         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46104         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46105         syscall wrapper around clock_gettime in __vdso_clock_gettime.
46106         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46107         clock_gettime.
46108
46109 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46110
46111         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46112         Forgot to demangle the pointer.
46113
46114         * sysdeps/i386/sysdep.h: Define atom_text_section.
46115         * sysdeps/x86_64/sysdep.h: Likewise.
46116         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46117         section with atom_text_section.
46118         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46119         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46120         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46121         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46122         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46123
46124         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46125         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46126         already be defined.  Change to take two parameters and don't assign
46127         result to variable.  Adjust all users.
46128         Define INTERNAL_GETTIME if not already defined.
46129         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46130         call.
46131         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46132         HAVE_CLOCK_GETTIME_VSYSCALL.
46133         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46134
46135         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46136         gettimeofday vsyscall, just use time.
46137
46138 2011-09-06  Andreas Schwab  <schwab@redhat.com>
46139
46140         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46141         <errno.h>.
46142
46143 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46144
46145         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46146         syscall on x86-64.
46147         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46148         syscall.
46149         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46150         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46151         syscall if possible.
46152
46153 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46154
46155         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46156         e_ident.  Don't pass to find_mapsXX.
46157         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46158
46159 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46160
46161         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46162         strchr-sse2-no-bsf strrchr-sse2-no-bsf
46163         * sysdeps/x86_64/multiarch/strchr.S: Update.
46164         Check bit_slow_BSF bit.
46165         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46166         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46167         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46168
46169 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46170
46171         [BZ #13134]
46172         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46173         before glibc 2.15.
46174         (tryshell): Define.
46175         (__spawni): Change last parameter to be flag.  Test
46176         SPAWN_XFLAGS_USE_PATH flag to use path or not.
46177         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46178         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46179         * posix/spawni.c: Likewise.
46180         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46181         * posix/spawnp.c: Likewise.  Change normal version to use
46182         SPAWN_XFLAGS_USE_PATH.
46183         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46184         SPAWN_XFLAGS_TRY_SHELL.
46185
46186         [BZ #13150]
46187         * posix/glob.h: Remove gcc 1.x support.
46188
46189         [BZ #13068]
46190         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46191
46192 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46193
46194         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46195         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46196         strrchr-sse2-bsf
46197         * sysdeps/i386/i686/multiarch/strchr.S: New file.
46198         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46199         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46200         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46201         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46202         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46203
46204 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46205
46206         * sysdeps/x86_64/wcscmp.S: New file.
46207
46208         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46209         wcscmp-c wcscmp-sse2
46210         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46211         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46212         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46213         * wcsmbs/wcscmp.c: Allow renaming.
46214
46215 2011-09-05  David S. Miller  <davem@davemloft.net>
46216
46217         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46218         stack slot, rather than the struct return pointer slot.
46219         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46220         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46222         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46223
46224 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46225
46226         * po/ja.po: Update from translation team.
46227
46228         [BZ #13144]
46229         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46230         kernel in 64-bit binaries.
46231
46232 2011-09-01  David S. Miller  <davem@davemloft.net>
46233
46234         * elf/elf.h (HWCAP_SPARC_*): Move to..
46235         * sysdeps/sparc/sysdep.h: this new file and add new values.
46236         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46237         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46238         _DL_HWCAP_COUNT to 24.
46239         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46240         entries.
46241         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46242         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46243         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46244         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46245         instead of magic constants.
46246         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46247
46248 2011-08-31  David S. Miller  <davem@davemloft.net>
46249
46250         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46251         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46252         Reimplement to do errno handling inline.
46253         (SYSCALL_ERROR_HANDLER): New macro.
46254         (__SYSCALL_STRING): Do not do errno handling in asm.
46255         (__CLONE_SYSCALL_STRING): Delete.
46256         (__INTERNAL_SYSCALL_STRING): Delete.
46257         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46258         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46259         (PSEUDO): Reimplement to do errno handling inline.
46260         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46261         (SYSCALL_ERROR_HANDLER): New macro.
46262         (__SYSCALL_STRING): Do not do errno handling in asm.
46263         (__CLONE_SYSCALL_STRING): Delete.
46264         (__INTERNAL_SYSCALL_STRING): Delete.
46265         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46266         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46267         i386.
46268         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46269         (inline_syscall*): Add 'err' argument.
46270         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46271         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46272         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46273         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46274
46275         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46276         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46277
46278 2011-08-30  Andreas Schwab  <schwab@redhat.com>
46279
46280         * elf/rtld.c (dl_main): Relocate objects in dependency order.
46281
46282 2011-08-29  Jiri Olsa <jolsa@redhat.com>
46283
46284         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46285         directive.
46286
46287 2011-08-24  David S. Miller  <davem@davemloft.net>
46288
46289         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46290
46291 2011-08-24  Andreas Schwab  <schwab@redhat.com>
46292
46293         * elf/Makefile: Add rules to build and run unload8 test.
46294         * elf/unload8.c: New file.
46295         * elf/unload8mod1.c: New file.
46296         * elf/unload8mod1x.c: New file.
46297         * elf/unload8mod2.c: New file.
46298         * elf/unload8mod3.c: New file.
46299
46300         * elf/dl-close.c (_dl_close_worker): Reset private search list if
46301         it wasn't used.
46302
46303 2011-08-23  David S. Miller  <davem@davemloft.net>
46304
46305         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46306         subtract stack bias.
46307         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46308         %sp not %fp in calculations.
46309         (_JMPBUF_UNWINDS_ADJ): Likewise.
46310
46311         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46312         (aio_suspend): Call it to force an exception region around the
46313         AIO_MISC_WAIT() invocation.
46314
46315 2011-08-23  Andreas Schwab  <schwab@redhat.com>
46316
46317         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46318         backslash.
46319
46320 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
46321
46322         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46323         protection macro.
46324         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46325         and <dl-machine.h>.
46326         (Elf64_FuncDesc): Remove.
46327
46328 2011-08-22  David S. Miller  <davem@davemloft.net>
46329
46330         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46331         sigaltstack check, add missing cfi directives.
46332         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46333         missing cfi directives, and sigaltstack handling.
46334
46335 2011-08-16  Andreas Schwab  <schwab@redhat.com>
46336
46337         [BZ #11724]
46338         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46339         object is seen twice.
46340         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46341
46342         * elf/Makefile (distribute): Add tst-initorder2.c.
46343         (tests): Add tst-initorder2.
46344         (modules-names): Add tst-initorder2a tst-initorder2b
46345         tst-initorder2c tst-initorder2d.  Add rules to build them.
46346         ($(objpfx)tst-initorder2.out): New rule.
46347         * elf/tst-initorder2.c: New file.
46348         * elf/tst-initorder2.exp: New file.
46349
46350 2011-08-22  Andreas Schwab  <schwab@redhat.com>
46351
46352         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46353
46354         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46355         dependencies back to end of function.
46356
46357         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46358         $(elfobjdir)/ld.so.
46359
46360 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
46361
46362         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46363         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46364         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46365         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46366         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46367         of __vdso_gettimeofday.
46368         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46369         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
46370         attribute_hidden.
46371         (_libc_vdso_platform_setup): Remove initialization of
46372         __vdso_gettimeofday and __vdso_time.
46373
46374 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46375
46376         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46377         and fgetc_unlocked.
46378         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46379         getc_unlocked.
46380
46381         * elf/dl-open.c (add_to_global): Report additions to the global scope
46382         for LD_DEBUG=scopes.
46383         (dl_open_worker): Also print scope of newly loaded dependencies.
46384         (_dl_show_scope): Indicate if there is no scope.
46385
46386         [BZ #13114]
46387         * stdio-common/Makefile (tests): Add bug24.
46388         * stdio-common/bug24.c: New file.
46389
46390 2011-08-19  Andreas Jaeger  <aj@suse.de>
46391
46392         [BZ #13114]
46393         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46394         non-existant file when using close-on-exec mode.
46395
46396 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46397
46398         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46399         the very first instruction.
46400
46401         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46402         the CFI state in the end.
46403         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46404         inclusion of dl-trampoline.h.
46405         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46406
46407 2011-08-19  Andreas Schwab  <schwab@redhat.com>
46408
46409         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46410         expectations for long double.
46411
46412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46413         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46414
46415 2011-08-14  David S. Miller  <davem@davemloft.net>
46416
46417         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46418         artificual limit depends upon the system page size.
46419
46420 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46421
46422         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46423         * resolv/Makefile: Define CFLAGS-libresolv.
46424
46425 2011-08-17  Andreas Schwab  <schwab@redhat.com>
46426
46427         * nss/makedb.c (compute_tables): Make variables used in nested
46428         function static.
46429
46430 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46431
46432         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46433         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46434         if buffer was too small.
46435
46436         * elf/pldd.c (main): Attach to all threads in the process.
46437         Rewrite /proc handling to use *at functions.
46438
46439 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
46440
46441         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46442         specifies first scope to show.
46443         (dl_open_worker): Update callers.  Move printing scope of new
46444         object to before the relocation.
46445         * elf/rtld.c (dl_main): Update _dl_show_scope call.
46446         * sysdeps/generic/ldsodefs.h: Update declaration.
46447
46448         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46449         string for the scope number.
46450
46451 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
46452
46453         * nscd/servicescache.c (cache_addserv): Make sure written is always
46454         initialized.
46455
46456 2011-08-14  Roland McGrath  <roland@hack.frob.com>
46457
46458         * sysdeps/i386/i486/bits/atomic.h
46459         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46460         statement expression, so as to suppress "set but not used" warning.
46461         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46462
46463         * string/strncat.c (STRNCAT): Use prototype definition.
46464
46465         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46466         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46467         -Iprograms here.
46468         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46469         (localedef-modules): Add localedef.
46470         (locale-modules): Add locale.
46471
46472         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46473         * elf/rtld.c (dl_main): Invert order of assignment in last change,
46474         to avoid a warning.
46475
46476 2011-08-14  David S. Miller  <davem@davemloft.net>
46477
46478         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46479         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46480
46481 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46482
46483         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46484         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46485         * elf/rtld.c (dl_main): Set l_name of vDSO.
46486         Call _dl_show_scope when DL_DEBUG_SCOPES.
46487         (process_dl_debug): Recognize scopes flag and also set it for all.
46488         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46489         Declare _dl_show_scope.
46490
46491         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46492         (do_dlopen): Pass caller_dlopen to dl_open.
46493         (__libc_dlopen_mode): Initialize caller_dlopen.
46494
46495         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46496         of libc.  Make tolower call locale-independent.  Optimize a bit by
46497         using isdigit instead of isalnum.
46498         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46499
46500 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
46501
46502         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46503         was a dependency or dynamically loaded.
46504
46505 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
46506
46507         * intl/l10nflist.c: Allow architecture-specific pop function.
46508         * sysdeps/x86_64/l10nflist.c: New file.
46509
46510         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46511         classification.
46512
46513 2011-08-10  Andreas Schwab  <schwab@redhat.com>
46514
46515         * include/dirent.h: Add libc_hidden_proto for scandirat and
46516         scandirat64.  Don't declare __scandirat64.
46517         * dirent/scandirat.c: Add libc_hidden_def.
46518         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46519         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46520
46521 2011-08-10  David S. Miller  <davem@davemloft.net>
46522
46523         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46524         enum.
46525         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46526         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46527         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46528
46529 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
46530
46531         * Versions.def [libc]: Add GLIBC_2.15.
46532         * dirent/Makefile (routines): Add scandirat and scandirat64.
46533         * dirent/Versions [libc]: Export scandirat and scandirat64 for
46534         GLIBC_2.15.
46535         * dirent/dirent.h: Declare scandirat and scandirat64.
46536         * dirent/scandirat.c: New file.
46537         * dirent/scandirat64.c: New file.
46538         * sysdeps/wordsize-64/scandirat.c: New file.
46539         * sysdeps/wordsize-64/scandirat64.c: New file.
46540         * dirent/opendir.c: Define opendirat.
46541         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
46542         using scandirat.
46543         * dirent/scandir64.c: Adjust for scandir.c change.
46544         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
46545         __scandirat64, and __scandir_cancel_handler.
46546         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
46547         additional parameter and use openat instead of open (outside of ld.so).
46548         Add new __opendir as wrapper around __opendirat.
46549         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46550         here without requiring old scandirat implementation.
46551
46552 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
46553
46554         * dirent/scandir.c (cancel_handler): Renamed to
46555         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
46556         defined.  Adjust users.
46557         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46558         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46559
46560 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
46561
46562         * string/test-string.h (IMPL): Use __STRING to expand name and then
46563         stringify it.
46564
46565         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
46566         of cleanups.
46567
46568 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46569
46570         * string/Makefile: Update.
46571         (strop-tests): Append strncat.
46572         * string/test-wcscmp.c: New file.
46573         New comprehensive test for wcscmp.
46574         * string/test-strcmp.c: Update.
46575         (WIDE): New define.
46576
46577 2011-07-22  Andreas Schwab  <schwab@redhat.com>
46578
46579         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46580         line.
46581
46582 2011-07-26  Andreas Schwab  <schwab@redhat.com>
46583
46584         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46585         encoding to ACE if AI_IDN.
46586
46587 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
46588
46589         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46590         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46591
46592 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46593
46594         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46595         Fix overflow bug in strncat.
46596         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46597
46598         * string/test-strncat.c: Update.
46599         Add new tests for checking overflow bugs.
46600
46601 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46602
46603         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46604         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46605         * sysdeps/i386/i686/multiarch/strcat.S: New file.
46606         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46607         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46608         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46609         * sysdeps/i386/i686/multiarch/strncat.S: New file.
46610         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46611         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46612
46613         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46614         (USE_AS_STRCAT): Define.
46615         Add strcat and strncat support.
46616         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46617
46618 2011-07-25  Andreas Schwab  <schwab@redhat.com>
46619
46620         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46621         __n bigger than INT_MAX+1.
46622         (__strncmp_g): Likewise.
46623
46624 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
46625
46626         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46627         * libio/stido.h: Likewise.
46628
46629         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46630         (AF_NFC): Define.
46631         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46632         (AF_NFC): Define.
46633
46634         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46635         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46636         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46637         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46638         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46639
46640         [BZ #13021]
46641         * scripts/test-installation.pl: Don't expect libnss_test1 to be
46642         installed.
46643
46644         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46645         typo.
46646         (_dl_x86_64_save_sse): Likewise.
46647
46648 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
46649
46650         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46651         OSXSAVE.
46652         (_dl_x86_64_save_sse): Likewise.
46653
46654         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46655
46656         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46657
46658 2011-07-21  Andreas Schwab  <schwab@redhat.com>
46659
46660         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46661         change.
46662         (_dl_x86_64_save_sse): Use correct AVX check.
46663
46664 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46665
46666         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46667         bug in strncpy/strncat.
46668         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46669
46670 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
46671
46672         * string/tester.c (test_strcat): Add tests for different alignments
46673         of source and destination.
46674         (test_strncat): Likewise.
46675
46676 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46677
46678         [BZ #12852]
46679         * posix/glob.c (glob): Check passed in values before using them in
46680         expressions to avoid some overflows.
46681         (glob_in_dir): Likewise.
46682
46683         [BZ #13007]
46684         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46685         check for AVX enablement so that we don't crash with old kernels and
46686         new hardware.
46687         * elf/tst-audit4.c: Add same checks here.
46688         * elf/tst-audit6.c: Likewise.
46689
46690         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46691
46692 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
46693
46694         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46695
46696 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46697
46698         * po/cs.po: Update from translation team.
46699         * po/bg.po: Likewise.
46700
46701 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
46702
46703         * misc/sys/cdefs.h: Add support for const attribute.
46704         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46705         to gnu_dev_{major,minor,makedev} functions.
46706
46707 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
46708
46709         * intl/dcigettext.c (get_output_charset): Add missing bracket.
46710
46711 2011-07-20  Andreas Schwab  <schwab@redhat.com>
46712
46713         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46714         strlen results.
46715
46716 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46717
46718         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46719         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46720         register in order to avoid conflicts with the soft frame pointer
46721         being held in r11 when necessary.
46722         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46723         (INTERNAL_VSYSCALL_NCS): Likewise.
46724
46725 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
46726
46727         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46728         * elf/dl-fini.c (_dl_fini): Adjust caller.
46729         * elf/dl-close.c (_dl_close_worker): Likewise.
46730         * sysdeps/generic/ldsodefs.h: Adjust declaration.
46731
46732 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46733
46734         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46735         "aux_cache->nlibs < 0".
46736
46737         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46738         in the reload-count case.
46739
46740 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46741
46742         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46743         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46744         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46745         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46746         * sysdeps/x86_64/multiarch/strcat.S: New file.
46747         * sysdeps/x86_64/multiarch/strncat.S: New file.
46748         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46749         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46750         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46751         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46752         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46753         (USE_AS_STRCAT): Define.
46754         Add strcat and strncat support.
46755         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46756         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46757         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46758         * string/strncat.c: Update.
46759         (USE_AS_STRNCAT): Define.
46760         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46761         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46762         and i7.
46763         * sysdeps/x86_64/multiarch/init-arch.h
46764         (bit_Prefer_PMINUB_for_stringop): New.
46765         (index_Prefer_PMINUB_for_stringop): Likewise.
46766         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46767         bit_Prefer_PMINUB_for_stringop.
46768
46769 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46770
46771         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46772         buffer64.
46773         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46774         of casting of buffer.
46775         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46776         buffer32 and buffer64.
46777         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46778         writes instead of casting of buffer.
46779         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46780         buffer32.
46781         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46782         casting of buffer.
46783
46784 2011-07-19  Andreas Schwab  <schwab@redhat.com>
46785
46786         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46787
46788 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46789
46790         * nscd/nscd.c (termination_handler): Don't do anything for a database
46791         if it has not yet been initialized.
46792
46793 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46794
46795         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46796
46797 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46798
46799         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46800
46801 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46802
46803         * po/nl.po: Update from translation team.
46804         * po/sv.po: Likewise.
46805
46806 2011-07-16  Roland McGrath  <roland@hack.frob.com>
46807
46808         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46809         now disallowed by GCC.
46810
46811         * configure.in (use-default-link): Default to yes if a test -shared
46812         link meets our qualifications.
46813         * configure: Regenerated.
46814
46815         * config.make.in (output-format): New variable.
46816         * configure.in: Check for ld --print-output-format support.
46817         * configure: Regenerated.
46818         * Makerules ($(common-objpfx)format.lds)
46819         [$(output-format) != unknown]: Just use $(output-format),
46820         instead of the linker-script munging.
46821
46822 2011-07-14  Roland McGrath  <roland@hack.frob.com>
46823
46824         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46825         of $(common-objpfx)shlib.lds.
46826         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46827
46828         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46829         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46830
46831         * configure.in (-z relro check): Adjust test code to add a large
46832         writable data section after it.
46833         * configure: Regenerated.
46834
46835 2011-07-11  Roland McGrath  <roland@hack.frob.com>
46836
46837         * configure.in (-z relro check): Fix test code to make the variable
46838         truly const.
46839         * configure: Regenerated.
46840
46841 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
46842
46843         * nscd/nscd.h (struct traced_file): Define.
46844         (struct database_dyn): Remove inotify_descr, reset_res, and filename
46845         elements.  Add traced_files.
46846         (inotify_fd): Declare.
46847         (register_traced_file): Declare.
46848         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46849         (inotify_fd): Export.
46850         (resolv_conf_descr): Remove.
46851         (nscd_init): Move inotify descriptor creation to main.
46852         Don't register files for notification here.
46853         (register_traced_file): New function.
46854         (invalidate_cache): Don't use reset_res to determine whether to call
46855         res_init, go through the list of registered files.
46856         (main_loop_poll): The inotify descriptors are now stored in the
46857         structures for the traced files.
46858         (main_loop_epoll): Likewise
46859         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
46860         to __nss_disable_nscd.
46861         * nscd/cache.c (prune_cache): There is no single inotify descriptor
46862         for a database anymore.  Check the records for all the registered
46863         files instead.
46864         * nss/Makefile (libnss_files-routines): Add files-init.
46865         (libnss_db-routines): Add db-init.
46866         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46867         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46868         * nss/nss_db/db-init.c: New file.
46869         * nss/nss_files/files-init.c: New file.
46870         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
46871         __nss_lookup_function.
46872         (__nss_lookup_function): Call nss_load_library.
46873         (nss_load_all_libraries): New function.
46874         (__nss_disable_nscd): Take parameter with callback function for files
46875         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
46876         used for the cached services.
46877         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46878         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46879         options for features to all the files in nscd.
46880
46881         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46882
46883 2011-07-10  Roland McGrath  <roland@hack.frob.com>
46884
46885         * csu/elf-init.c (__libc_csu_init): Comment typo.
46886
46887 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
46888
46889         * po/pl.po: Update from translation team.
46890         * po/ja.po: Likewise.
46891         * po/ru.po: Likewise.
46892         * po/ko.po: Likewise.
46893         * po/fr.po: Likewise.
46894
46895 2011-07-09  Roland McGrath  <roland@hack.frob.com>
46896
46897         * configure.in (.ctors/.dtors header and trailer check):
46898         Use an empirical test on a built program.
46899         * configure: Regenerated.
46900
46901         * configure.in (-z relro check): Use an empirical test on a built DSO.
46902         Detect, but do not require, on ia64.
46903         * configure: Regenerated.
46904
46905         * configure.in (READELF): Find it with AC_CHECK_TOOL.
46906         Update tests that use readelf to use $READELF instead.
46907         * configure: Regenerated.
46908
46909 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
46910
46911         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46912         if the result is not used.
46913
46914 2011-07-05  Andreas Jaeger  <aj@suse.de>
46915
46916         [BZ#9696]
46917         * stdlib/tst-strtod.c: Add testcase.
46918
46919 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
46920
46921         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46922         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46923         The latter has a higher limit.  Take additional parameter to pass to
46924         the new function.
46925         (__pathconf): Pass file to __statfs_link_max.
46926         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46927         __statfs_link_max.
46928         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46929         __statfs_link_max.
46930
46931         [BZ #12868]
46932         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46933         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46934         Handle Lustre.
46935         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46936         (__statfs_filesize_max): Likewise.
46937         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46938
46939 2011-07-05  Andreas Jaeger  <aj@suse.de>
46940
46941         * resolv/res_comp.c (dn_skipname): Remove unused variable.
46942
46943 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
46944
46945         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46946         `status' variable.
46947         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46948         Likewise.
46949
46950 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
46951
46952         * Makefile (strop-tests): Add strncat.
46953         * string/test-strncat.c: New file.
46954
46955 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
46956
46957         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46958
46959 2011-06-21  Andreas Jaeger  <aj@suse.de>
46960
46961         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46962         Copy rule from iconvdata/Makefile.
46963
46964 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46965
46966         [BZ #12922]
46967         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46968         but no long options are defined, just return 'W'.
46969
46970 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
46971
46972         [BZ #9696]
46973         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46974
46975 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46976
46977         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46978         netgroups to read.
46979         (innetgr): Likewise.
46980
46981 2011-07-05  Roland McGrath  <roland@hack.frob.com>
46982
46983         * config.make.in (install_root): Default to $(DESTDIR).
46984
46985 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
46986
46987         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46988
46989 2011-07-02  Roland McGrath  <roland@hack.frob.com>
46990
46991         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46992
46993         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46994         containing directory rather than embedding absolute directory names.
46995
46996         * scripts/check-local-headers.sh: Rewritten using awk.
46997         Match by word, not by line.  Print error messages for matches.
46998         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46999
47000         * Makerules [shlib-lds-flags empty]:
47001         ($(common-objpfx)libc_pic.opts): New target.
47002         ($(common-objpfx)libc_pic.os.clean): New target.
47003         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47004
47005         * config.make.in (OBJCOPY): New variable.
47006         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47007         * configure: Regenerated.
47008
47009         * config.make.in (use-default-link): New variable.
47010         * configure.in (use_default_link): Grok --with-default-link to set it.
47011         * configure: Regenerated.
47012         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47013         (shlib-lds, shlib-lds-flags): Define to empty.
47014
47015         * Makerules (shlib-lds): New variable.
47016         (shlib-lds-flags): New variable.
47017         (build-shlib, build-moduile, build-module-asneeded): Use it.
47018         ($(common-objpfx)libc.so): Use $(shlib-lds).
47019         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47020         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47021
47022         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47023         DT_FLAGS/DT_FLAGS_1 with zero flags.
47024
47025         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47026         linker script munging.
47027
47028 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
47029
47030         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47031         as 128-bit value.
47032         * crypt/sha512.c (sha512_process_block): Perform total addition using
47033         128-bit if possible.
47034         (__sha512_finish_ctx): Likewise.
47035         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47036         as 64-bit value.
47037         * crypt/sha256.c (SWAP64): Define.
47038         (sha256_process_block): Perform total addition using 64-bit if
47039         possible.
47040         (__sha256_finish_ctx): Likewise.
47041
47042 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
47043
47044         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
47045         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47046         * nscd/hstcache.c (cache_addhst): Likewise.
47047         * nscd/grpcache.c (cache_addgr): Likewise.
47048         * nscd/aicache.c (addhstaiX): Likewise
47049         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47050
47051 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
47052
47053         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47054         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47055         * nscd/hstcache.c (cache_addhst): Likewise.
47056         * nscd/grpcache.c (cache_addgr): Likewise.
47057         * nscd/aicache.c (addhstaiX): Likewise
47058
47059 2011-07-01  Andreas Schwab  <schwab@redhat.com>
47060
47061         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47062         domain only when needed.
47063
47064 2011-06-30  Andreas Schwab  <schwab@redhat.com>
47065
47066         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47067         is always restored.
47068
47069 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
47070
47071         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47072         are re-adding the entry.
47073         * nscd/servicescache.c (cache_addserv): Likewise.
47074
47075 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
47076
47077         * sysdeps/generic/dl-irel.h: fix protection against multiple
47078         inclusions.
47079         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47080
47081 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
47082
47083         [BZ #12935]
47084         * malloc/memusage.sh: Fix quoting in message.
47085         * debug/xtrace.sh: Likewise.
47086
47087         * configure.in: Remove support for --experimental-malloc option, make
47088         it the default.
47089         * config.make.in: Likewise.
47090         * malloc/Makefile: Likewise.
47091
47092 2011-06-27  Andreas Schwab  <schwab@redhat.com>
47093
47094         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47095         two-byte characters.
47096
47097 2011-06-27  Roland McGrath  <roland@hack.frob.com>
47098
47099         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47100         AC_CACHE_CHECK invocation.
47101         * configure: Regenerated.
47102
47103         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47104
47105 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
47106
47107         [BZ #12350]
47108         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
47109         bit from old_res_options.
47110
47111         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47112
47113         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47114         value type for setfct.
47115
47116 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
47117
47118         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47119         __gettimeofday instead of gettimeofday.
47120
47121 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
47122
47123         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47124
47125 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
47126
47127         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47128
47129         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47130         info.
47131
47132 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47133
47134         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47135         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47136         strcpy-sse2-unaligned strncpy-sse2-unaligned
47137         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47138         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47139         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47140         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47141         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47142         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47143         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47144         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47145         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47146         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47147         (STRCPY): Support SSE2 and SSSE3 versions.
47148
47149 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
47150
47151         [BZ #12874]
47152         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47153         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47154         kernels which artificially limit size of requests.
47155
47156 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47157
47158         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47159         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47160         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47161         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47162         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47163         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47164         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47165         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47166         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47167         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47168         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47169         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47170         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47171         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47172         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47173         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47174         Enable unaligned load optimization for Intel Core i3, i5 and i7
47175         processors.
47176         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47177         Define.
47178         (index_Fast_Unaligned_Load): Define.
47179         (HAS_FAST_UNALIGNED_LOAD): Define.
47180
47181 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
47182
47183         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47184
47185 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47186
47187         [BZ #12907]
47188         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47189         until it is clear that the information is realy needed.
47190         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47191
47192 2011-06-22  Andreas Schwab  <schwab@redhat.com>
47193
47194         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47195
47196 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47197
47198         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47199         /sys/devices/system/cpu/online if it is usable.
47200
47201         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47202         reading the information from the /proc filesystem to once a second.
47203
47204 2011-06-21  Andreas Jaeger  <aj@suse.de>
47205
47206         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47207         NULL after inclusion of kernel headers.
47208
47209 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
47210
47211         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47212         calls to internal_setent.
47213
47214         [BZ #12885]
47215         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47216         addresses using gethostbyname4_r ignore IPv4 addresses.
47217
47218         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47219         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
47220
47221         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47222
47223 2011-06-20  David S. Miller  <davem@davemloft.net>
47224
47225         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47226         inclusions.
47227         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47228
47229         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47230         (elf_irel): Use it.
47231         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47232         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47233         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47234         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47235         * sysdeps/x86_64/dl-irel.h: Likewise.
47236
47237         * elf/dl-runtime.c: Use elf_ifunc_invoke.
47238         * elf/dl-sym.c: Likewise.
47239
47240 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47241
47242         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
47243         need to dereference resplen2.
47244
47245 2011-06-14  Andreas Schwab  <schwab@redhat.com>
47246
47247         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47248
47249 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47250
47251         * Makeconfig: Define vardbdir and inst_vardbdir.
47252         * nss/Makefile: Add rules to install db-Makefile.
47253
47254         * nss/nss_db/db-XXX.c: Cleanup.
47255
47256         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47257         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47258         GLIBC_PRIVATE.
47259         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47260         * nss/makedb.c: Implement -g option to specify that value strings
47261         are generated and should not be added to table iterated over for
47262         get*ent calls.
47263         * nss/nss_db/db-initgroups.c: New file.
47264
47265         * nss/getent.c: Add support for initgroups lookups through getgrouplist
47266         interface.
47267
47268         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47269         (internal_getgrouplist): Adjust to name change.
47270         Update use_initgroups_entry if this is not the first call.
47271         * nss/databases.def: Add initgroups entry.
47272
47273         * nss/makedb.c (compute_tables): Check result of multiple hash table
47274         sizes to minimize maximum chain length.
47275
47276 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
47277
47278         * Versions.def: Add entry for libnss_db.
47279         * shlib-versions: Likewise.
47280         * nss/Makefile: Add rules to build libnss_db.
47281         * nss/Versions: Add libnss_db information.  Organize libnss_files
47282         entries better.
47283         * nss/db-Makefile: Add gshadow support.  Change rules for the new
47284         makedb progra.  Some minor improvements to generate smaller files.
47285         * nss/nss_db/nss_db.h: Move NSS database header data structures to
47286         here from...
47287         * nss/makedb.c: ...here.
47288         Improve database format to be smaller and require less memory at
47289         runtime.
47290         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
47291         db anymore.
47292         * nss/nss_db/db-netgrp.c: Likewise.
47293         * nss/nss_db/db-open.c: Likewise.
47294         * nss/nss_files/flies-XXX.x: Adjust comments.
47295         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47296         * nss/nss_files/files-grp.c: Likewise.
47297         * nss/nss_files/files-hosts.c: Likewise.
47298         * nss/nss_files/files-network.c: Likewise.
47299         * nss/nss_files/files-proto.c: Likewise.
47300         * nss/nss_files/files-pwd.c: Likewise.
47301         * nss/nss_files/files-rpc.c: Likewise.
47302         * nss/nss_files/files-service.c: Likewise.
47303         * nss/nss_files/files-sgrp.c: Likewise.
47304         * nss/nss_files/files-spwd.c: Likewise.
47305         * nss/nss_db/db-alias.c: Removed.
47306         * nss/nss_db/dummy-db.h: Removed.
47307
47308 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
47309
47310         * nss/makedb.c: Rewritten to not use database library.
47311         * nss/Makefile: Update to build new makedb program.
47312
47313 2011-06-14  Andreas Jaeger  <aj@suse.de>
47314
47315         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47316         memset declaration.
47317
47318 2011-06-10  Andreas Schwab  <schwab@redhat.com>
47319
47320         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47321         tmpbuf.
47322
47323 2011-06-10  Roland McGrath  <roland@hack.frob.com>
47324
47325         * Makerules (shlib.lds): Fail if the linker script comes out empty.
47326         * elf/Makefile ($(objpfx)ld.so): Likewise.
47327
47328         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47329         Don't list ld.so twice in dependencies.
47330
47331         * posix/bug-regex31.c: Include <stdlib.h>.
47332
47333         * nscd/hstcache.c (cache_addhst): Remove unused variable.
47334
47335         * nis/nss_compat/compat-spwd.c
47336         (getspent_next_nss_netgr): Remove unused variable.
47337         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47338
47339         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47340         nonmembers" output to use the right array.
47341
47342         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47343
47344         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47345
47346         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47347         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47348         * catgets/gencat.c (read_input_file): Likewise.
47349         * locale/programs/locarchive.c (enlarge_archive): Likewise.
47350
47351         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47352         variable definition inside #if's controlling its use.
47353
47354         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47355
47356         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47357
47358         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47359
47360         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47361         unreachable code.
47362
47363         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47364
47365         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47366         * configure: Regenerated.
47367
47368         * Makerules: Revert last change.
47369         * elf/Makefile: Likewise.
47370
47371 2011-06-09  Roland McGrath  <roland@hack.frob.com>
47372
47373         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47374         * elf/Makefile ($(objpfx)librtld.os): Likewise.
47375         (reloc-link): Likewise.
47376
47377 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
47378
47379         * elf/Makefile: Add rules to build pldd.
47380         * elf/pldd.c: New file.
47381         * elf/pldd-xx.c: New file.
47382
47383 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
47384
47385         * version.h: Update for 2.15 development version.
47386
47387 2011-06-07  David S. Miller  <davem@davemloft.net>
47388
47389         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47390         ifuncs.
47391         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47392         elf_machine_lazy_rel): Likewise.
47393         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47394         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47395         elf_machine_lazy_rel): Likewise.
47396         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47397         dl_hwcap via passed in argument.
47398         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47399         Likewise.
47400
47401 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47402
47403         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
47404
47405 2011-06-06  Roland McGrath  <roland@hack.frob.com>
47406
47407         [BZ #12849]
47408         * manual/fdl-1.1.texi: New file, verbatim from:
47409         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47410         * manual/lgpl-2.1.texi: New file, verbatim from:
47411         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47412         * manual/Makefile (licenses): New variable, list those new file names.
47413         (texis): Use it.
47414         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47415
47416         * manual/fdl.texi: File removed.
47417         * manual/lesser.texi: File removed.
47418         * manual/libc.texinfo (Copying, Documentation License):
47419         Use new @include file names, put @appendix directive before @include.
47420
47421 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
47422
47423         [BZ #12841]
47424         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47425         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47426         (mq_open): Add __NTH.
47427
47428 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
47429
47430         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47431         Assume Intel Core i3/i5/i7 processor if AVX is available.
47432
47433 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47434
47435         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47436         typo.
47437
47438 2011-05-31  Andreas Schwab  <schwab@redhat.com>
47439
47440         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47441         memory.  Use alloca_account.  Fix memory leak when retrying.
47442
47443 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47444
47445         * version.h (RELEASE): Bump for 2.14 release.
47446         * include/features.h (__GLIBC_MINOR__): Bump to 14.
47447
47448         * config.make.in (RANLIB): Remove entry.
47449
47450 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
47451
47452         * po/Makefile (po-sed-cmd): Add ksh to extensions.
47453         (libc.pot): Work around missing support for .ksh extension in xgettext.
47454
47455         [BZ #12684]
47456         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47457         if both request failed.
47458         (send_dg): In case of server errors clear resplen or *resplen2.
47459
47460         [BZ #12454]
47461         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47462         when there are multiple maps.
47463         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47464         (_dl_fini): Remove test here.
47465
47466         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47467
47468 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
47469
47470         [BZ #12350]
47471         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47472         bit from old_res_options.
47473         (gaih_inet): Likewise.
47474
47475         [BZ #11099]
47476         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47477         as signed.
47478
47479         * resolv/res_init.c (res_setoptions): Make the code more compact.
47480
47481         [BZ #11558]
47482         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47483         set RES_USEVC.
47484
47485         [BZ #11634]
47486         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47487
47488         * malloc/malloc.h: Mark malloc hook variables as deprecated.
47489
47490         [BZ #11781]
47491         * malloc/malloc.h: Declare malloc hook variables as volatile.
47492
47493         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47494         in last patch.
47495
47496         [BZ #11799]
47497         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47498         raise in the comment.
47499         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47500         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47501         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47502
47503 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
47504
47505         [BZ #12811]
47506         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47507         grow the buffers more if it already has to be sufficient.
47508         (build_wcs_upper_buffer): Likewise.
47509         * posix/regexec.c (check_matching): Likewise.
47510         (clean_state_log_if_needed): Likewise.
47511         (extend_buffers): Don't enlarge buffers beyond size of the input
47512         buffer.
47513         Patches mostly by Emil Wojak <emil@wojak.eu>.
47514         * posix/bug-regex32.c: New file.
47515         * posix/Makefile (tests): Add bug-regex32.
47516
47517         * locale/findlocale.c (_nl_find_locale): Return right away if
47518         _nl_explode_name failed.
47519         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47520
47521         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47522
47523         * debug/xtrace.sh: Unify messages.
47524         * malloc/memusage.sh: Likewise.
47525
47526         [BZ #12813]
47527         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47528         time symbol from vDSO.  Substitute with vsyscall if not available.
47529         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47530         __vdso_time.
47531
47532         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47533         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47534         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47535         Add sendmmsg and internal_sendmmsg.
47536         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47537         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47538         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47539
47540         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47541         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47542         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47543
47544 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
47545
47546         [BZ #12813]
47547         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47548         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
47549         available.
47550         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47551         __vdso_getcpu.
47552
47553         [BZ #12814]
47554         * iconvdata/Makefile (tests): Add bug-iconv9.
47555         * iconvdata/bug-iconv9.c: New file.
47556
47557 2011-05-27  Andreas Schwab  <schwab@redhat.com>
47558
47559         [BZ #12814]
47560         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47561
47562 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
47563
47564         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47565         (struct user_regs_struct): Change intcs field back to cs.
47566
47567 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
47568
47569         * po/ja.po: Update from translation team.
47570
47571 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
47572
47573         [BZ #12795]
47574         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47575         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47576
47577 2011-05-20  Andreas Schwab  <schwab@redhat.com>
47578
47579         * stdlib/longlong.h: Update from GCC.
47580
47581 2011-05-23  Andreas Schwab  <schwab@redhat.com>
47582
47583         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47584         parameter name.
47585         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47586         Add parameter name.
47587         (__sysconf): Pass it down.
47588
47589 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
47590
47591         [BZ #12671]
47592         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47593         some situations.
47594         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47595         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47596         add in in __libc_use_alloca calls.  Adjust callers.
47597         (glob): Use malloc in some situations.
47598
47599         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47600         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47601         pltexit.
47602
47603 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
47604
47605         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47606         and CLOCK_BOOTTIME_ALARM.
47607
47608         [BZ #12782]
47609         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47610         is returned.
47611
47612         * string/_strerror.c (__strerror_r): Print negative errors as signed
47613         numbers.
47614
47615         [BZ #12777]
47616         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47617         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47618         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47619
47620         * configure.in: Fix typo in redirection and correct removal of test
47621         files in two cases.
47622
47623         [BZ #12788]
47624         * locale/setlocale.c (new_composite_name): Fix test to check for
47625         identical name of all categories.
47626
47627         [BZ #12792]
47628         * libio/filedoalloc.c (local_isatty): New function.
47629         (_IO_file_doallocate): Use local_isatty.
47630         * stdio-common/perror.c (perror): In case a new stream is used
47631         forward the stream error.
47632         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47633         error flag.
47634
47635 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
47636
47637         [BZ #11869]
47638         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47639         alloca.
47640         * include/alloca.h (extend_alloca_account): Define.
47641
47642         [BZ #11857]
47643         * posix/regex.h: Fix comments with documentation of user-accessible
47644         fields after compilation and describe correct free'ing of pattern
47645         after re_compile_pattern.
47646         Patch by Reuben Thomas <rrt@sc3d.org>.
47647
47648 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
47649
47650         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47651         and -mno-altivec to prevent the compiler from using Altivec and/or
47652         VSX instructions when the corresponding registers are not available.
47653
47654 2011-05-19  Andreas Schwab  <schwab@redhat.com>
47655
47656         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47657
47658 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
47659
47660         * libio/freopen.c (freopen): Use __dup2, not dup2.
47661         * libio/freopen64.c (freopen64): Likewise.
47662
47663 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47664
47665         [BZ #12775]
47666         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47667         * math/Makefile (tests): Add test-powl.
47668         (CFLAGS-test-powl.c): Define.
47669         * math/test-powl.c: New file.
47670
47671 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47672
47673         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47674
47675 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
47676
47677         [BZ #11837]
47678         * iconvdata/gb18030.c: Update to GB18020-2005.
47679
47680 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
47681
47682         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47683         RE_SYNTAX_POSIX_AWK): Update to match recent development.
47684         Patch by Aharon Robbins <arnold@skeeve.com>.
47685
47686         [BZ #11892]
47687         * stdlib/putenv.c (putenv): Don't always create copy of the variable
47688         on the stack.
47689
47690         [BZ #11895]
47691         * misc/pselect.c (__pselect): Handle timeout value errors hidden
47692         through underflows.
47693
47694         [BZ #12766]
47695         * misc/error.c (error_at_line): Ensure file_name and old_file_name
47696         point to strings before performing equality test for error_one_per_line
47697         mode.
47698
47699         [BZ #11697]
47700         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47701
47702         [BZ #11820]
47703         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47704         (struct user_fpregs_struct): Avoid __uint*_t types.
47705
47706         [BZ #6420]
47707         * malloc/mtrace.c (tr_where): Add additional parameter to point to
47708         symbol info.  Use it instead of calling _dl_addr locally.
47709         (lock_and_info): New function.
47710         (tr_freehook): Call lock_and_info and pass symbol info as additional
47711         parameter to tr_where.
47712         (tr_mallochook): Likewise.
47713         (tr_reallochook): Likewise.
47714         (tr_memalignhook): Likewise.
47715
47716         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
47717         used and couldn't be at all thread-safe.
47718
47719 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
47720
47721         * libio/freopen.c (freopen): Don't close old file descriptor
47722         before the new one is opened.  Instead dup the new file descriptor
47723         to the old one after the new stream is created.
47724         * libio/freopen64.c (freopen64): Likewise.
47725         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47726         * libio/fileops.c (_IO_new_file_close_it): Handle new
47727         _IO_FLAGS2_NOCLOSE flag.
47728         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47729         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47730         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47731         _IO_FLAGS2_NOCLOSE flag.
47732         * include/unistd.h: Add hidden_proto for dup3.
47733         Define __have_dup3.
47734         * io/dup3.c: Define hidden symbol.
47735         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47736
47737         [BZ #7101]
47738         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47739         when an incomplete long option is used.
47740         * posix/tst-getopt_long1.c: New file.
47741         * posix/Makefile (tests): Add tst-getopt_long1.
47742
47743         [BZ #10138]
47744         * scripts/config.guess: Update from autoconf-2.68.
47745         * scripts/config.sub: Likewise.
47746
47747         [BZ #10157]
47748         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47749         tests into ...
47750         (has_cpuclock): ...this.  New function.
47751         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47752         macro here based on has_cpuclock code.
47753
47754         [BZ #10149]
47755         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47756         First byte (not low byte) is now always NUL.
47757         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47758
47759         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47760         Use non-cancelable interfaces.
47761
47762         [BZ #9809]
47763         * locale/iso-639.def: Add entry for Sorani.
47764
47765         [BZ #11901]
47766         * include/stdlib.h: Move include protection to the right place.
47767         Define abort_msg_s.  Declare __abort_msg with it.
47768         * stdlib/abort.c (__abort_msg): Adjust type.
47769         * assert/assert.c (__assert_fail_base): New function.  Majority
47770         of code from __assert_fail.  Allocate memory for __abort_msg with
47771         mmap.
47772         (__assert_fail): Now call __assert_fail_base.
47773         * assert/assert-perr.c: Remove bulk of implementation.  Use
47774         __assert_fail_base.
47775         * include/assert.hL Declare __assert_fail_base.
47776         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47777         mmap.
47778         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47779
47780 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
47781
47782         [BZ #11952]
47783         [BZ #12453]
47784         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47785         until all modules are registered in the DTV.
47786         * elf/Makefile: Add rules to build and run tst-tls19.
47787         * elf/tst-tls19.c: New file.
47788         * elf/tst-tls19mod1.c: New file.
47789         * elf/tst-tls19mod2.c: New file.
47790         * elf/tst-tls19mod3.c: New file.
47791         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47792
47793         [BZ #12083]
47794         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47795         correctly.
47796
47797         [BZ #12601]
47798         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47799         two-byte sequence errors.
47800         * iconvdata/Makefile (tests): Add bug-iconv8.
47801         * iconvdata/bug-iconv8.c: New file.
47802
47803         [BZ #12626]
47804         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47805         buf2 definition.
47806
47807         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47808
47809         [BZ #12432]
47810         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47811         (dummy_getcfa): New function.
47812         (init): Get _Unwind_GetCFA address, use dummy if not found.
47813         (backtrace_helper): In recursion check, also check whether CFA changes.
47814         (__backtrace): Completely initialize arg.
47815
47816         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47817         storing incomplete byte sequence in state object.  Avoid testing for
47818         guaranteed too small input if we know there is enough data available.
47819
47820 2011-05-11  Andreas Schwab  <schwab@redhat.com>
47821
47822         * Makeconfig (+link-pie): Indent.
47823         * Rules (binaries-pie): Define if $(have-fpie) and
47824         $(build-shared).
47825         (binaries-shared): Also filter out $(binaries-pie).
47826         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47827         * nscd/Makefile (others-pie): Add nscd.
47828         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47829         ($(objpfx)nscd): Remove command override.
47830         * login/Makefile (others-pie): Add pt_chown.
47831         ($(objpfx)pt_chown): Remove command override.
47832         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47833         remove command overrides.
47834
47835 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
47836
47837         * libio/tst_putwc.c: Fix error messages.
47838
47839         [BZ #12724]
47840         * libio/fileops.c (_IO_new_file_close_it): Always flush when
47841         currently writing and seek to current position when not.
47842         * libio/Makefile (tests): Add bug-fclose1.
47843         * libio/bug-fclose1.c: New file.
47844
47845 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
47846
47847         [BZ #12511]
47848         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47849         don't set DF_1_NODELETE here.
47850         (do_lookup_x): When entering new entry test for copy relocation
47851         and if necessary set DF_1_NODELETE flag.
47852         * elf/tst-unique4.cc: New file.
47853         * elf/tst-unique4.h: New file.
47854         * elf/tst-unique4lib.cc: New file.
47855         * elf/Makefile: Add rules to build and run tst-unique4.
47856         Patch by Piotr Bury <pbury@goahead.com>.
47857
47858 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
47859
47860         [BZ #12052]
47861         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47862
47863         [BZ #12625]
47864         * misc/mntent_r.c (addmntent): Flush the stream after the output
47865
47866         [BZ #12393]
47867         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47868         (is_trusted_path_normalize): Skip initial colon.  Append slash
47869         to empty buffer.  Duplicate is_trusted_path code but allow
47870         constructed patch to be prefix.
47871         (is_dst): Allow $ORIGIN followed by /.
47872         (_dl_dst_substitute): Correct clearing of check_for_trusted.
47873         Correct testing of result of is_trusted_path_normalize
47874         (decompose_rpath): Fix warning.
47875
47876 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
47877
47878         [BZ #11257]
47879         * grp/initgroups.c (internal_getgrouplist): When we found the service
47880         list through the initgroups entry in nsswitch.conf do not always
47881         continue on a successful lookup.  Don't always use the
47882         __nss_group_database value if it is set.
47883         * nss/nsswitch.conf (initgroups): Change action for successful db
47884         lookup to continue for compatibility.
47885
47886 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
47887
47888         [BZ #11532]
47889         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47890         and CP774 modules.
47891         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47892         and CP774 modules.
47893         * iconvdata/tst-tables.sh: Likewise.
47894         * iconvdata/cp770.c: New file.
47895         * iconvdata/cp771.c: New file.
47896         * iconvdata/cp772.c: New file.
47897         * iconvdata/cp773.c: New file.
47898         * iconvdata/cp774.c: New file.
47899         * iconvdata/testdata/CP770: New file.
47900         * iconvdata/testdata/CP770..UTF8: New file.
47901         * iconvdata/testdata/CP771: New file.
47902         * iconvdata/testdata/CP771..UTF8: New file.
47903         * iconvdata/testdata/CP772: New file.
47904         * iconvdata/testdata/CP772..UTF8: New file.
47905         * iconvdata/testdata/CP773: New file.
47906         * iconvdata/testdata/CP773..UTF8: New file.
47907         * iconvdata/testdata/CP774: New file.
47908         * iconvdata/testdata/CP774..UTF8: New file.
47909
47910         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47911         END CHARMAP line.
47912         * iconvdata/gen-8bit-gap.sh: Likewise.
47913         * iconvdata/gen-8bit.sh: Likewise.
47914
47915         * locale/iso-639.def: Add ary entry.
47916
47917         [BZ #11258]
47918         * locale/C-translit.h.in: Add U20A1 transliteration.
47919
47920         [BZ #12178]
47921         * locale/iso-639.def: Add wae entry.
47922         Patch by Kevin Bortis <bortis@translate-wae.ch>.
47923
47924         [BZ #12545]
47925         * locale/programs/localedef.c (construct_output_path): Use ssize_t
47926         for n.
47927
47928         [BZ #12711]
47929         * locale/C-translit.h.in: Add entry for U20B9.
47930         Patch by pravin.d.s@gmail.com.
47931
47932 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
47933
47934         [BZ #12713]
47935         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47936         ENAMETOOLONG use generic getcwd.
47937         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
47938         in rtld.  Use *stat64.
47939         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47940         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47941         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47942         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47943         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47944         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47945         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47946         __fstatat64 macros.
47947         * include/dirent.h: Add libc_hidden_proto for rewinddir.
47948         * dirent/rewinddir.c: Add libc_hidden_def.
47949         * sysdeps/mach/hurd/rewinddir.c: Likewise.
47950         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
47951
47952         * include/dirent.h (__alloc_dir): Add flags parameter.
47953         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47954         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47955         __alloc_dir.
47956         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
47957         from fdopendir if O_CLOEXEC is already set.
47958
47959 2011-03-15  Alan Modra  <amodra@gmail.com>
47960
47961         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47962         l_tls_firstbyte_offset non-zero.  Save padding offset in
47963         l_tls_firstbyte_offset for later use.
47964         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47965         freeing static tls block.
47966
47967 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
47968
47969         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47970         where #ifdef was intended.  The intent is to prevent ARG_MAX from
47971         being defined by the kernel headers.
47972
47973 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
47974
47975         [BZ #12734]
47976         * resolv/resolv.h: Define RES_NOTLDQUERY.
47977         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47978         no-tld-query and set RES_NOTLDQUERY.
47979         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47980         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47981         modern BIND to search name as TLD unless forbidden.
47982
47983 2011-05-07  Petr Baudis  <pasky@suse.cz>
47984             Ulrich Drepper  <drepper@gmail.com>
47985
47986         [BZ #12393]
47987         * elf/dl-load.c (fillin_rpath): Move trusted path check...
47988         (is_trusted_path): ...to here.
47989         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47990         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47991         using is_trusted_path_normalize() in setuid scripts.
47992
47993 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47994
47995         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47996         __BEGIN/__END_DECLS.
47997
47998 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
47999
48000         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48001         NSS_STATUS_NOTFOUND if no record was found.
48002
48003 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48004
48005         * sunrpc/Makefile (headers): Add rpc/netdb.h.
48006         (headers-not-in-tirpc): Remove rpc/netdb.h
48007         * resolv/netdb.h: Revert last change.
48008
48009 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48010
48011         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48012         circular dependency between libgcc.a and libc.a.
48013
48014 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48015
48016         * resolv/netdb.h: Don't include <rpc/netdb.h>.
48017         * nis/Makefile: Don't install rpcsvc/*.
48018         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48019         instead of <rpc/types.h>.
48020         (MAXHOSTNAMELEN): Define.
48021
48022 2011-05-03  Andreas Schwab  <schwab@redhat.com>
48023
48024         * elf/ldconfig.c (add_dir): Don't crash on empty path.
48025
48026 2011-04-28  Maciej Babinski  <mbabinski@google.com>
48027
48028         [BZ #12714]
48029         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48030         gethostbyname4_r when IPv6 results are possible.
48031
48032 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
48033
48034         [BZ #12723]
48035         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48036         _PC_PIPE_BUF handling.
48037
48038 2011-04-30  Bruno Haible  <bruno@clisp.org>
48039
48040         [BZ #12717]
48041         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48042         * resolv/netdb.h (getnameinfo): Change type of flags parameter
48043         to 'int'.
48044         * inet/getnameinfo.c (getnameinfo): Likewise.
48045
48046 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
48047
48048         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48049         to groups setting in database lookup.
48050         * nss/nsswitch.conf: Add initgroups entry.
48051
48052 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
48053
48054         [BZ #12685]
48055         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48056         mode string.
48057         Patch by Eric Blake <eblake@redhat.com>.
48058
48059 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
48060
48061         * sunrpc/Makefile (need-export-routines): Add svc_run.
48062         (routines): Remove svc_run.
48063         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48064         * sunrpc/clnt_perr.c (clnt_perrno): Export.
48065         * sunrpc/svc_run.c (svc_run): Likewise.
48066         * sunrpc/svc_udp.c (svcudp_create): Likewise.
48067
48068 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
48069
48070         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48071         problem in reallocation in last patch.
48072
48073 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
48074
48075         * sunrpc/Makefile: Move inclusion of Rules.
48076
48077 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48078
48079         * nss/nss_files/files-initgroups.c: New file.
48080         * nss/Makefile (libnss_files-routines): Add files-initgroups.
48081         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48082         _nss_files_initgroups_dyn.
48083
48084 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
48085
48086         * elf/elf.h (R_ARM_IRELATIVE): Define.
48087
48088 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48089
48090         * po/ru.po: Update from translation team.
48091
48092 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48093
48094         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48095         dependencies.
48096
48097 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
48098
48099         [BZ #12653]
48100         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48101         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48102         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48103         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48104         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48105
48106 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
48107
48108         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48109         differing bytes.
48110         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48111         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48112         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48113
48114 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48115
48116         [BZ #12420]
48117         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48118         storing it.
48119         * stdlib/bug-getcontext.c: New file.
48120         * stdlib/Makefile: Add rules to build and run bug-getcontext.
48121
48122 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48123
48124         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48125         instructions into .machine "z9-109".
48126         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48127         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48128
48129 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48130
48131         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48132         between environment variables and auxiliary vector.
48133
48134 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
48135
48136         * Makefile: Add rules to build linkobj/libc.so.
48137         * include/libc-symbols.h: Define libc_hidden_nolink.
48138         * include/rpc/auth.h: Mark functions which are to be hidden.
48139         * include/rpc/auth_des.h: Likewise.
48140         * include/rpc/auth_unix.h: Likewise.
48141         * include/rpc/clnt.h: Likewise.
48142         * include/rpc/des_crypt.h: Likewise.
48143         * include/rpc/key_prot.h: Likewise.
48144         * include/rpc/pmap_clnt.h: Likewise.
48145         * include/rpc/pmap_prot.h: Likewise.
48146         * include/rpc/pmap_rmt.h: Likewise.
48147         * include/rpc/rpc_msg.h: Likewise.
48148         * include/rpc/svc.h: Likewise.
48149         * include/rpc/svc_auth.h: Likewise.
48150         * include/rpc/xdr.h: Likewise.
48151         * nis/Makefile: Link all DSOs against linkobj/libc.so.
48152         * nss/Makefile: Likewise.
48153         * sunrpc/Makefile: Don't install headers.  Build library with normal
48154         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
48155         * sunrpc/auth_des.c: Hide exported symbols by default, export some
48156         for the compat linking library.  Remove use of INTDEF/INTUSE.
48157         * sunrpc/auth_none.c: Likewise.
48158         * sunrpc/auth_unix.c: Likewise.
48159         * sunrpc/authdes_prot.c: Likewise.
48160         * sunrpc/authuxprot.c: Likewise.
48161         * sunrpc/clnt_gen.c: Likewise.
48162         * sunrpc/clnt_perr.c: Likewise.
48163         * sunrpc/clnt_raw.c: Likewise.
48164         * sunrpc/clnt_simp.c: Likewise.
48165         * sunrpc/clnt_tcp.c: Likewise.
48166         * sunrpc/clnt_udp.c: Likewise.
48167         * sunrpc/clnt_unix.c: Likewise.
48168         * sunrpc/des_crypt.c: Likewise.
48169         * sunrpc/des_soft.c: Likewise.
48170         * sunrpc/get_myaddr.c: Likewise.
48171         * sunrpc/key_call.c: Likewise.
48172         * sunrpc/key_prot.c: Likewise.
48173         * sunrpc/netname.c: Likewise.
48174         * sunrpc/pm_getmaps.c: Likewise.
48175         * sunrpc/pm_getport.c: Likewise.
48176         * sunrpc/pmap_clnt.c: Likewise.
48177         * sunrpc/pmap_prot.c: Likewise.
48178         * sunrpc/pmap_prot2.c: Likewise.
48179         * sunrpc/pmap_rmt.c: Likewise.
48180         * sunrpc/publickey.c: Likewise.
48181         * sunrpc/rpc_cmsg.c: Likewise.
48182         * sunrpc/rpc_common.c: Likewise.
48183         * sunrpc/rpc_dtable.c: Likewise.
48184         * sunrpc/rpc_prot.c: Likewise.
48185         * sunrpc/rpc_thread.c: Likewise.
48186         * sunrpc/rtime.c: Likewise.
48187         * sunrpc/svc.c: Likewise.
48188         * sunrpc/svc_auth.c: Likewise.
48189         * sunrpc/svc_authux.c: Likewise.
48190         * sunrpc/svc_raw.c: Likewise.
48191         * sunrpc/svc_run.c: Likewise.
48192         * sunrpc/svc_simple.c: Likewise.
48193         * sunrpc/svc_tcp.c: Likewise.
48194         * sunrpc/svc_udp.c: Likewise.
48195         * sunrpc/svc_unix.c: Likewise.
48196         * sunrpc/svcauth_des.c: Likewise.
48197         * sunrpc/xcrypt.c: Likewise.
48198         * sunrpc/xdr.c: Likewise.
48199         * sunrpc/xdr_array.c: Likewise.
48200         * sunrpc/xdr_float.c: Likewise.
48201         * sunrpc/xdr_intXX_t.c: Likewise.
48202         * sunrpc/xdr_mem.c: Likewise.
48203         * sunrpc/xdr_rec.c: Likewise.
48204         * sunrpc/xdr_ref.c: Likewise.
48205         * sunrpc/xdr_sizeof.c: Likewise.
48206         * sunrpc/xdr_stdio.c: Likewise.
48207
48208 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
48209
48210         [BZ #12650]
48211         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48212         * sysdeps/ia64/dl-tls.h: Likewise.
48213         * sysdeps/powerpc/dl-tls.h: Likewise.
48214         * sysdeps/s390/dl-tls.h: Likewise.
48215         * sysdeps/sh/dl-tls.h: Likewise.
48216         * sysdeps/sparc/dl-tls.h: Likewise.
48217         * sysdeps/x86_64/dl-tls.h: Likewise.
48218         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48219
48220 2011-03-14  Andreas Schwab  <schwab@redhat.com>
48221
48222         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48223         rpath element also skip the following colon.
48224         (expand_dynamic_string_token): Add is_path parameter and pass
48225         down to DL_DST_REQUIRED and _dl_dst_substitute.
48226         (decompose_rpath): Call expand_dynamic_string_token with
48227         non-zero is_path.  Ignore empty rpaths.
48228         (_dl_map_object_from_fd): Call expand_dynamic_string_token
48229         with zero is_path.
48230
48231 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
48232
48233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48234         Make cancelable.
48235
48236 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
48237
48238         [BZ #12655]
48239         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48240         Patch by Filipe David Manana <fdmanana@apache.org>.
48241
48242 2011-04-07  Andreas Schwab  <schwab@redhat.com>
48243
48244         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48245         Maintain aligned stack.
48246         (CHECK_RSP): Remove unused macro.
48247
48248 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
48249
48250         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48251         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48252
48253 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
48254
48255         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48256
48257         * include/features.h: Mention __USE_XOPEN2K8 in comment.
48258
48259 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
48260
48261         [BZ #12518]
48262         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48263         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48264         * sysdeps/x86_64/memmove.c: New file.
48265         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48266         (memcpy): Renamed to ...
48267         (__new_memcpy): This.
48268         (memcpy): Provide GLIBC_2_14 memcpy.
48269         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48270         (memcpy): Provide GLIBC_2_2_5 memcpy.
48271
48272 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48273
48274         [BZ #12631]
48275         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48276
48277 2011-03-30  Andreas Schwab  <schwab@redhat.com>
48278
48279         * misc/syncfs.c: New file.
48280         * misc/Makefile (routines): Add syncfs.
48281         * posix/unistd.h: Declare syncfs.
48282         * sysdeps/unix/syscalls.list: Add syncfs.
48283
48284 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48285
48286         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48287         open_by_handle_at.
48288         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48289         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48290         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48291         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48292         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48293         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48294         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48295
48296 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48297
48298         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48299         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48300         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48301         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48302         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48303         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48304         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48305
48306         * io/Makefile: Compile fallocate.c, fallocate64.c, and
48307         sync_file_range.c with -fexceptions.
48308         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48309         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48310         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48311         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48312         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48313         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48314         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48315         sync_file_range as cancellation point
48316         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
48317         now a wrapper around __call_sync_file_range with cancellation handling.
48318         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48319         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
48320         function name to __call_sync_file_range.
48321         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48322         Add call_sync_file_range.
48323
48324 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48325
48326         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48327         bits/timex.h.
48328
48329 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48330
48331         * iconv/iconv.h: Fix typo in comment.
48332         * io/fcntl.h: Likewise.
48333         * libio/stdio.h: Likewise.
48334         * posix/spawn.h: Likewise.
48335         * posix/unistd.h: Likewise.
48336         * stdlib/stdlib.h: Likewise.
48337         * time/time.h: Likewise.
48338         * wcsmbs/wchar.h: Likewise.
48339
48340         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48341         open_by_handle): Add.
48342         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48343         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
48344         Augment a few comments.
48345         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48346         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48347         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48348         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48349         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48350         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48351         open_by_handle.
48352
48353         * io/fcntl.h (AT_EMPTY_PATH): Define.
48354
48355 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
48356
48357         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48358         * sysdeps/unix/sysv/linux/bits/time.h: New file.
48359         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48360         to...
48361         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
48362         * Versions.def: Add GLIBC_2.14.
48363         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48364         Export.
48365
48366 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
48367
48368         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48369         round counter.
48370         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48371
48372 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48373
48374         [BZ #12597]
48375         * string/test-strncmp.c (do_page_test): New function.
48376         (check2): Likewise.
48377         (test_main): Call check2.
48378         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48379
48380 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
48381
48382         [BZ #12587]
48383         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48384         Handle cache information in CPU leaf 4.
48385         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48386
48387 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
48388
48389         [BZ #12583]
48390         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48391         character representation.
48392         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48393
48394 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
48395
48396         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48397         END(__isnan) to END(__isnanf) to match function entry point/label
48398         EALIGN(__isnanf,...).
48399
48400 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
48401
48402         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48403
48404 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
48405
48406         [BZ #12510]
48407         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48408         copy from the symbol referenced in the relocation to initialize the
48409         used variable.
48410         Patch by Piotr Bury <pbury@goahead.com>.
48411         * elf/Makefile: Add rules to build and tst-unique3.
48412         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48413         * elf/tst-unique3.cc: New file.
48414         * elf/tst-unique3.h: New file.
48415         * elf/tst-unique3lib.cc: New file.
48416         * elf/tst-unique3lib2.cc: New file.
48417
48418         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48419
48420 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
48421
48422         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48423         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
48424         to _start.
48425
48426 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
48427
48428         * elf/dl-load.c (_dl_map_object): If we are looking for the first
48429         to-be-loaded object along a path to loader is ld.so.
48430
48431 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48432             Ulrich Drepper  <drepper@gmail.com>
48433
48434         * sysdeps/x86_64/memset.S: After aligning destination, code
48435         branches to different locations depending on the value of
48436         misalignment, when multiarch is enabled. Fix this.
48437
48438 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48439
48440         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48441         Set _x86_64_preferred_memory_instruction for AMD processsors.
48442         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48443         Set bit_Prefer_SSE_for_memop for AMD processors.
48444
48445 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
48446
48447         * libio/fmemopen.c (fmemopen): Optimize a bit.
48448
48449 2011-03-03  Andreas Schwab  <schwab@redhat.com>
48450
48451         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48452
48453 2011-03-03  Roland McGrath  <roland@redhat.com>
48454
48455         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48456
48457 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
48458
48459         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48460         __bzero_ultra1 instead of __memset_ultra1.
48461
48462 2011-02-23  Andreas Schwab  <schwab@redhat.com>
48463             Ulrich Drepper  <drepper@gmail.com>
48464
48465         [BZ #12509]
48466         * include/link.h (struct link_map): Add l_orig_initfini.
48467         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48468         returning unsuccessfully.
48469         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48470         close of a file loaded at startup, restore the original l_initfini
48471         list.
48472         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48473         list, store the pointer.
48474         * elf/Makefile ($(objpfx)noload-mem): New rule.
48475         (noload-ENV): Define.
48476         (tests): Add $(objpfx)noload-mem.
48477         * elf/noload.c: Include <memcheck.h>.
48478         (main): Call mtrace.  Close all opened handles.
48479
48480 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48481
48482         [BZ #12454]
48483         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48484         dependencies are missing.
48485
48486 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48487
48488         Fix __if_freereq crash: Unlike the generic version which uses free,
48489         Hurd needs munmap.
48490         * sysdeps/mach/hurd/ifreq.h: New file.
48491
48492 2011-01-27  Petr Baudis  <pasky@suse.cz>
48493             Ulrich Drepper  <drepper@gmail.com>
48494
48495         [BZ 12445]#
48496         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48497         to extend_alloca().
48498         * stdio-common/bug23.c: New file.
48499         * stdio-common/Makefile (tests): Add bug23.
48500
48501 2010-09-28  Andreas Schwab  <schwab@redhat.com>
48502             Ulrich Drepper  <drepper@gmail.com>
48503
48504         [BZ #12489]
48505         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48506         before performing relro protection.  At old place add assertion
48507         to make sure nothing changed.
48508
48509 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
48510             Glauber de Oliveira Costa  <glommer@gmail.com>
48511
48512         * elf/elf.h: Add new ARM TLS relocs.
48513
48514 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
48515
48516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48517         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48518         cast from r3.
48519         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
48520         'tests' variable.
48521         * sysdeps/wordsize-64/tst-writev.c: New file.
48522
48523 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
48524
48525         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48526         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48527         insns in _dl_start to prevent a TOC reference before relocs are
48528         resolved.
48529
48530 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
48531
48532         [BZ #12469]
48533         * Makeconfig: Remove RANLIB definition.
48534         * Makerules: Don't use RANLIB.
48535         * aclocal.m4: Remove ranlib test.
48536         * configure.in: No need to check for ranlib.
48537         * elf/rtld-Rules: Don't use RANLIB.
48538
48539 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48540
48541         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48542         protection macro.
48543         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48544         inclusion protection macro.
48545
48546         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48547         SIGRTMIN and SIGRTMAX and print information in that case only when
48548         SIGRTMIN is defined.
48549
48550 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
48551
48552         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48553         arginfo fn returning -1.
48554
48555         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48556         and thousands string is zero terminated.
48557
48558 2011-02-03  Andreas Schwab  <schwab@redhat.com>
48559
48560         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48561         sysdeps/unix/sysv/linux/bits/socket.h.
48562
48563 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48564
48565         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48566         (__CPU_COUNT): Remove old macros.
48567         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48568         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48569         (__CPU_ALLOC, __CPU_FREE): Add macros.
48570         (__sched_cpualloc, __sched_cpufree): Add declarations.
48571
48572 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
48573
48574         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48575         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48576         * nscd/aicache.c (addhstaiX): Return timeout of added value.
48577         (readdhstai): Return value of addhstaiX call.
48578         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48579         (addgrbyX): Return value returned by cache_addgr.
48580         (readdgrbyname): Return value returned by addgrbyX.
48581         (readdgrbygid): Likewise.
48582         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48583         (addpwbyX): Return value returned by cache_addpw.
48584         (readdpwbyname): Return value returned by addhstbyX.
48585         (readdpwbyuid): Likewise.
48586         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48587         (addservbyX): Return value returned by cache_addserv.
48588         (readdservbyname): Return value returned by addservbyX:
48589         (readdservbyport): Likewise.
48590         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48591         (addhstbyX): Return value returned by cache_addhst.
48592         (readdhstbyname): Return value returned by addhstbyX.
48593         (readdhstbyaddr): Likewise.
48594         (readdhstbynamev6): Likewise.
48595         (readdhstbyaddrv6): Likewise.
48596         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48597         (readdinitgroups): Return value returned by addinitgroupsX.
48598         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48599         (prune_cache): Keep track of timeout value of re-added entries.
48600         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48601         * nscd/nscd.h: Adjust prototypes of readd* functions.
48602
48603 2011-02-04  Roland McGrath  <roland@redhat.com>
48604
48605         * nis/nis_server.c (nis_servstate): Use the right name for 0.
48606         (nis_stats): Likewise.
48607         * nis/nis_modify.c (nis_modify): Likewise.
48608         * nis/nis_remove.c (nis_remove): Likewise.
48609         * nis/nis_add.c (nis_add): Likewise.
48610
48611         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48612
48613         * posix/fnmatch_loop.c: Add some consts.
48614
48615         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48616
48617 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
48618
48619         [BZ #12460]
48620         * config.make.in (config-cflags-novzeroupper): Define.
48621         * configure.in: Substitute libc_cv_cc_novzeroupper.
48622         * elf/Makefile (AVX-CFLAGS): Define.
48623         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48624         (CFLAGS-tst-auditmod4a.c): Likewise.
48625         (CFLAGS-tst-auditmod4b.c): Likewise.
48626         (CFLAGS-tst-auditmod6b.c): Likewise.
48627         (CFLAGS-tst-auditmod6c.c): Likewise.
48628         (CFLAGS-tst-auditmod7b.c): Likewise.
48629         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48630
48631 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
48632
48633         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48634         function to the callback.
48635         Patch partly by Jiri Olsa <jolsa@redhat.com>.
48636
48637 2011-02-02  Andreas Schwab  <schwab@redhat.com>
48638
48639         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48640         of errno.
48641
48642 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
48643
48644         [BZ #11724]
48645         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48646         of constructors.
48647         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48648         of destructors.
48649         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48650
48651         [BZ #11724]
48652         * elf/Makefile: Add rules to build and run new test.
48653         * elf/tst-initorder.c: New file.
48654         * elf/tst-initorder.exp: New file.
48655         * elf/tst-initordera1.c: New file.
48656         * elf/tst-initordera2.c: New file.
48657         * elf/tst-initordera3.c: New file.
48658         * elf/tst-initordera4.c: New file.
48659         * elf/tst-initorderb1.c: New file.
48660         * elf/tst-initorderb2.c: New file.
48661         * elf/tst-order-a1.c: New file.
48662         * elf/tst-order-a2.c: New file.
48663         * elf/tst-order-a3.c: New file.
48664         * elf/tst-order-a4.c: New file.
48665         * elf/tst-order-b1.c: New file.
48666         * elf/tst-order-b2.c: New file.
48667         * elf/tst-order-main.c: New file.
48668         New test case by George Gensure <werkt0@gmail.com>.
48669
48670 2010-10-01  Andreas Schwab  <schwab@redhat.com>
48671
48672         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48673         decoding ACE if AI_CANONIDN.
48674
48675 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
48676
48677         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48678
48679 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
48680
48681         * version.h (RELEASE): Bump for 2.13 release.
48682         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48683
48684         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48685
48686         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48687         MADV_NOHUGEPAGE.
48688         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48689         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48690         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48691         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48692         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48693         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48694
48695         * posix/getconf.c: Update copyright year.
48696         * catgets/gencat.c: Likewise.
48697         * csu/version.c: Likewise.
48698         * debug/catchsegv.sh: Likewise.
48699         * debug/xtrace.sh: Likewise.
48700         * elf/ldconfig.c: Likewise.
48701         * elf/ldd.bash.in: Likewise.
48702         * elf/sprof.c (print_version): Likewise.
48703         * iconv/iconv_prog.c: Likewise.
48704         * iconv/iconvconfig.c: Likewise.
48705         * locale/programs/locale.c: Likewise.
48706         * locale/programs/localedef.c: Likewise.
48707         * malloc/memusage.sh: Likewise.
48708         * malloc/mtrace.pl: Likewise.
48709         * nscd/nscd.c (print_version): Likewise.
48710         * nss/getent.c: Likewise.
48711
48712         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48713         PF_CAIF, and PF_ALG.
48714         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48715
48716 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
48717
48718         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48719         (modules-names): Use them.
48720         (ifunc-test-modules, ifunc-pie-tests): Define.
48721         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48722         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48723         (test-extras): Likewise.
48724         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48725         $(compile-command.c).
48726         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48727         (all-built-dso): Define.
48728         (check-textrel.out, check-execstack.out): Depend on it.
48729
48730         * configure.in: Don't override --enable-multi-arch.
48731
48732 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
48733
48734         [BZ #6812]
48735         * nscd/hstcache.c (tryagain): Define.
48736         (cache_addhst): Return tryagain not notfound for temporary errors.
48737         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48738         failed.
48739
48740 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
48741
48742         [BZ #10563]
48743         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48744         to make the syscall.
48745         * sysdeps/unix/sysv/linux/setgroups.c: New file.
48746
48747         [BZ #12378]
48748         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48749         and fall back to matching as normal character if the string ends before
48750         the matching ']' is found.  This is what POSIX requires.
48751         * posix/testfnm.c: Adjust test result.
48752         * posix/globtest.sh: Adjust test result.  Add new test.
48753         * posix/tst-fnmatch.input: Likewise.
48754         * posix/tst-fnmatch2.c: Add new test.
48755
48756 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
48757
48758         * elf/Makefile (check-execstack): Revert last change.  Depend on
48759         check-execstack.h.
48760         (check-execstack.h): New target.
48761         (generated): Add check-execstack.h.
48762         * elf/check-execstack.c: Include "check-execstack.h".
48763         (main): Revert last change.
48764         (handle_file): Return zero if GNU_STACK is absent and
48765         DEFAULT_STACK_PERMS doesn't include PF_X.
48766
48767 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
48768
48769         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48770         in child fails because the descriptor is already closed.
48771         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48772         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48773         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48774
48775         [BZ #12397]
48776         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48777         syscall.
48778
48779         [BZ #10484]
48780         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48781         temporary buffer used to handle multi lookups locally.
48782         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48783
48784 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48785
48786         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48787         loader is ld.so.
48788
48789 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
48790
48791         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48792         alignment for SSE2.
48793
48794 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48795
48796         [BZ #12394]
48797         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48798         characters.  When rounding increased number of integer digits recompute
48799         number of groups.
48800         * stdio-common/tst-grouping.c: New file.
48801         * stdio-common/Makefile: Add rules to build and run tst-grouping.
48802
48803 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
48804
48805         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48806         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
48807
48808         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48809         void.
48810         * bits/select.h: Likewise.
48811
48812 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
48813
48814         * po/ja.po: Update from translation team.
48815
48816 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
48817
48818         [BZ #11155]
48819         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48820         implementation just like for lxstat, fxstatat, et al.
48821
48822 2010-12-27  Jim Meyering  <meyering@redhat.com>
48823
48824         [BZ #12348]
48825         * posix/regexec.c (build_trtable): Return failure indication upon
48826         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
48827
48828 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
48829
48830         [BZ #12201]
48831         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48832         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48833         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48834         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48835
48836         [BZ #12207]
48837         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48838
48839         [BZ #12204]
48840         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48841         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48842
48843 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
48844
48845         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48846         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48847         script has SORT_BY_INIT_PRIORITY.
48848         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48849         NO_CTORS_DTORS_SECTIONS is defined.
48850         * elf/soinit.c: Likewise.
48851         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48852         NO_CTORS_DTORS_SECTIONS is defined.
48853         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48854         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48855         * sysdeps/sh/init-first.c: Likewise.
48856         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48857
48858 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
48859
48860         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48861         always use the slow path.
48862
48863 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
48864
48865         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48866         similar rule which adds the sysdep directories to the header search in
48867         order to pick up the correct platform stackinfo.h.
48868         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48869         perform test if it is, otherwise return successfully without testing.
48870         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48871         DEFAULT_STACK_PERMS define in stackinfo.h.
48872         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48873         defined in stackinfo.h.
48874         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48875         DEFAULT_STACK_PERMS defined in stackinfo.h.
48876         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48877         * sysdeps/ia64/stackinfo.h: Likewise.
48878         * sysdeps/s390/stackinfo.h: Likewise.
48879         * sysdeps/sh/stackinfo.h: Likewise.
48880         * sysdeps/sparc/stackinfo.h: Likewise.
48881         * sysdeps/x86_64/stackinfo.h: Likewise.
48882         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48883         PF_X for powerpc64.  Retain PF_X for powerpc32.
48884
48885 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
48886
48887         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48888         accurately.
48889         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48890         GETDENTS_64BIT_ALIGNED.
48891
48892 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
48893
48894         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48895
48896 2010-12-10  Andreas Schwab  <schwab@redhat.com>
48897
48898         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48899         _GNU_SOURCE.
48900
48901         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48902         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48903         Remove __restrict.
48904         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48905         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48906
48907 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
48908
48909         [BZ #11655]
48910         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48911         are initialized.
48912
48913 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
48914
48915         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48916
48917 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
48918
48919         * po/it.po: Update from translation team.
48920
48921 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
48922
48923         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48924         unused codes.
48925
48926 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
48927
48928         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48929
48930 2010-11-24  Andreas Schwab  <schwab@redhat.com>
48931
48932         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48933         specially.
48934         (gaih_getanswer_slice): Likewise.
48935
48936 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
48937
48938         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48939
48940 2010-05-31  Petr Baudis  <pasky@suse.cz>
48941
48942         [BZ #11149]
48943         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48944         silently even in the chroot mode.
48945
48946 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
48947
48948         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48949         last patch a bit.  Pretty printing
48950
48951 2010-05-31  Petr Baudis <pasky@suse.cz>
48952
48953         [BZ #10085]
48954         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48955         initialization of skip_initgroups_dyn.
48956
48957 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
48958
48959         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48960         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48961
48962 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
48963
48964         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48965
48966 2010-11-11  Andreas Schwab  <schwab@redhat.com>
48967
48968         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48969         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48970         (tst-fnmatch-ENV): Set MALLOC_TRACE.
48971         ($(objpfx)tst-fnmatch-mem): New rule.
48972         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48973         * posix/tst-fnmatch.c (main): Call mtrace.
48974
48975 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
48976
48977         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48978         Support Intel processor model 6 and model 0x2c.
48979
48980 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
48981
48982         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48983           signed comparison.
48984
48985 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
48986
48987         [BZ #12205]
48988         * string/test-strncasecmp.c (check_result): New function.
48989         (do_one_test): Use it.
48990         (check1): New function.
48991         (test_main): Use it.
48992         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48993         Support strcasecmp and strncasecmp.
48994
48995 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
48996
48997         [BZ #12194]
48998         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48999         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49000
49001 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
49002
49003         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49004         IFUNC support.
49005         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49006         memset-x86-64.
49007         * sysdeps/x86_64/multiarch/bzero.S: New file.
49008         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49009         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49010         * sysdeps/x86_64/multiarch/memset.S: New file.
49011         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49012         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49013         Set bit_Prefer_SSE_for_memop for Intel processors.
49014         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49015         Define.
49016         (index_Prefer_SSE_for_memop): Define.
49017         (HAS_PREFER_SSE_FOR_MEMOP): Define.
49018
49019 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
49020
49021         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49022         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49023
49024 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
49025
49026         [BZ #12191]
49027         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49028         (__x86_64_raw_data_cache_size_half): Likewise.
49029         (__x86_64_raw_shared_cache_size): Likewise.
49030         (__x86_64_raw_shared_cache_size_half): Likewise.
49031
49032         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49033         (__x86_64_raw_data_cache_size_half): Likewise.
49034         (__x86_64_raw_shared_cache_size): Likewise.
49035         (__x86_64_raw_shared_cache_size_half): Likewise.
49036         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49037         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49038         and __x86_64_raw_shared_cache_size_half.  Round
49039         __x86_64_data_cache_size_half, __x86_64_data_cache_size
49040         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49041         to multiple of 256 bytes.
49042
49043 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
49044
49045         [BZ #12167]
49046         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49047         of inacessible symlinks.  Verify result of symlink before returning it.
49048         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49049         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49050
49051 2010-10-28  Erich Ritz  <erichritz@gmail.com>
49052
49053         * math/math.h (isinf): Fix typo in comment.
49054
49055 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
49056
49057         * po/da.po: Update from translation team.
49058
49059 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
49060
49061         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49062         is added to the list.
49063
49064 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49065             Ulrich Drepper  <drepper@gmail.com>
49066
49067         * elf/dl-object.c (_dl_new_object): Don't append the new object to
49068         the global list here.  Move code to...
49069         (_dl_add_to_namespace_list): ...here.  New function.
49070         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49071         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49072         * elf/dl-load.c (lose): Don't remove the element from the list.
49073         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49074         (_dl_map_object): Likewise.
49075
49076 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
49077
49078         [BZ #12159]
49079         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49080         into all bytes of SSE register.
49081         Patch by Richard Li <richardpku@gmail.com>.
49082
49083 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
49084
49085         [BZ #12140]
49086         * malloc/malloc.c (_int_free): Fill correct number of bytes when
49087         perturbing.
49088
49089 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
49090
49091         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49092         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49093         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49094         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49096         submachine.
49097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49098
49099 2010-10-22  Andreas Schwab  <schwab@redhat.com>
49100
49101         * include/dlfcn.h (__RTLD_SECURE): Define.
49102         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
49103         mode & __RTLD_SECURE instead.
49104         (open_path): Rename preloaded parameter to secure.
49105         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49106         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49107         * elf/dl-deps.c (openaux): Likewise.
49108         * elf/rtld.c (struct map_args): Remove is_preloaded.
49109         (map_doit): Don't use it.
49110         (dl_main): Likewise.
49111         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49112         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49113
49114 2010-09-09  Andreas Schwab  <schwab@redhat.com>
49115
49116         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49117         (sysd-rules-targets): Remove duplicates.
49118         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49119         rtld-%.$o dependency.
49120
49121 2010-10-18  Andreas Schwab  <schwab@redhat.com>
49122
49123         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49124         _dl_map_object do it.
49125
49126 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
49127
49128         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49129         fast fma builtins, define the macros in the C99 standard.
49130         (FP_FAST_FMAF): Likewise.
49131         (FP_FAST_FMAL): Likewise.
49132         * sysdeps/x86_64/bits/mathdef.h: Likewise.
49133
49134         * bits/mathdef.h: Update copyright year.
49135         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49136
49137 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
49138
49139         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49140         builtins, define the macros in the C99 standard.
49141         (FP_FAST_FMAF): Likewise.
49142         (FP_FAST_FMAL): Likewise.
49143         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49144         multiply/add.
49145         (FP_FAST_FMAF): Likewise.
49146
49147 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
49148
49149         [BZ #3268]
49150         * math/libm-test.inc (fma_test): Some new testcases.
49151         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49152         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49153         y and infinite z.  Do multiplication by C already in long double.
49154         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49155         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49156         y and infinite z.  Do bitwise or of inexact bit into u.d.
49157         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49158         * sysdeps/i386/fpu/s_fmaf.S: Removed.
49159         * sysdeps/i386/fpu/s_fma.S: Removed.
49160         * sysdeps/i386/fpu/s_fmal.S: Removed.
49161
49162 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
49163
49164         [BZ #3268]
49165         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49166         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49167         computation is not scheduled after fetestexcept.  Fix value
49168         of minimum denormal long double.
49169
49170 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
49171
49172         [BZ #3268]
49173         * math/libm-test.inc (fma_test): Add some more tests.
49174         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49175         correctly.
49176
49177 2010-10-15  Andreas Schwab  <schwab@redhat.com>
49178
49179         * scripts/data/localplt-s390-linux-gnu.data: New file.
49180         * scripts/data/localplt-s390x-linux-gnu.data: New file.
49181
49182 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
49183
49184         [BZ #3268]
49185         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49186         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49187         instead of dbl-64.
49188         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49189         inlines.
49190         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49191         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49192         if one of x and y is very large and the other is subnormal.
49193         * sysdeps/s390/fpu/s_fmaf.c: New file.
49194         * sysdeps/s390/fpu/s_fma.c: New file.
49195         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49196         * sysdeps/powerpc/fpu/s_fma.S: New file.
49197         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49198         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49199         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49200
49201 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
49202
49203         [BZ #3268]
49204         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49205         fma tests.
49206         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49207         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49208         * sysdeps/i386/i686/multiarch/s_fma.c: Include
49209         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49210         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49211         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49212         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49213
49214 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
49215
49216         [BZ #12078]
49217         * posix/regcomp.c (parse_branch): One more memory leak plugged.
49218         * posix/bug-regex31.input: Add test case.
49219
49220 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49221
49222         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49223         * posix/bug-regex31.input: New file.
49224
49225         [BZ #12078]
49226         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49227         (parse_sub_exp): Fix last change, use postorder.
49228
49229         * posix/bug-regex31.c: New file.
49230         * posix/Makefile: Add rules to build and run bug-regex31.
49231
49232         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49233
49234         [BZ #12078]
49235         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49236
49237         [BZ #12108]
49238         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49239         to have entries in sys_siglist.
49240
49241         [BZ #12093]
49242         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49243         be NULL.
49244
49245 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
49246
49247         [BZ #3268]
49248         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49249         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49250         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49251         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49252         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49253         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49254         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49255         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49256         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49257         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49258         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49259         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49260         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49261         * math/ftestexcept.c (fetestexcept): Likewise.
49262         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49263         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49264         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49265         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49266         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49267         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49268         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49269
49270 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49271
49272         [BZ #12107]
49273         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49274         newline.
49275
49276 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
49277
49278         * string/bug-strstr1.c: New file.
49279         * string/Makefile: Add rules to build and run bug-strstr1.
49280
49281 2010-10-05  Eric Blake  <eblake@redhat.com>
49282
49283         [BZ #12092]
49284         * string/str-two-way.h (two_way_long_needle): Always clear memory
49285         when skipping input due to the shift table.
49286
49287 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
49288
49289         [BZ #12005]
49290         * malloc/mcheck.c: Handle large requests.
49291
49292         [BZ #12077]
49293         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49294         for strncmp and strncasecmp.
49295         * string/stratcliff.c: Add tests for strcmp and strncmp.
49296         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49297
49298 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49299
49300         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49301         __set_fpscr.
49302
49303 2010-09-30  Andreas Jaeger  <aj@suse.de>
49304
49305         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49306         (CGROUP_SUPER_MAGIC): Define.
49307         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49308         Handle btrfs and cgroup file systems.
49309         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49310         Likewise.
49311
49312 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
49313
49314         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49315         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49316
49317 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49318
49319         [BZ #12067]
49320         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49321         trying to locate the ELF header.
49322
49323 2010-09-27  Andreas Schwab  <schwab@redhat.com>
49324
49325         [BZ #11611]
49326         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49327         Mask out sign-bit copies when constructing f_fsid.
49328
49329 2010-09-24  Petr Baudis <pasky@suse.cz>
49330
49331         * debug/stack_chk_fail_local.c: Add missing licence exception.
49332         * debug/warning-nop.c: Likewise.
49333
49334 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
49335
49336         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49337         implementing getdents64 using getdents syscall, set d_type if
49338         __ASSUME_GETDENTS32_D_TYPE.
49339
49340 2010-09-16  Andreas Schwab  <schwab@redhat.com>
49341
49342         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49343         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49344
49345 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
49346
49347         [BZ #12037]
49348         * posix/unistd.h: Undo change of feature selection for ftruncate from
49349         2010-01-11.
49350
49351 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
49352
49353         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49354         detection.
49355
49356 2010-09-20  Andreas Schwab  <schwab@redhat.com>
49357
49358         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49359         fanotify_mark.
49360         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49361
49362 2010-09-14  Andreas Schwab  <schwab@redhat.com>
49363
49364         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49365         variables after CHECK_SP call.
49366         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49367
49368 2010-09-13  Andreas Schwab  <schwab@redhat.com>
49369             Ulrich Drepper  <drepper@redhat.com>
49370
49371         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49372         re-relocationg ld.so.
49373         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49374         _dl_init_paths call.
49375         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
49376         here anymore.
49377
49378 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
49379
49380         * resolv/res_init.c (__res_vinit): Count the default server we added.
49381
49382 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
49383             Ulrich Drepper  <drepper@redhat.com>
49384
49385         [BZ #11968]
49386         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49387         (____longjmp_chk): Use %ebx for saving value across system call.
49388         Add unwind info.
49389
49390 2010-09-06  Andreas Schwab  <schwab@redhat.com>
49391
49392         * manual/Makefile: Don't mix pattern rules with normal rules.
49393
49394 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49395
49396         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49397         operation.
49398         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49399         * libio/iofopncook.c (_IO_cookie_init): Likewise.
49400         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49401         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49402         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49403         Likewise.
49404
49405 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
49406
49407         [BZ #11979]
49408         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49409         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49410
49411 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
49412
49413         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49414         * sysdeps/x86_64/addmul_1.S: Likewise.
49415         * sysdeps/x86_64/lshift.S: Likewise.
49416         * sysdeps/x86_64/mul_1.S: Likewise.
49417         * sysdeps/x86_64/rshift.S: Likewise.
49418         * sysdeps/x86_64/sub_n.S: Likewise.
49419         * sysdeps/x86_64/submul_1.S: Likewise.
49420
49421 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49422
49423         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49424         Define __sched_param instead of SCHED_* and sched_param when
49425         <bits/sched.h> is included with __need_schedparam defined.
49426         * bits/sched.h [__need_schedparam]
49427         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49428         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49429         (__defined_schedparam): Define to 1.
49430         (__sched_param): New structure, identical to sched_param.
49431         (__need_schedparam): Undefine.
49432
49433 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
49434
49435         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49436         (epoll_create1): Declare.
49437
49438         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49439
49440 2010-08-31  Andreas Schwab  <schwab@redhat.com>
49441
49442         [BZ #7066]
49443         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49444         shifting retval into place.
49445
49446 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
49447
49448         * nis/rpcsvc/nis.h: Update copyright notice.
49449         * nis/rpcsvc/nis.x: Likewise.
49450         * nis/rpcsvc/nis_callback.h: Likewise.
49451         * nis/rpcsvc/nis_callback.x: Likewise.
49452         * nis/rpcsvc/nis_object.x: Likewise.
49453         * nis/rpcsvc/nis_tags.h: Likewise.
49454         * nis/rpcsvc/yp.h: Likewise.
49455         * nis/rpcsvc/yp.x: Likewise.
49456         * nis/rpcsvc/ypupd.h: Likewise.
49457         * nis/yp_xdr.c: Likewise.
49458         * nis/ypupdate_xdr.c: Likewise.
49459
49460         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
49461         mainly the body of pmap_getport.  Add parameters to specify timeouts.
49462         (pmap_getport): Use __libc_rpc_getport.
49463         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49464         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49465         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49466
49467 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
49468
49469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49470         fanotify_mark.
49471
49472 2010-08-27  Roland McGrath  <roland@redhat.com>
49473
49474         * sysdeps/i386/i686/multiarch/Makefile
49475         (CFLAGS-varshift.c): New variable.
49476
49477 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49478
49479         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49480         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49481
49482         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49483
49484         * sysdeps/x86_64/strlen.S: Minimal code improvement.
49485
49486 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
49487
49488         * sysdeps/x86_64/strlen.S: Unroll the loop.
49489         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49490         strlen-sse2 strlen-sse2-bsf.
49491         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49492         __strlen_no_bsf if bit_Slow_BSF is set.
49493         (__strlen_sse42): Removed.
49494         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49495         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49496
49497 2010-08-25  Roland McGrath  <roland@redhat.com>
49498
49499         * sysdeps/x86_64/multiarch/varshift.S: File removed.
49500         * sysdeps/x86_64/multiarch/varshift.c: New file.
49501         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49502         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49503         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49504         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49505
49506 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49507
49508         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49509         strlen-sse2 strlen-sse2-bsf.
49510         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49511         __strlen_sse2_bsf if bit_Slow_BSF is unset.
49512         (__strlen_sse2): Removed.
49513         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49514         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49515         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49516         bit_Slow_BSF for Atom.
49517         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49518         (index_Slow_BSF): Define.
49519         (HAS_SLOW_BSF): Define.
49520
49521 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
49522
49523         [BZ #10851]
49524         * resolv/res_init.c (__res_vinit): When no server address at all
49525         is given default to loopback.
49526
49527 2010-08-24  Roland McGrath  <roland@redhat.com>
49528
49529         * configure.in: Remove config-name.h generation.
49530         * configure: Regenerated.
49531         * config-name.in: File removed.
49532         * scripts/config-uname.sh: New file.
49533         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49534         ($(objdir)config-name.h): New target.
49535
49536         * sunrpc/rpc_parse.h: Avoid nested comment.
49537
49538 2010-08-24  Richard Henderson  <rth@redhat.com>
49539             Ulrich Drepper  <drepper@redhat.com>
49540             H.J. Lu  <hongjiu.lu@intel.com>
49541
49542         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49543         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49544         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49545         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
49546         _mm_alignr_epi8 with _mm_loadu_si128.
49547         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49548         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49549         (__m128i_shift_right): Removed.
49550         * sysdeps/i386/i686/multiarch/varshift.h: New file.
49551         * sysdeps/i386/i686/multiarch/varshift.S: New file.
49552         * sysdeps/x86_64/multiarch/varshift.h: New file.
49553         * sysdeps/x86_64/multiarch/varshift.S: New file.
49554
49555 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
49556
49557         * configure.in: Move assembler checks to before sysdep dir checking.
49558
49559 2010-08-20  Petr Baudis  <pasky@suse.cz>
49560
49561         * LICENSES: Sync the sunrpc license.
49562
49563 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
49564
49565         * sunrpc/auth_des.c: Update copyright notice once again.
49566         * sunrpc/auth_none.c: Likewise.
49567         * sunrpc/auth_unix.c: Likewise.
49568         * sunrpc/authdes_prot.c: Likewise.
49569         * sunrpc/authuxprot.c: Likewise.
49570         * sunrpc/bindrsvprt.c: Likewise.
49571         * sunrpc/clnt_gen.c: Likewise.
49572         * sunrpc/clnt_perr.c: Likewise.
49573         * sunrpc/clnt_raw.c: Likewise.
49574         * sunrpc/clnt_simp.c: Likewise.
49575         * sunrpc/clnt_tcp.c: Likewise.
49576         * sunrpc/clnt_udp.c: Likewise.
49577         * sunrpc/clnt_unix.c: Likewise.
49578         * sunrpc/des_crypt.c: Likewise.
49579         * sunrpc/des_soft.c: Likewise.
49580         * sunrpc/get_myaddr.c: Likewise.
49581         * sunrpc/getrpcport.c: Likewise.
49582         * sunrpc/key_call.c: Likewise.
49583         * sunrpc/key_prot.c: Likewise.
49584         * sunrpc/openchild.c: Likewise.
49585         * sunrpc/pm_getmaps.c: Likewise.
49586         * sunrpc/pm_getport.c: Likewise.
49587         * sunrpc/pmap_clnt.c: Likewise.
49588         * sunrpc/pmap_prot.c: Likewise.
49589         * sunrpc/pmap_prot2.c: Likewise.
49590         * sunrpc/pmap_rmt.c: Likewise.
49591         * sunrpc/rpc/auth.h: Likewise.
49592         * sunrpc/rpc/auth_unix.h: Likewise.
49593         * sunrpc/rpc/clnt.h: Likewise.
49594         * sunrpc/rpc/des_crypt.h: Likewise.
49595         * sunrpc/rpc/key_prot.h: Likewise.
49596         * sunrpc/rpc/netdb.h: Likewise.
49597         * sunrpc/rpc/pmap_clnt.h: Likewise.
49598         * sunrpc/rpc/pmap_prot.h: Likewise.
49599         * sunrpc/rpc/pmap_rmt.h: Likewise.
49600         * sunrpc/rpc/rpc.h: Likewise.
49601         * sunrpc/rpc/rpc_des.h: Likewise.
49602         * sunrpc/rpc/rpc_msg.h: Likewise.
49603         * sunrpc/rpc/svc.h: Likewise.
49604         * sunrpc/rpc/svc_auth.h: Likewise.
49605         * sunrpc/rpc/types.h: Likewise.
49606         * sunrpc/rpc/xdr.h: Likewise.
49607         * sunrpc/rpc_clntout.c: Likewise.
49608         * sunrpc/rpc_cmsg.c: Likewise.
49609         * sunrpc/rpc_common.c: Likewise.
49610         * sunrpc/rpc_cout.c: Likewise.
49611         * sunrpc/rpc_dtable.c: Likewise.
49612         * sunrpc/rpc_hout.c: Likewise.
49613         * sunrpc/rpc_main.c: Likewise.
49614         * sunrpc/rpc_parse.c: Likewise.
49615         * sunrpc/rpc_parse.h: Likewise.
49616         * sunrpc/rpc_prot.c: Likewise.
49617         * sunrpc/rpc_sample.c: Likewise.
49618         * sunrpc/rpc_scan.c: Likewise.
49619         * sunrpc/rpc_scan.h: Likewise.
49620         * sunrpc/rpc_svcout.c: Likewise.
49621         * sunrpc/rpc_tblout.c: Likewise.
49622         * sunrpc/rpc_util.c: Likewise.
49623         * sunrpc/rpc_util.h: Likewise.
49624         * sunrpc/rpcinfo.c: Likewise.
49625         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49626         * sunrpc/rpcsvc/key_prot.x: Likewise.
49627         * sunrpc/rpcsvc/klm_prot.x: Likewise.
49628         * sunrpc/rpcsvc/mount.x: Likewise.
49629         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49630         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49631         * sunrpc/rpcsvc/rex.x: Likewise.
49632         * sunrpc/rpcsvc/rstat.x: Likewise.
49633         * sunrpc/rpcsvc/rusers.x: Likewise.
49634         * sunrpc/rpcsvc/sm_inter.x: Likewise.
49635         * sunrpc/rpcsvc/spray.x: Likewise.
49636         * sunrpc/rpcsvc/yppasswd.x: Likewise.
49637         * sunrpc/rtime.c: Likewise.
49638         * sunrpc/svc.c: Likewise.
49639         * sunrpc/svc_auth.c: Likewise.
49640         * sunrpc/svc_authux.c: Likewise.
49641         * sunrpc/svc_raw.c: Likewise.
49642         * sunrpc/svc_run.c: Likewise.
49643         * sunrpc/svc_simple.c: Likewise.
49644         * sunrpc/svc_tcp.c: Likewise.
49645         * sunrpc/svc_udp.c: Likewise.
49646         * sunrpc/svc_unix.c: Likewise.
49647         * sunrpc/svcauth_des.c: Likewise.
49648         * sunrpc/xcrypt.c: Likewise.
49649         * sunrpc/xdr.c: Likewise.
49650         * sunrpc/xdr_array.c: Likewise.
49651         * sunrpc/xdr_float.c: Likewise.
49652         * sunrpc/xdr_mem.c: Likewise.
49653         * sunrpc/xdr_rec.c: Likewise.
49654         * sunrpc/xdr_ref.c: Likewise.
49655         * sunrpc/xdr_sizeof.c: Likewise.
49656         * sunrpc/xdr_stdio.c: Likewise.
49657
49658         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49659         handling.
49660
49661 2010-08-19  Andreas Schwab  <schwab@redhat.com>
49662
49663         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49664
49665 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
49666
49667         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49668         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49669         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49670         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49671         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49672         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49673         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49674         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49675         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49676         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49677         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49678         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49679         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49680         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49681
49682 2010-07-26  Anton Blanchard  <anton@samba.org>
49683
49684         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49685         * malloc/arena.c (heap_trim): Likewise.
49686
49687 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
49688
49689         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49690         here.  Not...
49691         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49692         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49693
49694 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
49695
49696         * sysdeps/i386/elf/Makefile: New file.
49697
49698 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49699
49700         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49701         from fanotify_init.
49702         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49703         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49704
49705 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
49706
49707         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49708         of strncasecmp_l.
49709         * sysdeps/multiarch/strcmp.S: Likewise.
49710
49711 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
49712
49713         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49714         strncase_l-nonascii.
49715         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49716         Add strncase_l-ssse3.
49717         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49718         * sysdeps/x86_64/strcmp.S: Likewise.
49719         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49720         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49721         * sysdeps/x86_64/strncase.S: New file.
49722         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49723         * sysdeps/x86_64/strncase_l.S: New file.
49724         * string/Makefile (strop-tests): Add strncasecmp.
49725         * string/test-strncasecmp.c: New file.
49726
49727         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49728         warning.
49729
49730         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49731         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49732
49733 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49734
49735         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49736
49737 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
49738
49739         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49740         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49741         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49742
49743 2010-05-01  Alan Modra  <amodra@gmail.com>
49744
49745         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49746         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49747         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49748         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49749         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49750         tidying.  Don't tail-call __sigjmp_save for static lib.
49751         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49752         save location.
49753         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49754         (CALL_MCOUNT): Add eh info, and nop after bl.
49755         (TAIL_CALL_SYSCALL_ERROR): New macro.
49756         (PSEUDO_RET): Use it.
49757         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49758         Correct save location of integer regs and cr.
49759         (_dl_profile_resolve): Correct cr save location.  Delete nops
49760         after bl when SHARED.  Reduce cfi size a little by better
49761         placement of cfi directives.
49762         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49763         make a stack frame.  Instead use parm save area as a temp.
49764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49765         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
49766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49767         Don't make a stack frame for parent, use parm save area.
49768         Increase child stack frame to 112 bytes.  Don't save unused reg,
49769         and adjust reg usage.  Set up cfi on error recovery and
49770         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49772         (__makecontext): Add dummy nop after jump to exit.
49773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49774         Use correct parm save area and cr save, reduce stack frame.
49775         Correct cfi for possible PSEUDO_RET frame setup.
49776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49777         Branch to local label emitted by PSEUDO_RET rather than
49778         __syscall_error.
49779
49780 2010-08-12  Andreas Schwab  <schwab@redhat.com>
49781
49782         [BZ #11904]
49783         * locale/programs/locale.c (print_assignment): New function.
49784         (show_locale_vars): Use it.
49785
49786 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
49787
49788         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49789         field.
49790         (struct statfs64): Likewise.
49791         (_STATFS_F_FLAGS): Define.
49792         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49793         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49794         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49795         (ST_VALID): Define locally.
49796         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49797         __statvfs_getflags, use the provided value.
49798         * sysdeps/unix/sysv/linux/kernel-features.h: Define
49799         __ASSUME_STATFS_F_FLAGS.
49800
49801         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49802
49803         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49804         Add sys/fanotify.h.
49805         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49806         fanotify_mask for GLIBC_2.13.
49807         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49808         fanotify_init and fanotify_mark.
49809         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49810         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49811
49812         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49813         Add prlimit.
49814         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49815         prlimit64 for GLIBC_2.13.
49816         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49817         prlimit64.
49818         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49819         syscall.
49820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49821         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49822         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49823         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49824         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
49825         add prlimit alias.
49826         * sysdeps/unix/sysv/linux/prlimit.c: New file.
49827
49828         [BZ #11903]
49829         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49830         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49831
49832         * nss/Makefile: Add rules to build and run tst-nss-test1.
49833         * shlib-versions: Add entry for libnss_test1.
49834         * nss/nss_test1.c: New file.
49835         * nss/tst-nss-test1.c: New file.
49836
49837         * nss/nsswitch.c (__nss_database_custom): Define new variable.
49838         (__nss_configure_lookup): Set appropriate entry in
49839         __nss_configure_lookup to true.
49840         * nss/nsswitch.h: Define enum with indeces of databases in
49841         databases and __nss_database_custom arrays.  Declare
49842         __nss_database_custom.
49843         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49844         to avoid using nscd when custom rules are installed.
49845         * nss/getXXbyYY_r.c: Likewise.
49846         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49847
49848         * nss/nss_files/files-parse.c: Whitespace fixes.
49849
49850 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
49851
49852         [BZ #11883]
49853         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49854         * posix/fnmatch_loop.c: Likewise.
49855
49856 2010-07-17  Andi Kleen  <ak@linux.intel.com>
49857
49858         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49859         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49860         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49861         * Versions.def [GLIBC_2.13]: Add.
49862
49863 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
49864
49865         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49866         Also fail if tpwd after pwuid call is NULL.
49867
49868 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49869
49870         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49871         when converting to ms.
49872
49873 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49874
49875         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49876         EOPNOTSUPP errors with ENOTTY.
49877         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49878         EOPNOTSUPP errors with ENOTTY.
49879
49880 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
49881
49882         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49883         Add strcasecmp_l-ssse3.
49884         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49885         strcasecmp.
49886         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49887         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49888         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49889
49890 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
49891
49892         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49893
49894         * string/Makefile (strop-tests): Add strcasecmp.
49895         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49896         strcasecmp_l-nonascii.
49897         (gen-as-const-headers): Add locale-defines.sym.
49898         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49899         * sysdeps/x86_64/strcasecmp.S: New file.
49900         * sysdeps/x86_64/strcasecmp_l.S: New file.
49901         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49902         * sysdeps/x86_64/locale-defines.sym: New file.
49903         * string/test-strcasecmp.c: New file.
49904
49905         * string/test-strcasestr.c: Test both ends of the range of characters.
49906         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49907
49908 2010-07-29  Roland McGrath  <roland@redhat.com>
49909
49910         [BZ #11856]
49911         * manual/locale.texi (Yes-or-No Questions): Fix example code.
49912
49913 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
49914
49915         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49916         for ld.so.
49917
49918 2010-07-27  Andreas Schwab  <schwab@redhat.com>
49919
49920         * manual/memory.texi (Malloc Tunable Parameters): Document
49921         M_PERTURB.
49922
49923 2010-07-26  Roland McGrath  <roland@redhat.com>
49924
49925         [BZ #11840]
49926         * configure.in (-fgnu89-inline check): Set and substitute
49927         gnu89_inline, not libc_cv_gnu89_inline.
49928         * configure: Regenerated.
49929         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49930
49931 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
49932
49933         * string/test-strnlen.c: New file.
49934         * string/Makefile (strop-tests): Add strnlen.
49935         * string/tester.c (test_strnlen): Add a few more test cases.
49936         * string/tst-strlen.c: Better error reporting.
49937
49938         * sysdeps/x86_64/strnlen.S: New file.
49939
49940 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
49941
49942         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49943         lower-latency instructions.
49944
49945 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
49946
49947         * string/test-strcasestr.c: New file.
49948         * string/test-strstr.c: New file.
49949         * string/Makefile (strop-tests): Add strstr and strcasestr.
49950         * string/str-two-way.h: Don't undefine MAX.
49951         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49952
49953 2010-07-21  Andreas Schwab  <schwab@redhat.com>
49954
49955         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49956         strcasestr-nonascii.
49957         (CFLAGS-strcasestr-nonascii.c): Define.
49958         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49959         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49960         Remove unused attribute.
49961
49962 2010-07-20  Roland McGrath  <roland@redhat.com>
49963
49964         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49965         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
49966         ld.so.cache was broken.  With it, there is no way to disable dsocaps
49967         like LD_HWCAP_MASK can disable hwcaps.
49968
49969 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49970
49971         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49972
49973 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
49974
49975         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49976         call in strcasestr.
49977         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49978         __strcasestr_sse42_nonascii.
49979         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49980         strcasestr-nonascii.c.
49981         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49982
49983 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
49984
49985         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49986         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49987         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49988         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49989
49990 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
49991
49992         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49993         fcntl.
49994
49995 2010-07-06  Andreas Schwab  <schwab@redhat.com>
49996
49997         [BZ #11577]
49998         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49999         dl_signal_cerror.
50000
50001 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
50002
50003         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50004         _PC_PIPE_BUF using F_GETPIPE_SZ.
50005
50006 2010-07-05  Roland McGrath  <roland@redhat.com>
50007
50008         * manual/arith.texi (Rounding Functions): Fix rint description
50009         implicit in round description.
50010
50011 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
50012
50013         * elf/Makefile: Fix linking for a few tests to make recent linker
50014         happy.
50015
50016 2010-06-30  Andreas Schwab  <schwab@redhat.com>
50017
50018         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50019         $(common-objpfx)libc_nonshared.a.
50020
50021 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
50022
50023         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50024         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50025         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50026         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50027         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50028         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50029         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50030         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50045         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50046         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50047         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50048         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50049         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50050         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50051         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50052         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50053         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50054         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50055         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50056         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50071
50072 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
50073
50074         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50075         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
50076         * string/memmove.c (memmove): Renamed to ...
50077         (MEMMOVE): ...this.  Default to memmove.
50078         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50079         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50080         (END_CHK): Define.
50081         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50082         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50083         mempcpy-ssse3-back memmove-ssse3-back.
50084         * sysdeps/x86_64/multiarch/bcopy.S: New file .
50085         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50086         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50087         * sysdeps/x86_64/multiarch/memcpy.S: New file.
50088         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50089         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50090         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50091         * sysdeps/x86_64/multiarch/memmove.c: New file.
50092         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50093         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50094         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50095         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50096         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50097         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50098         Define.
50099         (index_Fast_Copy_Backward): Define.
50100         (HAS_ARCH_FEATURE): Define.
50101         (HAS_FAST_REP_STRING): Define.
50102         (HAS_FAST_COPY_BACKWARD): Define.
50103
50104 2010-06-21  Andreas Schwab  <schwab@redhat.com>
50105
50106         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50107         Restore proper fallback handling.
50108
50109 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
50110
50111         [BZ #11701]
50112         * posix/group_member.c (__group_member): Correct checking loop.
50113
50114         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50115         OOM in getpwuid_r correctly.  Return error number when the caller
50116         should return, otherwise -1.
50117         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50118         call returning > 0 value.
50119         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50120
50121 2010-06-07  Andreas Schwab  <schwab@redhat.com>
50122
50123         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50124         libc_nonshared.a from targets in modules-names.
50125
50126 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
50127
50128         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50129         requires it.
50130
50131 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
50132
50133         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50134         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50135         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50136         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50137
50138 2010-06-02  Andreas Schwab  <schwab@redhat.com>
50139
50140         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50141
50142 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
50143
50144         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50145         and F_GETPIPE_SZ.
50146         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50147         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50148         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50149         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50150         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50151         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50152
50153 2010-06-14  Roland McGrath  <roland@redhat.com>
50154
50155         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50156
50157 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
50158
50159         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50160         __REDIRECT followed by __THROW.
50161         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50162         * posix/getopt.h (getopt): Likewise.
50163
50164 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50165
50166         * hurd/lookup-at.c (__file_name_lookup_at): Accept
50167         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
50168         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50169         in AT_FLAGS.
50170         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50171         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50172
50173 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
50174
50175         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50176
50177 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
50178
50179         [BZ #11640]
50180         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50181         Properly check family and model.
50182
50183 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
50184
50185         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50186
50187 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
50188
50189         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50190
50191 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
50192
50193         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50194         symbol reference.
50195
50196 2010-05-19  Andreas Schwab  <schwab@redhat.com>
50197
50198         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50199         symbol reference.
50200
50201 2010-05-21  Andreas Schwab  <schwab@redhat.com>
50202
50203         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50204         and internal_recvmmsg.
50205         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50206         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50207         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50208         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50209
50210         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50211         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50212         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50213
50214 2010-05-20  Andreas Schwab  <schwab@redhat.com>
50215
50216         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50217
50218 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
50219
50220         POWER7 optimizations.
50221         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50222         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50223
50224 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
50225
50226         * version.h: Update for 2.13 development version.
50227
50228 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
50229
50230         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50231         exceptions.  Return 0.
50232
50233 2010-05-07  Roland McGrath  <roland@redhat.com>
50234
50235         * elf/ldconfig.c (main): Add a const.
50236
50237 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
50238
50239         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50240         (args_options): Add no-idn option.
50241         (ahosts_keys_int): Add idn_flags to ai_flags.
50242         (parse_option): Handle 'i' option to clear idn_flags.
50243
50244         * malloc/malloc.c (_int_free): Possible race in the most recently
50245         added check.  Only act on the data if no current modification
50246         happened.
50247
50248 See ChangeLog.17 for earlier changes.