Minor cleanup in locale.c
[platform/upstream/glibc.git] / ChangeLog
1 2014-09-12  Roland McGrath  <roland@hack.frob.com>
2
3         * locale/programs/locale.c (show_locale_vars): Inline local function
4         into its sole call site.  Clean up some style nits.
5         (print_item): New function, broken out of ...
6         (show_info): ... local function here.  Clean up style nits.
7
8         * locale/programs/ld-ctype.c (set_one_default): New function, broken
9         out of ...
10         (set_class_defaults): ... local function set_default here.
11         Define set_default as a macro locally to pass constant parameters.
12         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
13         rather than a shared local.
14
15         * stdlib/rpmatch.c (try): New function, broken out of ...
16         (rpmatch): ... local function here.  Also, prototypify definition.
17
18 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
19
20         * scripts/soversions.awk: Do not handle configuration names.
21         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
22         vendor and os variables to soversions.awk.
23         * configure.ac: Do not modify gnu-* host_os.
24         * configure: Regenerated
25         * shlib-versions: Remove first column with configuration names.
26         * nptl/shlib-versions: Likewise.
27         * nptl_db/shlib-versions: Likewise.
28         * sysdeps/hppa/shlib-versions: Likewise.
29         * sysdeps/m68k/shlib-versions: Likewise.
30         * sysdeps/mach/hurd/shlib-versions: Likewise.
31         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
32         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
33         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
34         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
35         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
36         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
37         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
38         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
39         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
40         Likewise.
41         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
43         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
44         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
45         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
47         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
48         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
49
50         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
51         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
52         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
53         Regenerated.
54         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
55         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
56         Condition symbol version definitions on [HAVE_ELFV2_ABI].
57
58         * shlib-versions: Remove OS-specific entries.  Moved to files in
59         sysdeps.
60         * sysdeps/mach/hurd/shlib-versions: New file.
61         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
62
63         * nptl/shlib-versions: Remove architecture-specific entries.
64         Moved to files in sysdeps.
65         * shlib-versions: Likewise.
66         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
67         file.
68         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
69         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
70         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
71         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
72
73         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
74         (UDP_NO_CHECK6_RX): Likewise.
75
76 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
77
78         * sysdeps/posix/sysconf.c (__sysconf): Spell
79         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
80
81 2014-08-12  Florian Weimer  <fweimer@redhat.com>
82
83         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
84         loading.
85         * iconv/Versions (__gconv_transliterate): Export for use from
86         gconv modules.
87         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
88         (struct __gconv_trans_data, __gconv_trans_fct,
89         __gconv_trans_context_fct, __gconv_trans_query_fct,
90         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
91         definitions.
92         (struct __gconv_step_data): Remove __trans member.
93         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
94         longer hidden.  Remove unused trans_data argument.
95         * iconv/gconv_int.h (struct trans_struct): Remove definition.
96         (__gconv_translit_find): Remove declaration.
97         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
98         prototype.
99         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
100         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
101         trans_data argument.  Add hidden definition.
102         (__gconv_translit_find): Remove.
103         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
104         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
105         * iconv/skeleton.c: Remove transliteration initialization.
106         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
107         __gconv_step_data initialization.
108         * libio/iofwide.c (__libio_translit_): Remove.
109         (_IO_fwide): Adjust struct __gconv_step_data initialization.
110         * wcsmbs/btowc.c (__btowc): Likewise.
111         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
112         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
113         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
114         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
115         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
116         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
117         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
118         * wcsmbs/wctob.c (wctob): Likewise.
119
120 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
121
122         [BZ #16194]
123         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
124         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
125         register usage.
126         * sysdeps/x86/Makefile: Adjust.
127
128 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
129             Roland McGrath  <roland@hack.frob.com>
130
131         * locale/weight.h: Add include guard.
132         (findidx): Make static rather than auto; take new parameters
133         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
134         * locale/weightwc.h: Likewise.
135         * posix/fnmatch_loop.c
136         (FCT): Change type of EXTRA from int32_t to wint_t.
137         Don't include either header inside the function.
138         Call FINDIDX rather than findidx, and pass new arguments.
139         #undef FINDIDX at the end of the file.
140         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
141         FINDIDX before including fnmatch_loop.c for the non-wide version.
142         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
143         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
144         for the wide version.
145         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
146         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
147         Pass new arguments to findidx.
148         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
149         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
150         Don't #include it inside the function.  Pass new arguments to findidx.
151         * posix/regex_internal.h
152         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
153         (re_string_elem_size_at): Don't #include it inside the function.
154         Pass new arguments to findidx.
155         * string/strcoll_l.c: #include WEIGHT_H at top level.
156         (get_next_seq): Don't #include it inside the function.
157         Pass new arguments to findidx.
158         (get_next_seq_nocache): Likewise.
159         * string/strxfrm_l.c: #include WEIGHT_H at top level.
160         (STRXFRM): Don't #include it inside the function.
161         Pass new arguments to findidx.
162
163 2014-09-11  Florian Weimer  <fweimer@redhat.com>
164
165         [BZ #17344]
166         * malloc/malloc.c (unlink): Turn asserts into a call to
167         malloc_printerr.
168
169 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
170
171         [BZ #17370]
172         * libio/wfileops (do_ftell_wide): Free OUT.
173
174 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
175
176         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
177
178 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
179
180         [BZ #17363]
181         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
182         group if the current group is empty.
183
184 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
185
186         * benchtests/bench-memset.c (test_main): Add more test from size
187         from 32 to 512 bytes.
188         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
189         Add POWER8 memset object.
190         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
191         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
192         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
193         implementation.
194         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
195         Likewise.
196         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
197         multiarch POWER8 memset optimization.
198         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
199         POWER8 memset optimization.
200
201         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
202         Remove bzero multiarch objects.
203         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
204         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
205         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
206         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
207         Remove define.
208         [__bzero]: Redefine to specific name.
209         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
210         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
211         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
212         define.
213         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
214         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
215
216 2014-09-10  Florian Weimer  <fweimer@redhat.com>
217
218         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
219         warnings into errors.
220
221         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
222         __cxa_thread_atexit_impl prototype.
223
224 2014-09-09  Steve Ellcey  <sellcey@mips.com>
225
226         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
227         Fix capitalization of error message.
228
229 2014-09-09  Steve Ellcey  <sellcey@mips.com>
230
231         * sysdeps/mips/preconfigure: Modify ABI tests.
232
233 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
234
235         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
236
237 2014-09-07  Roland McGrath  <roland@hack.frob.com>
238             Carlos O'Donell  <carlos@systemhalted.org>
239
240         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
241         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
242         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
243         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
244         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
245         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
246         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
247         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
248         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
249         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
250         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
251         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
252         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
253         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
254         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
255         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
256         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
257         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
258         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
259         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
260         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
261         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
262         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
263         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
264         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
265         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
266         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
267         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
268         Deconditionalize the code that was previously under [RESET_PID].
269         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
270         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
271         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
272         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
273         include sysdep.h.
274
275 2014-09-08  Allan McRae  <allan@archlinux.org>
276
277         * version.h (RELEASE): Set to "development".
278         (VERSION): Set to "2.20.90"
279
280 2014-09-07  Allan McRae  <allan@archlinux.org
281
282         * version.h (RELEASE): Set to "stable".
283         (VERSION): Set to "2.20"
284         * include/features.h (__GLIBC_MINOR__): Set to 20.
285
286         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
287         Liebler.
288
289         * po/ko.po: Update Korean translation from translation project.
290
291 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
292
293         [BZ #17354]
294         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
295         macro for handling signed relocations.
296
297 2014-09-03  Florian Weimer  <fweimer@redhat.com>
298
299         [BZ #17325]
300         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
301         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
302         assert.
303         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
304         * iconvdata/ibm935.c (BODY): Likewise.
305         * iconvdata/ibm937.c (BODY): Likewise.
306         * iconvdata/ibm939.c (BODY): Likewise.
307         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
308         assert.
309         * iconvdata/Makefile (iconv-test.out): Pass module list to test
310         script.
311         * iconvdata/run-iconv-test.sh: New test loop for checking for
312         decoder crashers.
313
314 2014-09-02  Khem Raj  <raj.khem@gmail.com>
315
316         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
317         libm_hidden_ver.
318
319 2014-09-01  Allan McRae  <allan@archlinux.org>
320
321         * po/eo.po: Update Esperanto translation from translation project.
322
323         * po/ca.po: Update Catalan translation from translation project.
324
325 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
326
327         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
328         __proc_dostop call.
329
330 2014-08-27  Mark Wielaard  <mjw@redhat.com>
331
332         [BZ #17319]
333         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
334         to call set_thread_area instead of hand written asm.
335         (__NR_set_thread_area): Removed define.
336         (TLS_FLAG_WRITABLE): Likewise.
337         (__ASSUME_SET_THREAD_AREA): Remove check.
338         (TLS_EBX_ARG): Remove define.
339         (TLS_LOAD_EBX): Likewise.
340
341 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
342
343         Simplify atomicity of socket creation in bind.
344
345         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
346         looking up the name after linking the file.
347
348 2014-08-27  Allan McRae  <allan@archlinux.org>
349
350         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
351
352 2014-08-26  Florian Weimer  <fweimer@redhat.com>
353
354         [BZ #17187]
355         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
356         trans_compare, open_translit, __gconv_translit_find):
357         Remove module loading code.
358
359 2014-08-26  Allan McRae  <allan@archlinux.org>
360
361         * po/vi.po: Update Vietnamese translation from translation project.
362
363         * po/uk.po: Update Ukrainian translation from translation project.
364
365         * po/fr.po: Update French translation from translation project.
366
367         * po/ru.po: Update Russian translation from translation project.
368
369         * po/pl.po: Update Polish translation from translation project.
370
371         * po/cs.po: Update Czech translation from translation project.
372
373         * po/de.po: Update German translation from translation project.
374
375         * po/bg.po: Update Bulgarian translation from translation project.
376
377         * po/sv.po: Update Sweedish translation from translation project.
378
379         * po/nl.po: Update Dutch translation from translation project.
380
381         * po/es.po: Update Spanish translation from translation project.
382
383 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
384
385         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
386
387         * catgets/Makefile (CPPFLAGS-gencat): Remove.
388         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
389         (CPPFLAGS-iconvconfig): Likewise.
390         * timezone/Makefile (CPPFLAGS-zic): Likewise.
391
392         * include/libc-symbols.h: Remove unnecessary check for
393         NOT_IN_libc.
394         * nptl/pthreadP.h: Likewise.
395         * sysdeps/aarch64/setjmp.S: Likewise.
396         * sysdeps/alpha/setjmp.S: Likewise.
397         * sysdeps/arm/sysdep.h: Likewise.
398         * sysdeps/i386/setjmp.S: Likewise.
399         * sysdeps/m68k/setjmp.c: Likewise.
400         * sysdeps/posix/getcwd.c: Likewise.
401         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
402         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
403         * sysdeps/s390/s390-32/setjmp.S: Likewise.
404         * sysdeps/s390/s390-64/setjmp.S: Likewise.
405         * sysdeps/sh/sh3/setjmp.S: Likewise.
406         * sysdeps/sh/sh4/setjmp.S: Likewise.
407         * sysdeps/unix/alpha/sysdep.h: Likewise.
408         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
409         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
410         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
411         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
414         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
415         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
416         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
417         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
418         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
419         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
420         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
421         * sysdeps/x86_64/setjmp.S: Likewise.
422
423 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
424
425         [BZ #17263]
426         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
427         <stdint.h>.
428         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
429         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
430
431 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
432
433         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
434
435         [BZ #17262]
436         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
437         and __x86_64__ when disabling x87 inline functions.
438
439 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
440
441         [BZ #17259]
442         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
443         asm statement with __cpuid_count.
444
445 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
446
447         * configure.ac: Change __ehdr_start code to dereference the struct.
448         Run readelf on the output to look for relocations.
449         * configure: Regenerated.
450
451 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
452
453         [BZ #17261]
454         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
455         value to 0.
456         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
457
458 2014-08-12  Roland McGrath  <roland@hack.frob.com>
459
460         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
461
462 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
463
464         [BZ #16892]
465         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
466         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
467
468 2014-08-12  Sean Anderson  <seanga2@gmail.com>
469
470         * malloc/malloc.c: Fix typo in comment.
471
472 2014-08-09  Allan McRae  <allan@archlinux.org>
473
474         * Regenerate libc.po.
475
476 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
477
478         * intl/tst-gettext2.sh: Check every lang file for creation.
479
480 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
481
482         * sysdeps/aarch64/fpu/math_private.h
483         (libc_feholdsetround_noex_aarch64_ctx): New function.
484
485 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
486
487         * sysdeps/arm/armv6/strcpy.S (strcpy):
488         Fix performance issue in misaligned cases.
489
490 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
491
492         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
493         Move definition from termios.h.
494         (struct termio): Likewise.
495         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
496         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
497         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
498         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
499         Likewise.
500         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
501         Move definition to ioctl-types.h
502         (struct termio): Likewise.
503         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
504         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
505         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
506         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
507         Likewise.
508
509 2014-08-05  Richard Henderson  <rth@redhat.com>
510
511         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
512         exceptions.
513         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
514         Add fraiseexcpt.
515         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
516         Use __feraiseexcept.
517         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
518         Protect libm symbols with IS_IN_libm.
519
520         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
521
522 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
523
524         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
525
526 2014-08-04  Will Newton  <will.newton@linaro.org>
527
528         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
529         file.
530
531 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
532
533         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
534         variants for each function.
535
536 2014-08-04  Roland McGrath  <roland@hack.frob.com>
537
538         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
539         appended ...
540         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
541         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
542         appended ...
543         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
544         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
545         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
546         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
547         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
548         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
549         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
550         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
551         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
552         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
553         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
554         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
555         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
556         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
557         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
558         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
559         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
560         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
561         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
562         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
563         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
564         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
565         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
566         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
567         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
568         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
569         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
570         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
571         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
572         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
573         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
574         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
575         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
576         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
577         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
578         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
579         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
580         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
581         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
582         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
583         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
584         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
585         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
586         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
587         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
588         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
589         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
590         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
591         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
592         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
593         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
594         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
595         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
596         Update #include.
597         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
598         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
599
600 2014-08-04  Roland McGrath  <roland@hack.frob.com>
601
602         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
603         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
604         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
605         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
606         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
607         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
608
609 2014-08-04  Roland McGrath  <roland@hack.frob.com>
610
611         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
612         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
613         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
614         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
615
616 2014-08-04  Roland McGrath  <roland@hack.frob.com>
617
618         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
619         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
620         (__libc_vfork): Define function under this name.
621         (__vfork): Define as an alias.
622         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
623         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
624
625 2014-08-04  Roland McGrath  <roland@hack.frob.com>
626
627         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
628         that was previously under [RESET_PID].
629         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
630
631 2014-08-04  Andreas Schwab  <schwab@suse.de>
632
633         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
634
635 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
636
637         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
638         (main): Likewise.
639
640 2014-08-01  Roland McGrath  <roland@hack.frob.com>
641
642         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
643
644 2014-08-01  Richard Henderon  <rth@redhat.com>
645
646         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
647         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
648         typo in exact zero test.
649         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
650         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
651         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
652
653 2014-08-01  Roland McGrath  <roland@hack.frob.com>
654
655         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
656         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
657         * sysdeps/arm/sysdep.h: ... here.
658         [!__ASSEMBLER__]: Include <stdint.h>.
659
660 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
661
662         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
663         (HAVE_WCTYPE_H): Likewise.
664         (HAVE_ISWCTYPE): Likewise.
665         (ENABLE_NLS): Likewise.
666         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
667         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
668
669         * posix/regex_internal.c: Check if DEBUG is defined and is
670         set.
671
672         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
673         (HAVE_MBSRTOWCS): Likewise.
674         * posix/fnmatch.c: Include string.h unconditionally.
675
676 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
677
678         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
679         reversal.
680
681 2014-07-31  Roland McGrath  <roland@hack.frob.com>
682
683         * sysdeps/generic/safe-fatal.h: New file.
684         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
685         * nptl/forward.c: Include it.
686         (__pthread_unwind): Use __safe_fatal as default action, rather
687         than a bogus use of INTERNAL_SYSCALL that could never work.
688
689         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
690         * configure.ac (libc_cv_builtin_trap): New test.
691         * configure: Regenerated.
692         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
693         (ABORT_INSTRUCTION): Define using __builtin_trap.
694
695         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
696         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
697         * sysdeps/nptl/nptl-signals.h: New file.
698         * nptl/pthreadP.h: Include <nptl-signals.h>.
699
700 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
701
702         * sysdeps/s390/s390-64/utf16-utf32-z9.c
703         (ONE_DIRECTION): Define.
704         * sysdeps/s390/s390-64/utf8-utf16-z9.c
705         (ONE_DIRECTION): Define.
706         * sysdeps/s390/s390-64/utf8-utf32-z9.c
707         (ONE_DIRECTION): Define.
708
709 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
710
711         * sysdeps/s390/Makefile: Delete file.
712         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
713         * sysdeps/s390/__longjmp.c: Delete file.
714         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
715         Remove fields __flags and __reserved.
716         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
717         and add versioning.
718         * sysdeps/s390/rtld-__longjmp.c: Delete file.
719         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
720         * sysdeps/s390/rtld-setjmp.S: Likewise.
721         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
722         * sysdeps/s390/s390-32/__longjmp.c: ... here.
723         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
724         * sysdeps/s390/s390-32/setjmp.S: ... here.
725         Add versioning.
726         (__sigsetjmp): Remove setting __flags field.
727         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
728         * sysdeps/s390/s390-64/__longjmp.c: ... here.
729         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
730         * sysdeps/s390/s390-64/setjmp.S: ... here.
731         Add versioning.
732         (__sigsetjmp): Remove setting __flags field.
733         * sysdeps/s390/setjmp.S: Delete file.
734         * sysdeps/s390/sigjmp.c: Likewise.
735         * sysdeps/s390/v1-longjmp.c: Likewise.
736         * sysdeps/s390/v1-setjmp.h: Likewise.
737         * sysdeps/s390/v1-sigjmp.c: Likewise.
738         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
739         Remove v1-longjmp_chk.
740         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
741         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
742         Include debug/longjmp_chk.c and add versioning.
743         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
744         Include nptl/pt-longjmp.c and add versioning.
745         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
746         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
747         Include __longjmp.c.
748         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
749         Move to ...
750         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
751         (__getcontext): Remove setting __flags field.
752         Add versioning.
753         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
754         Don't restore upper high grps.
755         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
756         Likewise.
757         (__swapcontext): Remove setting uc_flags field.
758         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
759         Delete file.
760         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
761         Include __longjmp.c.
762         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
763         Move to ...
764         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
765         (__getcontext): Remove setting __flags field.
766         Add versioning.
767         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
768         (__swapcontext): Remove setting uc_flags field.
769         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
770         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
771         Remove fields uc_high_gprs and __reserved.
772         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
773         New file with reverted content.
774         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
775         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
776         Regenerated.
777         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
778         Regenerated.
779
780 2014-07-31  Andreas Schwab  <schwab@suse.de>
781
782         * config.h.in (HAVE_IFUNC): Define to 0.
783         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
784         definedness.
785
786 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
787
788         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
789         memmove-avx-unaligned, memcpy-avx-unaligned and
790         mempcpy-avx-unaligned.
791         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
792         Add tests for AVX memcpy functions.
793         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
794         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
795         memcpy_chk.
796         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
797         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
798         memmove_chk.
799         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
800         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
801         mempcpy_chk.
802         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
803         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
804         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
805
806 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
807
808         [BZ #17213]
809         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
810         powerpc64le.
811
812 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
813
814         [BZ #16839]
815         * manual/llio.texi: Add section about open file description locks.
816         * manual/examples/ofdlocks.c: Example of open file description
817         lock usage.
818         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
819         F_OFD_SETLK, and F_OFD_SETLKW.
820
821 2014-07-23  Allan McRae  <allan@archlinux.org>
822
823         * po/es.po: Update Spanish translation from translation project.
824
825 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
826
827         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
828
829 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
830
831         [BZ #17078]
832         * sysdeps/arm/dl-machine.h (elf_machine_rela)
833         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
834         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
835
836 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
837
838         [BZ #17088]
839         * math/fesetenv.c (__fesetenv)
840         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
841         * math/feupdateenv.c (__feupdateenv)
842         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
843
844         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
845         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
846         (__ASSUME_SOCKETCALL): Do not define.
847
848         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
849         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
850         (__ASSUME_SOCKETCALL): Do not define.
851         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
852         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
853         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
854         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
855         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
856         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
857         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
858         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
859
860         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
861         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
862         (__ASSUME_SOCKETCALL): Do not define.
863         (__ASSUME_IPC64): Define unconditionally.
864         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
865         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
866         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
867         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
868         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
869         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
870         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
871         Likewise.
872
873         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
874         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
875         (__ASSUME_SOCKETCALL): Do not define.
876         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
877         (__ASSUME_FUTEX_LOCK_PI): Likewise.
878         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
879         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
880         (__ASSUME_REQUEUE_PI): Define unconditionally.
881         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
882         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
883         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
884         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
885         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
886         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
887
888         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
889         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
890         (__ASSUME_SOCKETCALL): Do not define.
891         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
892         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
893         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
894         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
895         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
896         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
897
898         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
899         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
900         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
901         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
902         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
903         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
904         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
905         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
906         (__ASSUME_GETCPU_SYSCALL): Likewise.
907
908         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
909         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
910         cases for individual architectures.
911         * sysdeps/gnu/configure: Regenerated.
912         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
913         LIBC_SLIBDIR_RTLDDIR.
914         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
915         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
916         LIBC_SLIBDIR_RTLDDIR.
917         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
919         LIBC_SLIBDIR_RTLDDIR.
920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
921         Regenerated.
922         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
923         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
924         file.
925         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
926         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
927         file.
928         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
929         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
930         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
931         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
932
933         * sysdeps/aarch64/shlib-versions: Move to ...
934         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
935         * sysdeps/alpha/shlib-versions: Move to ...
936         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
937         * sysdeps/arm/shlib-versions: Move to ...
938         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
939         * sysdeps/hppa/shlib-versions: Move all contents except for
940         libgcc_s entry to ...
941         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
942         entry from ...
943         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
944         * sysdeps/ia64/shlib-versions: Move to ...
945         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
946         entry from ...
947         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
948         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
949         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
950         * sysdeps/microblaze/shlib-versions: Move to ...
951         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
952         * sysdeps/mips/shlib-versions: Move to ...
953         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
954         entry from ...
955         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
956         * sysdeps/tile/shlib-versions: Move to ...
957         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
958         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
959         from ...
960         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
961         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
962         entry from ...
963         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
964
965 2014-07-17  Will Newton  <will.newton@linaro.org>
966
967         * sysdeps/arm/bits/atomic.h
968         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
969         (__arch_compare_and_exchange_bool_16_int): Likewise.
970         (__arch_compare_and_exchange_bool_64_int): Likewise.
971
972         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
973         into an #else block.
974
975 2014-07-16  Roland McGrath  <roland@hack.frob.com>
976
977         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
978         just Linux configurations.  Test empirically that the compiler sets
979         __ARM_EABI__, rather than using the tuple to decide.
980         * sysdeps/arm/preconfigure: Regenerated.
981         * sysdeps/unix/sysv/linux/arm/configure: File removed.
982         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
983         contents appended ...
984         * sysdeps/arm/configure.ac: ... here.
985         * sysdeps/arm/configure: Regenerated.
986
987 2014-07-15  Roland McGrath  <roland@hack.frob.com>
988
989         * nptl/pthread_kill.c: New file.
990         * nptl/pthread_sigmask.c: New file.
991         * nptl/pthread_sigqueue.c: New file.
992
993         * sysdeps/nptl/lowlevellock.h: New file.
994         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
995         * sysdeps/nptl/lowlevellock-futex.h: New file.
996
997         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
998         Remove dead declarations.
999
1000 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
1001
1002         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1003         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1004         config-cflags-avx2.
1005         * sysdeps/x86_64/configure.ac: Likewise.
1006         * sysdeps/i386/configure: Regenerated.
1007         * sysdeps/x86_64/configure: Likewise.
1008         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1009         memset-avx2 only if config-cflags-avx2 is yes.
1010         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1011         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1012         defined.
1013         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1014         only if HAVE_AVX2_SUPPORT is defined.
1015         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1016
1017 2014-07-14  Alan Modra  <amodra@gmail.com>
1018
1019         [BZ #17153]
1020         * elf/elf.h (DT_PPC64_NUM): Correct value.
1021         * NEWS: Add to fixed bug list.
1022
1023 2014-07-13  Jim Meyering  <meyering@fb.com>
1024
1025         [BZ 17150]
1026         regex: don't deref NULL upon heap allocation failure
1027         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1028         failure in one more place.
1029         To trigger the segfault, configure grep -with-included-regex,
1030         build it, and run these commands:
1031         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1032
1033 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
1034
1035         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1036
1037 2014-07-11  Richard Henderson  <rth@redhat.com>
1038
1039         * sysdeps/aarch64/libm-test-ulps: Update.
1040
1041 2014-07-10  Florian Weimer  <fweimer@redhat.com>
1042
1043         [BZ #17135]
1044         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1045         * nptl/allocatestack.c (__nptl_setxid_error): New function.
1046         (__nptl_setxid): Initialize error member.  Call
1047         __nptl_setxid_error.
1048         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1049         * nptl/descr.h (struct xid_command): Add error member.
1050         * nptl/tst-setuid3.c: New file.
1051         * nptl/Makefile (tests): Add it.
1052
1053 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1054
1055         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1056         New define.
1057         (__lll_trylock): Use __lll_base_trylock.
1058         (__lll_cond_trylock): Likewise.
1059
1060 2014-07-10  Roland McGrath  <roland@hack.frob.com>
1061
1062         * nptl/pthread_create.c (start_thread): Use atomic_or and
1063         lll_futex_wake directly rather than lll_robust_dead.
1064         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1065         (lll_robust_dead): Macro removed.
1066         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1067         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1068         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1069         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1070         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1071         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1072         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1073         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1074         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1075         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1076         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1077         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1078         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1079         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1080         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1081
1082         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1083         Use atomic_compare_and_exchange_val_acq directly rather than
1084         lll_robust_trylock.
1085         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1086         (__lll_robust_trylock, lll_robust_trylock): Removed.
1087         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1088         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1089         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1090         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1091         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1092         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1093         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1094         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1095         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1096         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1097         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1098         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1099         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1100         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1101
1102 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1103
1104         * manual/locale.texi (Locale Names): New section documenting
1105         locale name syntax.  Adjust menu and node chaining accordingly.
1106         (Choosing Locale): Reference Locale Names, Locale Categories.
1107         Mention setting LC_ALL=C.  Reflect that name syntax is now
1108         documented.
1109         (Locale Categories): New section title.  Reference Locale Names.
1110         LC_ALL is an environment variable, but not a category.
1111         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1112         description, now in Locale Name.  Reference that section.  Locale
1113         name syntax is now documented.
1114
1115 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1116
1117         [BZ #17137]
1118         * locale/findlocale.c (name_present, valid_locale_name): New
1119         functions.
1120         (_nl_find_locale): Use the loc_name variable to store name
1121         candidates.  Call name_present and valid_locale_name to check and
1122         validate locale names.  Return an error if the locale is invalid.
1123
1124 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1125
1126         * locale/setlocale.c (setlocale): Use strdup for allocating
1127         composite name copy.
1128
1129 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1130
1131         Sync up with gnulib.
1132         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1133         [!_LIBC && ENABLE_NLS]: Include gettext.h.
1134         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1135         and _GL_ARG_NONNULL.
1136         [USE_UNLOCKED_IO]: Include unlocked-io.h.
1137         [!_LIBC]: Include code for Windows and Cygwin.
1138         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
1139         Include prototype for int strerror_r.
1140         [!_LIBC] (is_open): New function.
1141         (flush_stdout): New function.
1142         (print_errno_message): Use it.
1143         (error): Likewise.
1144         (error_at_line): Likewise.
1145         (error_tail) Add function attribute macros.  Use
1146         __builtin_expect.
1147
1148         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
1149
1150         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
1151
1152         * io/ftw.c: Include sys/param.h unconditionally.
1153
1154         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
1155
1156         [BZ #17125]
1157         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
1158         libc_freeres_ptr.
1159         (freecache): New function to free CACHE on exit.
1160
1161         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
1162         initialization.
1163
1164 2014-07-09  David S. Miller  <davem@davemloft.net>
1165
1166         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1167
1168         * sysdeps/sparc/nptl/internaltypes.h: Delete.
1169         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
1170         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
1171         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
1172         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
1173         * sysdeps/sparc/nptl/sem_init.c: Likewise.
1174         * sysdeps/sparc/nptl/sem_post.c: Likewise.
1175         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
1176         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
1177         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
1178         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
1179         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
1180         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
1181
1182 2014-07-09  Andreas Schwab  <schwab@suse.de>
1183
1184         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
1185         output.
1186         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
1187         (do_test): Likewise.
1188
1189         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1190
1191 2014-07-09  Will Newton  <will.newton@linaro.org>
1192
1193         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
1194         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
1195         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
1196         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
1197         * sysdeps/hppa/start.S (_start): Likewise.
1198
1199 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
1200
1201         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
1202
1203         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
1204         defined.
1205
1206 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1207
1208         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
1209         after checking that it is non-NULL.
1210
1211         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
1212
1213 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1214
1215         * sysdeps/powerpc/memmove.c: Remove file.
1216         * sysdeps/powerpc/powerpc32/power4/memcopy.h
1217         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
1218         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1219         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
1220         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
1221         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
1222         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
1223         string memmove instead of removed powerpc one.
1224
1225         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1226         [weak_alias]: Fix compiler warning due trailing data.
1227         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
1228         [weak_alias]: Likewise.
1229         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
1230         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
1231
1232         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1233         (__libc_ifunc_impl_list): Add memmove functions.
1234
1235 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1236
1237         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
1238         Remove code.
1239         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
1240         Likewise
1241         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
1242         Likewise
1243         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
1244         Likewise
1245         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
1246         Likewise
1247         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
1248         Likewise
1249         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
1250         Likewise
1251         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
1252         Likewise
1253         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
1254         Likewise
1255         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
1256         Likewise
1257         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
1258         Likewise
1259         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
1260         Likewise
1261         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
1262         Likewise
1263         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
1264         Likewise
1265         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
1266         Likewise
1267         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
1268         Likewise
1269         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
1270         Likewise
1271
1272 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1273
1274         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
1275         to avoid alignment traps in non-cacheable memory.
1276         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1277
1278         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1279         multiarch objects.
1280         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1281         file: multiarch power7 memmove.
1282         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1283         multiarch default memmove.
1284         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1285         multiarch memove for powerpc32/power4.
1286
1287         * string/bcopy.c: Use full path to include memmove.c.
1288         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1289         multiarch objects.
1290         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1291         bcopy for powerpc64.
1292         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1293         bcopy for powerpc64.
1294         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1295         and memmove implementations.
1296         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1297         optimized multiarch memmove for POWER7/powerpc64.
1298         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1299         default multiarch memmove for powerpc64.
1300         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1301         multiarch for powerpc64.
1302         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1303         for POWER7/powerpc64.
1304         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1305         memmove for POWER7/powerpc64.
1306
1307         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1308         glibc default one.
1309
1310         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1311         __ELF_NATIVE_CLASS equal to 64.
1312
1313 2014-07-07  Roland McGrath  <roland@hack.frob.com>
1314
1315         * sysdeps/nptl/lowlevellock.h: File removed.
1316
1317         * NEWS: NPTL is no longer an add-on!
1318         * nptl/internaltypes.h: Moved ...
1319         * sysdeps/nptl/internaltypes.h: ... here.
1320         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1321         * sysdeps/nptl/fork.c: Likewise.
1322         * sysdeps/nptl/gai_misc.h: Likewise.
1323         * sysdeps/nptl/librt-cancellation.c: Likewise.
1324         * sysdeps/nptl/jmp-unwind.c: Likewise.
1325         * sysdeps/nptl/setxid.h: Likewise.
1326         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1327         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1328         * sysdeps/unix/sysv/linux/arm/Implies: New file.
1329         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1330         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1331         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1332         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1333         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1334         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1335         * sysdeps/unix/sysv/linux/mips/Implies: New file.
1336         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1337         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1338         * sysdeps/unix/sysv/linux/sh/Implies: New file.
1339         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1340         * sysdeps/unix/sysv/linux/tile/Implies: New file.
1341         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1342         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1343         * nptl/Makeconfig: Moved ...
1344         * sysdeps/nptl/Makeconfig: ... here.
1345         * nptl/configure: File removed.
1346         * nptl/ANNOUNCE: File removed.
1347         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1348         * sysdeps/unix/sysv/linux/configure: Regenerated.
1349
1350         * nptl/Makefile (routines): Add libc_pthread_init,
1351         libc_multiple_threads, register-atfork and unregister-atfork.
1352         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1353         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1354         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1355         pthread-pi-defines.sym, structsem.sym.
1356         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1357         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1358         [$(subdir) = nptl] (tests): Add tst-setgetname.
1359         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1360         * sysdeps/unix/sysv/linux/sigaction.c: Just include
1361         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1362         [!LIBC_SIGACTION]: Remove aliases.
1363         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1364         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1365         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1366         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1367         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1368         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1369         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1370         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1371         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1372         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1373         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1374         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1375         __libc_allocate_rtsig_private.
1376         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1377         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1378         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1379         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1380         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1381         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1382         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1383         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1384         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1385         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1386         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1387         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1388         * nptl/internaltypes.h: ... here.
1389         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1390         * sysdeps/nptl/jmp-unwind.c: ... here.
1391         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1392         * nptl/libc-lowlevellock.c: ... here.
1393         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1394         * nptl/libc_multiple_threads.c: ... here.
1395         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1396         * nptl/libc_pthread_init.c: ... here.
1397         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1398         * nptl/lowlevelbarrier.sym: ... here.
1399         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1400         * nptl/lowlevelcond.sym: ... here.
1401         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1402         * nptl/lowlevellock.c: ... here.
1403         * nptl/lowlevellock.h: Moved ...
1404         * sysdeps/nptl/lowlevellock.h: ... here.
1405         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1406         * nptl/lowlevelrobustlock.c: ... here.
1407         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1408         * nptl/lowlevelrobustlock.sym: ... here.
1409         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1410         * nptl/lowlevelrwlock.sym: ... here.
1411         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1412         * nptl/pt-fork.c: ... here.
1413         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1414         * nptl/pthread-pi-defines.sym: ... here.
1415         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1416         * nptl/pthread_attr_getaffinity.c: ... here.
1417         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1418         * nptl/pthread_attr_setaffinity.c: ... here.
1419         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1420         * nptl/pthread_mutex_cond_lock.c: ... here.
1421         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1422         Update #include.
1423         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1424         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1425         * nptl/pthread_once.c: ... here, replacing old file.
1426         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1427         * nptl/pthread_yield.c: ... here.
1428         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1429         * nptl/register-atfork.c: ... here.
1430         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1431         * nptl/sem_post.c: ... here.
1432         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1433         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1434         * nptl/sem_timedwait.c: ... here.
1435         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1436         * nptl/sem_trywait.c: ... here.
1437         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1438         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1439         * nptl/sem_wait.c: ... here.
1440         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1441         * nptl/structsem.sym: ... here.
1442         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1443         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1444         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1445         * nptl/unregister-atfork.c: ... here.
1446         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1447         * nptl/unwindbuf.sym: ... here.
1448         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1449         * sysdeps/nptl/fork.c: ... here.
1450         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1451         * sysdeps/nptl/fork.h: ... here.
1452         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1453         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1454         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1455         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1456         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1457         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1458         * sysdeps/unix/sysv/linux/getpid.c: ... here.
1459         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1460         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1461         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1462         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1463         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1464         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1465         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1466         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1467         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1468         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1469         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1470         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1471         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1472         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1473         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1474         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1475         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1476         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1477         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1478         * sysdeps/unix/sysv/linux/raise.c: ... here.
1479         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1480         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1481         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1482         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1483         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1484         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1485         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1486         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1487         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1488         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1489         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1490         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1491         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1492         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1493         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1494
1495 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1496
1497         * sysdeps/generic/memcopy.h: Add comment for
1498         MEMCPY_OK_FOR_FWD_MEMMOVE.
1499
1500 2014-07-04  Will Newton  <will.newton@linaro.org>
1501
1502         * string/memchr.c: Merge from gnulib.
1503         [_LIBC]: Remove conditionals.
1504         (__ptr_t): Remove define.
1505         (LONG_MAX_32_BITS): Likewise.
1506         (LONG_MAX): Likewise.
1507         (MEMCHR): Use ANSI prototype and optimize algorithm.
1508
1509         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1510
1511 2014-07-03  Roland McGrath  <roland@hack.frob.com>
1512
1513         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1514         (lll_futex_timed_wait_bitset): Fix syscall argument count.
1515
1516         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1517         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1518         in a bare environment with no <stdlib.h> installed.
1519         * sysdeps/nptl/configure: Regenerated.
1520
1521         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1522
1523         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1524         AC_EGREP_CPP for kernel header checks, so they only succeed if
1525         including <linux/version.h> actually works right.
1526         * sysdeps/unix/sysv/linux/configure: Regenerated.
1527
1528         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1529         value so it's not diagnosed as unused.
1530
1531         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1532         thing) with "ifeq ($(subdir),rt)".
1533
1534 2014-07-03  Richard Henderson  <rth@redhat.com>
1535
1536         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1537         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1538         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1539
1540         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1541         (math_force_eval): New.
1542
1543         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1544         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1545
1546         * sysdeps/alpha/fpu/s_round.c: Remove file.
1547         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1548
1549         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1550         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1551         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1552         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1553         (_dl_start, print_statistics): Likewise.
1554         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1555         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1556
1557         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1558         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1559         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1560         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1561         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1562         (HP_SMALL_TIMING_AVAIL): Define.
1563         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1564         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1565         (HP_SMALL_TIMING_AVAIL): Define.
1566         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1567         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1568
1569         * sysdeps/aarch64/hp-timing.h: New file.
1570
1571         * sysdeps/generic/hp-timing.h: Remove dead comment.
1572         * sysdeps/generic/hp-timing-common.h: New file.
1573         * sysdeps/alpha/hp-timing.h: Include it.
1574         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1575         * sysdeps/i386/i686/hp-timing.h: Likewise.
1576         * sysdeps/ia64/hp-timing.h: Likewise.
1577         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1578         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1579         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1580         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1581         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1582         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1583         (hp_timing_t): New.
1584
1585         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1586         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1587         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1588         * elf/rtld.c (_dl_start_final): Likewise.
1589         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1590         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1591         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1592         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1593         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1594         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1595         (HP_TIMING_DIFF_INIT): Remove.
1596         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1597         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1598         (HP_TIMING_DIFF_INIT): Remove.
1599         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1600         * sysdeps/i386/i686/hp-timing.c: Remove file.
1601         * sysdeps/x86_64/hp-timing.c: Remove file.
1602         * sysdeps/ia64/hp-timing.c: Remove file.
1603         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1604         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1605         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1606         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1607
1608         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1609         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1610         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1611         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1612         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1613         (HP_TIMING_ACCUM): Remove.
1614         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1615         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1616         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1617
1618         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1619         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1620         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1621         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1622         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1623         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1624         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1625         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1626
1627         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1628
1629 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
1630
1631         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1632
1633 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1634
1635         Sync up with gettext.
1636         * intl/loadmsgcat.c: Define O_BINARY if not defined.
1637         [_MSC_VER]: Include malloc.h
1638         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1639         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1640         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
1641         TEMP_FAILURE_RETRY.  Cast return of alloca.
1642         [!_LIBC] Call gl_rwlock_init.
1643         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1644
1645 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1646
1647         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1648         before checking its value.
1649
1650 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1651
1652         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1653
1654         * debug/memcpy_chk.c: Don't include pagecopy.h.
1655         * debug/mempcpy_chk.c: Likewise.
1656         * string/memcpy.c: Likewise.
1657         * string/memmove.c: Likewise.
1658         * sysdeps/powerpc/memmove.c: Likewise.
1659         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
1660         definition of PAGE_COPY_FWD_MAYBE here...
1661         * sysdeps/generic/pagecopy.h: ... from here.
1662         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1663
1664 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1665             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1666
1667         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1668         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1669         optimizations.
1670         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1671         (__libc_ifunc_impl_list): Likewise.
1672         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1673         multiarch strcat for PPC64.
1674         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1675         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1676
1677 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1678
1679         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1680
1681 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1682
1683         * intl/loadmsgcat.c: Remove declaration of
1684         get_sysdep_segment_value.
1685         (get_sysdep_segment_value): Use ISO C style.
1686         (_nl_load_domain): Use ISO C style.  Get rid of redundant
1687         semicolon.  Fix typo and formatting in comment.
1688         (_nl_unload_domain): Use ISO C style.
1689
1690         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1691
1692 2014-07-02  Will Newton  <will.newton@linaro.org>
1693
1694         * malloc/obstack.c: Merge from gnulib master.
1695         [HAVE_CONFIG_H]: Remove conditional code.
1696         [!_LIBC]: Include config.h.
1697         [!ELIDE_CODE]: Don't include inttypes.h, include
1698         stdint.h unconditionally.
1699         (print_and_abort): Mark as _Noreturn.
1700         (_obstack_allocated_p): Mark as __attribute_pure__.
1701         (obstack_free): Rename to __obstack_free.
1702         [!__attribute__]: Remove conditional code.
1703         * malloc/obstack.h: Merge from gnulib master.
1704         [__cplusplus]: Move conditional down.
1705         [!__attribute_pure__]: Define __attribute_pure__ here
1706         if it is not already defined.
1707         (_obstack_memory_used): Mark as __attribute_pure__.
1708         [!__obstack_free]: Define as obstack_free.
1709         [__GNUC__]: Remove check for ancient NeXT gcc.
1710
1711 2014-07-02  Will Newton  <will.newton@linaro.org>
1712             Paul Eggert  <eggert@cs.ucla.edu>
1713
1714         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1715
1716 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1717
1718         * resolv/gethnamaddr.c: Add comment warning that the file is
1719         not maintained.
1720
1721 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
1722
1723         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1724         entries.
1725
1726         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1727         entry for aio_cancel and aio_cancel64.
1728         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1729         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1730         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1731         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1732         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1733         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1734         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1735         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1736         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1737         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1738         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1739         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1740         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1741
1742 2014-07-01  Roland McGrath  <roland@hack.frob.com>
1743
1744         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1745         * nptl/pthread_mutex_lock.c: Likewise.
1746         * nptl/pthread_mutex_timedlock.c: Likewise.
1747         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1748
1749 2014-07-01  Richard henderson  <rth@redhat.com>
1750
1751         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1752         (__isnan, __isnanl): Remove.
1753         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1754
1755         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1756
1757 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1758
1759         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1760
1761 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1762
1763         * resolv/nss_dns/dns-host.c (getanswer_r)
1764         [MULTI_PTRS_ARE_ALIASES]: Remove code.
1765
1766 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
1767
1768         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1769         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1770         undefine.
1771         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1772         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1773
1774 2014-07-01  Roland McGrath <roland@hack.frob.com>
1775
1776         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1777         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1778
1779         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1780         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1781
1782         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1783         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1784         ... here.
1785         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1786         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1787
1788         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1789         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1790         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1791         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1792
1793         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1794         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1795         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1796         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1797         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1798         Moved ...
1799         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1800         ... here.
1801         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1802         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1803         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1804         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1805         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1806         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1807         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1808         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1809         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1810         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1811         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1812         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1813         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1814         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1815         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1816         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1817         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1818         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1819         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1820         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1821         ... here.
1822         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1823         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1824         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1825         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1826         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1827         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1828         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1829         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1830
1831 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
1832
1833         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1834         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1835         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1836         Add sysdep.
1837
1838 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1839
1840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1841
1842 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1843
1844         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1845         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1846
1847         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1848
1849         * sysdeps/arm/libm-test-ulps: Regenerated.
1850
1851 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1852             Roland McGrath <roland@hack.frob.com>
1853
1854         * test-skeleton.c (signal_handler): Kill the whole process group
1855         before killing the child individually.
1856         (main): Report any failure on `setpgid'.
1857
1858 2014-06-30  Roland McGrath  <roland@hack.frob.com>
1859
1860         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1861         from _TLS_H to _ARM_NPTL_TLS_H.
1862         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1863         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1864
1865 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1866
1867         [BZ #16539]
1868         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1869         (__expm1l): Return argument unchanged when small but not
1870         subnormal.
1871
1872         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1873         include macro name.
1874         (_FP_UNPACK_RAW_1_P): Likewise.
1875         (_FP_PACK_RAW_1): Likewise.
1876         (_FP_PACK_RAW_1_P): Likewise.
1877         (_FP_MUL_MEAT_1_wide): Likewise.
1878         (_FP_MUL_MEAT_DW_1_hard): Likewise.
1879         (_FP_MUL_MEAT_1_hard): Likewise.
1880         (_FP_DIV_MEAT_1_imm): Likewise.
1881         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1882         (_FP_DIV_MEAT_1_udiv): Likewise.
1883         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1884         (_FP_UNPACK_RAW_2): Likewise.
1885         (_FP_UNPACK_RAW_2_P): Likewise.
1886         (_FP_PACK_RAW_2): Likewise.
1887         (_FP_PACK_RAW_2_P): Likewise.
1888         (_FP_MUL_MEAT_DW_2_wide): Likewise.
1889         (_FP_MUL_MEAT_2_wide): Likewise.
1890         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1891         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1892         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1893         (_FP_MUL_MEAT_2_gmp): Likewise.
1894         (_FP_DIV_MEAT_2_udiv): Likewise.
1895         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1896         (_FP_FRAC_SRL_4): Likewise.
1897         (_FP_FRAC_SRST_4): Likewise.
1898         (_FP_FRAC_SRS_4): Likewise.
1899         (_FP_UNPACK_RAW_4): Likewise.
1900         (_FP_UNPACK_RAW_4_P): Likewise.
1901         (_FP_PACK_RAW_4): Likewise.
1902         (_FP_PACK_RAW_4_P): Likewise.
1903         (_FP_MUL_MEAT_DW_4_wide): Likewise.
1904         (_FP_MUL_MEAT_4_wide): Likewise.
1905         (_FP_MUL_MEAT_4_gmp): Likewise.
1906         (umul_ppppmnnn): Likewise.
1907         (_FP_DIV_MEAT_4_udiv): Likewise.
1908         (__FP_FRAC_ADD_4): Likewise.
1909         (__FP_FRAC_SUB_3): Likewise.
1910         (__FP_FRAC_SUB_4): Likewise.
1911         (__FP_FRAC_DEC_3): Likewise.
1912         (__FP_FRAC_DEC_4): Likewise.
1913         (__FP_FRAC_ADDI_4): Likewise.
1914         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1915         (_FP_FRAC_SRL_8): Likewise.
1916         (_FP_FRAC_SRS_8): Likewise.
1917
1918         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1919         include macro name.
1920         (FP_UNPACK_RAW_EP): Likewise.
1921         (FP_PACK_RAW_E): Likewise.
1922         (FP_PACK_RAW_EP): Likewise.
1923         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1924         (_FP_ISSIGNAN): Likewise.
1925         (_FP_ADD_INTERNAL): Likewise.
1926         (_FP_FMA): Likewise.
1927         (_FP_CMP): Likewise.
1928         (_FP_SQRT): Likewise.
1929         (_FP_TO_INT): Likewise.
1930         (_FP_FROM_INT): Likewise.
1931         (FP_EXTEND): Likewise.
1932         (_FP_DIV_MEAT_N_loop): Likewise.
1933
1934 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1935
1936         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1937         throughout.
1938
1939 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
1940
1941         [BZ #17097]
1942         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1943         result with correct sign in case of exponents that produce
1944         overflow except for X very close to 1.
1945
1946 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
1947
1948         mktime: merge #if/#ifdef usage from glibc
1949         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1950         as that works with both Glibc's and Gnulib's style.
1951         See thread starting at Siddhesh Poyarekar's bug report at:
1952         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1953
1954 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1955
1956         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1957         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1958         * sysdeps/tile/tilegx/memmove.c: Remove file.
1959
1960 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1961
1962         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1963         abi-name definition.
1964         * scripts/soversions.awk: Do not handle or generate ABI lines.
1965         * shlib-versions: Remove ABI entries.
1966         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1967         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1968
1969 2014-06-27  Roland McGrath  <roland@hack.frob.com>
1970
1971         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1972         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1973         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1974         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1975         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1976         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1977         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1978         Moved ...
1979         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1980         ... here.
1981         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1982         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1983         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1984         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1985         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1986         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1987         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1988         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1989         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1990         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1991         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1992         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1993         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1994         Moved ...
1995         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1996         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1997         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1998         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1999         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2000         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2001         Moved ...
2002         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2003         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2004         Moved ...
2005         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2006         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2007         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2008         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2009         Moved ...
2010         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2011         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2012         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2013         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2014         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2015         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2016         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2017         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2018         Moved ...
2019         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2020         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2021         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2022         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2023         Moved ...
2024         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2025         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2026         Moved ...
2027         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2028         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2029         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2030         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2031         Moved ...
2032         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2033         ... here.
2034         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2035         Identical file removed.
2036         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2037         Moved ...
2038         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2039         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2040         Identical file removed.
2041         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2042         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2043         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2044         Moved ...
2045         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2046         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2047         Identical file removed.
2048         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2049         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2050         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2051         Identical file removed.
2052         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2053         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2054         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2055         Identical file removed.
2056         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2057         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2058         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2059         Identical file removed.
2060         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2061         Moved ...
2062         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2063         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2064         Identical file removed.
2065         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2066         Moved ...
2067         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2068         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2069         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2070         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2071         Identical file removed.
2072         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2073         Moved ...
2074         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2075         ... here.
2076         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2077         Identical file removed.
2078         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2079         Moved ...
2080         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2081         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2082         Identical file removed.
2083         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2084         Moved ...
2085         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2086         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2087         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2088         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2089         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2090         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2091         Moved ...
2092         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2093         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2094         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2095
2096         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2097         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2098         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2099         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2100         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2101
2102 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
2103
2104         [BZ #17092]
2105         * nscd/nscd.c (monitor_child): Return exit status of child
2106         instead of return value from wait syscall.
2107
2108 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2109
2110         * configure.ac (libc_commonpagesize): Remove variable.
2111         (libc_relro_required): Likewise.
2112         (libc_cv_z_relro): Remove configure test.
2113         * configure: Regenerated.
2114         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2115         variable.
2116         (libc_relro_required): Likewise.
2117         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2118         (libc_relro_required): Likewise.
2119         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2120         (libc_relro_required): Likewise.
2121         * sysdeps/arm/preconfigure: Regenerated.
2122         * sysdeps/ia64/preconfigure: Remove file.
2123         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2124         variable.
2125         (libc_relro_required): Likewise.
2126
2127         [BZ #16561]
2128         [BZ #16562]
2129         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2130         (__ieee754_yn): Set FE_TONEAREST mode internally and then
2131         recompute overflowing results in original rounding mode.
2132         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2133         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2134         recompute overflowing results in original rounding mode.
2135         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2136         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2137         recompute overflowing results in original rounding mode.
2138         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
2139         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2140         recompute overflowing results in original rounding mode.
2141         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
2142         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
2143         recompute overflowing results in original rounding mode.
2144         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
2145         (libc_feholdsetround_ctx): New macro.
2146         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
2147         * sysdeps/i386/fpu/libm-test-ulps: Update.
2148         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
2149
2150 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2151
2152         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
2153         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
2154         corresponding .cpsetup call.
2155
2156 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2157
2158         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
2159         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
2160         * sysdeps/arm/Makefile [$(subdir) = csu]
2161         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
2162         (static-only-routines): Add aeabi_read_tp here.
2163         (shared-only-routines): Add libc-aeabi_read_tp here.
2164         (CFLAGS-libc-start.c): Add -fexceptions here.
2165         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
2166         (sysdep_routines, static-only-routines, shared-only-routines):
2167         Don't add to these here.
2168         (CFLAGS-libc-start.c): Likewise.
2169
2170         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
2171         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2172         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
2173         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2174         * sysdeps/arm/Makefile [$(subdir) = rt]
2175         (librt-sysdep_routines, librt-shared-only-routines):
2176         Append rt-aeabi_unwind_cpp_pr1 here.
2177         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
2178         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
2179         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
2180         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2181         Append nptl-aeabi_unwind_cpp_pr1 here.
2182         (tests): Filter out tst-cleanupx4 here.
2183         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
2184         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
2185         Don't do those here.
2186
2187 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2188
2189         * scripts/list-sources.sh: Do not handle ports specially.
2190
2191 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2192
2193         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
2194         * sysdeps/arm/feupdateenv.c: Likewise.
2195
2196         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
2197
2198 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2199
2200         * manual/texinfo.tex: Update to version 2014-05-05.10 with
2201         trailing whitespace removed.
2202         * scripts/config.guess: Update to version 2014-03-23.
2203         * scripts/config.sub: Update to version 2014-05-01
2204         * scripts/install-sh: Update to version 2013-12-25.23.
2205         * scripts/move-if-change: Update from gnulib.
2206
2207 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2208
2209         * debug/memmove_chk.c: Remove pagecopy.h include.
2210
2211 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
2212
2213         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
2214         identical to gnulib mktime.
2215
2216 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
2217
2218         * configure.ac: Do not test for machine being rs6000.  Do not test
2219         for powerpc*-*soft.
2220         * configure: Regenerated.
2221
2222         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
2223         test.
2224         * configure: Regenerated.
2225         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
2226         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
2227         Remove configure test.
2228         * sysdeps/arm/configure: Regenerated.
2229         * sysdeps/nptl/configure.ac: Do not check
2230         libc_cv_asm_cfi_directives.
2231         * sysdeps/nptl/configure: Regenerated.
2232         * sysdeps/x86_64/nptl/configure.ac: Remove file.
2233         * sysdeps/x86_64/nptl/configure: Remove generated file.
2234         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
2235         unconditional.
2236         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
2237
2238 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2239
2240         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
2241         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
2242         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
2243         it is defined.
2244
2245         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
2246         instead of whether it is defined.
2247         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
2248         * sysdeps/hppa/dl-machine.h: Likewise.
2249         * sysdeps/ia64/dl-machine.h: Likewise.
2250         * sysdeps/m68k/dl-machine.h: Likewise.
2251         * sysdeps/microblaze/dl-machine.h: Likewise.
2252         * sysdeps/mips/dl-machine.: Likewise.
2253         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
2254         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
2255         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
2256         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2257         * sysdeps/sh/dl-machine.h: Likewise.
2258         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2259         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2260         * sysdeps/tile/dl-machine.h: Likewise.
2261         * sysdeps/x86_64/dl-machine.h: Likewise.
2262
2263         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
2264         code.
2265         (verify_persistent_db): Likewise.
2266
2267 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2268
2269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
2270         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
2271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
2272         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
2273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2274         Moved ...
2275         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
2276         ... here.
2277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
2278         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2279         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2280         Identical file removed.
2281         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2282         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2283         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2284         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2286         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2288         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2290         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2292         Moved ...
2293         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2295         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2296         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2297         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2299         Moved ...
2300         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2302         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2304         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2306         Identical file removed.
2307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2308         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2309         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2310         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2312         Moved ...
2313         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2314         ... here.
2315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2316         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2317         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2318         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2320         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2322         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2324         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2326         Moved ...
2327         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2328         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2329         Moved ...
2330         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2332         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2334         Moved ...
2335         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2336         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2337         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2338
2339         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2340         folded into ...
2341         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2342         * sysdeps/unix/sysv/linux/s390/Versions
2343         (libpthread: GLIBC_2.19): New version set.
2344         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2345         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2346         (librt: GLIBC_2.3.3): New version set.
2347         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2348         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2349         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2350         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2351         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2352         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2353         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2354         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2355         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2356         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2357         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2358         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2359         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2360         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2361         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2362         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2363         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2364         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2365         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2366         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2367         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2368         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2369         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2370         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2371         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2372         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2373         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2374         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2375         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2376         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2377         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2378         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2379         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2380         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2381         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2382         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2383         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2384         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2385         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2386         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2387         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2388         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2389         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2390         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2391         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2392
2393         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2394         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2395         (__libc_vfork): Define the function under this name.
2396         [!NOT_IN_libc] (__vfork): Make this an alias.
2397         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2398         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2399         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2400         (__libc_vfork): Define the function under this name.
2401         [!NOT_IN_libc] (__vfork): Make this an alias.
2402         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2403         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2404         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2405         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2406         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2407         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2408
2409         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2410         code that was previously under [RESET_PID].
2411         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2412         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2413         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2414
2415         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2416         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2417         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2418         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2419         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2420         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2421         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2422         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2423         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2424         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2425         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2426         Moved ...
2427         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2428         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2429         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2430         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2431         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2432         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2433         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2434         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2435         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2436         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2437         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2438         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2439         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2440         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2441         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2442         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2443         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2444         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2445         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2446         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2447         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2448         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2449         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2450         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2451         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2452         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2453         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2454         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2455         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2456
2457 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2458
2459         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2460         that was previously under [RESET_PID].
2461         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2462
2463 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2464
2465         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2466         not undefine and redefine.
2467         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2468         [O_CLOEXEC]: Make code unconditional.
2469         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2470         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2471         <kernel-features.h>.
2472         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2473         conditional variable definition.
2474         (shm_open) [O_CLOEXEC]: Make code unconditional.
2475         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2476         code.
2477
2478         * configure.ac (USE_REGPARMS): Don't define here.
2479         * configure: Regenerated.
2480         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2481         * sysdeps/i386/configure: Regenerated.
2482
2483         * nptl/createthread.c: Don't include kernel-features.h.
2484         * nptl/pthread_cancel.c: Likewise.
2485         * nptl/pthread_condattr_setclock.c: Likewise.
2486         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2487         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2488         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2489         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2490         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2491         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2492         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2493         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2494         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2495         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2496         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2497         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2498         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2499         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2500         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2501         * nscd/gai.c: Likewise.
2502         * nss/nss_db/db-open.c: Likewise.
2503         * sysdeps/generic/ldsodefs.h: Likewise.
2504         * sysdeps/sh/nptl/tls.h: Likewise.
2505         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2506         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2507         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2508         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2509         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2510         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2511         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2512         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2513         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2514         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2515         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2516         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2517         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2518         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2519         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2520         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2521         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2522         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2523         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2524         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2525         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2526         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2527         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2528         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2529         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2530         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2531         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2532         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2533         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2534         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2535         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2536         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2537         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2538         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2539         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2540         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2541         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2542         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2543         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2544         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2545         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2546         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2547         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2548         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2549         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2550         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2551         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2552         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2553         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2554         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2555         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2556         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2557         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2558         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2559         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2560         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2561         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2562         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2585         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2586         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2587         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2588         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2589         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2590         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2591         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2592         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2593         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2594         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2595         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2596         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2597         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2598         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2599         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2600         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2601         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2602         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2603         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2604         * sysdeps/unix/sysv/linux/system.c: Likewise.
2605         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2606         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2607         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2608         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2609         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2610         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2611         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2612
2613         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2614         * configure: Regenerated.
2615         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2616
2617         * configure.ac (base_machine): Do not set specially for particular
2618         machines here.
2619         * configure: Regenerated.
2620         * sysdeps/powerpc/preconfigure: Move machine and base_machine
2621         settings from configure.ac.
2622         * sysdeps/i386/preconfigure: New file.
2623         * sysdeps/s390/preconfigure: Likewise.
2624         * sysdeps/sh/preconfigure: Likewise.
2625         * sysdeps/sparc/preconfigure: Likewise.
2626
2627 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2628
2629         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2630         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2631         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2632         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2633         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2634         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2635         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2636         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2637         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2638         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2639         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2640         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2641         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2642         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2643         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2644         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2645         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2646         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2647         * sysdeps/sparc/sparc64/Makefile: ... appended here.
2648
2649         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2650         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2651         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2652         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2653         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2654         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2655         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2656         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2657         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2658         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2659         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2660         * sysdeps/sparc/sparc32/sem_post.c: ... here.
2661         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2662         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2663         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2664         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2665         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2666         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2667         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2668         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2669         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2670         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2671         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2672         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2673         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2674         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2675         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2676         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2677         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2678         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2679         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2680         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2681         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2682         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2683         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2684         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2685         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2686         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2687
2688         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2689         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2690         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2691         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2692         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2693         Moved ...
2694         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2695         ... here.
2696         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2697         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2698         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2699         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2700         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2701         Moved ...
2702         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2703         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2704         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2705         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2706         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2707         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2708         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2709         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2710         Moved ...
2711         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2712         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2713         Moved ...
2714         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2715         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2716         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2717         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2718         Moved ...
2719         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2721         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2723         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2724         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2725         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2726         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2727         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2728         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2729         Moved ...
2730         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2731         ... here.
2732         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2733         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2734         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2735         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2736         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2737         Moved ...
2738         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2739         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2740         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2741         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2742         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2743         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2744         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2745         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2746         Moved ...
2747         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2748         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2749         Moved ...
2750         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2751         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2752         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2753         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2754         Moved ...
2755         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2756         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2757         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2758         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2759         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2760
2761 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2762
2763         * timezone/checktab.awk: Update from tzcode 2014e.
2764         * timezone/private.h: Likewise.
2765         * timezone/tzfile.h: Likewise.
2766         * timezone/zdump.c: Likewise.
2767         * timezone/zic.c: Likewise.
2768
2769         * sysdeps/unix/sysv/linux/kernel-features.h
2770         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2771         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2772         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2773         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2774         Remove conditional code.
2775
2776 2014-06-25  Will Newton  <will.newton@linaro.org>
2777
2778         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2779         (_dl_arm_cap_flags): Add HWCAP2 values.
2780         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2781         (_DL_HWCAP_COUNT): Increase to 37.
2782         (_DL_HWCAP_LAST): New define.
2783         (_DL_HWCAP2_LAST): New define.
2784         (_dl_procinfo): Add support for printing
2785         AT_HWCAP2 entries.
2786         (_dl_string_hwcap): Use _dl_hwcap_string.
2787
2788 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2789
2790         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2791
2792 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2793
2794         * README: Do not mention ports directory.
2795
2796         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2797         Remove macro.
2798         * sysdeps/unix/sysv/linux/futimes.c: Do not include
2799         <kernel-features.h>.
2800         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2801         conditional variable definition.
2802         (__futimes): Update comment.
2803         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2804         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2805
2806         [BZ #16560]
2807         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2808         arguments close to 0.
2809         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2810         Likewise.
2811         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2812         Likewise.
2813         * math/auto-libm-test-in: Add more tests of exp10.
2814         * math/auto-libm-test-out: Regenerated.
2815         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2816
2817         * sysdeps/unix/sysv/linux/kernel-features.h
2818         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2819         * sysdeps/unix/sysv/linux/readv.c: Do not include
2820         <kernel-features.h>.
2821         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2822         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2823         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2824         unconditional.
2825         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2826         conditional code.
2827         * sysdeps/unix/sysv/linux/writev.c: Do not include
2828         <kernel-features.h>.
2829         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2830         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2831         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2832         unconditional.
2833         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2834         conditional code.
2835
2836 2014-06-25  Will Newton  <will.newton@linaro.org>
2837
2838         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2839         comment changes throughout the file.  Remove checks
2840         for HAVE_*_H definitions that are not required.
2841         (__gen_tempname): Call abort if an unknown kind value is
2842         passed.
2843
2844 2014-06-25  Andreas Schwab  <schwab@suse.de>
2845
2846         [BZ #17086]
2847         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2848         scalbln, scalblnf, scalblnl in libc.
2849
2850 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2851
2852         [BZ #17086]
2853         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2854         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2855         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2856
2857 2014-06-24  Roland McGrath  <roland@hack.frob.com>
2858
2859         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2860         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2861         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2862         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2863         Update #include.
2864         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2865         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2866         Update #include.
2867         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2868         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2869         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2870         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2871         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2872         * sysdeps/x86/bits/pthreadtypes.h: ... here.
2873         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2874         * sysdeps/x86/bits/semaphore.h: ... here.
2875         * sysdeps/x86/nptl/elide.h: Moved ...
2876         * sysdeps/x86/elide.h: ... here.
2877         * sysdeps/x86_64/nptl/Implies: File removed.
2878         * sysdeps/i386/nptl/Implies: File removed.
2879
2880 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
2881
2882         [BZ #16539]
2883         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2884         return the argument for normal arguments with exponent below -64.
2885         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2886         Likewise.
2887         * math/auto-libm-test-in: Add another test of expm1.
2888         * math/auto-libm-test-out: Regenerated.
2889
2890         [BZ #16287]
2891         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2892         calling __erfcl for arguments at least 16.
2893         * math/auto-libm-test-in: Add more tests of erf.
2894         * math/auto-libm-test-out: Regenerated.
2895
2896         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2897         individual architectures.
2898         * sysdeps/unix/sysv/linux/configure: Regenerated.
2899         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2900         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2901         * sysdeps/unix/sysv/linux/powerpc/configure.ac
2902         (ldd_rewrite_script): Define variable.
2903         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2905         file.
2906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2907         generated file.
2908         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2909         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2910         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2911         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2912         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2913         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2914         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2915         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2916
2917 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2918
2919         [BZ #17084]
2920         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2921         Rename member __data.d to __data.__elision_data.
2922
2923 2014-06-24  Wilco  <wdijkstr@arm.com>
2924
2925         * NEWS: Add 16918 to fixed bug list.
2926
2927 2014-06-24  Wilco  <wdijkstr@arm.com>
2928
2929         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2930
2931 2014-06-24  Wilco  <wdijkstr@arm.com>
2932
2933         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2934         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2935         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2936         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2937         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2938         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2939         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2940         Use _FPU_MASK_RM.
2941
2942 2014-06-24  Wilco  <wdijkstr@arm.com>
2943
2944         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2945
2946 2014-06-24  Wilco  <wdijkstr@arm.com>
2947
2948         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2949         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2950         * sysdeps/arm/fesetround.c (fesetround): Remove space.
2951         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2952
2953 2014-06-24  Wilco  <wdijkstr@arm.com>
2954
2955         [BZ #16918]
2956         * sysdeps/arm/feupdateenv.c (feupdateenv):
2957         Rewrite to reduce FPSCR accesses and fix return value.
2958
2959 2014-06-24  Wilco  <wdijkstr@arm.com>
2960
2961         * sysdeps/arm/fclrexcpt.c (feclearexcept):
2962         Optimize to avoid unnecessary FPSCR writes.
2963         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2964         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2965         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2966         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2967
2968 2014-06-24  Wilco  <wdijkstr@arm.com>
2969
2970         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2971         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2972         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2973         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2974         Call libc_fetestexcept_vfp.
2975         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2976         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2977         __SOFTFP__ ifdef so that they can be built for softfp.
2978
2979 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2980
2981         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2982         argument type signed char.
2983
2984         * Makerules (check-abi): Dump diff of symlist if the test
2985         fails.
2986
2987 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2988
2989         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2990         using abort.
2991
2992         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2993         Remove unused variable ST.
2994
2995 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2996
2997         [BZ #16354]
2998         [BZ #17061]
2999         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3000         small arguments before calling __expm1.
3001         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3002         small arguments before calling __expm1f.
3003         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3004         small arguments before calling __expm1l.
3005         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3006         Likewise.
3007         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3008         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
3009         spurious underflow for some cosh tests.
3010         * math/auto-libm-test-out: Regenerated.
3011         * sysdeps/i386/fpu/libm-test-ulps: Update.
3012
3013         [BZ #17050]
3014         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3015         (__ieee754_y1): Set errno if return value overflows.
3016         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3017         (__ieee754_y1f): Set errno if return value overflows.
3018         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3019         (__ieee754_y1l): Set errno if return value overflows.
3020         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3021         (__ieee754_y1l): Set errno if return value overflows.
3022         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3023         * math/auto-libm-test-out: Regenerated.
3024
3025         * math/gen-auto-libm-tests.c: Document use of
3026         ignore-zero-inf-sign.
3027         (input_flag_type): Add value flag_ignore_zero_inf_sign.
3028         (input_flags): Add ignore-zero-inf-sign.
3029         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3030         * math/gen-libm-test.pl (generate_testfile): Handle
3031         ignore-zero-inf-sign.
3032         * math/auto-libm-test-in: Mark some cpow tests with
3033         ignore-zero-inf-sign and some with xfail-rounding.
3034         * math/auto-libm-test-out: Regenerated.
3035         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3036         * sysdeps/i386/fpu/libm-test-ulps: Update.
3037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3038
3039         [BZ #16315]
3040         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3041         overflowing or underflowing operations take place with sign of
3042         result.
3043         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3044         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3045         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3046         (__ieee754_pow): Recompute overflowing and underflowing results in
3047         original rounding mode.
3048         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3049         (__powl_helper): Allow negative argument X and scale negated value
3050         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
3051         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3052         overflowing or underflowing operations take place with sign of
3053         result.
3054         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3055         Include <math.h>.
3056         * math/auto-libm-test-in: Add more tests of pow.
3057         * math/auto-libm-test-out: Regenerated.
3058         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3059         (pow_tonearest_test_data): Remove.
3060         (pow_test_tonearest): Likewise.
3061         (pow_towardzero_test_data): Likewise.
3062         (pow_test_towardzero): Likewise.
3063         (pow_downward_test_data): Likewise.
3064         (pow_test_downward): Likewise.
3065         (pow_upward_test_data): Likewise.
3066         (pow_test_upward): Likewise.
3067         (main): Don't call removed functions.
3068         * sysdeps/i386/fpu/libm-test-ulps: Update.
3069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3070
3071 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3072
3073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3074         Moved ...
3075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3077         Moved ...
3078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3080         Moved ...
3081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3083         Moved ...
3084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3086         File removed.
3087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3088         File removed.
3089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3090         File removed.
3091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3092         File removed.
3093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3094         File removed.
3095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3096         File removed.
3097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3098         File removed.
3099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3100         File removed.
3101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3102         File removed.
3103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3104         File removed.
3105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3106         File removed.
3107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3108         File removed.
3109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3110         Moved ...
3111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3113         Moved ...
3114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3115         ... here.
3116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3117         Moved ...
3118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3120         Moved ...
3121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3123         Moved ...
3124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3126         Moved ...
3127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3129         Moved ...
3130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3132         Moved ...
3133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3135         Moved ...
3136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
3137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
3138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
3139         ... here.
3140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
3141         Moved ...
3142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
3143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3144         Moved ...
3145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3146         ... here.
3147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
3148         Moved ...
3149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3150         ... here.
3151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3152         Moved ...
3153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3154         ... here.
3155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3156         Moved ...
3157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
3158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
3159         Moved ...
3160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
3161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
3162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
3163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3164         Moved ...
3165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
3166         ... here.
3167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3168         Moved ...
3169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
3170         ... here.
3171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
3172         Moved ...
3173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
3174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3175         Moved ...
3176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
3177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
3178         Moved ...
3179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
3180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3181         Moved ...
3182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
3183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3184         Moved ...
3185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
3186         ... here.
3187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3188         Moved ...
3189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
3190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
3191         Moved ...
3192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
3193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3194         Moved ...
3195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
3196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
3197         Moved ...
3198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
3199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
3200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
3201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3202         Moved ...
3203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
3204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3205         Moved ...
3206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
3207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3208         Moved ...
3209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
3210         ... here.
3211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3212         Moved ...
3213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
3214         ... here.
3215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3216         Moved ...
3217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
3218         ... here.
3219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3220         Moved ...
3221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
3222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3223         Moved ...
3224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
3225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3226         Moved ...
3227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
3228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3229         Moved ...
3230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
3231         ... here.
3232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3233         Moved ...
3234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
3235         ... here.
3236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3237         Moved ...
3238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
3239         ... here.
3240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3241         Moved ...
3242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
3243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3244         Moved ...
3245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
3246
3247 2014-06-23  Will Newton  <will.newton@linaro.org>
3248             Wilco  <wdijkstr@arm.com>
3249
3250         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
3251         implementation.  Include get-rounding-mode.h.
3252         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
3253         [!libc_feholdsetround_noex_ctx]: Define
3254         libc_feholdsetround_noex_ctx.
3255         [!libc_feholdsetround_noexf_ctx]: Define
3256         libc_feholdsetround_noexf_ctx.
3257         [!libc_feholdsetround_noexl_ctx]: Define
3258         libc_feholdsetround_noexl_ctx.
3259         (libc_feholdsetround_ctx): New function.
3260         (libc_feresetround_ctx): New function.
3261         (libc_feholdsetround_noex_ctx): New function.
3262         (libc_feresetround_noex_ctx): New function.
3263
3264 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3265
3266         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
3267         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
3268         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
3269         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
3270         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
3271         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
3272
3273         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
3274         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
3275         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
3276         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
3277         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
3278         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3279         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3280         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3281         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3282         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3283         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3284         Moved ...
3285         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3286         ... here.
3287         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3288         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3289         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3290         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3291         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3292         Moved ...
3293         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3294         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3295         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3296         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3297         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3298         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3299         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3300         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3301         Moved ...
3302         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3303         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3304         Moved ...
3305         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3306         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3307         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3308         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3309         Moved ...
3310         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3311         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3312         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3313         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3314         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3315         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3316         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3317         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3318         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3319         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3320         Moved ...
3321         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3322         ... here.
3323         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3324         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3325         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3326         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3327         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3328         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3329         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3330         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3331         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3332         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3333         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3334         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3335         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3336         Moved ...
3337         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3338         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3339         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3340         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3341         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3342         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3343         Moved ...
3344         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3345         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3346         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3347         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3348         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3349
3350         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3351         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3352         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3353         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3354         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3355         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3356         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3357         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3358         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3359         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3360         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3361         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3362         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3363         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3364         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3365         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3366         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3367         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3368         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3369         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3370         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3371         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3372         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3373         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3374         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3375         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3376         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3377         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3378
3379 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3380
3381         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3382         (FALLOC_FL_COLLAPSE_RANGE): New macro.
3383         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3384         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3385         (IPV6_PMTUDISC_INTERFACE): Likewise.
3386         (IPV6_PMTUDISC_OMIT): Likewise.
3387
3388 2014-06-23  Andreas Schwab  <schwab@suse.de>
3389
3390         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3391         Remove unused errout label.
3392
3393 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3394
3395         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3396         macro: hardware supports Vector Crypto instructions.
3397
3398 2014-06-23  Will Newton  <will.newton@linaro.org>
3399
3400         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3401         rather than __builtin_expect.
3402
3403         * elf/dl-lookup.c (undefined_msg): Remove variable.
3404         (_dl_lookup_symbol_x): Replace undefined_msg with string
3405         literal.
3406
3407         * elf/dl-lookup.c (do_lookup_unique): New function.
3408         (do_lookup_x): Move STB_GNU_UNIQUE handling code
3409         to a separate function.
3410
3411 2014-06-23  Andreas Schwab  <schwab@suse.de>
3412
3413         [BZ #17079]
3414         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3415         before reading the next line.
3416
3417 2014-06-23  Will Newton  <will.newton@linaro.org>
3418
3419         * test-skeleton.c (signal_handler): Use printf and %m
3420         rather than perror.  Use printf rather than fprintf to
3421         stderr.  Use puts rather than fputs to stderr.
3422         (main): Likewise.
3423
3424 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3425
3426         * nscd/nscd.c (thread_info_t): Remove typedef.
3427         (thread_info): Remove variable.
3428
3429 2014-06-21  Allan McRae  <allan@archlinux.org>
3430
3431         * NEWS: Mention CVE-2014-4043.
3432
3433 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3434
3435         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3436         * nptl/smp.h: ... here.
3437
3438         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3439
3440         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3441         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3442         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3443         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3444
3445         * nptl/allocatestack.c: Include <stack-aliasing.h>.
3446         * nptl/stack-aliasing.h: New file.
3447         * sysdeps/i386/i686/stack-aliasing.h: New file.
3448         * sysdeps/i386/i686/nptl/Makefile: File removed.
3449         * sysdeps/x86_64/stack-aliasing.h: New file.
3450         * sysdeps/x86_64/nptl/Makefile
3451         (CFLAGS-pthread_create.c): Variable removed.
3452
3453         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3454         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3455         old file.
3456         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3457         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3458         old file.
3459
3460 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
3461
3462         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3463         (__ASSUME_SIGFRAME_V2): Remove macro.
3464         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3465         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3466         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3467         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3468         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3469         Declare as function.  Remove conditional macro definitions.
3470         (__default_rt_sa_restorer): Likewise.
3471         (__default_sa_restorer_v1): Remove declaration.
3472         (__default_sa_restorer_v2): Likewise.
3473         (__default_rt_sa_restorer_v1): Likewise.
3474         (__default_rt_sa_restorer_v2): Likewise.
3475         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3476         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3477         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3478
3479 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3480
3481         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3482         (libpthread-routines): Add sysdep.
3483         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3484         * sysdeps/unix/sysv/linux/sparc/Versions
3485         (libpthread: GLIBC_2.3.3): New version set.
3486         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3487         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3488         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3489         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3490         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
3491         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3492         Moved ...
3493         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3494         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3495         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3496         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3497         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3498         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3499         * sysdeps/sparc/nptl/sem_init.c: ... here.
3500         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3501         * sysdeps/sparc/nptl/sem_post.c: ... here.
3502         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3503         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3504         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3505         * sysdeps/sparc/nptl/sem_wait.c: ... here.
3506         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3507         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3508         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3509         (libpthread-routines): Add cpu_relax.
3510         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3511         File removed.
3512         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3513         (librt: GLIBC_2.3.3): New version set.
3514         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3515         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3516         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3517         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3518         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3519         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3520         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3521         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3522         Moved ...
3523         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3524         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3525         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3526         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3527         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3528         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3529         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3530         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3531         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3532         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3533         Moved ...
3534         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3535         Update #include.
3536         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3537         Moved ...
3538         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3539         Update #include.
3540         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3541         Moved ...
3542         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3543         Update #include.
3544         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3545         Moved ...
3546         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3547         Update #include.
3548         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3549         Moved ...
3550         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3551         Update #include.
3552         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3553         Moved ...
3554         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3555         Update #include.
3556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3557         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3558         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3559         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3561         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3562         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3563         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3565         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3566         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3567         Moved ...
3568         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3569         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3570         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3571         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3572         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3573
3574 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3575
3576         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3577         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3578         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3579         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3580         * nscd/nscd.c: Likewise.
3581         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3582         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3583         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3584         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3585
3586         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3587         <kernel-features.h>.
3588         (init_mq_netlink): Remove conditional have_sock_cloexec
3589         definitions.  Remove code conditional on have_sock_cloexec < 0.
3590         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3591         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3592         * sysdeps/unix/sysv/linux/opensock.c: Do not include
3593         <kernel-features.h>.
3594         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3595         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3596
3597 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3598
3599         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3600         Add tests for memset_chk and memset.
3601
3602         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3603         with AVX2_Usable.
3604
3605 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3606
3607         [BZ #16046]
3608         * elf/tst-dl-iter-static.c: New file.
3609         * elf/Makefile (tests-static): Add tst-dl-iter-static.
3610
3611         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3612         error.
3613
3614 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3615
3616         * sysdeps/unix/sysv/linux/kernel-features.h
3617         (__ASSUME_F_GETOWN_EX): Remove macro.
3618         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3619         <kernel-features.h>.
3620         (miss_F_GETOWN_EX): Remove variable or macro.
3621         (do_fcntl): Do not check miss_F_GETOWN_EX.
3622         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3623
3624         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3625         Remove macro.
3626         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3627         [!__ASSUME_AT_RANDOM]: Remove conditional code.
3628         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3629
3630         * sysdeps/unix/sysv/linux/kernel-features.h
3631         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3632         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3633         [ADJ_OFFSET_SS_READ]: Make code unconditional.
3634         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3635
3636 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3637
3638         [BZ #17075]
3639         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3640         Fix calculation of the symbol's value.
3641         * sysdeps/arm/tst-armtlsdescloc.c: New file.
3642         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3643         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3644         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3645         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3646         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3647         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3648         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3649         (modules-names): Add `tst-armtlsdescmod',
3650         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3651         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3652         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3653         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3654         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3655         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3656         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3657         ($(objpfx)tst-armtlsdescloc): New dependency.
3658         ($(objpfx)tst-armtlsdescextnow): Likewise.
3659         ($(objpfx)tst-armtlsdescextlazy): Likewise.
3660         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3661         TLS scheme support.
3662         * sysdeps/arm/configure: Regenerate.
3663
3664 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3665
3666         * include/fcntl.h (__atfct_seterrno): Remove prototype.
3667         (__atfct_seterrno_2): Likewise.
3668         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3669         <kernel-features.h>.
3670         (__ASSUME_ATFCTS): Do not undefine and redefine.
3671         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3672         (__have_atfcts): Remove conditional definition.
3673         (__fxstatat([__NR_fstatat64]: Make code unconditional.
3674         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3675         unreachable if [__ASSUME_ATFCTS].
3676         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3677         not undefine and redefine.
3678         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3679         <kernel-features.h>.
3680         (faccessat) [__NR_faccessat]: Make code unconditional.
3681         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3682         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3683         <kernel-features.h>.
3684         (fchmodat) [__NR_fchmodat]: Make code unconditional.
3685         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3686         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3687         <kernel-features.h>.
3688         (fchownat) [__NR_fchownat]: Make code unconditional.
3689         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3690         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3691         <kernel-features.h>.
3692         (futimesat) [__NR_futimesat]: Make code unconditional.
3693         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3694         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3695         <kernel-features.h>.
3696         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3697         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3698         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3699         <kernel-features.h>.
3700         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3701         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3702         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3703         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3704         <kernel-features.h>.
3705         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3706         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3707         * sysdeps/unix/sysv/linux/linkat.c: Do not include
3708         <kernel-features.h>.
3709         (linkat) [__NR_linkat]: Make code unconditional.
3710         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3711         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3712         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3713         <kernel-features.h>.
3714         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3715         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3716         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3717         <kernel-features.h>.
3718         (mkdirat) [__NR_mkdirat]: Make code unconditional.
3719         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3720         * sysdeps/unix/sysv/linux/openat.c: Do not include
3721         <kernel-features.h>.
3722         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3723         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3724         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3725         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3726         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3727         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3728         <kernel-features.h>.
3729         (readlinkat) [__NR_readlinkat]: Make code unconditional.
3730         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
3731         result of INLINE_SYSCALL directly, not via int variable.
3732         * sysdeps/unix/sysv/linux/renameat.c: Do not include
3733         <kernel-features.h>.
3734         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3735         (renameat) [__NR_renameat]: Make code unconditional.
3736         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3737         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3738         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3739         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3740         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3741         (__ASSUME_ATFCTS): Do not undefine and redefine.
3742         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3743         <kernel-features.h>.
3744         (symlinkat) [__NR_symlinkat]: Make code unconditional.
3745         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3746         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3747         <kernel-features.h>.
3748         (unlinkat) [__NR_unlinkat]: Make code unconditional.
3749         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3750         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3751         (__ASSUME_ATFCTS): Do not undefine and redefine.
3752         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3753         <kernel-features.h>.
3754         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3755         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3756         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3757         <kernel-features.h>.
3758         (__xmknodat) [__NR_mknodat]: Make code unconditional.
3759         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3760
3761 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3762
3763         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3764
3765 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
3766
3767         [BZ #17069]
3768         * posix/regcomp.c (parse_reg_exp): Deallocate partially
3769         constructed tree before returning error.
3770         * posix/bug-regexp36.c: Expand test case.
3771
3772 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3773
3774         [BZ #6803]
3775         * math/libm-test.inc (scalbln_test_date):
3776         Add errno expectations.
3777         * math/w_scalblnf.c: New File.
3778         Add wrapper which checks for setting errno to ERANGE.
3779         Add weak_alias for corresponding scalbln function.
3780         * math/w_scalbln.c: Likewise.
3781         * math/w_scalblnl.c: Likewise.
3782         * math/Makefile (libm-calls): Add w_scalbln.
3783         * sysdeps/ieee754/flt-32/s_scalblnf.c:
3784         Remove weak_alias for corresponding scalbln function.
3785         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3786         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3787         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3788         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3789         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3790         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3791         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3792         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3793         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3794         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3795         Remove long_double_symbol for scalblnl function in libm, libc.
3796         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3797         Add wrapper which checks for setting errno to ERANGE.
3798         Add long_double_symbol for scalblnl function in libm, libc.
3799         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3800         Remove long_double_symbol for scalblnl in libm.
3801         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3802         Add wrapper which checks for setting errno to ERANGE.
3803         Add long_double_symbol for scalblnl function in libm.
3804         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3805         Do not use wrapper because of own implementation.
3806
3807 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
3808
3809         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3810         3 bytes for __pad1 for x32.
3811         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3812
3813 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
3814             H.J. Lu  <hongjiu.lu@intel.com>
3815
3816         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3817         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3818         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3819         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3820         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3821
3822 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
3823
3824         [BZ #17069]
3825         * posix/regcomp.c (parse_expression): Deallocate partially
3826         constructed tree before returning error.
3827         * posix/Makefile.c (tests): Add bug-regex36.
3828         (generated): Add bug-regex36.mtrace.
3829         (tests-special): Add $(objpfx)bug-regex36-mem.out
3830         (bug-regex36-ENV): New variable.
3831         ($(objpfx)bug-regex36-mem.out): New rule.
3832         * posix/bug-regex36.c: New file.
3833
3834 2014-06-19  Will Newton  <will.newton@linaro.org>
3835
3836         * malloc/malloc.c (systrim): If extra is zero then return
3837         early.
3838
3839 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3840
3841         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3842
3843 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
3844
3845         * sysdeps/aarch64/strchr.S: New file.
3846
3847 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3848
3849         [BZ #17022]
3850         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3851         from arguments -2 or below.
3852         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3853         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3854
3855 2014-06-18  Andreas Schwab  <schwab@suse.de>
3856
3857         [BZ #17062]
3858         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3859         of a bracket expr not to run off the end of the string.
3860         * posix/Makefile (tests): Add tst-fnmatch3.
3861         * posix/tst-fnmatch3.c: New file.
3862
3863 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3864
3865         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3866         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3867         [$(cross-compiling) = no]: Likewise.
3868         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3869         [$(cross-compiling) = no]: Likewise.
3870
3871 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3872
3873         [BZ #17031]
3874         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3875         double, adjusted for any remainder from the high double.
3876         * math/libm-test.inc (nearbyint): Add tests.
3877         (rint): Likewise.
3878
3879 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3880
3881         * nptl/sysdeps/powerpc/Makefile: Moved ...
3882         * sysdeps/powerpc/nptl/Makefile: ... here.
3883         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3884         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3885         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3886         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3887         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3888         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3889         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3890         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3891         * nptl/sysdeps/powerpc/tls.h: Moved ...
3892         * sysdeps/powerpc/nptl/tls.h: ... here.
3893
3894 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
3895
3896         [BZ #16681]
3897         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3898         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3899         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3900         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3901         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3902         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3903         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3904         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3905         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3906
3907 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
3908
3909         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3910
3911 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
3912
3913         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3914         defined operator.
3915
3916         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3917         $TIMEOUTFACTOR.
3918
3919 2014-06-16  Florian Weimer  <fweimer@redhat.com>
3920
3921         [BZ #17058]
3922         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3923         non-executed part of the test.
3924
3925 2014-06-16  Andreas Schwab  <schwab@suse.de>
3926
3927         * string/bits/string2.h (strdup, strndup): Update feature guard.
3928
3929 2014-06-14  David S. Miller  <davem@davemloft.net>
3930
3931         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3932
3933 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
3934
3935         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3936         that was previously under [RESET_PID].
3937         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3938
3939         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3940         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3941         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3942         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3943         (__libc_vfork): New strong alias.
3944         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3945
3946 2014-06-14 Andi Kleen  <ak@linux.intel.com>
3947
3948         * sysdeps/generic/elide.h: New file.
3949
3950 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3951
3952         * Makefile (installed-headers): Adjust path of pthread.h header.
3953
3954 2014-06-13  Roland McGrath  <roland@hack.frob.com>
3955
3956         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3957         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3958         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3959         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3960
3961         * nptl/sysdeps/s390/Makefile: Moved ...
3962         * sysdeps/s390/nptl/Makefile: ... here.
3963         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3964         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3965         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3966         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3967         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3968         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3969         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3970         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3971         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3972         * sysdeps/s390/nptl/pthreaddef.h: ... here.
3973         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3974         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3975         * nptl/sysdeps/s390/tls.h: Moved ...
3976         * sysdeps/s390/nptl/tls.h: ... here.
3977
3978         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3979         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3980
3981 2014-06-13  David S. Miller  <davem@davemloft.net>
3982
3983         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3984         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3985         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3986         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3987         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3988         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3989         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3990         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3991         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3992         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3993         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3994         Remove RESET_PID cpp guards.
3995         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3996         Remove RESET_PID cpp guards.
3997         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3998
3999 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
4000
4001         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4002         __sp to uintptr_t.
4003
4004 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4005
4006         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4007         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4008         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4009         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4010         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4011         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4012         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4013         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4014         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4015         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4016         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4017         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4018         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4019         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4020         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4021         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4022         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4023         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4024         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4025         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4026
4027         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4028         (pthread_rwlock_rdlock): Add elision.
4029         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4030         (pthread_rwlock_wrlock): Add elision.
4031         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4032         (pthread_rwlock_trywrlock): Add elision.
4033         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4034         (pthread_rwlock_tryrdlock): Add elision.
4035         * nptl/pthread_rwlock_unlock.c: Include elide.h.
4036         (pthread_rwlock_tryrdlock): Add elision unlock.
4037         * nptl/sysdeps/pthread/pthread.h:
4038         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4039         (PTHREAD_RWLOCK_INITIALIZER,
4040         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4041         Handle new elision field.
4042         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4043         * sysdeps/arm/nptl/bits/pthreadtypes.h
4044         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4045         * sysdeps/sh/nptl/bits/pthreadtypes.h
4046         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4047         * sysdeps/tile/nptl/bits/pthreadtypes.h
4048         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4049         * sysdeps/a/nptl/bits/pthreadtypes.h
4050         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4051         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4052         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4053         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4054         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4055         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4056         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4057         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4058         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4059         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4060         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4061         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4062         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4063         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4064         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4065         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4066         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4067         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4068         (elision_init): Set try_xbegin to zero when no RTM.
4069         * sysdeps/x86/nptl/bits/pthreadtypes.h
4070         (pthread_rwlock_t): Change __pad1 to __rwelision.
4071         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4072
4073 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4074
4075         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4076         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4077         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4078         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4079
4080 2014-06-13  Meador Inge  <meadori@codesourcery.com>
4081
4082         [BZ #16996]
4083         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4084         that the cached result has been set before returning it.
4085
4086 2014-06-12  Roland McGrath  <roland@hack.frob.com>
4087
4088         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4089         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4090         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4091         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4092         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4093         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4094
4095         * nptl/sysdeps/sparc/Makefile: Moved ...
4096         * sysdeps/sparc/nptl/Makefile: ... here.
4097         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4098         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4099         * nptl/sysdeps/sparc/tls.h: Moved ...
4100         * sysdeps/sparc/nptl/tls.h: ... here.
4101         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4102         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4103         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4104         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4105         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4106         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4107         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4108         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4109         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4110         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4111         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4112         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4113         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4114         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4115         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4116         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4117         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4118         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4119         Update #include.
4120         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4121         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4122         Update #include.
4123         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4124         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4125         Update #include.
4126         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4127         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4128         Update #include.
4129
4130         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4131
4132         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4133         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4134
4135         * sysdeps/pthread/posix-timer.h: Include <list.h>.
4136         (struct list_links): Type removed.
4137         (struct thread_node, struct timer_node): Replace struct list_links
4138         with struct list_head.
4139         (list_unlink_ip): Likewise.
4140         * sysdeps/pthread/timer_routines.c
4141         (timer_free_list, thread_free_list, thread_active_list): Likewise.
4142         (list_append, list_insbefore): Likewise.
4143         (list_init): Function removed.
4144         (thread_init, init_module): Use INIT_LIST_HEAD instead.
4145         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
4146         * sysdeps/pthread/Makefile: ... here, new file.
4147
4148         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
4149         * sysdeps/nptl/Implies: ... here.
4150         * sysdeps/unix/sysv/linux/Implies: Add nptl.
4151         * nptl/sysdeps/pthread/list.h: Moved ...
4152         * include/list.h: ... here.
4153         * nptl/sysdeps/pthread/createthread.c: Moved ...
4154         * nptl/createthread.c: ... here.
4155         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
4156         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
4157         * nptl/pt-longjmp.c: ... here.
4158         * nptl/sysdeps/pthread/Makefile: Moved ...
4159         * sysdeps/nptl/Makefile: ... here.
4160         * nptl/sysdeps/pthread/Subdirs: Moved ...
4161         * sysdeps/nptl/Subdirs: ... here.
4162         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
4163         * sysdeps/nptl/aio_misc.h: ... here.
4164         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
4165         * sysdeps/nptl/bits/libc-lock.h: ... here.
4166         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
4167         * sysdeps/nptl/bits/libc-lockP.h: ... here.
4168         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
4169         * sysdeps/nptl/bits/stdio-lock.h: ... here.
4170         * nptl/sysdeps/pthread/configure: Moved ...
4171         * sysdeps/nptl/configure: ... here.
4172         * nptl/sysdeps/pthread/configure.ac: Moved ...
4173         * sysdeps/nptl/configure.ac: ... here.
4174         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
4175         * sysdeps/nptl/gai_misc.h: ... here.
4176         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
4177         * sysdeps/nptl/librt-cancellation.c: ... here.
4178         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
4179         * sysdeps/nptl/malloc-machine.h: ... here.
4180         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
4181         * sysdeps/nptl/pthread-functions.h: ... here.
4182         * nptl/sysdeps/pthread/pthread.h: Moved ...
4183         * sysdeps/nptl/pthread.h: ... here.
4184         * nptl/sysdeps/pthread/setxid.h: Moved ...
4185         * sysdeps/nptl/setxid.h: ... here.
4186         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
4187         * sysdeps/nptl/sigfillset.c: ... here.
4188         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
4189         * sysdeps/nptl/tcb-offsets.h: ... here.
4190         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
4191         * sysdeps/nptl/tst-mqueue8x.c: ... here.
4192         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
4193         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
4194         * nptl/sysdeps/pthread/allocalim.h: Moved ...
4195         * sysdeps/pthread/allocalim.h: ... here.
4196         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
4197         * sysdeps/pthread/bits/sigthread.h: ... here.
4198         * nptl/sysdeps/pthread/flockfile.c: Moved ...
4199         * sysdeps/pthread/flockfile.c: ... here.
4200         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
4201         * sysdeps/pthread/ftrylockfile.c: ... here.
4202         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
4203         * sysdeps/pthread/funlockfile.c: ... here.
4204         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
4205         * sysdeps/pthread/posix-timer.h: ... here.
4206         * nptl/sysdeps/pthread/timer_create.c: Moved ...
4207         * sysdeps/pthread/timer_create.c: ... here.
4208         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
4209         * sysdeps/pthread/timer_delete.c: ... here.
4210         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
4211         * sysdeps/pthread/timer_getoverr.c: ... here.
4212         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
4213         * sysdeps/pthread/timer_gettime.c: ... here.
4214         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
4215         * sysdeps/pthread/timer_routines.c: ... here.
4216         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
4217         * sysdeps/pthread/timer_settime.c: ... here.
4218         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
4219         * sysdeps/pthread/tst-timer.c: ... here.
4220         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
4221         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
4222
4223         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
4224         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
4225
4226         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
4227         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
4228         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
4229         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
4230         Update #include target.
4231         * nptl/sysdeps/i386/i686/Makefile: Moved ...
4232         * sysdeps/i386/i686/nptl/Makefile: ... here.
4233         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
4234         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
4235         Update #include target.
4236         * nptl/sysdeps/i386/i686/tls.h: Moved ...
4237         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
4238         * nptl/sysdeps/i386/Makefile: Moved ...
4239         * sysdeps/i386/nptl/Makefile: ... here.
4240         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
4241         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
4242         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
4243         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
4244         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
4245         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
4246         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
4247         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
4248         * sysdeps/i386/nptl/pthreaddef.h: ... here.
4249         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
4250         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
4251         * nptl/sysdeps/i386/tls.h: Moved ...
4252         * sysdeps/i386/nptl/tls.h: ... here.
4253
4254         * sysdeps/sh/Makefile [$(subdir) = csu]
4255         (gen-as-const-headers): Add tcb-offsets.sym.
4256         * nptl/sysdeps/sh/Makefile: File removed.
4257         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
4258         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
4259         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
4260         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
4261         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
4262         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
4263         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
4264         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
4265         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
4266         * sysdeps/sh/nptl/pthreaddef.h: ... here.
4267         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
4268         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
4269         * nptl/sysdeps/sh/tls.h: Moved ...
4270         * sysdeps/sh/nptl/tls.h: ... here.
4271         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
4272         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
4273         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
4274         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
4275         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
4276         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
4277         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
4278         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4279         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4280         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4281         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4282         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4283         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4284         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4285         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4286         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4287         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4288         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4289         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4290         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4291         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4292         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4293         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4294         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4295         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4296         Moved ...
4297         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4298         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4299         Moved ...
4300         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4301         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4302         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4303         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4304         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4305         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4306         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4307         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4308         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4309         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4310         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4311         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4312         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4313         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4314         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4315         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4316         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4317         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4318         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4319
4320 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4321
4322         * posix/spawn_faction_addopen.c: Include string.h.
4323
4324 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4325
4326         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4327         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4328         * nptl/sysdeps/x86_64/Makefile: Moved ...
4329         * sysdeps/x86_64/nptl/Makefile: ... here.
4330         * nptl/sysdeps/x86_64/configure: Moved ...
4331         * sysdeps/x86_64/nptl/configure: ... here.
4332         * nptl/sysdeps/x86_64/configure.ac: Moved ...
4333         * sysdeps/x86_64/nptl/configure.ac: ... here.
4334         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4335         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4336         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4337         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4338         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4339         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4340         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4341         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4342         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4343         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4344         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4345         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4346         * nptl/sysdeps/x86_64/tls.h: Moved ...
4347         * sysdeps/x86_64/nptl/tls.h: ... here.
4348         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4349         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4350         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4351         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4352
4353         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4354
4355 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4356
4357         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4358
4359 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
4360
4361         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4362         type.
4363         [POSIX] (off_t): Likewise.
4364         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4365         [POSIX] (S_ISBLK): Require macro.
4366         [POSIX] (S_ISCHR): Likewise.
4367         [POSIX] (S_ISDIR): Likewise.
4368         [POSIX] (S_ISFIFO): Likewise.
4369         [POSIX] (S_ISREG): Likewise.
4370         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4371         optional-macro.
4372         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4373         type.
4374         [POSIX] (time_t): Likewise.
4375         [POSIX] (timer_t): Likewise.
4376
4377 2014-06-11  Florian Weimer  <fweimer@redhat.com>
4378
4379         [BZ #17048]
4380         * posix/spawn_int.h (struct __spawn_action): Make the path string
4381         non-const to support deallocation.
4382         * posix/spawn_faction_addopen.c
4383         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4384         * posix/spawn_faction_destroy.c
4385         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
4386         path in all spawn_do_open actions.
4387         * posix/tst-spawn.c (do_test): Exercise the copy operation in
4388         posix_spawn_file_actions_addopen.
4389
4390 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
4391
4392         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4393         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4394         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4395         conditional code always true.
4396         (__libc_vfork): New alias.
4397
4398 2014-06-11  Roland McGrath  <roland@hack.frob.com>
4399
4400         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4401         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4402
4403         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4404
4405         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4406         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4407
4408         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4409         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4410
4411         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4412         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4413
4414 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4415
4416         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4417         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4418         multiarch strcmp for PPC64.
4419         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4420         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4421         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4422         multiarch optimizations.
4423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4424         (__libc_ifunc_impl_list): Likewise.
4425
4426 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4427
4428         * benchtests/scripts/validate_benchout.py: New script.
4429         * benchtests/Makefile (bench-func): Call it.
4430         * benchtests/scripts/benchout.schema.json: New file.
4431
4432 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4433
4434         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4435         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4436         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4437         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4438         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4439         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4440         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4441         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4442         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4443         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4444         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4445         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4446         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4447         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4448         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4449         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4451         Moved ...
4452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4453         ... here.
4454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4455         Moved ...
4456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4458         Moved ...
4459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4460         ... here.
4461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4462         Moved ...
4463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4464         ... here.
4465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4466         Moved ...
4467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4469         Moved ...
4470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4471         ... here.
4472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4473         Moved ...
4474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4475         ... here.
4476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4477         Moved ...
4478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4480         Moved ...
4481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4482         ... here.
4483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4484         Moved ...
4485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4486         ... here.
4487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4488         Moved ...
4489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4490         ... here.
4491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4492         Moved ...
4493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4495         Moved ...
4496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4497         ... here.
4498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4499         Moved ...
4500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4501         ... here.
4502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4503         Moved ...
4504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4505         ... here.
4506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4507         Moved ...
4508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4510         Moved ...
4511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4512         ... here.
4513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4514         Moved ...
4515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4516         ... here.
4517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4518         Moved ...
4519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4521         Moved ...
4522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4523         ... here.
4524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4525         Moved ...
4526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4528         Moved ...
4529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4531         Moved ...
4532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4533         ... here.
4534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4535         Moved ...
4536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4537         ... here.
4538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4539         Moved ...
4540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4541         ... here.
4542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4543         Moved ...
4544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4546         Moved ...
4547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4548         ... here.
4549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4550         Moved ...
4551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4552         ... here.
4553         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4554         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4555         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4556         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4557         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4558         Moved ...
4559         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4560         ... here.
4561         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4562         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4563         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4564         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4565         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4566         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4567         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4568         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4569         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4570         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4571         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4572         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4573         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4574         Moved ...
4575         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4576         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4577         Moved ...
4578         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4579         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4580         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4581         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4582         Moved ...
4583         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4584         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4585         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4586         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4587         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4588         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4589         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4590
4591 2014-06-10  Wilco  <wdijkstr@arm.com>
4592
4593         * math/test-fenv-return.c: New file.
4594         * math/Makefile: Add new test test-fenv-return.
4595
4596 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
4597
4598         [BZ #17042]
4599         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4600         when x - 1 is zero.
4601         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4602         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4603         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4604         0.0L for an argument of 1.0L.
4605         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4606         Likewise.
4607         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4608         value when x - 1 is zero.
4609         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4610         * sysdeps/i386/fpu/libm-test-ulps: Update.
4611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4612
4613 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
4614
4615         [BZ #15119]
4616         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4617
4618 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4619
4620         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4621         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4622
4623 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4624
4625         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4626         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4627
4628         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4629         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4630
4631         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4632         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4633
4634         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4635         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4636
4637         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4638         if not already defined.
4639         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4640         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4641         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4642         (TLS_INIT_TP): Use it.
4643         (TLS_DEFINE_INIT_TP): New macro.
4644         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4645
4646 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
4647
4648         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4649         constant.
4650         [POSIX] (IXANY): Likewise.
4651         [POSIX] (OLCUC): Likewise.
4652         [POSIX || POSIX2008] (CBAUD): Do not allow.
4653         [POSIX || POSIX2008] (DEFECHO): Likewise.
4654         [POSIX || POSIX2008] (ECHOCTL): Likewise.
4655         [POSIX || POSIX2008] (ECHOKE): Likewise.
4656         [POSIX || POSIX2008] (ECHOPRT): Likewise.
4657         [POSIX || POSIX2008] (EXTA): Likewise.
4658         [POSIX || POSIX2008] (EXTB): Likewise.
4659         [POSIX || POSIX2008] (FLUSHO): Likewise.
4660         [POSIX || POSIX2008] (LOBLK): Likewise.
4661         [POSIX || POSIX2008] (PENDIN): Likewise.
4662         [POSIX || POSIX2008] (SWTCH): Likewise.
4663         [POSIX || POSIX2008] (VDISCARD): Likewise.
4664         [POSIX || POSIX2008] (VDSUSP): Likewise.
4665         [POSIX || POSIX2008] (VLNEXT): Likewise.
4666         [POSIX || POSIX2008] (VREPRINT): Likewise.
4667         [POSIX || POSIX2008] (VSTATUS): Likewise.
4668         [POSIX || POSIX2008] (VWERASE): Likewise.
4669         (B*): Change to B[0123456789]*.
4670         * conform/data/time.h-data [POSIX || UNIX98]
4671         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4672         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4673         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4674         [POSIX] (tm_*): Do not allow.
4675
4676 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
4677
4678         * Makefile (install): Don't set LANGUAGE.
4679         * Makefile.in (install): Likewise.
4680         * assert/Makefile (test-assert-ENV): Remove variable.
4681         (test-assert-perr-ENV): Likewise.
4682         * elf/Makefile (neededtest4-ENV): Likewise.
4683         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4684         [$(cross-compiling) = no]: Don't set LANGUAGE.
4685         * io/ftwtest-sh (LANG): Remove variable.
4686         * libio/Makefile (tst-widetext-ENV): Likewise.
4687         * manual/install.texi (Running make install): Don't refer to
4688         environment settings for make install.
4689         * INSTALL: Regenerated.
4690         * nptl/tst-tls6.sh: Don't set LANG.
4691         * posix/globtest.sh (LANG): Remove variable.
4692         * string/Makefile (tester-ENV): Likewise.
4693         (inl-tester-ENV): Likewise.
4694         (noinl-tester-ENV): Likewise.
4695         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4696         [$(cross-compiling) = no]: Don't set LANGUAGE.
4697         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4698         without explicit environment settings.
4699
4700 2014-06-06  Roland McGrath  <roland@hack.frob.com>
4701
4702         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4703         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4704         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4705         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4706
4707 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
4708
4709         * crypt/crypt-private.h [DOS]: Add some includes taken from the
4710         other files in the crypt directory.
4711         * crypt/crypt.c: Remove duplicate includes.
4712         * crypt/crypt-entry.c: Likewise.
4713         * crypt/crypt_util.c: Likewise.
4714
4715 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
4716
4717         * Makeconfig (run-program-env): New variable.
4718         (run-program-prefix-before-env): Likewise.
4719         (run-program-prefix-after-env): Likewise.
4720         (run-program-prefix): Define in terms of new variables.
4721         (built-program-cmd-before-env): New variable.
4722         (built-program-cmd-after-env): Likewise.
4723         (built-program-cmd): Define in terms of new variables.
4724         (test-program-prefix-before-env): New variable.
4725         (test-program-prefix-after-env): Likewise.
4726         (test-program-prefix): Define in terms of new variables.
4727         (test-program-cmd-before-env): New variable.
4728         (test-program-cmd-after-env): Likewise.
4729         (test-program-cmd): Define in terms of new variables.
4730         * Rules (make-test-out): Use $(run-program-env).
4731         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4732         (help): Do not mention environment variables.  Mention
4733         --timeoutfactor option.
4734         (timeoutfactor): New variable.
4735         (blacklist_exports): Remove function.
4736         (exports): Remove variable.
4737         (command): Do not include ${exports}.
4738         * manual/install.texi (Configuring and compiling): Do not mention
4739         test wrappers preserving environment variables.  Mention that last
4740         assignment to a variable must take precedence.
4741         * INSTALL: Regenerated.
4742         * benchtests/Makefile (run-bench): Use $(run-program-env).
4743         * catgets/Makefile ($(objpfx)test1.cat): Use
4744         $(built-program-cmd-before-env), $(run-program-env) and
4745         $(built-program-cmd-after-env).
4746         ($(objpfx)test2.cat): Do not specify environment variables
4747         explicitly.
4748         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4749         $(run-program-env) and $(built-program-cmd-after-env).
4750         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4751         $(run-program-env) and $(test-program-cmd-after-env).
4752         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4753         explicitly.
4754         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4755         run_program_env and test_program_cmd_after_env arguments.
4756         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4757         * elf/tst-pathopt.sh: Use run_program_env argument.
4758         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4759         $(test-wrapper-env) and $(run-program-env).
4760         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4761         run_program_env arguments.
4762         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4763         * intl/Makefile ($(objpfx)tst-gettext.out): Use
4764         $(test-program-prefix-before-env), $(run-program-env) and
4765         $(test-program-prefix-after-env).
4766         ($(objpfx)tst-gettext2.out): Likewise.
4767         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4768         run_program_env and test_program_prefix_after_env arguments.
4769         * intl/tst-gettext2.sh: Likewise.
4770         * intl/tst-gettext4.sh: Do not set environment variables
4771         explicitly.
4772         * intl/tst-gettext6.sh: Likewise.
4773         * intl/tst-translit.sh: Likewise.
4774         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4775         $(test-program-prefix-before-env), $(run-program-env) and
4776         $(test-program-prefix-after-env).
4777         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4778         run_program_env and test_program_prefix_after_env arguments.
4779         * math/Makefile (run-regen-ulps): Use $(run-program-env).
4780         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4781         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
4782         explicitly with each use of ${test_wrapper_env}.
4783         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4784         $(test-program-prefix-before-env), $(run-program-env) and
4785         $(test-program-prefix-after-env).
4786         * posix/tst-getconf.sh: Do not set environment variables
4787         explicitly.
4788         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4789         run_program_env and test_program_prefix_after_env arguments.
4790         * stdio-common/tst-printf.sh: Do not set environment variables
4791         explicitly.
4792         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4793         $(test-program-prefix-before-env), $(run-program-env) and
4794         $(test-program-prefix-after-env).
4795         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4796         run_program_env and test_program_prefix_after_env arguments.
4797         Split $test calls into $test_pre and $test.
4798         * timezone/Makefile (build-testdata): Use
4799         $(built-program-cmd-before-env), $(run-program-env) and
4800         $(built-program-cmd-after-env).
4801
4802 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4803
4804         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4805         strlen for non SHARED builds.
4806
4807 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4808
4809         * nptl/allocatestack.c (check_list): Inlined function...
4810         (__reclaim_stacks): ... here.
4811
4812 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4813
4814         [BZ #15698]
4815         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4816         memory overrun.
4817
4818 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
4819
4820         * Rules (make-test-out): Include
4821         LOCPATH=$(common-objpfx)localedata in default environment.
4822         * debug/Makefile (tst-chk1-ENV): Remove variable.
4823         (tst-chk2-ENV): Likewise.
4824         (tst-chk3-ENV): Likewise.
4825         (tst-chk4-ENV): Likewise.
4826         (tst-chk5-ENV): Likewise.
4827         (tst-chk6-ENV): Likewise.
4828         (tst-lfschk1-ENV): Likewise.
4829         (tst-lfschk2-ENV): Likewise.
4830         (tst-lfschk3-ENV): Likewise.
4831         (tst-lfschk4-ENV): Likewise.
4832         (tst-lfschk5-ENV): Likewise.
4833         (tst-lfschk6-ENV): Likewise.
4834         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4835         (tst-iconv7-ENV): Likewise.
4836         * intl/Makefile (LOCPATH-ENV): Likewise.
4837         (tst-codeset-ENV): Likewise.
4838         (tst-gettext3-ENV): Likewise.
4839         (tst-gettext5-ENV): Likewise.
4840         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4841         (tst-fopenloc-ENV): Likewise.
4842         (tst-fgetws-ENV): Remove variable.
4843         (tst-ungetwc1-ENV): Likewise.
4844         (tst-ungetwc2-ENV): Likewise.
4845         (bug-ungetwc2-ENV): Likewise.
4846         (tst-swscanf-ENV): Likewise.
4847         (bug-ftell-ENV): Likewise.
4848         (tst-fgetwc-ENV): Likewise.
4849         (tst-fseek-ENV): Likewise.
4850         (tst-ftell-partial-wide-ENV): Likewise.
4851         (tst-ftell-active-handler-ENV): Likewise.
4852         (tst-ftell-append-ENV): Likewise.
4853         * posix/Makefile (tst-fnmatch-ENV): Likewise.
4854         (tst-regexloc-ENV): Likewise.
4855         (bug-regex1-ENV): Likewise.
4856         (tst-regex-ENV): Likewise.
4857         (tst-regex2-ENV): Likewise.
4858         (bug-regex5-ENV): Likewise.
4859         (bug-regex6-ENV): Likewise.
4860         (bug-regex17-ENV): Likewise.
4861         (bug-regex18-ENV): Likewise.
4862         (bug-regex19-ENV): Likewise.
4863         (bug-regex20-ENV): Likewise.
4864         (bug-regex22-ENV): Likewise.
4865         (bug-regex23-ENV): Likewise.
4866         (bug-regex25-ENV): Likewise.
4867         (bug-regex26-ENV): Likewise.
4868         (bug-regex30-ENV): Likewise.
4869         (bug-regex32-ENV): Likewise.
4870         (bug-regex33-ENV): Likewise.
4871         (bug-regex34-ENV): Likewise.
4872         (bug-regex35-ENV): Likewise.
4873         (tst-rxspencer-ENV): Likewise.
4874         (tst-rxspencer-no-utf8-ENV): Likewise.
4875         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4876         (tst-sscanf-ENV): Likewise.
4877         (tst-swprintf-ENV): Likewise.
4878         (tst-swscanf-ENV): Likewise.
4879         (test-vfprintf-ENV): Likewise.
4880         (scanf13-ENV): Likewise.
4881         (bug14-ENV): Likewise.
4882         (tst-grouping-ENV): Likewise.
4883         * stdlib/Makefile (tst-strtod-ENV): Likewise.
4884         (tst-strtod3-ENV): Likewise.
4885         (tst-strtod4-ENV): Likewise.
4886         (tst-strtod5-ENV): Likewise.
4887         (testmb2-ENV): Likewise./
4888         * string/Makefile (tst-strxfrm-ENV): Likewise.
4889         (tst-strxfrm2-ENV): Likewise.
4890         (bug-strcoll1-ENV): Likewise.
4891         (test-strcasecmp-ENV): Likewise.
4892         (test-strncasecmp-ENV): Likewise.
4893         * time/Makefile (tst-strptime-ENV): Likewise.
4894         (tst-ftime_l-ENV): Likewise.
4895         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4896         (tst-mbrtowc-ENV): Likewise.
4897         (tst-wcrtomb-ENV): Likewise.
4898         (tst-mbrtowc2-ENV): Likewise.
4899         (tst-c16c32-1-ENV): Likewise.
4900         (tst-mbsnrtowcs-ENV): Likewise.
4901
4902 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4903
4904         * manual/resource.texi (How to get information about the memory
4905         subsystem?): Fix typo.
4906         Reported by Peon de la Parra Ivan <peon@keba.com>
4907
4908 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
4909
4910         [BZ #16882]
4911         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4912         (pthread_spin_lock): Branch out of spin loop to proper location.
4913         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4914         (pthread_spin_lock): Likewise.
4915
4916         * nptl/tst-spin4.c: New test.
4917         * nptl/Makefile (tests): Add tst-spin4.
4918
4919 2014-06-03  Andreas Schwab  <schwab@suse.de>
4920
4921         [BZ #15946]
4922         * resolv/res_send.c (send_dg): Reload file descriptor after
4923         calling reopen.
4924
4925 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
4926
4927         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4928
4929 2014-06-03  Richard Henderson  <rth@redhat.com>
4930
4931         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4932         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4933         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4934         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
4935         in the SAVE_PID block.
4936         (__libc_vfork): New alias.
4937         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4938
4939         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4940         child in registers, not on the stack.  Remove RESET_PID conditionals.
4941         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4942
4943 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4944
4945         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4946
4947 2014-06-03  Wilco  <wdijkstr@arm.com>
4948
4949         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4950         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4951         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4952         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4953         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4954         Likewise.
4955
4956 2014-06-03  Wilco  <wdijkstr@arm.com>
4957
4958         * sysdeps/aarch64/fpu/math_private.h
4959         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4960         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4961         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4962         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4963         Fix declarations.
4964
4965 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4966
4967         * crypt/crypt-private.h: Include ufc-crypt.h.
4968         (__b64_from_24bit): Declare extern.
4969         * crypt/crypt_util.c(__b64_from_24bit): New function.
4970         (b64t): New static const variable.
4971         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4972         (b64t): Remove variable.
4973         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4974         * crypt/sha256-crypt.c: Include crypt-private.h.
4975         (b64t): Remove variable.
4976         (__sha256_crypt_r): Remove b64_from_24bit and replace
4977         with __b64_from_24bit.
4978         * crypt/sha512-crypt.c: Likewise.
4979
4980 2014-06-02  Roland McGrath  <roland@hack.frob.com>
4981
4982         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4983         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4984         Label the code __libc_vfork rather than __vfork.
4985         [!NOT_IN_libc] (vfork): Define as weak alias.
4986         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4987         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4988         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4989
4990 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4991
4992         * malloc/malloc.c (malloc_info): Fix format specifier for
4993         n_mmaps.
4994
4995 2014-06-02  Wilco  <wdijkstr@arm.com>
4996
4997         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4998         FPCR write.
4999
5000 2014-06-02  Wilco  <wdijkstr@arm.com>
5001
5002         [BZ #17009]
5003         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5004         Rewrite to reduce FPCR/FPSR accesses.
5005
5006 2014-06-01  David S. Miller  <davem@davemloft.net>
5007
5008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5009
5010 2014-05-31  David S. Miller  <davem@davemloft.net>
5011
5012         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5013         to occur in round to nearest mode when |x| >= 2.0
5014
5015 2014-05-30  Richard Henderson  <rth@twiddle.net>
5016
5017         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5018         (PSEUDO_RET_NOERRNO): Remove.
5019         (ret): Don't redefine.
5020         (ret_NOERRNO): Define in terms of ret.
5021         (ret_ERRVAL): Likewise.
5022
5023         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5024         use of PSEUDO_RET; perform the error check directly.
5025
5026 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
5027
5028         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5029         with __int128_t.
5030
5031 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5032
5033         * malloc/malloc (malloc_info): Fix formatting.
5034
5035 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5036             Roland McGrath  <roland@hack.frob.com>
5037
5038         * malloc/malloc (malloc_info): Also print mmapped statistics.
5039
5040 2014-05-30  Roland McGrath  <roland@hack.frob.com>
5041
5042         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5043         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5044
5045 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
5046
5047         * malloc/malloc.c (malloc_info): Inline mi_arena.
5048
5049 2014-05-29  Richard Henderson  <rth@twiddle.net>
5050
5051         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5052         Remove comma before expanding ASM_ARGS_##nr.
5053         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5054         Make _x0 a strict output; make _x8 a strict input; adjust expansion
5055         of ASM_ARGS_##nr.
5056         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5057         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5058         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5059         (ASM_ARGS_1): Add leading comma.
5060
5061         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5062         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5063         to __errno_location.
5064         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5065         Remove the expected plt for __errno_location.
5066
5067         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5068         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5069         call to __read_tp.
5070
5071         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5072         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
5073         it and break it down.
5074         (DOCARGS_0, DOCARGS_1): Do nothing.
5075         (DOCARGS_2): Update to store into the new stack frame.
5076         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5077         (UNDOCARGS_1): Update to restore from the new stack frame.
5078         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5079         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5080
5081         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5082         (SINGLE_THREAD_P): New parameter for result regno.
5083         (PSEUDO): Update to match; use cbz instead of beq.
5084
5085         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5086         Use ENTRY to define the _nocancel entry point.  Share the syscall
5087         and syscall error check paths with the cancel path.
5088         (PSEUDO_END): New.
5089
5090         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5091         whitespace; tabs before and after asm mnemonics.
5092
5093 2014-05-29  Eric Wong  <normalperson@yhbt.net>
5094
5095         [BZ #15132]
5096         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5097         Call fstat64 or stat64 internally, depending on arguments passed.
5098         Replace stat buffer argument with file descriptor argument.
5099         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5100         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5101         Pass fd to __internal_statvfs instead of calling fstat64.
5102         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5103         Pass fd to __internal_statvfs64 instead of calling fstat64.
5104         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5105         Pass -1 to __internal_statvfs instead of calling stat64.
5106         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5107         Pass -1 to __internal_statvfs64 instead of calling stat64.
5108
5109 2014-05-28  Roland McGrath  <roland@hack.frob.com>
5110
5111         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5112         that was previously under [RESET_PID].
5113         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5114
5115         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5116         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5117
5118 2014-05-27  Roland McGrath  <roland@hack.frob.com>
5119
5120         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5121
5122         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5123         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5124
5125 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
5126
5127         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5128
5129 2014-05-27  Andreas Schwab  <schwab@suse.de>
5130
5131         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5132         TLS_INIT_TP macro.
5133         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5134         * elf/rtld.c (init_tls, dl_main): Likewise.
5135         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5136         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
5137         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
5138         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
5139         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
5140         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
5141         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
5142         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
5143         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
5144         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
5145         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
5146         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
5147         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
5148         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
5149         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
5150         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
5151         * sysdeps/generic/tls.h: Update description.
5152
5153 2014-05-27  Will Newton  <will.newton@linaro.org>
5154
5155         [BZ #16990]
5156         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
5157         and restore r2 rather than just restoring.
5158
5159 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5160
5161         [BZ #16724]
5162         * libio/tst-ftell-append.c: New test case.
5163         * libio/Makefile (tests): Add test case.
5164         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
5165         append mode.
5166         * libio/wfileops.c (do_ftell_wide): Likewise.
5167
5168 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5169
5170         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5171
5172         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
5173         ...
5174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
5175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5176         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
5177         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
5178         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
5179         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
5180         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
5181         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
5182         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5183         Moved ...
5184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
5185         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5186         Moved ...
5187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
5188         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
5189         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
5190         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
5191         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
5192         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
5193         ...
5194         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
5195         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
5196         Moved ...
5197         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
5198         here.
5199         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
5200         ...
5201         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
5202         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
5203         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
5204
5205         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
5206         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
5207         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
5208         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
5209
5210         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
5211         merge into ...
5212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
5213         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
5214         ...
5215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
5216         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
5217         ...
5218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
5219         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5220         Moved ...
5221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
5222         here.
5223         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5224         Moved ...
5225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
5226         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5227         Moved ...
5228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
5229
5230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
5231         conditional [RESET_PID].
5232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
5233         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
5234         removed.
5235         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
5236         removed.
5237
5238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
5239         <tcb-offsets.h>.
5240         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5241         (__libc_vfork): New strong alias.
5242         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
5243         removed.
5244         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
5245         Removed.
5246
5247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
5248         <tcb-offsets.h>.
5249         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
5250         (__libc_vfork): New strong alias.
5251         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
5252         removed.
5253         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
5254         removed.
5255
5256 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
5257
5258         * malloc/malloc.c (mi_arena): New function.
5259         (malloc_info): Remove nested function mi_arena. Call non-nosted
5260         function mi_arena.
5261
5262 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5263
5264         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
5265         by insrwi.
5266         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
5267         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
5268         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
5269         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
5270         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
5271         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
5272         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
5273
5274 2014-05-26  Andreas Schwab  <schwab@suse.de>
5275
5276         [BZ #16984]
5277         * locale/programs/repertoire.c (repertoire_read): Add slash
5278         between I18NPATH element and file name.
5279         * locale/programs/locfile.c (locfile_read): Likewise.
5280
5281 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5282
5283         * nptl/pthread_mutexattr_settype.c
5284         (__pthread_mutexattr_settype):
5285         Disable lock elision for PTHREAD_MUTEX_NORMAL.
5286
5287 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5288
5289         * nptl/tst-mutex5 (do_test):
5290         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5291
5292 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5293
5294         * benchtests/README: Document 'init' directive.
5295         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5296         BENCH_INIT.
5297         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5298         (parse_file): Recognize 'init' directive.
5299
5300 2014-05-26  Kyle McMartin  <kyle@redhat.com>
5301
5302         [BZ #16796]
5303         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5304         alignment of struct pthread.
5305
5306 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5307
5308         [BZ #16878]
5309         * nscd/netgroupcache.c (addgetnetgrentX): Look for
5310         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5311         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5312         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5313
5314 2014-05-25  Richard Henderson  <rth@twiddle.net>
5315
5316         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5317         (SINGLE_THREAD_P_PIC): Remove.
5318         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5319         (SINGLE_THREAD_P_PIC): Remove.
5320
5321         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5322         branch to syscall error ...
5323         (PSEUDO): ... here.
5324         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5325         from __local_syscall_error to .Lsyscall_error.
5326         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5327         (SYSCALL_ERROR): Update label name.
5328
5329         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5330         Do not use DOARGS/UNDOARGS.
5331         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5332         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5333         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5334         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5335         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5336
5337         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5338         block comment.
5339
5340         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5341         define if !NOT_IN_libc.
5342         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5343         define with non-default symbol versions.
5344
5345 2014-05-23  Richard Henderson  <rth@twiddle.net>
5346
5347         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5348         (vfork, __vfork): Define via compat_symbol.
5349
5350         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5351         [!HAVE_IFUNC] (vfork_compat): Remove.
5352         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5353
5354 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5355
5356         [BZ #16978]
5357         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5358         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5359         variable.
5360
5361 2014-05-23  Richard Henderson  <rth@twiddle.net>
5362
5363         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5364         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5365         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5366         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5367
5368         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5369         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5370         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5371         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5372         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5373         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5374         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5375         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5376         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5377         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5378         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5379         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5380         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5381         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5382         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5383         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5384         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5385         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5386         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5387         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5388         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5389         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5390         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5391         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5392         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5393         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5394         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5395         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5396         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5397         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5398         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5399         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5400         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5401         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5402         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5403         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5404         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5405         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5406         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5407         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5408         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5409         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5410         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5411         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5412         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5413         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5414         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5415         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5416         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5417         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5418         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5419         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5420         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5421         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5422         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5423         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5424
5425         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5426         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5427         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
5428         before exiting on error.
5429         (__libc_vfork): New strong alias.
5430         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5431         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5432
5433         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5434         that was previously under [RESET_PID].
5435         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5436
5437         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5438
5439 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5440
5441         [BZ #16977]
5442         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5443         value when x - 1 is zero.
5444         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5445         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5446         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5447         0.0L for an argument of 1.0L.
5448         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5449         Likewise.
5450         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5451         value when x - 1 is zero.
5452         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5453         * sysdeps/i386/fpu/libm-test-ulps: Update.
5454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5455
5456 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5457
5458         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5459         alphasort and versionsort.
5460
5461 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5462
5463         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5464         macro.
5465         [copysignf]: Likewise.
5466
5467 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5468
5469         * crypt/md5-crypt.c: Fix formatting.
5470
5471 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5472
5473         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5474         (b64_from_24bit): New function.
5475
5476 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5477
5478         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5479         libc_hidden_builtin_def to ifunc.
5480         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5481         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5482
5483 2014-05-21  Roland McGrath  <roland@hack.frob.com>
5484
5485         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5486         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5487
5488 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
5489
5490         * nscd/Depend (linuxthreads): Remove.
5491         (nptl): Add.
5492         * resolv/Depend (linuxthreads): Remove.
5493         * rt/Depend (linuxthreads): Remove.
5494
5495         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5496         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5497         $(common-objpfx)elf/.
5498         (link-libc-before-gnulib): Likewise.
5499         (elfobjdir): Remove variable.
5500         * Makefile (install): Use $(elf-objpfx) instead of
5501         $(common-objpfx)elf/.
5502         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5503         $(elfobjdir)/.
5504         (link-libc-deps): Likewise.
5505         ($(common-objpfx)libc.so): Likewise.
5506         ($(common-objpfx)linkobj/libc.so): Likewise.
5507         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5508         instead of $(common-objpfx)elf/.
5509         (symbolic-link-list): Likewise.
5510         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5511         [$(cross-compiling) = no]: Likewise.
5512         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5513         $(elfobjdir)/.
5514         (static-gnulib-arch): Likewise.
5515         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5516         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5517         $(common-objpfx)elf/.
5518
5519 2014-05-21  Richard Henderson  <rth@redhat.com>
5520
5521         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5522         (SINGLE_THREAD_P): Use the correct width load.  Fold
5523         into the ldr offset.
5524
5525         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5526         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5527
5528 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
5529
5530         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5531         (libgcc_s_resume): Use __attribute_used__.
5532         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5533         Likewise.
5534
5535 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5536
5537         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5538         optimization when used with float constants.
5539
5540         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5541
5542 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
5543
5544         [BZ #16915]
5545         * locale/nl_langinfo_l.c: Make direct reference to every
5546         _nl_current_CATEGORY symbol.
5547         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5548         (tests-static): Add tst-langinfo-static.
5549         (tests-special): Add tst-langinfo-static.out.
5550         ($(objpfx)tst-langinfo.out): Redirect output.
5551         ($(objpfx)tst-langinfo-static.out): New.
5552         * localedata/tst-langinfo.sh: Send output to stdout.
5553         * localedata/tst-langinfo-static.c: New file.
5554
5555         [BZ #16965]
5556         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5557         when the shift amount is modulo the limb size.
5558
5559 2014-05-20  Richard Henderson  <rth@redhat.com>
5560
5561         [BZ #16967]
5562         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5563         Change type of sa_flags from unsigned int to int.
5564
5565         [BZ #16966]
5566         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5567
5568         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5569
5570 2014-05-20  Will Newton  <will.newton@linaro.org>
5571
5572         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5573         Test the return value of the system call in the nocancel case.
5574
5575 2014-05-20  Will Newton  <will.newton@linaro.org>
5576             Yvan Roux  <yvan.roux@linaro.org>
5577
5578         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5579         #include of asm/ptrace.h.
5580         (PTRACE_GET_THREAD_AREA): Remove #undef.
5581         (PTRACE_GETHBPREGS): Likewise.
5582         (PTRACE_SETHBPREGS): Likewise.
5583         (struct user_regs_struct): New structure.
5584         (struct user_fpsimd_struct): New structure.
5585         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5586         #include of asm/ptrace.h and second #include of sys/user.h.
5587         (PTRACE_GET_THREAD_AREA): Remove #undef.
5588         (PTRACE_GETHBPREGS): Likewise.
5589         (PTRACE_SETHBPREGS): Likewise.
5590         (ELF_NGREG): Use new struct user_regs_struct.
5591         (elf_fpregset_t): Use new struct user_fpsimd_struct.
5592
5593 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5594
5595         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5596         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5597
5598 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
5599
5600         [BZ #16958]
5601         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5602         membar to avoid block loads/stores to overlap previous stores.
5603
5604 2014-05-17  Richard Henderson  <rth@redhat.com>
5605
5606         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5607         Create the __##syscall_name##_nocancel entry point.
5608         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5609         Remove; let the sysdep-cancel.h code create it.
5610
5611 2014-05-17  David S. Miller  <davem@davemloft.net>
5612
5613         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5614         Protect with __USE_GNU.
5615         (TIOCSET_TEMPT): Likewise.
5616         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5617         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5618         these are already provided in bits/ioctl-types.h
5619
5620 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5621
5622         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5623         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5624
5625         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5626         Use wait4 regardless of [__NR_waitpid].
5627
5628 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5629
5630         PR libgcc/60166
5631         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5632         (_FP_NANSIGN_Q): Set the quiet bit.
5633
5634 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
5635
5636         * benchtests/Makefile
5637         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5638         not $(common-objpfx)math/libm.so.
5639         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5640         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5641         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5642         $(common-objpfx)dlfcn/libdl.so.
5643         ($(objpfx)tst-audit8): Depend on $(libm), not
5644         $(common-objpfx)math/libm.so.
5645         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5646         not $(common-objpfx)dlfcn/libdl.so.
5647         * math/Makefile
5648         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5649         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
5650         [$(build-shared) = yes].
5651         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5652         $(common-objpfx)nptl/libpthread.so.
5653         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5654         $(common-objpfx)math/libm.so$(libm.so-version) or
5655         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5656         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5657         $(common-objpfx)dlfcn/libdl.so.
5658         * setjmp/Makefile (link-libm): Remove variable.
5659         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5660         * stdio-common/Makefile (link-libm): Remove variable.
5661         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5662         * stdlib/Makefile (link-libm): Remove variable.
5663         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5664         ($(objpfx)tst-strtod-round): Likewise.
5665         ($(objpfx)tst-tininess): Likewise.
5666         ($(objpfx)tst-strtod-underflow): Likewise.
5667         ($(objpfx)tst-strtod6): Likewise.
5668         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5669         $(libdl), not $(common-objpfx)nptl/libpthread.so and
5670         $(common-objpfx)dlfcn/libdl.so.
5671
5672 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5673
5674         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5675         BSD terminal modes definitions.
5676
5677 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5678
5679         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5680         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5681
5682         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5683         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5684         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5685         Don't do #include_next.
5686         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5687         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5688         Don't do #include_next.
5689         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5690         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5691         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5692         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5693
5694 2014-05-16  Allan McRae  <allan@archlinux.org>
5695
5696         * po/sv.po: Update Swedish translation from translation project.
5697
5698         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5699         in sed expression.
5700
5701 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
5702
5703         [BZ #16917]
5704         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5705         errno if the TIOCGPTN ioctl fails with an error different than
5706         EINVAL.
5707         * login/tst-ptsname.c: New file.
5708         * login/Makefile (tests): Add tst-ptsname.
5709
5710         [BZ #16943]
5711         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5712         and prlimit64.
5713
5714 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5715
5716         [BZ #16849]
5717         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5718         herrno to return EAI_AGAIN.
5719
5720 2014-05-14  Roland McGrath  <roland@hack.frob.com>
5721
5722         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5723         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5724         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5725         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5726         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5727         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5728         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5729         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5730         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5731         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5732         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5733         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5734         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5735         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5736         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5737         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5738         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5739         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5740         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5741         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5742         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5743         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5744         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5745         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5746         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5747         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5748         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5749         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5750         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5751         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5752         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5753         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5754         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5755         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5756         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5757         Moved ...
5758         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5759         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5760         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5761         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5762         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5763         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5764         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5765         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5766         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5767         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5768         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5769         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5770         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5771         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5772         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5773         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5774         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5776         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5777         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5778         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5779         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5780         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5781         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5782         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5783         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5784         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5785         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5786         Moved ...
5787         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5788         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5789         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5790         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5791         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5792         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5793         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5794         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5795         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5796         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5797         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5798         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5799         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5800         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5801         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5802         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5803         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5804         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5805         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5806         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5807         Moved ...
5808         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5810         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5811
5812         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5813         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5814         (libpthread-sysdep_routines): Add elision-related stuff here instead.
5815         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5816         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5817         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5818         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5819         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5820         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5821         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5822         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5823         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5824         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5825         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5826         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5827         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5828         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5829         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5830         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5831         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5832         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5833         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5834         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5835         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5836         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5837         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5838         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5839         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5840         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5841         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5842         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5843
5844         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5845         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5846
5847         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5848         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5849         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5850         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5851         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5852         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5853         Moved ...
5854         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5855         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5856         Moved ...
5857         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5858         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5859         Moved ...
5860         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5861         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5862         Moved ...
5863         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5864         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5865         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5866         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5867         Moved ...
5868         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5869         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5870         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5871         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5872         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5873         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5874         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5875         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5876         Moved ...
5877         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5878         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5879         Moved ...
5880         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5881         ... here.
5882         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5883         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5884         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5885         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5886         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5887         Moved ...
5888         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5889         ... here.
5890         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5891         Moved ...
5892         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5893         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5894         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5895         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5896         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5897         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5898         Moved ...
5899         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5900         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5901         Moved ...
5902         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5903         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5904         Moved ...
5905         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5906         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5907         Moved ...
5908         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5909         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5910         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5911         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5912         Moved ...
5913         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5914         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5915         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5916         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5917         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5918         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5919         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5920         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5921         Moved ...
5922         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5923         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5924         Moved ...
5925         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5926         ... here.
5927         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5928         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5929         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5930         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5931         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5932         Moved ...
5933         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5934         ... here.
5935         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5936         Moved ...
5937         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5938         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5939         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5940         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5941         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5942         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5943         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5944         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5945         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5946         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5947         Moved ...
5948         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5949         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5950         Moved ...
5951         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5952         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5953         Moved ...
5954         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5955         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5956         Moved ...
5957         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5958         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5959         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5960         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5961         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5962         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5963         Moved ...
5964         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5965         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5966         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5967         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5968         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5969         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5970         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5971         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5972         Moved ...
5973         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5974         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5975         Moved ...
5976         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5977         ... here.
5978         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5979         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5980         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5981         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5982         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5983         Moved ...
5984         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5985         ... here.
5986         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5987         Moved ...
5988         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5989         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5990         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5991         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5992         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5993         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5994         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5995         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5996         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5997         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5998         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5999
6000         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6001         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6002
6003         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6004         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6005
6006         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6007         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6008         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6009         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6010         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6011         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6012         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6013         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6014         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6015         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6016         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6017         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6018         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6019         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6020         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6021         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6022         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6023         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6024         Moved ...
6025         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6026         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6027         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6028         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6029         Moved ...
6030         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6031         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6032         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6033         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6034         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6035         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6036         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6037         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6038         Moved ...
6039         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6040         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6041         Moved ...
6042         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6043         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6044         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6045         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6046         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6047         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6048         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6049         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6050         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6051         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6052         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6053         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6054         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6055         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6056         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6057         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6058         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6059
6060         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6061         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6062         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6063         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6064         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6065
6066         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6067         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6068         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6069         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6070         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6071         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6072         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6073         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6074         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6075         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6076
6077         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6078         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6079
6080         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6081         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6082         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6083         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6084         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6085         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6086         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6087         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6088         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6089         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6090         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6091         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6092         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6093         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6094         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6095         Update #include.
6096         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6097         Likewise.
6098         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6099         Likewise.
6100         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6101         Likewise.
6102         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6103         Likewise.
6104         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6105         Likewise.
6106         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6107         Likewise.
6108         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6109         Likewise.
6110         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6111         Likewise.
6112         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6113         Likewise.
6114         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6115         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6116         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6117         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6118         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6119         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6120         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6121         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6122         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6123         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6124         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6125         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6126         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6127         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
6128         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
6129
6130         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6131         that was previously under [RESET_PID].
6132         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6133         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6134         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6135
6136         * sysdeps/i386/nptl/Implies: New file.
6137         * sysdeps/x86_64/nptl/Implies: New file.
6138         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
6139         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6140         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
6141         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
6142
6143         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
6144         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6145         (__libc_vfork): New strong alias.
6146         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
6147         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
6148
6149         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
6150         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6151         (__libc_vfork): New strong alias.
6152         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
6153         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
6154
6155         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
6156         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6157         (__libc_vfork): New strong alias.
6158         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
6159         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
6160         * nptl/pt-vfork.c: New file.
6161         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
6162         (libpthread: GLIBC_2.20): New version set (empty).
6163
6164 2014-05-14  Will Newton  <will.newton@linaro.org>
6165
6166         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
6167         rather than #if.
6168
6169 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6170
6171         [BZ #16564]
6172         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
6173         arguments with exponent 65 or above.
6174         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
6175         arguments 0x1p113L or above.
6176         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
6177         to arguments 0x1p107L or above.
6178         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
6179         positive arguments with exponent 65 or above.
6180         * math/auto-libm-test-in: Add more tests of log1p.
6181         * math/auto-libm-test-out: Regenerated.
6182
6183         [BZ #16928]
6184         * math/s_cacos.c (__cacos): Ensure zero real part of result from
6185         non-finite arguments is +0.
6186         * math/s_cacosf.c (__cacosf): Likewise.
6187         * math/s_cacosl.c (__cacosl): Likewise.
6188         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
6189         * sysdeps/i386/fpu/libm-test-ulps: Update.
6190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6191
6192         [BZ #16927]
6193         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
6194         value.
6195         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
6196         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
6197         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
6198         for explicit high bit of mantissa when testing for argument equal
6199         to 1.
6200         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
6201         * sysdeps/i386/fpu/libm-test-ulps: Update.
6202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6203
6204         [BZ #16516]
6205         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
6206         (__erf): Scale by 16 instead of 8 in potentially underflowing
6207         case.  Ensure exception if result actually underflows.
6208         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
6209         (__erff): Scale by 16 instead of 8 in potentially underflowing
6210         case.  Ensure exception if result actually underflows.
6211         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
6212         (efx8): Remove variable.
6213         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6214         case.  Ensure exception if result actually underflows.
6215         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
6216         (efx8): Remove variable.
6217         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6218         case.  Ensure exception if result actually underflows.
6219         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
6220         (efx8): Remove variable.
6221         (__erfl): Scale by 16 instead of 8 in potentially underflowing
6222         case.  Ensure exception if result actually underflows.
6223         * math/auto-libm-test-in: Add more tests of erf.
6224         * math/auto-libm-test-out: Regenerated.
6225
6226 2014-05-14  Andreas Schwab  <schwab@suse.de>
6227
6228         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
6229         Remove code conditionalized on USE___THREAD.
6230
6231         * config.h.in (HAVE_PT_CHOWN): Define as 0.
6232         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
6233         not definedness.
6234
6235 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
6236
6237         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
6238         Define unconditionally.
6239         (__ASSUME_O_CLOEXEC): Likewise.
6240         (__ASSUME_SOCK_CLOEXEC): Likewise.
6241         (__ASSUME_IN_NONBLOCK): Likewise.
6242         (__ASSUME_PIPE2): Likewise.
6243         (__ASSUME_EVENTFD2): Likewise.
6244         (__ASSUME_SIGNALFD4): Likewise.
6245         (__ASSUME_DUP3): Likewise.
6246         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6247         (__ASSUME_DUP3): Do not define.
6248         (__ASSUME_EVENTFD2): Likewise.
6249         (__ASSUME_IN_NONBLOCK): Likewise.
6250         (__ASSUME_O_CLOEXEC): Likewise.
6251         (__ASSUME_PIPE2): Likewise.
6252         (__ASSUME_SIGNALFD4): Likewise.
6253         (__ASSUME_SOCK_CLOEXEC): Likewise.
6254         (__ASSUME_UTIMES): Undefine.
6255         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6256         (__ASSUME_UTIMES): Do not define.
6257         (__ASSUME_O_CLOEXEC): Likewise.
6258         (__ASSUME_SOCK_CLOEXEC): Likewise.
6259         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
6260         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
6261         0x020621].
6262         (__ASSUME_PIPE2): Likewise.
6263         (__ASSUME_EVENTFD2): Likewise.
6264         (__ASSUME_SIGNALFD4): Likewise.
6265         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
6266         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
6267         Do not define.
6268         (__ASSUME_EVENTFD2): Likewise.
6269         (__ASSUME_SIGNALFD4): Likewise.
6270         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6271         (__ASSUME_32BITUIDS): Likewise.
6272         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
6273         (__ASSUME_IPC64): Likewise.
6274         (__ASSUME_ST_INO_64_BIT): Likewise.
6275         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
6276         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
6277         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6278         (__ASSUME_UTIMES): Do not define.
6279         (__ASSUME_PSELECT): Likewise.
6280         (__ASSUME_PPOLL): Likewise.
6281         (__ASSUME_O_CLOEXEC): Likewise.
6282         (__ASSUME_SOCK_CLOEXEC): Likewise.
6283         (__ASSUME_IN_NONBLOCK): Likewise.
6284         (__ASSUME_PIPE2): Likewise.
6285         (__ASSUME_EVENTFD2): Likewise.
6286         (__ASSUME_SIGNALFD4): Likewise.
6287         (__ASSUME_DUP3): Likewise.
6288         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6289         (__ASSUME_UTIMES): Likewise.
6290         (__ASSUME_O_CLOEXEC): Likewise.
6291         (__ASSUME_SOCK_CLOEXEC): Likewise.
6292         (__ASSUME_IN_NONBLOCK): Likewise.
6293         (__ASSUME_PIPE2): Likewise.
6294         (__ASSUME_EVENTFD2): Likewise.
6295         (__ASSUME_SIGNALFD4): Likewise.
6296         (__ASSUME_DUP3): Likewise.
6297         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6298         (__ASSUME_UTIMES): Likewise.
6299         (__ASSUME_O_CLOEXEC): Likewise.
6300         (__ASSUME_SOCK_CLOEXEC): Likewise.
6301         (__ASSUME_IN_NONBLOCK): Likewise.
6302         (__ASSUME_PIPE2): Likewise.
6303         (__ASSUME_EVENTFD2): Likewise.
6304         (__ASSUME_SIGNALFD4): Likewise.
6305         (__ASSUME_DUP3): Likewise.
6306         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6307         Likewise.
6308         (__ASSUME_UTIMES): Likewise.
6309         (__ASSUME_EVENTFD2): Likewise.
6310         (__ASSUME_SIGNALFD4): Likewise.
6311         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6312         (__ASSUME_O_CLOEXEC): Likewise.
6313         (__ASSUME_SOCK_CLOEXEC): Likewise.
6314         (__ASSUME_IN_NONBLOCK): Likewise.
6315         (__ASSUME_PIPE2): Likewise.
6316         (__ASSUME_EVENTFD2): Likewise.
6317         (__ASSUME_SIGNALFD4): Likewise.
6318         (__ASSUME_DUP3): Likewise.
6319         (__ASSUME_UTIMES): Undefine.
6320
6321         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6322         feclearexcept.  Remove symbol versioning code.
6323         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
6324         symbol versioning code.
6325         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
6326         symbol versioning code.
6327         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6328         feupdateenv.  Remove symbol versioning code.
6329         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6330         fegetexceptflag.  Remove symbol versioning code.
6331         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6332         fesetexceptflag.  Remove symbol versioning code.
6333         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6334         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
6335         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6336         (__posix_fadvise64_l32): Remove prototype.
6337         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6338         code.
6339
6340 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6341
6342         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6343         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6344         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6345         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6346
6347 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
6348
6349         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6350         current working directory
6351
6352 2014-05-13  Roland McGrath  <roland@hack.frob.com>
6353
6354         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6355         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6356         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6357         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6358         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6359         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6360         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6361         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6362         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6363         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6364         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6365         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6366         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6367         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6368         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6369         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6370         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6371         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6372         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6373         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6374         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6375         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6376         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6377         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6378         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6379         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6380         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6381         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6382         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6383         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6384         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6385         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6386         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6387         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6388         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6389         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6390         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6391         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6392         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6393         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6394         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6395         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6396
6397         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6398         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6399
6400         * sysdeps/unix/sysv/linux/arm/Makefile
6401         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6402         Add rt-aeabi_unwind_cpp_pr1.
6403         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6404         Add nptl-aeabi_unwind_cpp_pr1.
6405         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6406         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6407         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6408         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6409         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6410         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6411
6412         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6413         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6414         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6415         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6416
6417         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6418         Deconditionalize the code that was previously under [RESET_PID].
6419         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6420
6421         * sysdeps/generic/exit-thread.h: New file.
6422         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6423         * include/unistd.h (__exit_thread): Remove declaration.
6424         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6425         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6426         * csu/libc-start.c: Include <exit-thread.h>.
6427         (LIBC_START_MAIN): Pass no argument to __exit_thread.
6428         * nptl/pthread_create.c: Include <exit-thread.h>.
6429         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6430         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6431         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6432         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6433         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6434         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6435         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6436         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6437         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6438         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6439         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6440         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6441         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6442         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6443         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6444         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6445         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6446
6447 2014-05-13  Andreas Schwab  <schwab@suse.de>
6448
6449         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6450
6451 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
6452
6453         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6454         (__ASSUME_UTIMES): Do not condition on kernel version.
6455         (__ASSUME_PSELECT): Define unconditionally.
6456         (__ASSUME_PPOLL): Likewise.
6457         (__ASSUME_ATFCTS): Likewise.
6458         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6459         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6460         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6461         (__ASSUME_UTIMENSAT): Define unconditionally.
6462         (__ASSUME_PRIVATE_FUTEX): Likewise.
6463         (__ASSUME_FALLOCATE): Likewise.
6464         (__ASSUME_O_CLOEXEC): Likewise.
6465         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6466         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6467         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6468         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6469         (__ASSUME_IN_NONBLOCK): Likewise.
6470         (__ASSUME_PIPE2): Likewise.
6471         (__ASSUME_EVENTFD2): Likewise.
6472         (__ASSUME_SIGNALFD4): Likewise.
6473         (__ASSUME_DUP3): Likewise.
6474         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6475         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6476         (__ASSUME_AT_RANDOM): Likewise.
6477         (__ASSUME_PREADV): Likewise.
6478         (__ASSUME_PWRITEV): Likewise.
6479         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6480         (__ASSUME_F_GETOWN_EX): Define unconditionally.
6481         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6482         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6483         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6484         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6485         (__ASSUME_O_CLOEXEC): Define unconditionally.
6486         (__ASSUME_PSELECT): Do not undefine conditionally.
6487         (__ASSUME_PPOLL): Likewise.
6488         (__ASSUME_ATFCTS): Likewise.
6489         (__ASSUME_SET_ROBUST_LIST): Likewise.
6490         (__ASSUME_UTIMENSAT): Likewise.
6491         (__ASSUME_FDATASYNC): Define unconditionally.
6492         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6493         (__ASSUME_SIGFRAME_V2): Likewise.
6494         )__ASSUME_EVENTFD2): Likewise.
6495         (__ASSUME_SIGNALFD4): Likewise.
6496         (__ASSUME_PSELECT): Do not undefine conditionally.
6497         (__ASSUME_PPOLL): Likewise.
6498         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6499         (__ASSUME_PSELECT): Define unconditionally.
6500         (__ASSUME_PPOLL): Likewise.
6501         (__ASSUME_O_CLOEXEC): Likewise.
6502         (__ASSUME_SOCK_CLOEXEC): Likewise.
6503         (__ASSUME_IN_NONBLOCK): Likewise.
6504         (__ASSUME_PIPE2): Likewise.
6505         (__ASSUME_EVENTFD2): Likewise.
6506         (__ASSUME_SIGNALFD4): Likewise.
6507         (__ASSUME_DUP3): Likewise.
6508         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6509         (__ASSUME_O_CLOEXEC): Likewise.
6510         (__ASSUME_SOCK_CLOEXEC): Likewise.
6511         (__ASSUME_IN_NONBLOCK): Likewise.
6512         (__ASSUME_PIPE2): Likewise.
6513         (__ASSUME_EVENTFD2): Likewise.
6514         (__ASSUME_SIGNALFD4): Likewise.
6515         (__ASSUME_DUP3): Likewise.
6516         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6517         (__ASSUME_EVENTFD2): Likewise.
6518         (__ASSUME_SIGNALFD4): Likewise.
6519         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6520
6521 2014-05-12  Andreas Schwab  <schwab@suse.de>
6522
6523         [BZ #16932]
6524         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6525         (_nss_nis_gethostbyname4_r): Return error if item length is larger
6526         than maximum RPC packet size.
6527         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6528         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6529         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6530         (_nss_nis_getservbyport_r): Likewise.
6531
6532 2014-05-12  Will Newton  <will.newton@linaro.org>
6533
6534         * malloc/Makefile (tests): Add tst-mallopt.
6535         * malloc/tst-mallopt.c: New file.
6536
6537 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6538
6539         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6540         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6541
6542 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6543
6544         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6545         (tst-tlsmod6.so): Likewise.
6546
6547 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6548
6549         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6550
6551 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
6552
6553         [BZ #16064]
6554         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6555         and <dl-procinfo.h>.
6556         (__fegetenv): Save SSE state in envp->__eip if supported.
6557         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6558         envp->__eip if supported.
6559         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6560         and <dl-procinfo.h>.
6561         (__fesetenv): Always set __eip, __cs_selector, __opcode,
6562         __data_offset and __data_selector in environment to 0.  Set SSE
6563         state if supported.
6564         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6565         test-fenv-sse.
6566         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6567         -mfpmath=sse.
6568         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6569
6570 2014-05-09  Will Newton  <will.newton@linaro.org>
6571
6572         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6573         and libc_relro_required for ARM.
6574         * sysdeps/arm/preconfigure: Regenerate.
6575
6576 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
6577             Stefan Liebler  <stli@linux.vnet.ibm.com>
6578
6579         * config.make.in (enable-lock-elision): New Makefile variable.
6580         * configure.ac: Likewise.
6581         * configure: Regenerate.
6582         * sysdeps/s390/configure.ac:
6583         Add check for gcc transactions support.
6584         * sysdeps/s390/configure: Regenerate.
6585         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6586         Build elision files if enabled.
6587         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6588         Add lock elision support for s390.
6589         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6590         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6591         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6592         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6593         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6594         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6595         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6596         Likewise.
6597         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6598         Likewise.
6599         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6600         Likewise.
6601         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6602         Likewise.
6603         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6604         (__lll_timedlock_elision, __lll_lock_elision)
6605         (__lll_unlock_elision, __lll_trylock_elision)
6606         (lll_timedlock_elision, lll_lock_elision)
6607         (lll_unlock_elision, lll_trylock_elision): Add.
6608         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6609         (pthread_mutex_t): Add lock elision support for s390.
6610
6611 2014-05-14  Wilco  <wdijkstr@arm.com>
6612
6613         * sysdeps/arm/fclrexcpt.c: Cleanup.
6614         * sysdeps/arm/fedisblxcpt.c: Cleanup.
6615         * sysdeps/arm/feenablxcpt.c: Cleanup.
6616         * sysdeps/arm/fegetenv.c: Cleanup.
6617         * sysdeps/arm/fegetexcept.c: Cleanup.
6618         * sysdeps/arm/fegetround.c: Cleanup.
6619         * sysdeps/arm/feholdexcpt.c: Cleanup.
6620         * sysdeps/arm/fesetenv.c: Cleanup.
6621         * sysdeps/arm/fesetround.c: Cleanup.
6622         * sysdeps/arm/feupdateenv.c: Cleanup.
6623         * sysdeps/arm/fgetexcptflg.c: Cleanup.
6624         * sysdeps/arm/fraiseexcpt.c: Cleanup.
6625         * sysdeps/arm/fsetexcptflg.c: Cleanup.
6626         * sysdeps/arm/ftestexcept.c: Cleanup.
6627         * sysdeps/arm/get-rounding-mode.h: Cleanup.
6628         * sysdeps/arm/setfpucw.c: Cleanup.
6629
6630 2014-05-09  Will Newton  <will.newton@linaro.org>
6631
6632         * sysdeps/arm/armv7/strcmp.S: New file.
6633         * NEWS: Mention addition of ARMv7 optimized strcmp.
6634
6635 2014-05-08  Roland McGrath  <roland@hack.frob.com>
6636
6637         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6638         look for %.ac rather than %.in.
6639
6640         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6641         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6642         * sysdeps/mach/hurd/configure: Regenerated.
6643         * sysdeps/unix/sysv/linux/configure: Regenerated.
6644
6645         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6646
6647 2014-05-07  Steve Ellcey  <sellcey@mips.com>
6648
6649         [BZ# 16922]
6650         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6651         (LONG_SUB): Ditto.
6652         (PTR_SUB): Ditto.
6653
6654 2014-05-07  Andreas Schwab  <schwab@suse.de>
6655
6656         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6657         when skipping over non-matching result from nscd.
6658
6659 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
6660
6661         [BZ #16876]
6662         * nptl/sockperf.c (client): Check socket return value.
6663
6664         [BZ #16877]
6665         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6666         nscd security class.
6667
6668 2014-05-06  Roland McGrath  <roland@hack.frob.com>
6669
6670         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6671         * sysdeps/arm/unwind.h: ... here.
6672
6673 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
6674
6675         [BZ# 16916]
6676         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6677         Define.
6678
6679 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6680
6681         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6682         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6683         multiarch strncpy for PPC64.
6684         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6685         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6686         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6687         multiarch optimizations.
6688         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6689         (__libc_ifunc_impl_list): Likewise.
6690         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6691         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6692         multiarch stpncpy for PPC64.
6693         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6694         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6695
6696 2014-05-06  Andreas Schwab  <schwab@suse.de>
6697
6698         [BZ #16912]
6699         * gmon/mcount.c (_MCOUNT_DECL): Use
6700         atomic_compare_and_exchange_bool_acq instead of
6701         catomic_compare_and_exchange_bool_acq.
6702
6703 2014-05-05  Roland McGrath  <roland@hack.frob.com>
6704
6705         * elf/Makefile (others, install-bin): Remove pldd.
6706         (pldd-modules): Variable removed.
6707         ($(objpfx)pldd): Target removed.
6708         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6709         (others, install-bin): Append pldd here.
6710         ($(objpfx)pldd): New target.
6711
6712         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6713         to 0, so the first #if test emitted later doesn't see it undefined.
6714         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6715         * sysdeps/gnu/errlist.c: Regenerated.
6716
6717 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6718
6719         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6720         [libc_hidden_builtin_def]: Define to empty value.
6721         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6722         [libc_hidden_builtin_def]: Likewise.
6723         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6724         [libc_hidden_builtin_def]: Likewise.
6725         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6726         [libc_hidden_builtin_def]: Likewise.
6727         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6728         __redirect_memcpy and define ifunc as default hidden symbol.
6729         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6730         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6731
6732 2014-05-04  Adam Conrad  <adconrad@0c3.net>
6733
6734         * locale/iso-4217.def: Reintroduce XDR currency.
6735
6736 2014-05-04  Allan McRae  <allan@archlinux.org>
6737
6738         * po/eo.po: Update Esperanto translation from translation project.
6739
6740 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
6741
6742         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6743         and FEATURE_INDEX_MAX to 1.
6744         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6745
6746 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6747
6748         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6749         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6750         * iconvdata/big5.c (ONE_DIRECTION): Define.
6751         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6752         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6753         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6754         * iconvdata/cp932.c (ONE_DIRECTION): Define.
6755         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6756         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6757         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6758         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6759         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6760         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6761         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6762         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6763         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6764         * iconvdata/gbk.c (ONE_DIRECTION): Define.
6765         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6766         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6767         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6768         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6769         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6770         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6771         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6772         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6773         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6774         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6775         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6776         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6777         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6778         * iconvdata/iso646.c (ONE_DIRECTION): Define.
6779         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6780         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6781         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6782         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6783         * iconvdata/johab.c (ONE_DIRECTION): Define.
6784         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6785         * iconvdata/sjis.c (ONE_DIRECTION): Define.
6786         * iconvdata/t.61.c (ONE_DIRECTION): Define.
6787         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6788         * iconvdata/tscii.c (ONE_DIRECTION): Define.
6789         * iconvdata/uhc.c (ONE_DIRECTION): Define.
6790         * iconvdata/unicode.c (ONE_DIRECTION): Define.
6791         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6792         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6793         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6794
6795 2014-05-01  Roland McGrath  <roland@hack.frob.com>
6796
6797         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6798         (_IO_JUMPS_OFFSET): Define to 0.
6799
6800         * nptl/sysdeps/pthread/bits/libc-lock.h
6801         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6802         (__libc_lock_define_initialized_recursive): Always define using
6803         initializer.  Modern compilers treat uninitialized (implicit zero) and
6804         explicit zero initializers the same (i.e. put the datum in bss).
6805
6806 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6807
6808         * nscd/nscd-client.h: Include <string.h>.
6809
6810 2014-05-01  David S. Miller  <davem@davemloft.net>
6811
6812         [BZ #16885]
6813         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6814         multiple zero bytes exist at the end of a string.
6815         Reported by Aurelien Jarno <aurelien@aurel32.net>
6816
6817         * string/test-strcmp.c (check): Add explicit test for situations where
6818         there are multiple zero bytes after the first.
6819
6820 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6821
6822         [BZ #16890]
6823         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6824         when compiling wprintf.
6825         * stdio-common/tstdiomisc.c (t3): New function.
6826         (main): Call it.
6827
6828 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6829
6830         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6831         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6832         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6833         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6834
6835 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6836
6837         * stdlib/longlong.h: Updated from GCC.
6838
6839 2014-05-01  Will Newton  <will.newton@linaro.org>
6840             Bernard Ogden  <bernie.ogden@linaro.org>
6841
6842         * NEWS: Update fixed bug list.
6843
6844         [BZ #15119]
6845         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6846
6847 2014-04-30  David S. Miller  <davem@davemloft.net>
6848
6849         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6850         (libc_feholdexcept_setround_sparc_ctx): New function.
6851         (libc_fesetenv_sparc_ctx): Likewise.
6852         (libc_feupdateenv_sparc_ctx): Likewise.
6853         (libc_feholdsetround_sparc_ctx): Likewise.
6854         (libc_feholdexcept_setround_ctx): Define.
6855         (libc_feholdexcept_setroundf_ctx): Likewise.
6856         (libc_feholdexcept_setroundl_ctx): Likewise.
6857         (libc_fesetenv_ctx): Likewise.
6858         (libc_fesetenvf_ctx): Likewise.
6859         (libc_fesetenvl_ctx): Likewise.
6860         (libc_feupdateenv_ctx): Likewise.
6861         (libc_feupdateenvf_ctx): Likewise.
6862         (libc_feupdateenvl_ctx): Likewise.
6863         (libc_feresetround_ctx): Likewise.
6864         (libc_feresetroundf_ctx): Likewise.
6865         (libc_feresetroundl_ctx): Likewise.
6866         (libc_feholdsetround_ctx): Likewise.
6867         (libc_feholdsetroundf_ctx): Likewise.
6868         (libc_feholdsetroundl_ctx): Likewise.
6869
6870         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6871         with __USE_GNU instead of XOPEN cpp guards.
6872
6873         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6874         0.
6875
6876         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6877         with XOPEN cpp guards.
6878
6879 2014-04-30  Julian Brown  <julian@codesourcery.com>
6880
6881         [BZ #16888]
6882         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6883         handling.
6884
6885 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
6886
6887         [BZ #9894]
6888         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6889         Change to 2.6.32.
6890         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6891         * sysdeps/unix/sysv/linux/configure: Regenerated.
6892         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6893         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6894         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6895         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6896         * README: Update reference to required Linux kernel version.
6897         * manual/install.texi (Linux): Update reference to required Linux
6898         kernel headers version.
6899         * INSTALL: Regenerated.
6900
6901         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6902         header inclusion.
6903         [POSIX] (limits.h): Likewise.
6904         [POSIX] (math.h): Likewise.
6905         [POSIX] (sys/wait.h): Likewise.
6906         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6907         function.
6908         [POSIX] (stddef.h): Do not allow header inclusion.
6909
6910 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6911
6912         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6913
6914 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
6915
6916         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6917         Return immediately after lll_futex_wake.
6918
6919 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6920
6921         [BZ #16791]
6922         * nscd/nscd-client.h (datahead_init_common): Initialize entire
6923         structure.
6924         (datahead_init_pos): Call datahead_init_common early.
6925         (datahead_init_neg): Likewise.
6926
6927         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6928         datahead_init_neg): New functions.
6929         * nscd/aicache.c (addhstaiX): Use them.
6930         * nscd/grpcache.c (cache_addgr): Likewise.
6931         * nscd/hstcache.c (cache_addhst): Likewise.
6932         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6933         * nscd/netgroupcache.c (do_notfound): Likewise.
6934         (addgetnetgrentX): Likewise.
6935         (addinnetgrX): Likewise.
6936         * nscd/pwdcache.c (cache_addpw): Likewise.
6937         * nscd/servicescache.c (cache_addserv): Likewise.
6938
6939 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6940             Atsushi Onoe  <atsushi@onoe.org>
6941
6942         [BZ #14308]
6943         [BZ #12994]
6944         [BZ #13651]
6945         * resolv/res_query.c (__libc_res_nsearch): Return if at least
6946         one response is valid.
6947         * resolv/res_send.c (send_dg): Check for validity of other
6948         response if the current response is a referral.
6949
6950 2014-04-29  Steve Ellcey  <sellcey@mips.com>
6951
6952         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6953
6954 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
6955
6956         [BZ #16823]
6957         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6958         Always divide by positive zero when computing -Inf result.
6959         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6960         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6961
6962 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6963
6964         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6965         FPSCR if value do not change.
6966         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6967         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6968         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6969         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6970         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6971         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6972         function.
6973
6974 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
6975
6976         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6977         * sysdeps/unix/sysv/linux/hppa: Move directory from
6978         ports/systeps/unix/sysv/linux/hppa.
6979         * README: Update listing for hppa-*-linux-gnu.
6980
6981 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
6982
6983         [BZ #16754]
6984         * manual/stdio.texi (Hook functions): Fix types of stream hook
6985         functions.
6986         [BZ #16854]
6987         * socket/sys/socket.h: Fix typo in comment.
6988
6989 2014-04-28  Wilco  <wdijkstr@arm.com>
6990
6991         * sysdeps/arm/fenv_private.h: New file.
6992         * sysdeps/arm/math_private.h: New file.
6993         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6994
6995 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
6996
6997         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6998         with __int128_t.
6999         (La_x86_64_retval): Likewise.
7000
7001 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
7002
7003         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7004         fpsr if value didn't change.
7005         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7006         to fpcr if value didn't change.
7007         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7008         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7009         fpsr or fpcr if value didn't change.
7010         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7011         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7012         fpcr if value didn't change.
7013         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7014         to fpsr if value didn't change.
7015
7016 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7017
7018         * nptl/tst-sem3.c: Use test-skeleton.c
7019         (main): Rename to do_test.  Use return instead of
7020         exit.
7021         * nptl/tst-sem4.c: Use test-skeleton.c
7022         (main): Rename to do_test.
7023
7024 2014-04-22  David S. Miller  <davem@davemloft.net>
7025
7026         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7027         (struct sigaction): New struct member __glibc_reserved0, change
7028         type of sa_flags to int.
7029
7030 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
7031
7032         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7033         (COUNT_LEADING_ZEROS_0): Define for AArch64.
7034
7035 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7036
7037         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7038         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7039
7040 2014-04-22  Will Newton  <will.newton@linaro.org>
7041             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
7042
7043         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7044         (__longjmp): Add longjmp and longjmp_target SystemTap
7045         probes.
7046         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7047         (__sigsetjmp): Add setjmp SystemTap probe.
7048
7049 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
7050
7051         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7052         match manual order.
7053
7054 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7055
7056         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7057
7058         * sysdeps/powerpc/fpu/fenv_private.h
7059         (libc_feholdexcept_setroundl_ctx): Define to
7060         libc_feholdexcept_setround_ppc_ctx.
7061         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7062         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7063         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7064         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7065
7066 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7067
7068         * sysdeps/aarch64/math-tests.h: New file.
7069
7070 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
7071
7072         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7073         New.
7074         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7075         Check and set bit_AVX2_Usable.
7076         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7077         macro.
7078         (bit_AVX2): Likewise.
7079         (index_AVX2_Usable): Likewise.
7080         (CPUID_AVX2): Likewise.
7081         (HAS_AVX2): Likewise.
7082
7083 2014-04-17  Will Newton  <will.newton@linaro.org>
7084
7085         * manual/setjmp.texi (System V contexts): Add note that
7086         calling setcontext on a context created by a call to a
7087         signal handler is undefined.  Update text to note that
7088         setcontext from a signal handler is possible but not
7089         recommended.
7090
7091         [BZ #16629]
7092         * stdlib/tst-setcontext.c: Include signal.h.
7093         (main): Check that the signal stack before and
7094         after swapcontext is the same.
7095
7096         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7097         Re-implement to restore registers in user code and avoid
7098         rt_sigreturn system call.
7099
7100 2014-04-17  Wilco  <wdijkstr@arm.com>
7101
7102         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7103         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7104         * math/test-fenv.c: Skip exception trap tests on targets which only
7105         support non-stop mode.
7106
7107 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7108             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7109
7110         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7111         (libc_feholdsetround_aarch64_ctx)
7112         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7113         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7114         (libc_feresetround_ctx, libc_feresetroundf_ctx)
7115         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7116         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7117         (libc_feresetround_noexl_ctx): Define.
7118
7119 2014-04-16  Richard Henderson  <rth@redhat.com>
7120
7121         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7122
7123         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7124         unwind tables.
7125
7126         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7127         const from the non-libc, non-ldso copy.
7128
7129         * sysdeps/alpha/libm-test-ulps: Regenerate.
7130
7131 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
7132             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7133
7134         * sysdeps/aarch64/fpu/math_private.h: New file.
7135
7136 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7137
7138         * sysdeps/aarch64/libm-test-ulps: Regenerate.
7139
7140 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
7141
7142         [BZ #16275]
7143         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
7144         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
7145         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
7146         Intel MPX bound registers before _dl_profile_fixup.
7147         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
7148         registers after _dl_profile_fixup.  Save and restore bound
7149         registers bnd0/bnd1 when calling _dl_call_pltexit.
7150         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
7151         (LR_BND_OFFSET): Likewise.
7152         (LRV_BND0_OFFSET): Likewise.
7153         (LRV_BND1_OFFSET): Likewise.
7154
7155 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7156
7157         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
7158         to...
7159         * sysdeps/mach/hurd/i386/tls.h: ... here.
7160         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
7161         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
7162         fields.
7163
7164 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7165
7166         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
7167
7168 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7169
7170         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7171
7172 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
7173
7174         [BZ #14770]
7175         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
7176         * sysdeps/s390/configure: Regenerate.
7177
7178         [BZ #16824]
7179         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
7180         Set round-to-nearest internally to reduce error accumulation.
7181
7182 2014-04-16  Alan Modra  <amodra@gmail.com>
7183
7184         [BZ #16740]
7185         [BZ #16619]
7186         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
7187         * math/libm-test.inc (frexp_test_data): Add tests.
7188         * NEWS: Update fixed bug list.
7189
7190 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7191
7192         * benchtests/Makefile: Depend on libraries in build directory.
7193         (bench-math): Separate out math tests.
7194         (bench-pthread): Separate out pthread tests.
7195         (bench): Include math and pthread tests.
7196
7197 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
7198
7199         [BZ #16831]
7200         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
7201         _dl_debug_initialize.
7202
7203         * configure.ac: Remove SELinux header check.
7204         * configure: Regenerate.
7205         * nscd/selinux.c (perms): Array of const char* to permission names.
7206         (nscd_request_avc_has_perm): Call security_deny_unknown to find
7207         default policy. Call string_to_security_class and string_to_av_perm to
7208         translate strings. Enforce default policy and call avs_has_perm with
7209         results of translated strings.
7210
7211 2014-04-13  David S. Miller  <davem@davemloft.net>
7212
7213         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7214
7215 2014-04-12  Allan McRae  <allan@archlinux.org>
7216
7217         [BZ #16838]
7218         * manual/string.texi (Collation Functions): Fix qsort argument
7219         order in example.
7220         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7221
7222 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
7223
7224         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
7225         Make the test a no-op if there are no exceptions defined.
7226
7227 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7228
7229         * elf/Makefile (tests): make tst-dlopen-aout conditional on
7230         enable-hardcoded-path-in-tests
7231
7232 2014-04-11  Will Newton  <will.newton@linaro.org>
7233
7234         * benchtests/Makefile (extra-objs): Add json-lib.o.
7235         (bench-func): Tidy up JSON output.
7236         * benchtests/bench-skeleton.c: Include json-lib.h.
7237         (main): Use JSON library functions to do output of
7238         benchmark results.
7239         * benchtests/bench-timing-type.c (main): Output the
7240         timing type simply, leaving formatting to the user.
7241         * benchtests/json-lib.c: New file.
7242         * benchtests/json-lib.h: Likewise.
7243
7244 2014-04-11  Torvald Riegel  <triegel@redhat.com>
7245
7246         [BZ #15215]
7247         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
7248         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
7249         memory barriers.  Add comments.
7250         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
7251         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
7252         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
7253         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
7254         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
7255         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
7256
7257 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7258
7259         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
7260         * sysdeps/s390/s390-64/configure.ac: ... this ...
7261         * sysdeps/s390/configure.ac: ... to here.
7262         * sysdeps/s390/s390-32/configure: Delete file.
7263         * sysdeps/s390/s390-64/configure: Delete file.
7264         * sysdeps/s390/configure: Regenerate.
7265
7266 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
7267
7268         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
7269
7270 2014-04-11  Will Newton  <will.newton@linaro.org>
7271
7272         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
7273         to zero if it is not defined elsewhere.  (mtrim): Test
7274         the value of MALLOC_DEBUG with #if rather than #ifdef.
7275
7276 2014-04-10 Torvald Riegel  <triegel@redhat.com>
7277
7278         * benchtests/pthread_once-inputs: New file.
7279         * benchtests/pthread_once-source.c: New file.
7280         * benchtests/README: Update documentation.
7281
7282 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7283             H.J. Lu  <hongjiu.lu@intel.com>
7284
7285         [BZ #16275]
7286         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7287         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7288         * sysdeps/x86_64/configure: Regenerated.
7289         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7290         macro.
7291         (REGISTER_SAVE_RAX): Likewise.
7292         (REGISTER_SAVE_RCX): Likewise.
7293         (REGISTER_SAVE_RDX): Likewise.
7294         (REGISTER_SAVE_RSI): Likewise.
7295         (REGISTER_SAVE_RDI): Likewise.
7296         (REGISTER_SAVE_R8): Likewise.
7297         (REGISTER_SAVE_R9): Likewise.
7298         (REGISTER_SAVE_BND0): Likewise.
7299         (REGISTER_SAVE_BND1): Likewise.
7300         (REGISTER_SAVE_BND2): Likewise.
7301         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
7302         bound registers when calling _dl_fixup.
7303
7304 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7305
7306         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
7307         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7308         of its definition.
7309         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7310         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7311         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7312         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7313         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7314         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7315         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7316
7317 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
7318
7319         [BZ #15514]
7320         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7321         pathconf(_PC_NAME_MAX).
7322
7323 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7324
7325         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7326         Remove macro usage.
7327         (__PTHREAD_SPINS): Move definition to ...
7328         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7329         (__PTHREAD_SPINS): ... here.
7330         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7331         (__PTHREAD_SPIN): Likewise.
7332         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7333         (__PTHREAD_SPIN): Likewise.
7334         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7335         (__PTHREAD_SPIN): Likewise.
7336         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7337         (__PTHREAD_SPIN): Likewise.
7338         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7339         (__PTHREAD_SPIN): Likewise.
7340         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7341         (__PTHREAD_SPIN): Likewise.
7342         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7343         (__PTHREAD_SPIN): Likewise.
7344         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7345         (__PTHREAD_SPIN): Likewise.
7346         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7347         (__PTHREAD_SPIN): Likewise.
7348         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7349         (__PTHREAD_SPIN): Likewise.
7350         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7351         (__PTHREAD_SPIN): Likewise.
7352         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7353         (__PTHREAD_SPIN): Likewise.
7354
7355         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7356         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7357         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7358         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7359         imply folder.
7360         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7361         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7362         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7363         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7364         correct imply path.
7365         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7366         strlen symbol for non multi-arch builds.
7367         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7368         missing hidden_def and weak_alias.
7369
7370 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
7371
7372         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7373
7374 2014-04-07  Will Newton  <will.newton@linaro.org>
7375
7376         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7377         and contents.  [!_LIBC] Remove #ifndef and contents.
7378         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
7379         * string/memccpy.c (__memccpy): Use ANSI prototype.
7380         * string/memfrob.c (memfrob): Likewise.
7381         * string/strcoll.c (STRCOLL): Likewise.
7382         * string/strlen.c (strlen): Likewise.
7383         * string/strtok.c (STRTOK): Likewise.
7384         * string/strcat.c: Remove unused #include of memcopy.h.
7385         (strcat): Use ANSI prototype.
7386         * string/strchr.c: Remove unused #include of memcopy.h.
7387         (strchr): Use ANSI prototype.
7388         * string/strcmp.c: Remove unused #include of memcopy.h.
7389         (strcmp): Use ANSI prototype.
7390         * string/strcpy.c: Remove unused #include of memcopy.h.
7391         (strcpy): Use ANSI prototype.
7392
7393 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7394
7395         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7396         * config.make.in (config-extra-cppflags): Set it from
7397         libc_extra_cppflags.
7398         * configure.ac (libc_extra_cflags): Make it accumulate over
7399         configure fragments.
7400         (libc_extra_cppflags): New flag.
7401         * configure. Regenerate.
7402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7403         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7404         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7406
7407         [BZ #16815]
7408         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7409         result for FE_DOWNWARD rounding mode.
7410         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7411         Likewise.
7412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7413
7414 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
7415
7416         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7417         in function argument name.
7418
7419 2014-04-03  David Svoboda  <svoboda@cert.org>
7420
7421         [BZ #5666]
7422         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7423         explicitly.
7424
7425 2014-04-03  Roland McGrath  <roland@hack.frob.com>
7426
7427         * elf/dl-unmap-segments.h: New file.
7428         * sysdeps/generic/ldsodefs.h
7429         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7430         * elf/dl-close.c: Include <dl-unmap-segments.h>.
7431         * elf/dl-fptr.c: Likewise.
7432         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7433         * sysdeps/aarch64/tlsdesc.c: Likewise.
7434         * sysdeps/arm/tlsdesc.c: Likewise.
7435         * sysdeps/i386/tlsdesc.c: Likewise.
7436         * sysdeps/tile/dl-runtime.c: Likewise.
7437         * sysdeps/x86_64/tlsdesc.c: Likewise.
7438         * elf/dl-load.h: New file.
7439         * elf/dl-load.c: Include it.
7440         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7441         Macros moved to dl-load.h.
7442         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7443         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7444         Use _dl_unmap_segments in place of __munmap.
7445         Break out segment-mapping loop into ...
7446         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7447
7448 2014-04-03  Will Newton  <will.newton@linaro.org>
7449
7450         * elf/dl-lookup.c (do_lookup_x): Remove comment
7451         referring to nested function and move variable
7452         declarations down to before first use.
7453
7454 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
7455
7456         [BZ #16799]
7457         [BZ #16800]
7458         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7459         with 0 numerator.
7460         * math/s_catanf.c (__catanf): Likewise.
7461         * math/s_catanh.c (__catanh): Likewise.
7462         * math/s_catanhf.c (__catanhf): Likewise.
7463         * math/s_catanhl.c (__catanhl): Likewise.
7464         * math/s_catanl.c (__catanl): Likewise.
7465         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7466         by positive zero when computing -Inf result.
7467         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7468         (catanh_test): Likewise.
7469         * sysdeps/i386/fpu/libm-test-ulps: Update.
7470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7471
7472         [BZ #16789]
7473         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7474         instead of using underflowing value in computing result.
7475         * math/s_clog10.c (__clog10): Likewise.
7476         * math/s_clog10f.c (__clog10f): Likewise.
7477         * math/s_clog10l.c (__clog10l): Likewise.
7478         * math/s_clogf.c (__clogf): Likewise.
7479         * math/s_clogl.c (__clogl): Likewise.
7480         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7481         (clog10_test): Likewise.
7482         * sysdeps/i386/fpu/libm-test-ulps: Update.
7483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7484
7485 2014-04-02  Alan Modra  <amodra@gmail.com>
7486
7487         [BZ #16739]
7488         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7489         output when value is near a power of two.  Use int64_t for lx and
7490         remove casts.  Use decimal rather than hex exponent constants.
7491         Don't use long double multiplication when double will suffice.
7492         * math/libm-test.inc (nextafter_test_data): Add tests.
7493         * NEWS: Add 16739 and 16786 to bug list.
7494
7495         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7496
7497         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7498
7499 2014-04-01  Will Newton  <will.newton@linaro.org>
7500
7501         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7502         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
7503
7504 2014-04-01  Florian Weimer  <fweimer@redhat.com>
7505
7506         [BZ #13347]
7507         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7508         * nptl/tst-setuid2.c: New file.
7509         * nptl/Makefile (xtests): Add tst-setuid2.
7510
7511 2014-04-01  Alan Modra  <amodra@gmail.com>
7512
7513         [BZ #16786]
7514         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7515
7516 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7517
7518         [BZ #6803]
7519         [BZ #6804]
7520         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7521         set errno as appropriate.
7522         * math/w_scalbf.c (__scalbf): Likewise.
7523         * math/w_scalbl.c (__scalbl): Likewise.
7524         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7525         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7526         * math/libm-test.inc (scalb_test_data): Add errno expectations.
7527         Add more NaN tests.
7528
7529         [BZ #16349]
7530         * math/w_atan2.c: Include <errno.h>.
7531         (__atan2): Set errno for result underflowing to zero.
7532         * math/w_atan2f.c: Include <errno.h>.
7533         (__atan2f): Set errno for result underflowing to zero.
7534         * math/w_atan2l.c: Include <errno.h>.
7535         (__atan2l): Set errno for result underflowing to zero.
7536         * math/auto-libm-test-in: Don't allow missing errno for some atan2
7537         tests.
7538         * math/auto-libm-test-out: Regenerated.
7539
7540 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7541
7542         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7543         Encode instruction correctly in little endian.
7544         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7545         Likewise.
7546         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7547         Likewise.
7548         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7549         Likewise.
7550         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7551         Likewise.
7552
7553 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7554
7555         [BZ #9894]
7556         * sysdeps/unix/sysv/linux/kernel-features.h
7557         [__sparc__ && !__arch64__ && !__sparc_v9__]
7558         (__ASSUME_SET_ROBUST_LIST): Do not define.
7559         [__sparc__ && !__arch64__ && !__sparc_v9__]
7560         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7561         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7562         Likewise.
7563         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7564         (__ASSUME_FUTEX_LOCK_PI): Undefine.
7565         (__ASSUME_REQUEUE_PI): Likewise.
7566         (__ASSUME_SET_ROBUST_LIST): Likewise.
7567         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7568         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7569         Undefine.
7570         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7571         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7572         Likewise.
7573         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7574         Likewise.
7575         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7576         Likewise.
7577         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7578         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7579         Undefine.
7580         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7581         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7582         Likewise.
7583
7584         [BZ #16648]
7585         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7586         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7587         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7588
7589 2014-03-31  Will Newton  <will.newton@linaro.org>
7590
7591         * benchtests/Makefile (bench): Add ffs and ffsll to list
7592         of tests.
7593         * benchtests/ffs-inputs: New file.
7594         * benchtests/ffsll-inputs: Likewise.
7595
7596 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
7597
7598         [BZ #16770]
7599         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7600         too large before casting to int.
7601         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7602         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7603         * math/libm-test.inc (scalb_test_data): Add more tests.
7604
7605 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7606
7607         * benchtests/Makefile (DETAILED_OPT): New make option.
7608         (bench-func): Run benchmark program with -d if DETAILED_OPT is
7609         set.
7610         * benchtests/bench-skeleton.c: Include stdbool.h.
7611         (main): Store and print timings per input.
7612         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7613         member to each argument value.
7614         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7615         (_print_arg_data): Initialize per-input timing to 0.
7616
7617         * benchtests/Makefile (timing-type): New binary.
7618         (bench-clean): Also remove bench-timing-type.
7619         (bench): New target for timing-type.
7620         (bench-func): Print output in JSON format.
7621         * benchtests/bench-skeleton.c (main): Print output in JSON
7622         format.
7623         * benchtests/bench-timing-type.c: New file.
7624         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7625         (TIMING_PRINT_STATS): Remove.
7626         * benchtests/scripts/bench.py (_print_arg_data): Store variant
7627         name separately.
7628
7629         * benchtests/bench-modf.c: Remove.
7630         * benchtests/modf-inputs: New inputs file.
7631
7632 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
7633
7634         [BZ #16362]
7635         * math/s_clog10.c (M_PI_LOG10E): New macro.
7636         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7637         imaginary parts are 0.
7638         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7639         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7640         imaginary parts are 0.
7641         * math/s_clog10l.c (M_PI_LOG10El): New macro.
7642         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7643         imaginary parts are 0.
7644         * math/libm-test.inc (clog10_test_data): Update expected results
7645         for when real and imaginary parts are 0.
7646
7647 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
7648
7649         * elf/dl-load.c: Finish conversion of __builtin_expect into
7650         __glibc_{un}likely.
7651
7652 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
7653
7654         [BZ #16348]
7655         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7656         1+x for argument with exponent below -67.
7657         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7658         Likewise.
7659         * math/auto-libm-test-in: Add more tests of exp.
7660         * math/auto-libm-test-out: Regenerated.
7661
7662 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7663
7664         [BZ #16759]
7665         * inet/getnetgrent_r.c (get_nonempty_val): New function.
7666         (nscd_getnetgrent): Use it.
7667
7668         [BZ #16760]
7669         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7670         of stpcpy.
7671
7672 2014-03-27  Andi Kleen  <ak@linux.intel.com>
7673
7674         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7675         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7676         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7677         (lll_robust_unlock): Remove out of line section. Use cfi
7678         intrinsics.
7679         (LLL_STUB_UNWIND_INFO*): Remove.
7680         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7681         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7682         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7683         (lll_robust_unlock): Remove out of line section. Use cfi
7684         intrinsics.
7685         (LLL_STUB_UNWIND_INFO*): Remove.
7686
7687 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7688
7689         [BZ #16758]
7690         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7691         blank values.
7692
7693 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7694
7695         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7696
7697 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
7698
7699         [BZ #16198]
7700         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7701         fnstenv.
7702         * math/test-fenv-preserve.c: New file.
7703         * math/Makefile (tests): Add test-fenv-preserve.
7704
7705 2014-03-26  Will Newton <will.newton@linaro.org>
7706
7707         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7708
7709 2014-03-25  Roland McGrath  <roland@hack.frob.com>
7710
7711         * scripts/versionlist.awk: Partition the version sets and emit all
7712         GLIBC_* (sorted) before all others (sorted).
7713
7714 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7715
7716         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7717         GLIBC_2.2.5 version.
7718
7719 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7720
7721         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7722         calls.
7723
7724         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7725         previous change.
7726
7727         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7728
7729 2014-03-25  Andreas Schwab  <schwab@suse.de>
7730
7731         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7732         label to be used after in6ailist is initialized.
7733
7734 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7735
7736         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7737         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7738
7739 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7740
7741         [BZ #16357]
7742         [BZ #16599]
7743         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7744         min_plus_half.
7745         (fp_formats): Update initializers.
7746         (init_fp_formats): Initialize new field.
7747         (output_for_one_input_case): Allow underflow for results up to
7748         min_plus_half.
7749         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7750         * math/auto-libm-test-in: Don't mark some underflows from asin and
7751         atanh as spurious.
7752         * math/auto-libm-test-out: Regenerated.
7753         * sysdeps/i386/fpu/libm-test-ulps: Update.
7754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7755
7756 2014-03-25  Andreas Schwab  <schwab@suse.de>
7757
7758         * libio/Makefile (tst-ftell-partial-wide-ENV)
7759         (tst-ftell-active-handler-ENV): Define.
7760
7761 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
7762
7763         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7764
7765 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7766
7767         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7768
7769 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7770
7771         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7772         * sysdeps/x86_64/fpu/multiarch/e_exp.c
7773         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7774
7775 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7776
7777         [BZ #16634]
7778         * elf/dl-load.c (open_verify): Add mode parameter.
7779         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7780         (open_path): Change from boolean 'secure' to complete flag 'mode'
7781         (_dl_map_object): Adjust.
7782         * elf/Makefile (tests): Add tst-dlopen-aout.
7783         * elf/tst-dlopen-aout.c: New test.
7784
7785 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
7786
7787         [BZ #16714]
7788         * sysdeps/unix/sysv/linux/s390/bits/stat.h
7789         (struct stat): Rename member pad0 to __glibc_reserved0.
7790
7791         [BZ #16712]
7792         * sysdeps/s390/s390-32/bits/wordsize.h
7793         (__WORDSIZE32_SIZE_ULONG): New define.
7794         * sysdeps/s390/s390-64/bits/wordsize.h
7795         (__WORDSIZE32_SIZE_ULONG): Likewise.
7796         * sysdeps/generic/stdint.h (SIZE_MAX):
7797         Define as UL if __WORDSIZE32_SIZE_ULONG.
7798
7799         [BZ #16713]
7800         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7801         (__glibc_reserved0): New variable.
7802         (sa_flags): Change type to int.
7803
7804         * posix/Makefile (before-compile): Use += before-compile instead
7805         of a :=.
7806
7807         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7808         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7809
7810 2014-03-20  Andreas Schwab  <schwab@suse.de>
7811
7812         [BZ #16743]
7813         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7814         non-matching result from nscd.
7815
7816 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7817
7818         * scripts/bench.py: Moved to ...
7819         * benchtests/scripts/bench.py: ... here.
7820         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7821
7822 2014-03-24  Andreas Schwab  <schwab@suse.de>
7823
7824         [BZ #16002]
7825         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7826         alloca_account and account alloca use for struct in6ailist.
7827
7828 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7829
7830         [BZ #16284]
7831         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7832         rounding mode to recompute results that overflow to infinity or
7833         underflow to zero.
7834         * math/auto-libm-test-in: Don't mark tests as expected to fail for
7835         bug 16284.
7836         * math/auto-libm-test-out: Regenerated.
7837         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7838         (ccosh_test): Likewise.
7839         (csin_test_data): Use plus_oflow.
7840         (csin_test): Use ALL_RM_TEST.
7841         (csinh_test_data): Use plus_oflow.
7842         (csinh_test): Use ALL_RM_TEST.
7843         * sysdeps/i386/fpu/libm-test-ulps: Update.
7844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7845
7846 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
7847
7848         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7849         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7850         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7851
7852         [BZ #16731]
7853         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7854         when x - 1 is zero.
7855         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7856         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7857         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7858         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7859         argument is 1.
7860         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7861         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7862         zero.
7863         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7864         * sysdeps/i386/fpu/libm-test-ulps: Update.
7865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7866
7867 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7868
7869         * scripts/bench.pl: Remove file.
7870         * scripts/bench.py: New benchmark script.
7871         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7872         * benchtests/README: Mention python dependency.
7873         * scripts/pylintrc: New file.
7874         * scripts/pylint: New file.
7875
7876         * bits/mathdef.h: Use #ifdef instead of #if.
7877         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7878         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7879         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7880         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7881         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7882         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7883
7884 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7885             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7886
7887         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7888         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7889         and strpbrk-ppc64 objects.
7890         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7891         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7892         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7893         multiarch strpbrk for POWER7.
7894         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7895         multiarch strpbrk for PPC64.
7896         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7897         ifunc selector.
7898         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7899         strpbrk for POWER7.
7900
7901 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7902
7903         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7904         (atan_test): Likewise.
7905         (atanh_test_data): Use NO_TEST_INLINE for two tests.
7906         (atanh_test): Use ALL_RM_TEST.
7907         (atan2_test_data): Likewise.
7908         (cabs_test): Likewise.
7909         (cacosh_test): Likewise.
7910         (carg_test): Likewise.
7911         (casin_test): Likewise.
7912         (casinh_test): Likewise.
7913         (cbrt_test): Likewise.
7914         (csqrt_test): Likewise.
7915         (erf_test): Likewise.
7916         (erfc_test): Likewise.
7917         (pow10_test): Likewise.
7918         (exp2_test): Likewise.
7919         (hypot_test): Likewise.
7920         (j0_test): Likewise.
7921         (j1_test): Likewise.
7922         (lgamma_test): Likewise.
7923         (gamma_test): Likewise.
7924         (sincos_test): Likewise.
7925         (tanh_test): Likewise.
7926         (y0_test): Likewise.
7927         (y1_test): Likewise.
7928         * sysdeps/i386/fpu/libm-test-ulps: Update.
7929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7930
7931 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7932
7933         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7934         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7935         and strcspn-ppc64 objects.
7936         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7937         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7938         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7939         multiarch strcspn for POWER7.
7940         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7941         multiarch strcspn for PPC64.
7942         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7943         ifunc selector.
7944         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7945         strcspn for POWER7.
7946
7947 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7948
7949         * math/gen-libm-test.pl (generate_testfile): Expect only function
7950         name as argument to AUTO_TESTS_* and pass results for all rounding
7951         modes to parse_args.
7952         (parse_auto_input): Separate inputs of automatic tests from
7953         outputs before storing in %auto_tests.
7954         * math/libm-test.inc (acos_test_data): Update call to
7955         AUTO_TESTS_f_f.
7956         (acos_test): Use ALL_RM_TEST.
7957         (acos_tonearest_test_data): Remove.
7958         (acos_test_tonearest): Likewise.
7959         (acos_towardzero_test_data): Likewise.
7960         (acos_test_towardzero): Likewise.
7961         (acos_downward_test_data): Likewise.
7962         (acos_test_downward): Likewise.
7963         (acos_upward_test_data): Likewise.
7964         (acos_test_upward): Likewise.
7965         (acosh_test_data): Update call to AUTO_TESTS_f_f.
7966         (asin_test_data): Likewise.
7967         (asin_test): Use ALL_RM_TEST.
7968         (asin_tonearest_test_data): Remove.
7969         (asin_test_tonearest): Likewise.
7970         (asin_towardzero_test_data): Likewise.
7971         (asin_test_towardzero): Likewise.
7972         (asin_downward_test_data): Likewise.
7973         (asin_test_downward): Likewise.
7974         (asin_upward_test_data): Likewise.
7975         (asin_test_upward): Likewise.
7976         (asinh_test_data): Update call to AUTO_TESTS_f_f.
7977         (atan_test_data): Likewise.
7978         (atanh_test_data): Likewise.
7979         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7980         (cabs_test_data): Update call to AUTO_TESTS_c_f.
7981         (carg_test_data): Likewise.
7982         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7983         (ccos_test_data): Update call to AUTO_TESTS_c_c.
7984         (ccosh_test_data): Likewise.
7985         (cexp_test_data): Likewise.
7986         (clog_test_data): Likewise.
7987         (clog10_test_data): Likewise.
7988         (cos_test_data): Update call to AUTO_TESTS_f_f.
7989         (cos_test): Use ALL_RM_TEST.
7990         (cos_tonearest_test_data): Remove.
7991         (cos_test_tonearest): Likewise.
7992         (cos_towardzero_test_data): Likewise.
7993         (cos_test_towardzero): Likewise.
7994         (cos_downward_test_data): Likewise.
7995         (cos_test_downward): Likewise.
7996         (cos_upward_test_data): Likewise.
7997         (cos_test_upward): Likewise.
7998         (cosh_test_data): Update call to AUTO_TESTS_f_f.
7999         (cosh_test): Use ALL_RM_TEST.
8000         (cosh_tonearest_test_data): Remove.
8001         (cosh_test_tonearest): Likewise.
8002         (cosh_towardzero_test_data): Likewise.
8003         (cosh_test_towardzero): Likewise.
8004         (cosh_downward_test_data): Likewise.
8005         (cosh_test_downward): Likewise.
8006         (cosh_upward_test_data): Likewise.
8007         (cosh_test_upward): Likewise.
8008         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8009         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8010         (ctan_test_data): Likewise.
8011         (ctan_test): Use ALL_RM_TEST.
8012         (ctan_tonearest_test_data): Remove.
8013         (ctan_test_tonearest): Likewise.
8014         (ctan_towardzero_test_data): Likewise.
8015         (ctan_test_towardzero): Likewise.
8016         (ctan_downward_test_data): Likewise.
8017         (ctan_test_downward): Likewise.
8018         (ctan_upward_test_data): Likewise.
8019         (ctan_test_upward): Likewise.
8020         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8021         (ctanh_test): Use ALL_RM_TEST.
8022         (ctanh_tonearest_test_data): Remove.
8023         (ctanh_test_tonearest): Likewise.
8024         (ctanh_towardzero_test_data): Likewise.
8025         (ctanh_test_towardzero): Likewise.
8026         (ctanh_downward_test_data): Likewise.
8027         (ctanh_test_downward): Likewise.
8028         (ctanh_upward_test_data): Likewise.
8029         (ctanh_test_upward): Likewise.
8030         (erf_test_data): Update call to AUTO_TESTS_f_f.
8031         (erfc_test_data): Likewise.
8032         (exp_test_data): Likewise.
8033         (exp_test): Use ALL_RM_TEST.
8034         (exp_tonearest_test_data): Remove.
8035         (exp_test_tonearest): Likewise.
8036         (exp_towardzero_test_data): Likewise.
8037         (exp_test_towardzero): Likewise.
8038         (exp_downward_test_data): Likewise.
8039         (exp_test_downward): Likewise.
8040         (exp_upward_test_data): Likewise.
8041         (exp_test_upward): Likewise.
8042         (exp10_test_data): Update call to AUTO_TESTS_f_f.
8043         (exp10_test): Use ALL_RM_TEST.
8044         (exp10_tonearest_test_data): Remove.
8045         (exp10_test_tonearest): Likewise.
8046         (exp10_towardzero_test_data): Likewise.
8047         (exp10_test_towardzero): Likewise.
8048         (exp10_downward_test_data): Likewise.
8049         (exp10_test_downward): Likewise.
8050         (exp10_upward_test_data): Likewise.
8051         (exp10_test_upward): Likewise.
8052         (exp2_test_data): Update call to AUTO_TESTS_f_f.
8053         (expm1_test_data): Likewise.
8054         (expm1_test): Use ALL_RM_TEST.
8055         (expm1_tonearest_test_data): Remove.
8056         (expm1_test_tonearest): Likewise.
8057         (expm1_towardzero_test_data): Likewise.
8058         (expm1_test_towardzero): Likewise.
8059         (expm1_downward_test_data): Likewise.
8060         (expm1_test_downward): Likewise.
8061         (expm1_upward_test_data): Likewise.
8062         (expm1_test_upward): Likewise.
8063         (fma_test_data): Update call to AUTO_TESTS_fff_f.
8064         (fma_test): Use ALL_RM_TEST.
8065         (fma_towardzero_test_data): Remove.
8066         (fma_test_towardzero): Likewise.
8067         (fma_downward_test_data): Likewise.
8068         (fma_test_downward): Likewise.
8069         (fma_upward_test_data): Likewise.
8070         (fma_test_upward): Likewise.
8071         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8072         (j0_test_data): Update call to AUTO_TESTS_f_f.
8073         (j1_test_data): Likewise.
8074         (jn_test_data): Update call to AUTO_TESTS_if_f.
8075         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8076         (log_test_data): Update call to AUTO_TESTS_f_f.
8077         (log10_test_data): Likewise.
8078         (log1p_test_data): Likewise.
8079         (log2_test_data): Likewise.
8080         (pow_test_data): Update call to AUTO_TESTS_ff_f.
8081         (pow_tonearest_test_data): Likewise.
8082         (sin_test_data): Update call to AUTO_TESTS_f_f.
8083         (sin_test): Use ALL_RM_TEST.
8084         (sin_tonearest_test_data): Remove.
8085         (sin_test_tonearest): Likewise.
8086         (sin_towardzero_test_data): Likewise.
8087         (sin_test_towardzero): Likewise.
8088         (sin_downward_test_data): Likewise.
8089         (sin_test_downward): Likewise.
8090         (sin_upward_test_data): Likewise.
8091         (sin_test_upward): Likewise.
8092         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8093         (sinh_test_data): Update call to AUTO_TESTS_f_f.
8094         (sinh_test): Use ALL_RM_TEST.
8095         (sinh_tonearest_test_data): Remove.
8096         (sinh_test_tonearest): Likewise.
8097         (sinh_towardzero_test_data): Likewise.
8098         (sinh_test_towardzero): Likewise.
8099         (sinh_downward_test_data): Likewise.
8100         (sinh_test_downward): Likewise.
8101         (sinh_upward_test_data): Likewise.
8102         (sinh_test_upward): Likewise.
8103         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8104         (sqrt_test): Use ALL_RM_TEST.
8105         (sqrt_tonearest_test_data): Remove.
8106         (sqrt_test_tonearest): Likewise.
8107         (sqrt_towardzero_test_data): Likewise.
8108         (sqrt_test_towardzero): Likewise.
8109         (sqrt_downward_test_data): Likewise.
8110         (sqrt_test_downward): Likewise.
8111         (sqrt_upward_test_data): Likewise.
8112         (sqrt_test_upward): Likewise.
8113         (tan_test_data): Update call to AUTO_TESTS_f_f.
8114         (tan_test): Use ALL_RM_TEST.
8115         (tan_tonearest_test_data): Remove.
8116         (tan_test_tonearest): Likewise.
8117         (tan_towardzero_test_data): Likewise.
8118         (tan_test_towardzero): Likewise.
8119         (tan_downward_test_data): Likewise.
8120         (tan_test_downward): Likewise.
8121         (tan_upward_test_data): Likewise.
8122         (tan_test_upward): Likewise.
8123         (tanh_test_data): Update call to AUTO_TESTS_f_f.
8124         (tgamma_test_data): Likewise.
8125         (y0_test_data): Likewise.
8126         (y1_test_data): Likewise.
8127         (yn_test_data): Update call to AUTO_TESTS_if_f.
8128         (main): Do not call removed functions.
8129
8130 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8131
8132         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8133         (ldexp_test_data): Remove.
8134         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
8135         scalbn_test_data.
8136         (scalb_test): Use ALL_RM_TEST.
8137
8138 2014-03-19  Andreas Schwab  <schwab@suse.de>
8139
8140         * nscd/nscd.service: Also invalidate netgroup cache on reload.
8141
8142 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8143
8144         [BZ #16649]
8145         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8146         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
8147         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
8148         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8149         (__ASSUME_PREADV): Undefine.
8150         (__ASSUME_PWRITEV): Likewise.
8151
8152 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8153
8154         * bits/mman-linux.h: Add comment about non-Linux use.
8155         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
8156         bits/mman-linux.h resting place.
8157
8158         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8159         * bits/mman-linux.h: ... here.
8160
8161 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8162
8163         * conform/conformtest.pl: Add standard definition when calling C
8164         preprocessor on data files.
8165         (checknamespace): Remove unused variable.
8166
8167 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8168
8169         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
8170         minus_oflow, plus_uflow and minus_uflow in expected results.
8171         * math/libm-test.inc (scalbn_test_data): Add more tests of
8172         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
8173         minus_uflow.
8174         (scalbn_test): Use ALL_RM_TEST.
8175         (scalbln_test_data): Add more tests of negative arguments.  Use
8176         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
8177         (scalbln_test): Use ALL_RM_TEST.
8178
8179 2014-03-18  Roland McGrath  <roland@hack.frob.com>
8180
8181         * scripts/abilist.awk: Ignore symbols marked with .hidden.
8182
8183 2014-03-18  Will Newton  <will.newton@linaro.org>
8184
8185         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
8186         inaccurate comment.
8187
8188 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
8189
8190         * Makerules [!subdir] (check-abi): Exit with error status if a
8191         test failed.
8192
8193 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8194
8195         * math/libm-test.inc (nearbyint_test_data): Include all tests used
8196         for rint.  Include results for all rounding modes.
8197         (nearbyint_test): Use ALL_RM_TEST.
8198         (rint_test_data): Include all tests used for nearbyint.
8199
8200 2014-03-17  Will Newton  <will.newton@linaro.org>
8201
8202         * nptl/sysdeps/pthread/pthread.h: Revert previous
8203         change.
8204
8205         * sysdeps/generic/ldsodefs.h: Revert previous
8206         change.
8207
8208         * libio/genops.c: Revert previous change.
8209         * libio/libioP.h: Likewise.
8210         * stdio-common/vfprintf.c: Likewise.
8211
8212         * sysdeps/generic/math_private.h: Revert previous
8213         change.
8214
8215         * sysdeps/generic/math_private.h: Check whether
8216         HAVE_RM_CTX is defined with #ifdef rather
8217         than #if.
8218
8219         * argp/argp-fmtstream.h: Check whether
8220         __STRICT_ANSI__ is defined with #ifdef rather
8221         than #if.
8222         * argp/argp.h: Likewise.
8223
8224         * libio/genops.c: Check whether
8225         _IO_JUMPS_OFFSET is defined with #ifdef rather
8226         than #if.
8227         * libio/libioP.h: Likewise.
8228         * stdio-common/vfprintf.c: Likewise.
8229
8230         * sysdeps/generic/ldsodefs.h: Check whether
8231         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
8232         than #if.
8233
8234         * nptl/sysdeps/pthread/pthread.h: Check
8235         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
8236         its value.
8237
8238 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8239
8240         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
8241         setting O_APPEND.
8242         * libio/tst-ftell-active-handler.c (do_append_test): Add a
8243         test case.
8244
8245         [BZ #16680]
8246         * libio/fileops.c (_IO_file_open): Seek to end of file but
8247         don't cache the offset.
8248         (get_file_offset): Remove function.
8249         (do_ftell): Use cached offset when available.
8250         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
8251         don't cache the offset.
8252         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
8253         case.
8254         (do_one_test): Call it.
8255         (do_ftell_test): Fix up expected old offset for a+ mode.
8256         * libio/wfileops.c (do_ftell_wide): Used cached offset when
8257         available.
8258
8259         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
8260         up test status with function return status.
8261         (do_write_test): Likewise.
8262         (do_append_test): Likewise.
8263
8264         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
8265         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
8266         Remove.
8267
8268 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
8269
8270         * math/gen-libm-test.pl (parse_args): Handle results specified for
8271         each rounding mode separately.
8272         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
8273         tests and results from lrint_tonearest_test_data,
8274         lrint_towardzero_test_data, lrint_downward_test_data and
8275         lrint_upward_test_data.
8276         (lrint_test): Use ALL_RM_TEST.
8277         (lrint_tonearest_test_data): Remove.
8278         (lrint_test_tonearest): Likewise.
8279         (lrint_towardzero_test_data): Likewise.
8280         (lrint_test_towardzero): Likewise.
8281         (lrint_downward_test_data): Likewise.
8282         (lrint_test_downward): Likewise.
8283         (lrint_upward_test_data): Likewise.
8284         (lrint_test_upward): Likewise.
8285         (llrint_test_data): Merge in per-rounding-mode tests and results
8286         from llrint_tonearest_test_data, llrint_towardzero_test_data,
8287         llrint_downward_test_data and llrint_upward_test_data.
8288         (llrint_test): Use ALL_RM_TEST.
8289         (llrint_tonearest_test_data): Remove.
8290         (llrint_test_tonearest): Likewise.
8291         (llrint_towardzero_test_data): Likewise.
8292         (llrint_test_towardzero): Likewise.
8293         (llrint_downward_test_data): Likewise.
8294         (llrint_test_downward): Likewise.
8295         (llrint_upward_test_data): Likewise.
8296         (llrint_test_upward): Likewise.
8297         (rint_test_data): Merge in per-rounding-mode tests and results
8298         from rint_tonearest_test_data, rint_towardzero_test_data,
8299         rint_downward_test_data and rint_upward_test_data.  Add
8300         per-rounding-mode results for tests not in those arrays.
8301         (rint_test): Use ALL_RM_TEST.
8302         (rint_tonearest_test_data): Remove.
8303         (rint_test_tonearest): Likewise.
8304         (rint_towardzero_test_data): Likewise.
8305         (rint_test_towardzero): Likewise.
8306         (rint_downward_test_data): Likewise.
8307         (rint_test_downward): Likewise.
8308         (rint_upward_test_data): Likewise.
8309         (rint_test_upward): Likewise.
8310         (main): Don't call removed functions.
8311
8312 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8313
8314         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8315         "Compiled on ..." crapola.  It is anti-useful.
8316
8317 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
8318
8319         * scripts/evaluate-test.sh: Handle fourth argument to determine
8320         whether test run should stop on failure.
8321         * Makeconfig (stop-on-test-failure): New variable.
8322         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8323         $(stop-on-test-failure).
8324         * Makefile (tests): Give a summary of results from testing and
8325         exit with failure status if they include an ERROR or FAIL.
8326         (xtests): Likewise.
8327         * manual/install.texi (Configuring and compiling): Mention
8328         stop-on-test-failure=y.
8329         * INSTALL: Regenerated.
8330
8331 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8332
8333         * scripts/versionlist.awk: New file.
8334         * Makerules [$(build-shared) = yes]
8335         (postclean-generated): Add Versions.def, not Versions.def.v and
8336         Versions.def.v.i.
8337         ($(common-objpfx)Versions.def.v.i): Target removed.
8338         ($(common-objpfx)Versions.def): New target.
8339         ($(common-objpfx)Versions.all): Depend on that rather that
8340         $(common-objpfx)Versions.def.v.
8341         * Versions.def: File removed.
8342
8343         * Makeconfig (+gccwarn): Add -Wundef.
8344         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8345         a dl-sysdep.h breaking its contract.
8346         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8347         * include/stackinfo.h: New file.
8348         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8349         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8350         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8351         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8352         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8353         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8354         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8355         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8356         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8357         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8358         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8359         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8360         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8361         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8362         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8363
8364 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8365
8366         [BZ #16707]
8367         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8368         implementation.
8369         * math/libm-test.inc (round_test_data): Add more tests.
8370
8371         [BZ #16706]
8372         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8373         implementation.
8374         * math/libm-test.inc (nearbyint_test_data): Add more tests.
8375
8376         [BZ #16701]
8377         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8378         implementation.
8379         * math/libm-test.inc (ceil_test_data): Add more tests.
8380
8381         * math/libm-test.inc (trunc_test_data): Add more tests related to
8382         BZ#16414.
8383
8384 2014-03-14  Roland McGrath  <roland@hack.frob.com>
8385
8386         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8387         with #if rather than #ifdef.
8388         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8389
8390 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
8391
8392         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8393         first.  Disable AVX-512 GCC support if assembler doesn't support
8394         it.
8395         * sysdeps/x86_64/configure: Regenerated.
8396
8397 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
8398
8399         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8400         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8401         (__old_pthread_attr_setstack): Likewise.
8402         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8403         [!_STACK_GROWS_DOWN]: Likewise.
8404
8405 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
8406
8407         * config.make.in (have-bash2): Delete.
8408         * configure.ac (libc_cv_have_bash2): Delete.
8409         * configure: Regenerate.
8410         * elf/Makefile (common-ldd-rewrite): Rename to ...
8411         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
8412         (sh-ldd-rewrite): Delete.
8413         (bash-ldd-rewrite): Delete.
8414         (have-bash2): Delete checks.
8415         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8416         ldd-rewrite.
8417
8418         * config.make.in (have-ksh): Delete.
8419         (KSH): Delete.
8420         * configure.ac (libc_cv_have_ksh): Delete.
8421         * configure: Regenerate.
8422
8423         * elf/Makefile: Delete $(have-ksh) check.
8424         ($(objpfx)sotruss): Change KSH to BASH.
8425         * elf/sotruss.ksh: Rename to ...
8426         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
8427         function style to match POSIX.  Drop ksh vim mode setting.
8428
8429         * manual/time.texi (Specifying the Time Zone with TZ): Change
8430         Tuesday to Thursday.
8431
8432         * debug/tst-longjmp_chk2.c: Update header comment.
8433         (stackoverflow_handler): Add comment.  Call assert on pass value.
8434
8435 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8436
8437         [BZ #16194]
8438         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8439         (HAVE_AVX512_ASM_SUPPORT): Likewise.
8440         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8441         (La_x86_64_vector): Add zmm.
8442         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8443         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8444         ($(objpfx)tst-audit10): New target.
8445         ($(objpfx)tst-audit10.out): Likewise.
8446         (tst-audit10-ENV): New.
8447         (AVX512-CFLAGS): Likewise.
8448         (CFLAGS-tst-audit10.c): Likewise.
8449         (CFLAGS-tst-auditmod10a.c): Likewise.
8450         (CFLAGS-tst-auditmod10b.c): Likewise.
8451         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8452         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8453         * sysdeps/x86_64/configure: Regenerated.
8454         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8455         AVX-512 zmm register support.
8456         (_dl_x86_64_save_sse): Likewise.
8457         (_dl_x86_64_restore_sse): Likewise.
8458         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8459         size vector registers.
8460         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8461         (ZMM_SIZE): Likewise.
8462         * sysdeps/x86_64/tst-audit10.c: New file.
8463         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8464         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8465
8466 2014-03-13  Roland McGrath  <roland@hack.frob.com>
8467
8468         * configure.ac (HAVE_EHDR_START): New check.
8469         * configure: Regenerated.
8470         * config.h.in (HAVE_EHDR_START): New #undef.
8471         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8472         assuming the lowest-addressed segment maps the start of the file.
8473
8474 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
8475
8476         * INSTALL: Regenerated.
8477
8478 2014-03-13  Will Newton  <will.newton@linaro.org>
8479
8480         * manual/setjmp.texi (System V contexts): Improve
8481         clarity and grammar of documentation.
8482
8483 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8484
8485         [BZ #16381]
8486         * elf/Makefile (tests): Add tst-pie2.
8487         (tests-pie): Add tst-pie2.
8488         * elf/tst-pie2.c: New file.
8489         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8490         for ET_EXEC.
8491         * elf/rtld.c (map_doit): Load executable as lt_executable.
8492         (dl_main): Likewise.
8493
8494 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
8495
8496         [BZ #16642]
8497         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8498         (__ASSUME_PSELECT): Undefine.
8499
8500 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8501
8502         [BZ #16689]
8503         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8504         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8505         static build.
8506         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8507         selector for static builds.
8508
8509 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8510
8511         [BZ #16695]
8512         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8513         key in the buffer.
8514
8515 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8516
8517         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8518         IFUNC selector for static builds.
8519
8520 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
8521
8522         * sysdeps/mips/math_private.h [__mips_hard_float]
8523         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8524         libc_feresetround_mips_ctx.
8525         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8526         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8527         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8528
8529         [BZ #16677]
8530         * math/s_nextafter.c (__nextafter): Do not return value from
8531         overflowing computation.
8532         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8533         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8534         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8535         Likewise.
8536         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8537         Likewise.
8538         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8539         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8540
8541 2014-03-11  Roland McGrath  <roland@hack.frob.com>
8542
8543         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8544         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8545         Move sfi_sp use from the load-multiple (that no longer sets sp) to
8546         the new mov targetting sp.
8547
8548 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8549
8550         [BZ #16683]
8551         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8552         Define it for static builds as well.
8553         (NO_BZERO_IMPL): Likewise.
8554
8555 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8556
8557         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8558         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8559         multiarch strspn for PPC64.
8560         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8561         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8562         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8563         (__libc_ifunc_impl_list): Likewise.
8564         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8565         multiarch optimizations
8566         * string/strspn.c (strspn): Using macro to redefine symbol name.
8567
8568 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8569             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8570
8571         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8572         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8573         multiarch strncat for PPC64.
8574         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8575         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8576         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8577         (__libc_ifunc_impl_list): Likewise.
8578         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8579         multiarch optimizations
8580
8581 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8582
8583         [BZ #16639]
8584         * nscd/nscd.service: Make service type forking.
8585
8586 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8587
8588         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8589         sign in non default rounding modes.
8590         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8591
8592 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
8593
8594         * math/libm-test.inc (ALL_RM_TEST): New macro.
8595         (ceil_test): Use ALL_RM_TEST.
8596         (cimag_test): Likewise.
8597         (conj_test): Likewise.
8598         (copysign_test): Likewise.
8599         (cproj_test): Likewise.
8600         (creal_test): Likewise.
8601         (fabs_test): Likewise.
8602         (floor_test): Likewise.
8603         (fmax_test): Likewise.
8604         (fmin_test): Likewise.
8605         (fmod_test): Likewise.
8606         (fpclassify_test): Likewise.
8607         (frexp_test): Likewise.
8608         (ilogb_test): Likewise.
8609         (isfinite_test): Likewise.
8610         (finite_test): Likewise.
8611         (isgreater_test): Likewise.
8612         (isgreaterequal_test): Likewise.
8613         (isinf_test): Likewise.
8614         (isless_test): Likewise.
8615         (islessequal_test): Likewise.
8616         (islessgreater_test): Likewise.
8617         (isnan_test): Likewise.
8618         (isnormal_test): Likewise.
8619         (issignaling_test): Likewise.
8620         (isunordered_test): Likewise.
8621         (logb_test): Likewise.
8622         (logb_downward_test_data): Remove.
8623         (logb_test_downward): Likewise.
8624         (lround_test): Use ALL_RM_TEST.
8625         (llround_test): Likewise.
8626         (modf_test): Likewise.
8627         (nexttoward_test): Likewise.
8628         (remainder_test): Likewise.
8629         (drem_test): Likewise.
8630         (remainder_tonearest_test_data): Likewise.
8631         (remainder_test_tonearest): Likewise.
8632         (drem_test_tonearest): Likewise.
8633         (remainder_towardzero_test_data): Likewise.
8634         (remainder_test_towardzero): Likewise.
8635         (drem_test_towardzero): Likewise.
8636         (remainder_downward_test_data): Likewise.
8637         (remainder_test_downward): Likewise.
8638         (drem_test_downward): Likewise.
8639         (remainder_upward_test_data): Likewise.
8640         (remainder_test_upward): Likewise.
8641         (drem_test_upward): Likewise.
8642         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
8643         (round_test): Use ALL_RM_TEST.
8644         (signbit_test): Likewise.
8645         (trunc_test): Likewise.
8646         (significand_test): Likewise.
8647         (main): Don't call removed functions.
8648
8649 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8650
8651         [BZ #16674]
8652         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8653         || __USE_XOPEN2K8].
8654         (ILL_ILLOPN): Likewise.
8655         (ILL_ILLADR): Likewise.
8656         (ILL_ILLTRP): Likewise.
8657         (ILL_PRVOPC): Likewise.
8658         (ILL_PRVREG): Likewise.
8659         (ILL_COPROC): Likewise.
8660         (ILL_BADSTK): Likewise.
8661         (FPE_INTDIV): Likewise.
8662         (FPE_INTOVF): Likewise.
8663         (FPE_FLTDIV): Likewise.
8664         (FPE_FLTOVF): Likewise.
8665         (FPE_FLTUND): Likewise.
8666         (FPE_FLTRES): Likewise.
8667         (FPE_FLTINV): Likewise.
8668         (FPE_FLTSUB): Likewise.
8669         (SEGV_MAPERR): Likewise.
8670         (SEGV_ACCERR): Likewise.
8671         (BUS_ADRALN): Likewise.
8672         (BUS_ADRERR): Likewise.
8673         (BUS_OBJERR): Likewise.
8674         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8675         (TRAP_TRACE): Likewise.
8676         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8677         __USE_XOPEN2K8].
8678         (CLD_KILLED): Likewise.
8679         (CLD_DUMPED): Likewise.
8680         (CLD_TRAPPED): Likewise.
8681         (CLD_STOPPED): Likewise.
8682         (CLD_CONTINUED): Likewise.
8683         (POLL_IN): Likewise.
8684         (POLL_OUT): Likewise.
8685         (POLL_MSG): Likewise.
8686         (POLL_ERR): Likewise.
8687         (POLL_PRI): Likewise.
8688         (POLL_HUP): Likewise.
8689         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8690         Likewise.
8691         (ILL_ILLOPN): Likewise.
8692         (ILL_ILLADR): Likewise.
8693         (ILL_ILLTRP): Likewise.
8694         (ILL_PRVOPC): Likewise.
8695         (ILL_PRVREG): Likewise.
8696         (ILL_COPROC): Likewise.
8697         (ILL_BADSTK): Likewise.
8698         (FPE_INTDIV): Likewise.
8699         (FPE_INTOVF): Likewise.
8700         (FPE_FLTDIV): Likewise.
8701         (FPE_FLTOVF): Likewise.
8702         (FPE_FLTUND): Likewise.
8703         (FPE_FLTRES): Likewise.
8704         (FPE_FLTINV): Likewise.
8705         (FPE_FLTSUB): Likewise.
8706         (SEGV_MAPERR): Likewise.
8707         (SEGV_ACCERR): Likewise.
8708         (BUS_ADRALN): Likewise.
8709         (BUS_ADRERR): Likewise.
8710         (BUS_OBJERR): Likewise.
8711         (BUS_MCEERR_AR): Likewise.
8712         (BUS_MCEERR_AO): Likewise.
8713         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8714         (TRAP_TRACE): Likewise.
8715         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8716         __USE_XOPEN2K8].
8717         (CLD_KILLED): Likewise.
8718         (CLD_DUMPED): Likewise.
8719         (CLD_TRAPPED): Likewise.
8720         (CLD_STOPPED): Likewise.
8721         (CLD_CONTINUED): Likewise.
8722         (POLL_IN): Likewise.
8723         (POLL_OUT): Likewise.
8724         (POLL_MSG): Likewise.
8725         (POLL_ERR): Likewise.
8726         (POLL_PRI): Likewise.
8727         (POLL_HUP): Likewise.
8728         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8729         (ILL_ILLOPN): Likewise.
8730         (ILL_ILLADR): Likewise.
8731         (ILL_ILLTRP): Likewise.
8732         (ILL_PRVOPC): Likewise.
8733         (ILL_PRVREG): Likewise.
8734         (ILL_COPROC): Likewise.
8735         (ILL_BADSTK): Likewise.
8736         (FPE_INTDIV): Likewise.
8737         (FPE_INTOVF): Likewise.
8738         (FPE_FLTDIV): Likewise.
8739         (FPE_FLTOVF): Likewise.
8740         (FPE_FLTUND): Likewise.
8741         (FPE_FLTRES): Likewise.
8742         (FPE_FLTINV): Likewise.
8743         (FPE_FLTSUB): Likewise.
8744         (SEGV_MAPERR): Likewise.
8745         (SEGV_ACCERR): Likewise.
8746         (BUS_ADRALN): Likewise.
8747         (BUS_ADRERR): Likewise.
8748         (BUS_OBJERR): Likewise.
8749         (BUS_MCEERR_AR): Likewise.
8750         (BUS_MCEERR_AO): Likewise.
8751         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8752         (TRAP_TRACE): Likewise.
8753         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8754         __USE_XOPEN2K8].
8755         (CLD_KILLED): Likewise.
8756         (CLD_DUMPED): Likewise.
8757         (CLD_TRAPPED): Likewise.
8758         (CLD_STOPPED): Likewise.
8759         (CLD_CONTINUED): Likewise.
8760         (POLL_IN): Likewise.
8761         (POLL_OUT): Likewise.
8762         (POLL_MSG): Likewise.
8763         (POLL_ERR): Likewise.
8764         (POLL_PRI): Likewise.
8765         (POLL_HUP): Likewise.
8766         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8767         Likewise.
8768         (ILL_ILLOPN): Likewise.
8769         (ILL_ILLADR): Likewise.
8770         (ILL_ILLTRP): Likewise.
8771         (ILL_PRVOPC): Likewise.
8772         (ILL_PRVREG): Likewise.
8773         (ILL_COPROC): Likewise.
8774         (ILL_BADSTK): Likewise.
8775         (ILL_BADIADDR): Likewise.
8776         (ILL_BREAK): Likewise.
8777         (FPE_INTDIV): Likewise.
8778         (FPE_INTOVF): Likewise.
8779         (FPE_FLTDIV): Likewise.
8780         (FPE_FLTOVF): Likewise.
8781         (FPE_FLTUND): Likewise.
8782         (FPE_FLTRES): Likewise.
8783         (FPE_FLTINV): Likewise.
8784         (FPE_FLTSUB): Likewise.
8785         (FPE_DECOVF): Likewise.
8786         (FPE_DECDIV): Likewise.
8787         (FPE_DECERR): Likewise.
8788         (FPE_INVASC): Likewise.
8789         (FPE_INVDEC): Likewise.
8790         (SEGV_MAPERR): Likewise.
8791         (SEGV_ACCERR): Likewise.
8792         (SEGV_PSTKOVF): Likewise.
8793         (BUS_ADRALN): Likewise.
8794         (BUS_ADRERR): Likewise.
8795         (BUS_OBJERR): Likewise.
8796         (BUS_MCEERR_AR): Likewise.
8797         (BUS_MCEERR_AO): Likewise.
8798         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8799         (TRAP_TRACE): Likewise.
8800         (TRAP_BRANCH): Likewise.
8801         (TRAP_HWBKPT): Likewise.
8802         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8803         __USE_XOPEN2K8].
8804         (CLD_KILLED): Likewise.
8805         (CLD_DUMPED): Likewise.
8806         (CLD_TRAPPED): Likewise.
8807         (CLD_STOPPED): Likewise.
8808         (CLD_CONTINUED): Likewise.
8809         (POLL_IN): Likewise.
8810         (POLL_OUT): Likewise.
8811         (POLL_MSG): Likewise.
8812         (POLL_ERR): Likewise.
8813         (POLL_PRI): Likewise.
8814         (POLL_HUP): Likewise.
8815         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8816         (ILL_ILLOPN): Likewise.
8817         (ILL_ILLADR): Likewise.
8818         (ILL_ILLTRP): Likewise.
8819         (ILL_PRVOPC): Likewise.
8820         (ILL_PRVREG): Likewise.
8821         (ILL_COPROC): Likewise.
8822         (ILL_BADSTK): 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         (SEGV_MAPERR): Likewise.
8832         (SEGV_ACCERR): Likewise.
8833         (BUS_ADRALN): Likewise.
8834         (BUS_ADRERR): Likewise.
8835         (BUS_OBJERR): Likewise.
8836         (BUS_MCEERR_AR): Likewise.
8837         (BUS_MCEERR_AO): Likewise.
8838         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8839         (TRAP_TRACE): Likewise.
8840         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8841         __USE_XOPEN2K8].
8842         (CLD_KILLED): Likewise.
8843         (CLD_DUMPED): Likewise.
8844         (CLD_TRAPPED): Likewise.
8845         (CLD_STOPPED): Likewise.
8846         (CLD_CONTINUED): Likewise.
8847         (POLL_IN): Likewise.
8848         (POLL_OUT): Likewise.
8849         (POLL_MSG): Likewise.
8850         (POLL_ERR): Likewise.
8851         (POLL_PRI): Likewise.
8852         (POLL_HUP): Likewise.
8853         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8854         (ILL_ILLOPN): Likewise.
8855         (ILL_ILLADR): Likewise.
8856         (ILL_ILLTRP): Likewise.
8857         (ILL_PRVOPC): Likewise.
8858         (ILL_PRVREG): Likewise.
8859         (ILL_COPROC): Likewise.
8860         (ILL_BADSTK): Likewise.
8861         (FPE_INTDIV): Likewise.
8862         (FPE_INTOVF): Likewise.
8863         (FPE_FLTDIV): Likewise.
8864         (FPE_FLTOVF): Likewise.
8865         (FPE_FLTUND): Likewise.
8866         (FPE_FLTRES): Likewise.
8867         (FPE_FLTINV): Likewise.
8868         (FPE_FLTSUB): Likewise.
8869         (SEGV_MAPERR): Likewise.
8870         (SEGV_ACCERR): Likewise.
8871         (BUS_ADRALN): Likewise.
8872         (BUS_ADRERR): Likewise.
8873         (BUS_OBJERR): Likewise.
8874         (BUS_MCEERR_AR): Likewise.
8875         (BUS_MCEERR_AO): Likewise.
8876         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8877         (TRAP_TRACE): Likewise.
8878         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8879         __USE_XOPEN2K8].
8880         (CLD_KILLED): Likewise.
8881         (CLD_DUMPED): Likewise.
8882         (CLD_TRAPPED): Likewise.
8883         (CLD_STOPPED): Likewise.
8884         (CLD_CONTINUED): Likewise.
8885         (POLL_IN): Likewise.
8886         (POLL_OUT): Likewise.
8887         (POLL_MSG): Likewise.
8888         (POLL_ERR): Likewise.
8889         (POLL_PRI): Likewise.
8890         (POLL_HUP): Likewise.
8891         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8892         (ILL_ILLOPN): Likewise.
8893         (ILL_ILLADR): Likewise.
8894         (ILL_ILLTRP): Likewise.
8895         (ILL_PRVOPC): Likewise.
8896         (ILL_PRVREG): Likewise.
8897         (ILL_COPROC): Likewise.
8898         (ILL_BADSTK): Likewise.
8899         (FPE_INTDIV): Likewise.
8900         (FPE_INTOVF): Likewise.
8901         (FPE_FLTDIV): Likewise.
8902         (FPE_FLTOVF): Likewise.
8903         (FPE_FLTUND): Likewise.
8904         (FPE_FLTRES): Likewise.
8905         (FPE_FLTINV): Likewise.
8906         (FPE_FLTSUB): Likewise.
8907         (SEGV_MAPERR): Likewise.
8908         (SEGV_ACCERR): Likewise.
8909         (BUS_ADRALN): Likewise.
8910         (BUS_ADRERR): Likewise.
8911         (BUS_OBJERR): Likewise.
8912         (BUS_MCEERR_AR): Likewise.
8913         (BUS_MCEERR_AO): Likewise.
8914         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8915         (TRAP_TRACE): Likewise.
8916         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8917         __USE_XOPEN2K8].
8918         (CLD_KILLED): Likewise.
8919         (CLD_DUMPED): Likewise.
8920         (CLD_TRAPPED): Likewise.
8921         (CLD_STOPPED): Likewise.
8922         (CLD_CONTINUED): Likewise.
8923         (POLL_IN): Likewise.
8924         (POLL_OUT): Likewise.
8925         (POLL_MSG): Likewise.
8926         (POLL_ERR): Likewise.
8927         (POLL_PRI): Likewise.
8928         (POLL_HUP): Likewise.
8929         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8930         (ILL_ILLOPN): Likewise.
8931         (ILL_ILLADR): Likewise.
8932         (ILL_ILLTRP): Likewise.
8933         (ILL_PRVOPC): Likewise.
8934         (ILL_PRVREG): Likewise.
8935         (ILL_COPROC): Likewise.
8936         (ILL_BADSTK): Likewise.
8937         (ILL_DBLFLT): Likewise.
8938         (ILL_HARDWALL): Likewise.
8939         (FPE_INTDIV): Likewise.
8940         (FPE_INTOVF): Likewise.
8941         (FPE_FLTDIV): Likewise.
8942         (FPE_FLTOVF): Likewise.
8943         (FPE_FLTUND): Likewise.
8944         (FPE_FLTRES): Likewise.
8945         (FPE_FLTINV): Likewise.
8946         (FPE_FLTSUB): Likewise.
8947         (SEGV_MAPERR): Likewise.
8948         (SEGV_ACCERR): Likewise.
8949         (BUS_ADRALN): Likewise.
8950         (BUS_ADRERR): Likewise.
8951         (BUS_OBJERR): Likewise.
8952         (BUS_MCEERR_AR): Likewise.
8953         (BUS_MCEERR_AO): Likewise.
8954         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8955         (TRAP_TRACE): Likewise.
8956         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8957         __USE_XOPEN2K8].
8958         (CLD_KILLED): Likewise.
8959         (CLD_DUMPED): Likewise.
8960         (CLD_TRAPPED): Likewise.
8961         (CLD_STOPPED): Likewise.
8962         (CLD_CONTINUED): Likewise.
8963         (POLL_IN): Likewise.
8964         (POLL_OUT): Likewise.
8965         (POLL_MSG): Likewise.
8966         (POLL_ERR): Likewise.
8967         (POLL_PRI): Likewise.
8968         (POLL_HUP): Likewise.
8969         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8970         (ILL_ILLOPN): Likewise.
8971         (ILL_ILLADR): Likewise.
8972         (ILL_ILLTRP): Likewise.
8973         (ILL_PRVOPC): Likewise.
8974         (ILL_PRVREG): Likewise.
8975         (ILL_COPROC): Likewise.
8976         (ILL_BADSTK): Likewise.
8977         (FPE_INTDIV): Likewise.
8978         (FPE_INTOVF): Likewise.
8979         (FPE_FLTDIV): Likewise.
8980         (FPE_FLTOVF): Likewise.
8981         (FPE_FLTUND): Likewise.
8982         (FPE_FLTRES): Likewise.
8983         (FPE_FLTINV): Likewise.
8984         (FPE_FLTSUB): Likewise.
8985         (SEGV_MAPERR): Likewise.
8986         (SEGV_ACCERR): Likewise.
8987         (BUS_ADRALN): Likewise.
8988         (BUS_ADRERR): Likewise.
8989         (BUS_OBJERR): Likewise.
8990         (BUS_MCEERR_AR): Likewise.
8991         (BUS_MCEERR_AO): Likewise.
8992         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8993         (TRAP_TRACE): Likewise.
8994         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8995         __USE_XOPEN2K8].
8996         (CLD_KILLED): Likewise.
8997         (CLD_DUMPED): Likewise.
8998         (CLD_TRAPPED): Likewise.
8999         (CLD_STOPPED): Likewise.
9000         (CLD_CONTINUED): Likewise.
9001         (POLL_IN): Likewise.
9002         (POLL_OUT): Likewise.
9003         (POLL_MSG): Likewise.
9004         (POLL_ERR): Likewise.
9005         (POLL_PRI): Likewise.
9006         (POLL_HUP): Likewise.
9007         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9008         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9009
9010         [BZ #16670]
9011         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9012         before #include of <time.h>.
9013         [!__USE_XOPEN2K] (__need_timespec): Likewise.
9014         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9015         (test-xfail-UNIX98/sched.h/conform): Likewise.
9016
9017 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9018
9019         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9020         error absence of trapping exception support.
9021         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9022
9023 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9024
9025         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9026         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9027         * timezone/Makefile (testdata): Move definition above include of
9028         Rules.
9029         (test-zones): New variable.
9030         (tests-special): Add zone files.
9031         (build-testdata): Use $(evaluate-test).
9032
9033         * elf/Makefile (tests-special): Rename tests to end with .out.
9034         ($(objpfx)noload-mem): Likewise.
9035         ($(objpfx)tst-leaks1-mem): Likewise.
9036         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9037         * iconv/Makefile (xtests-special): Change test-iconvconfig to
9038         $(objpfx)test-iconvconfig.out.
9039         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
9040         set -e inside subshell and redirect output to file.
9041         * iconvdata/Makefile (generated): Rename tests to end with .out.
9042         Correct type.
9043         (tests-special): Rename tests to end with .out.
9044         ($(objpfx)mtrace-tst-loading): Likewise.
9045         * intl/Makefile (generated): Likewise.
9046         (tests-special): Likewise.
9047         ($(objpfx)mtrace-tst-gettext): Likewise.
9048         * misc/Makefile (generated): Likewise.
9049         (tests-special): Likewise.
9050         ($(objpfx)tst-error1-mem): Likewise.
9051         * nptl/Makefile (tests-special): Likewise.
9052         ($(objpfx)tst-stack3-mem): Likewise.
9053         (generated): Likewise.
9054         * posix/Makefile (generated): Likewise.
9055         (tests-special): Likewise.
9056         (xtests-special): Likewise.
9057         ($(objpfx)tst-fnmatch-mem): Likewise.
9058         ($(objpfx)bug-regex2-mem): Likewise.
9059         ($(objpfx)bug-regex14-mem): Likewise.
9060         ($(objpfx)bug-regex21-mem): Likewise.
9061         ($(objpfx)bug-regex31-mem): Likewise.
9062         ($(objpfx)tst-vfork3-mem): Likewise.
9063         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9064         ($(objpfx)tst-pcre-mem): Likewise.
9065         ($(objpfx)tst-boost-mem): Likewise.
9066         ($(objpfx)bug-ga2-mem): Likewise.
9067         ($(objpfx)bug-glob2-mem): Likewise.
9068         * resolv/Makefile (generate): Likewise.
9069         (tests-special): Likewise.
9070         (xtests-special): Likewise.
9071         (generated): Likewise.
9072         ($(objpfx)mtrace-tst-leaks): Likewise.
9073         ($(objpfx)mtrace-tst-leaks2): Likewise.
9074
9075         * scripts/merge-test-results.sh: New file.
9076         * Makefile (tests-special-notdir): New variable.
9077         (tests): Run merge-test-results.sh.
9078         (xtests): Likewise.
9079         * Rules (tests-special-notdir): New variable.
9080         (xtests-special-notdir): Likewise.
9081         (tests): Run merge-test-results.sh
9082         (xtests): Likewise.
9083
9084         * Makeconfig (test-xfail-name): New variable.
9085         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9086         compute variable name for expected failures.
9087         * conform/Makefile (conformtest-headers-data): New variable.
9088         (conformtest-standards): Likewise.
9089         (conformtest-headers-ISO): Likewise.
9090         (conformtest-headers-ISO99): Likewise.
9091         (conformtest-headers-ISO11): Likewise.
9092         (conformtest-headers-POSIX): Likewise.
9093         (conformtest-headers-XPG3): Likewise.
9094         (conformtest-headers-XPG4): Likewise.
9095         (conformtest-headers-UNIX98): Likewise.
9096         (conformtest-headers-XOPEN2K): Likewise.
9097         (conformtest-headers-POSIX2008): Likewise.
9098         (conformtest-headers-XOPEN2K8): Likewise.
9099         (conformtest-header-list-base): Likewise.
9100         (conformtest-header-list-tests): Likewise.
9101         (conformtest-header-base): Likewise.
9102         (conformtest-header-tests): Likewise.
9103         (tests-special): Add $(conformtest-header-list-tests).  If
9104         [$(fast-check) && !$(cross-compiling)], add
9105         $(conformtest-header-tests) instead of
9106         $(objpfx)run-conformtest.out.
9107         (generated): Add $(conformtest-header-list-base).  If
9108         [$(fast-check) && !$(cross-compiling)], add
9109         $(conformtest-header-base).  Remove previous setting.
9110         ($(conformtest-header-list-tests)): New target.
9111         (test-xfail-run-conformtest): Remove variable.
9112         ($(objpfx)run-conformtest.out): Remove target.
9113         (test-xfail-ISO11/complex.h/conform): New variable.
9114         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9115         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9116         (test-xfail-XPG3/varargs.h/conform): Likewise.
9117         (test-xfail-XPG4/varargs.h/conform): Likewise.
9118         (test-xfail-UNIX98/varargs.h/conform): Likewise.
9119         (test-xfail-XPG4/ndbm.h/conform): Likewise.
9120         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9121         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9122         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9123         (test-xfail-XPG3/fcntl.h/conform): Likewise.
9124         (test-xfail-XPG3/ftw.h/conform): Likewise.
9125         (test-xfail-XPG3/grp.h/conform): Likewise.
9126         (test-xfail-XPG3/langinfo.h/conform): Likewise.
9127         (test-xfail-XPG3/limits.h/conform): Likewise.
9128         (test-xfail-XPG3/pwd.h/conform): Likewise.
9129         (test-xfail-XPG3/search.h/conform): Likewise.
9130         (test-xfail-XPG3/signal.h/conform): Likewise.
9131         (test-xfail-XPG3/stdio.h/conform): Likewise.
9132         (test-xfail-XPG3/stdlib.h/conform): Likewise.
9133         (test-xfail-XPG3/string.h/conform): Likewise.
9134         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9135         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9136         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
9137         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9138         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
9139         (test-xfail-XPG3/sys/types.h/conform): Likewise.
9140         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
9141         (test-xfail-XPG3/termios.h/conform): Likewise.
9142         (test-xfail-XPG3/time.h/conform): Likewise.
9143         (test-xfail-XPG3/unistd.h/conform): Likewise.
9144         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
9145         (test-xfail-XPG4/fcntl.h/conform): Likewise.
9146         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9147         (test-xfail-XPG4/netdb.h/conform): Likewise.
9148         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
9149         (test-xfail-XPG4/signal.h/conform): Likewise.
9150         (test-xfail-XPG4/stdio.h/conform): Likewise.
9151         (test-xfail-XPG4/stdlib.h/conform): Likewise.
9152         (test-xfail-XPG4/stropts.h/conform): Likewise.
9153         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
9154         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9155         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
9156         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9157         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
9158         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
9159         (test-xfail-XPG4/sys/time.h/conform): Likewise.
9160         (test-xfail-XPG4/sys/types.h/conform): Likewise.
9161         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
9162         (test-xfail-XPG4/termios.h/conform): Likewise.
9163         (test-xfail-XPG4/ucontext.h/conform): Likewise.
9164         (test-xfail-XPG4/unistd.h/conform): Likewise.
9165         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9166         (test-xfail-POSIX/sched.h/conform): Likewise.
9167         (test-xfail-POSIX/signal.h/conform): Likewise.
9168         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9169         (test-xfail-POSIX/tar.h/conform): Likewise.
9170         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
9171         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
9172         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9173         (test-xfail-UNIX98/netdb.h/conform): Likewise.
9174         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
9175         (test-xfail-UNIX98/sched.h/conform): Likewise.
9176         (test-xfail-UNIX98/signal.h/conform): Likewise.
9177         (test-xfail-UNIX98/stdio.h/conform): Likewise.
9178         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
9179         (test-xfail-UNIX98/stropts.h/conform): Likewise.
9180         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
9181         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9182         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
9183         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9184         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
9185         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9186         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
9187         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
9188         (test-xfail-UNIX98/unistd.h/conform): Likewise.
9189         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9190         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
9191         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
9192         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9193         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
9194         (test-xfail-XOPEN2K/math.h/conform): Likewise.
9195         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9196         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9197         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9198         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
9199         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
9200         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
9201         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
9202         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
9203         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
9204         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9205         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
9206         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9207         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
9208         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
9209         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
9210         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9211         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
9212         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
9213         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
9214         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
9215         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
9216         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
9217         (test-xfail-POSIX2008/signal.h/conform): Likewise.
9218         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
9219         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
9220         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
9221         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9222         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
9223         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
9224         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9225         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9226         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9227         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
9228         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
9229         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
9230         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
9231         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9232         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
9233         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
9234         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9235         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
9236         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
9237         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
9238         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9239         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9240         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
9241         (conformtest-cc-flags): Likewise.
9242         ($(conformtest-header-tests): New target.
9243         * conform/check-header-lists.sh: New file.
9244         * conform/run-conformtest.sh: Remove.
9245
9246         * conform/conformtest.pl: Allow ' and \ in values given for
9247         constants.
9248         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
9249         inclusion.
9250         [POSIX] (sys/types.h): Likewise.
9251         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
9252         inclusion.
9253         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
9254         inclusion.
9255         * conform/data/signal.h-data (SIGIO): Remove expectation.
9256         [XPG3] (SIGBUS): Do not expect.
9257         [POSIX || XPG3] (SIGPOLL): Likewise.
9258         [POSIX || XPG3] (SIGPROF): Likewise.
9259         [POSIX || XPG3] (SIGSYS): Likewise.
9260         [XPG3] (SIGTRAP): Likewise.
9261         [POSIX || XPG3] (SIGURG): Likewise.
9262         [POSIX || XPG3] (SIGVTALRM): Likewise.
9263         [POSIX || XPG3] (SIGXCPU): Likewise.
9264         [POSIX || XPG3] (SIGXFSZ): Likewise.
9265         [POSIX] (SA_SIGINFO): Expect.
9266         [XPG3] (siginfo_t): Do not expect type or contents.
9267         [POSIX] (si_pid): Do not expect element.
9268         [POSIX] (si_uid): Likewise.
9269         [POSIX] (si_addr): Likewise.
9270         [POSIX] (si_status): Likewise.
9271         [POSIX] (si_band): Likewise.
9272         [XPG4] (si_value): Likewise.
9273         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
9274         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
9275         [POSIX || XPG3] (ILL_ILLADR): Likewise.
9276         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
9277         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
9278         [POSIX || XPG3] (ILL_PRVREG): Likewise.
9279         [POSIX || XPG3] (ILL_COPROC): Likewise.
9280         [POSIX || XPG3] (ILL_BADSTK): Likewise.
9281         [POSIX || XPG3] (FPE_INTDIV): Likewise.
9282         [POSIX || XPG3] (FPE_INTOVF): Likewise.
9283         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9284         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9285         [POSIX || XPG3] (FPE_FLTUND): Likewise.
9286         [POSIX || XPG3] (FPE_FLTRES): Likewise.
9287         [POSIX || XPG3] (FPE_FLTINV): Likewise.
9288         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9289         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9290         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9291         [POSIX || XPG3] (BUS_ADRALN): Likewise.
9292         [POSIX || XPG3] (BUS_ADRERR): Likewise.
9293         [POSIX || XPG3] (BUS_OBJERR): Likewise.
9294         [POSIX || XPG3] (CLD_EXITED): Likewise.
9295         [POSIX || XPG3] (CLD_KILLED): Likewise.
9296         [POSIX || XPG3] (CLD_DUMPED): Likewise.
9297         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9298         [POSIX || XPG3] (CLD_STOPPED): Likewise.
9299         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9300         [POSIX || XPG3] (POLL_IN): Likewise.
9301         [POSIX || XPG3] (POLL_OUT): Likewise.
9302         [POSIX || XPG3] (POLL_MSG): Likewise.
9303         [POSIX || XPG3] (POLL_ERR): Likewise.
9304         [POSIX || XPG3] (POLL_PRI): Likewise.
9305         [POSIX || XPG3] (POLL_HUP): Likewise.
9306         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9307         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9308         (SIG*): Do not allow.
9309         [XPG3] (si_*): Likewise.
9310         [XPG3] (SI_*): Likewise.
9311         [XPG3 || XPG4] (sigev_*): Likewise.
9312         [XPG3 || XPG4] (SIGEV_*): Likewise.
9313         [XPG3 || XPG4] (sival_*): Likewise.
9314         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9315         [POSIX || XPG3] (BUS_*): Likewise.
9316         [POSIX || XPG3] (CLD_*): Likewise.
9317         [POSIX || XPG3] (FPE_*): Likewise.
9318         [POSIX || XPG3] (ILL_*): Likewise.
9319         [POSIX || XPG3] (POLL_*): Likewise.
9320         [POSIX || XPG3] (SEGV_*): Likewise.
9321         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9322         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9323         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9324         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9325         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9326         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9327         Specify type and value.
9328         (TVERSLEN): Likewise.
9329         (REGTYPE): Likewise.
9330         (AREGTYPE): Likewise.
9331         (LNKTYPE): Likewise.
9332         (SYMTYPE): Likewise.
9333         (CHRTYPE): Likewise.
9334         (BLKTYPE): Likewise.
9335         (DIRTYPE): Likewise.
9336         (FIFOTYPE): Likewise.
9337         (CONTTYPE): Likewise.
9338         (TSUID): Likewise.
9339         (TSGID): Likewise.
9340         (TSVTX): Likewise.
9341         (TUREAD): Likewise.
9342         (TUWRITE): Likewise.
9343         (TUEXEC): Likewise.
9344         (TGREAD): Likewise.
9345         (TGWRITE): Likewise.
9346         (TGEXEC): Likewise.
9347         (TOREAD): Likewise.
9348         (TOWRITE): Likewise.
9349         (TOEXEC): Likewise.
9350         [POSIX] (TSVTX): Expect constant.
9351
9352 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
9353
9354         * Makefile (tests): Change dependencies to ....
9355         (tests-special): ... additions to this variable.
9356         (tests): Depend on $(tests-special).
9357         * Makerules (check-abi-list): New variable.
9358         (check-abi): Depend on $(check-abi-list).
9359         [$(subdir) = elf] (tests-special): Add
9360         $(objpfx)check-abi-libc.out.
9361         [$(build-shared) = yes && subdir] (tests-special): Add
9362         $(check-abi-list).
9363         [$(build-shared) = yes && subdir] (tests): Do not depend on
9364         check-abi.
9365         * Rules (tests): Depend on $(tests-special).
9366         (xtests): Depend on $(xtests-special).
9367         * catgets/Makefile (tests): Change dependencies to ....
9368         (tests-special): ... additions to this variable.
9369         * conform/Makefile (tests): Change dependencies to ....
9370         (tests-special): ... additions to this variable.
9371         * elf/Makefile (tests): Change dependencies to ....
9372         (tests-special): ... additions to this variable.
9373         * grp/Makefile (tests): Change dependencies to ....
9374         (tests-special): ... additions to this variable.
9375         * iconv/Makefile (xtests): Change dependencies to ....
9376         (xtests-special): ... additions to this variable.
9377         * iconvdata/Makefile (tests): Change dependencies to ....
9378         (tests-special): ... additions to this variable.
9379         * intl/Makefile (tests): Change dependencies to ....
9380         (tests-special): ... additions to this variable.  Also add
9381         $(objpfx)tst-gettext.out.
9382         * io/Makefile (tests): Change dependencies to ....
9383         (tests-special): ... additions to this variable.
9384         * libio/Makefile (tests): Change dependencies to ....
9385         (tests-special): ... additions to this variable.
9386         * malloc/Makefile (tests): Change dependencies to ....
9387         (tests-special): ... additions to this variable.
9388         * misc/Makefile (tests): Change dependencies to ....
9389         (tests-special): ... additions to this variable.
9390         * nptl/Makefile (tests): Change dependencies to ....
9391         (tests-special): ... additions to this variable.
9392         * nptl_db/Makefile (tests): Change dependencies to ....
9393         (tests-special): ... additions to this variable.
9394         * posix/Makefile (tests): Change dependencies to ....
9395         (tests-special): ... additions to this variable.
9396         (xtests): Change dependencies to ....
9397         (xtests-special): ... additions to this variable.
9398         * resolv/Makefile (tests): Change dependencies to ....
9399         (tests-special): ... additions to this variable.
9400         (xtests): Change dependencies to ....
9401         (xtests-special): ... additions to this variable.
9402         * stdio-common/Makefile (tests): Change dependencies to ....
9403         (tests-special): ... additions to this variable.
9404         (do-tst-unbputc): Remove target.
9405         (do-tst-printf): Likewise.
9406         * stdlib/Makefile (tests): Change dependencies to ....
9407         (tests-special): ... additions to this variable.
9408         * string/Makefile (tests): Change dependencies to ....
9409         (tests-special): ... additions to this variable.
9410         * sysdeps/x86/Makefile (tests): Change dependencies to ....
9411         (tests-special): ... additions to this variable.
9412
9413         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9414         whole file.
9415         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9416         whole file.
9417         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9418         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9419
9420         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9421         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9422         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9423         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9424         * conform/data/libgen.h-data [XPG3]: Likewise.
9425         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9426         * conform/data/ndbm.h-data [XPG3]: Likewise.
9427         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9428         * conform/data/netdb.h-data [XPG3]: Likewise.
9429         * conform/data/netinet/in.h-data [XPG3]: Likewise.
9430         * conform/data/poll.h-data [XPG3]: Likewise.
9431         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9432         * conform/data/strings.h-data [XPG3]: Likewise.
9433         * conform/data/stropts.h-data [XPG3]: Likewise.
9434         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9435         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9436         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9437         Likewise.
9438         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9439         * conform/data/sys/time.h-data [XPG3]: Likewise.
9440         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9441         * conform/data/sys/uio.h-data [XPG3]: Likewise.
9442         * conform/data/sys/un.h-data [XPG3]: Likewise.
9443         * conform/data/syslog.h-data [XPG3]: Likewise.
9444         * conform/data/ucontext.h-data [XPG3]: Likewise.
9445         * conform/data/utmpx.h-data [XPG3]: Likewise.
9446         * conform/data/varargs.h-data [UNIX98]: Enable file.
9447
9448         * manual/Makefile (INSTALL_INFO): Remove variable setting.
9449
9450         * math/libm-test.inc (struct test_f_f_data): Move expected results
9451         into structure for each rounding mode.
9452         (struct test_ff_f_data): Likewise.
9453         (struct test_ff_f_data_nexttoward): Likewise.
9454         (struct test_fi_f_data): Likewise.
9455         (struct test_fl_f_data): Likewise.
9456         (struct test_if_f_data): Likewise.
9457         (struct test_fff_f_data): Likewise.
9458         (struct test_c_f_data): Likewise.
9459         (struct test_f_f1_data): Likewise.
9460         (struct test_fF_f1_data): Likewise.
9461         (struct test_ffI_f1_data): Likewise.
9462         (struct test_c_c_data): Likewise.
9463         (struct test_cc_c_data): Likewise.
9464         (struct test_f_i_data): Likewise.
9465         (struct test_ff_i_data): Likewise.
9466         (struct test_f_l_data): Likewise.
9467         (struct test_f_L_data): Likewise.
9468         (struct test_fFF_11_data): Likewise.
9469         (RM_): New macro.
9470         (RM_FE_DOWNWARD): Likewise.
9471         (RM_FE_TONEAREST): Likewise.
9472         (RM_FE_TOWARDZERO): Likewise.
9473         (RM_FE_UPWARD): Likewise.
9474         (RUN_TEST_LOOP_f_f): Update references to expected results.
9475         (RUN_TEST_LOOP_2_f): Likewise.
9476         (RUN_TEST_LOOP_fff_f): Likewise.
9477         (RUN_TEST_LOOP_c_f): Likewise.
9478         (RUN_TEST_LOOP_f_f1): Likewise.
9479         (RUN_TEST_LOOP_fF_f1): Likewise.
9480         (RUN_TEST_LOOP_fI_f1): Likewise.
9481         (RUN_TEST_LOOP_ffI_f1): Likewise.
9482         (RUN_TEST_LOOP_c_c): Likewise.
9483         (RUN_TEST_LOOP_cc_c): Likewise.
9484         (RUN_TEST_LOOP_f_i): Likewise.
9485         (RUN_TEST_LOOP_f_i_tg): Likewise.
9486         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9487         (RUN_TEST_LOOP_f_b): Likewise.
9488         (RUN_TEST_LOOP_f_b_tg): Likewise.
9489         (RUN_TEST_LOOP_f_l): Likewise.
9490         (RUN_TEST_LOOP_f_L): Likewise.
9491         (RUN_TEST_LOOP_fFF_11): Likewise.
9492         * math/gen-libm-test.pl (parse_args): Output four copies of
9493         expected results for each test.
9494
9495         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9496         (__ASSUME_UTIMES): Remove.
9497         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9498         (__ASSUME_UTIMES): Likewise.
9499
9500         * math/gen-auto-libm-tests.c: Update comment on output format.
9501         (output_for_one_input_case): Generate before-rounding and
9502         after-rounding information as conditions on output flags not
9503         floating-point format.
9504         * math/auto-libm-test-out: Regenerated.
9505         * math/gen-libm-test.pl (cond_value): New function.
9506         (or_cond_value): Use cond_value.
9507         (generate_testfile): Handle conditional exceptions.
9508
9509 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
9510
9511         * math/libm-test.inc (max_valid_error): New variable.
9512         (init_max_error): Take new argument specifying whether function
9513         results are exactly determined.  Set max_valid_error and bound
9514         other variables for errors based on this argument.
9515         (set_max_error): Do not record results above max_valid_error.
9516         (check_float_internal): Only accept errors of up to 0.5ulps if
9517         also at most max_valid_error.
9518         (START): Take new argument EXACT and pass it to init_max_error.
9519         (acos_test): Update call to START.
9520         (acos_test_tonearest): Likewise.
9521         (acos_test_towardzero): Likewise.
9522         (acos_test_downward): Likewise.
9523         (acos_test_upward): Likewise.
9524         (acosh_test): Likewise.
9525         (asin_test): Likewise.
9526         (asin_test_tonearest): Likewise.
9527         (asin_test_towardzero): Likewise.
9528         (asin_test_downward): Likewise.
9529         (asin_test_upward): Likewise.
9530         (asinh_test): Likewise.
9531         (atan_test): Likewise.
9532         (atanh_test): Likewise.
9533         (atan2_test): Likewise.
9534         (cabs_test): Likewise.
9535         (cacos_test): Likewise.
9536         (cacosh_test): Likewise.
9537         (carg_test): Likewise.
9538         (casin_test): Likewise.
9539         (casinh_test): Likewise.
9540         (catan_test): Likewise.
9541         (catanh_test): Likewise.
9542         (cbrt_test): Likewise.
9543         (ccos_test): Likewise.
9544         (ccosh_test): Likewise.
9545         (ceil_test): Likewise.
9546         (cexp_test): Likewise.
9547         (cimag_test): Likewise.
9548         (clog_test): Likewise.
9549         (clog10_test): Likewise.
9550         (conj_test): Likewise.
9551         (copysign_test): Likewise.
9552         (cos_test): Likewise.
9553         (cos_test_tonearest): Likewise.
9554         (cos_test_towardzero): Likewise.
9555         (cos_test_downward): Likewise.
9556         (cos_test_upward): Likewise.
9557         (cosh_test): Likewise.
9558         (cosh_test_tonearest): Likewise.
9559         (cosh_test_towardzero): Likewise.
9560         (cosh_test_downward): Likewise.
9561         (cosh_test_upward): Likewise.
9562         (cpow_test): Likewise.
9563         (cproj_test): Likewise.
9564         (creal_test): Likewise.
9565         (csin_test): Likewise.
9566         (csinh_test): Likewise.
9567         (csqrt_test): Likewise.
9568         (ctan_test): Likewise.
9569         (ctan_test_tonearest): Likewise.
9570         (ctan_test_towardzero): Likewise.
9571         (ctan_test_downward): Likewise.
9572         (ctan_test_upward): Likewise.
9573         (ctanh_test): Likewise.
9574         (ctanh_test_tonearest): Likewise.
9575         (ctanh_test_towardzero): Likewise.
9576         (ctanh_test_downward): Likewise.
9577         (ctanh_test_upward): Likewise.
9578         (erf_test): Likewise.
9579         (erfc_test): Likewise.
9580         (exp_test): Likewise.
9581         (exp_test_tonearest): Likewise.
9582         (exp_test_towardzero): Likewise.
9583         (exp_test_downward): Likewise.
9584         (exp_test_upward): Likewise.
9585         (exp10_test): Likewise.
9586         (exp10_test_tonearest): Likewise.
9587         (exp10_test_towardzero): Likewise.
9588         (exp10_test_downward): Likewise.
9589         (exp10_test_upward): Likewise.
9590         (pow10_test): Likewise.
9591         (exp2_test): Likewise.
9592         (expm1_test): Likewise.
9593         (expm1_test_tonearest): Likewise.
9594         (expm1_test_towardzero): Likewise.
9595         (expm1_test_downward): Likewise.
9596         (expm1_test_upward): Likewise.
9597         (fabs_test): Likewise.
9598         (fdim_test): Likewise.
9599         (floor_test): Likewise.
9600         (fma_test): Likewise.
9601         (fma_test_towardzero): Likewise.
9602         (fma_test_downward): Likewise.
9603         (fma_test_upward): Likewise.
9604         (fmax_test): Likewise.
9605         (fmin_test): Likewise.
9606         (fmod_test): Likewise.
9607         (fpclassify_test): Likewise.
9608         (frexp_test): Likewise.
9609         (hypot_test): Likewise.
9610         (ilogb_test): Likewise.
9611         (isfinite_test): Likewise.
9612         (finite_test): Likewise.
9613         (isgreater_test): Likewise.
9614         (isgreaterequal_test): Likewise.
9615         (isinf_test): Likewise.
9616         (isless_test): Likewise.
9617         (islessequal_test): Likewise.
9618         (islessgreater_test): Likewise.
9619         (isnan_test): Likewise.
9620         (isnormal_test): Likewise.
9621         (issignaling_test): Likewise.
9622         (isunordered_test): Likewise.
9623         (j0_test): Likewise.
9624         (j1_test): Likewise.
9625         (jn_test): Likewise.
9626         (ldexp_test): Likewise.
9627         (lgamma_test): Likewise.
9628         (gamma_test): Likewise.
9629         (lrint_test): Likewise.
9630         (lrint_test_tonearest): Likewise.
9631         (lrint_test_towardzero): Likewise.
9632         (lrint_test_downward): Likewise.
9633         (lrint_test_upward): Likewise.
9634         (llrint_test): Likewise.
9635         (llrint_test_tonearest): Likewise.
9636         (llrint_test_towardzero): Likewise.
9637         (llrint_test_downward): Likewise.
9638         (llrint_test_upward): Likewise.
9639         (log_test): Likewise.
9640         (log10_test): Likewise.
9641         (log1p_test): Likewise.
9642         (log2_test): Likewise.
9643         (logb_test): Likewise.
9644         (logb_test_downward): Likewise.
9645         (lround_test): Likewise.
9646         (llround_test): Likewise.
9647         (modf_test): Likewise.
9648         (nearbyint_test): Likewise.
9649         (nextafter_test): Likewise.
9650         (nexttoward_test): Likewise.
9651         (pow_test): Likewise.
9652         (pow_test_tonearest): Likewise.
9653         (pow_test_towardzero): Likewise.
9654         (pow_test_downward): Likewise.
9655         (pow_test_upward): Likewise.
9656         (remainder_test): Likewise.
9657         (drem_test): Likewise.
9658         (remainder_test_tonearest): Likewise.
9659         (drem_test_tonearest): Likewise.
9660         (remainder_test_towardzero): Likewise.
9661         (drem_test_towardzero): Likewise.
9662         (remainder_test_downward): Likewise.
9663         (drem_test_downward): Likewise.
9664         (remainder_test_upward): Likewise.
9665         (drem_test_upward): Likewise.
9666         (remquo_test): Likewise.
9667         (rint_test): Likewise.
9668         (rint_test_tonearest): Likewise.
9669         (rint_test_towardzero): Likewise.
9670         (rint_test_downward): Likewise.
9671         (rint_test_upward): Likewise.
9672         (round_test): Likewise.
9673         (scalb_test): Likewise.
9674         (scalbn_test): Likewise.
9675         (scalbln_test): Likewise.
9676         (signbit_test): Likewise.
9677         (sin_test): Likewise.
9678         (sin_test_tonearest): Likewise.
9679         (sin_test_towardzero): Likewise.
9680         (sin_test_downward): Likewise.
9681         (sin_test_upward): Likewise.
9682         (sincos_test): Likewise.
9683         (sinh_test): Likewise.
9684         (sinh_test_tonearest): Likewise.
9685         (sinh_test_towardzero): Likewise.
9686         (sinh_test_downward): Likewise.
9687         (sinh_test_upward): Likewise.
9688         (sqrt_test): Likewise.
9689         (sqrt_test_tonearest): Likewise.
9690         (sqrt_test_towardzero): Likewise.
9691         (sqrt_test_downward): Likewise.
9692         (sqrt_test_upward): Likewise.
9693         (tan_test): Likewise.
9694         (tan_test_tonearest): Likewise.
9695         (tan_test_towardzero): Likewise.
9696         (tan_test_downward): Likewise.
9697         (tan_test_upward): Likewise.
9698         (tanh_test): Likewise.
9699         (tgamma_test): Likewise.
9700         (trunc_test): Likewise.
9701         (y0_test): Likewise.
9702         (y1_test): Likewise.
9703         (yn_test): Likewise.
9704         (significand_test): Likewise.
9705
9706         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9707         individual tests in comment.
9708         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9709         (prev_max_error): New variable.
9710         (prev_real_max_error): Likewise.
9711         (prev_imag_max_error): Likewise.
9712         (compare_ulp_data): Don't refer to test names in comment.
9713         (find_test_ulps): Remove function.
9714         (find_function_ulps): Likewise.
9715         (find_complex_function_ulps): Likewise.
9716         (init_max_error): Take function name as argument.  Look up ulps
9717         for that function.
9718         (print_ulps): Remove function.
9719         (print_max_error): Use prev_max_error instead of calling
9720         find_function_ulps.
9721         (print_complex_max_error): Use prev_real_max_error and
9722         prev_imag_max_error instead of calling find_complex_function_ulps.
9723         (check_float_internal): Take max_ulp parameter instead of calling
9724         find_test_ulps.  Don't call print_ulps.
9725         (check_float): Update call to check_float_internal.
9726         (check_complex): Update calls to check_float_internal.
9727         (START): Pass argument to init_max_error.
9728         * math/gen-libm-test.pl (%results): Don't include "kind"
9729         information.
9730         (parse_ulps): Don't handle ulps of individual tests.
9731         (print_ulps_file): Likewise.
9732         (output_ulps): Likewise.
9733         * math/README.libm-test: Update.
9734         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9735         individual tests.
9736         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9737         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9738         * sysdeps/arm/libm-test-ulps: Likewise.
9739         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9740         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9741         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9742         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9743         * sysdeps/microblaze/libm-test-ulps: Likewise.
9744         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9745         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9746         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9747         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9748         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9749         * sysdeps/sh/libm-test-ulps: Likewise.
9750         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9751         * sysdeps/tile/libm-test-ulps: Likewise.
9752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9753
9754 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
9755
9756         * math/libm-test.inc (print_complex_max_error): Check separately
9757         whether real and imaginary errors are within allowed range and
9758         pass 0 to print_complex_function_ulps instead of value within
9759         allowed range.
9760
9761 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9762
9763         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9764         formatting.
9765         (get_handles_fopen): Likewise.
9766         (do_write_test): Likewise.
9767
9768         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9769
9770         * libio/fileops.c (do_ftell): Use cached offset when
9771         available.
9772         * libio/iofwide.c (do_ftell_wide): Likewise.
9773         * libio/iofdopen.c (_IO_new_fdopen): Don't use
9774         _IO_file_attach.
9775         * libio/wfileops.c (_IO_fwide): Don't cache offset.
9776
9777         [BZ #16532]
9778         * libio/libioP.h (get_file_offset): New function.
9779         * libio/fileops.c (get_file_offset): Likewise.
9780         (do_ftell): Likewise.
9781         (_IO_new_file_seekoff): Split out ftell logic.
9782         * libio/wfileops.c (do_ftell_wide): Likewise.
9783         (_IO_wfile_seekoff): Split out ftell logic.
9784         * libio/tst-ftell-active-handler.c: New test case.
9785         * libio/Makefile (tests): Add it.
9786
9787 2014-03-03  Roland McGrath  <roland@hack.frob.com>
9788
9789         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9790         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9791
9792 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9793
9794         [BZ #16639]
9795         * nscd/connections.c (nscd_init): Call do_exit.
9796         (start_threads): Call do_exit and notify_parent.
9797         (begin_drop_privileges): Call do_exit.
9798         (finish_drop_privileges): Likewise.
9799         * nscd/selinux.c (preserve_capabilities): Likewise.
9800         (install_real_capabilities): Likewise.
9801         (nscd_selinux_enabled): Likewise.
9802         (avc_create_thread): Likewise.
9803         (avc_alloc_lock): Likewise.
9804         (nscd_avc_init): Likewise.
9805         * nscd/nscd.c (parent_fd): New static variable.
9806         (main): Create a pipe between parent and child processes.
9807         Skip closing parent_fd.
9808         (monitor_child): New function.
9809         (do_exit): Likewise.
9810         (notify_parent): Likewise.
9811         * nscd/nscd.h (notify_parent): Likewise.
9812         (do_exit): Likewise.
9813
9814 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
9815
9816         * malloc/malloc.c (__libc_calloc): Revert last change.
9817
9818 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9819
9820         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9821
9822 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9823
9824         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9825         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9826         implementation.
9827         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9828         (__libc_ifunc_impl_list): Likewise.
9829         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9830         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9831         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9832         * string/strrchr.c: Define STRRCHR.
9833
9834 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
9835
9836         * benchtest/bench-strtok.c (simple_strtok): Delete.
9837         (strtok_string): Use as benchmark.
9838         * string/strtok (STRTOK): New macro.
9839
9840 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
9841
9842         * manual/threads.texi: Add header and standard comments to all
9843         functions.
9844
9845         * elf/dl-lookup.c (check_match): New function.
9846         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9847         (do_lookup_x): Remove nested function check_match. Use non-nested
9848         function check_match.
9849
9850 2014-02-28  Roland McGrath  <roland@hack.frob.com>
9851
9852         * csu/Makefile (generated, before-compile): Use += rather than =.
9853         * catgets/Makefile (generated, generated-dirs): Likewise.
9854         * debug/Makefile (generated): Likewise.
9855         * dlfcn/Makefile (generated): Likewise.
9856         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9857         * iconvdata/Makefile (before-compile, generated): Likewise.
9858         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9859         * libio/Makefile (generated): Likewise.
9860         * malloc/Makefile (generated): Likewise.
9861         * manual/Makefile (generated, generated-dirs): Likewise.
9862         * misc/Makefile (generated): Likewise.
9863         * posix/Makefile (generated): Likewise.
9864         * resolv/Makefile (generated): Likewise.
9865         * sunrpc/Makefile (generated, generated-dirs): Likewise.
9866         * timezone/Makefile (generated, generated-dirs): Likewise.
9867
9868         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9869
9870 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9871
9872         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9873         power8 implementation.
9874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9875         file: POWER8 llround ifunc implementation.
9876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9877         (__lllround): Add POWER8 implementation.
9878         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9879         POWER8 llround implementation.
9880
9881         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9882         power8 implementation.
9883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9884         file: POWER8 llrint ifunc implementation.
9885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9886         Add POWER8 implementation.
9887         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9888         POWER8 llrint implementation.
9889
9890         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9891         power8 implementation.
9892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9893         file: POWER8 finite ifunc implementation.
9894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9895         Add POWER8 implementation.
9896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9897         Likewise.
9898         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9899         POWER8 finite implementation.
9900         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9901
9902         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9903         power8 implementation.
9904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9905         file: POWER8 isinf ifunc implementation.
9906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9907         POWER8 implementation.
9908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9909         Likewise.
9910         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9911         isinf implementation.
9912         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9913
9914         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9915         (INIT_ARCH): Add hwcap2 initialization.
9916         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9917         power8 implementation.
9918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9919         file: POWER8 isnan ifunc implementation.
9920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9921         POWER8 implementation.
9922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9923         Likewise.
9924         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9925         isnan implementation.
9926         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9927
9928 2014-02-27  Joey Ye  <joey.ye@arm.com>
9929
9930         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9931         (_FP_NANFRAC_Q): Set to zero.
9932
9933 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9934
9935         [BZ #16623]
9936         * math/auto-libm-test-in: New test inputs.
9937         * math/auto-libm-test-out: Regenerate.
9938         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9939         and DA.
9940         (__cos): Likewise.
9941         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9942
9943 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
9944
9945         * scripts/evaluate-test.sh: Take new argument indicating whether
9946         failure is expected.
9947         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9948         indicating whether failure is expected.
9949         * conform/Makefile (test-xfail-run-conformtest): New variable.
9950         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9951         level.
9952         * posix/Makefile (test-xfail-annexc): New variable.
9953         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9954
9955 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
9956
9957         * argp/Makefile: Include Makeconfig immediately after defining
9958         subdir.
9959         * assert/Makefile: Likewise.
9960         * benchtests/Makefile: Likewise.
9961         * catgets/Makefile: Likewise.
9962         * conform/Makefile: Likewise.
9963         * crypt/Makefile: Likewise.
9964         * csu/Makefile: Likewise.
9965         (all): Remove target.
9966         * ctype/Makefile: Include Makeconfig immediately after defining
9967         subdir.
9968         * debug/Makefile: Likewise.
9969         * dirent/Makefile: Likewise.
9970         * dlfcn/Makefile: Likewise.
9971         * gmon/Makefile: Likewise.
9972         * gnulib/Makefile: Likewise.
9973         * grp/Makefile: Likewise.
9974         * gshadow/Makefile: Likewise.
9975         * hesiod/Makefile: Likewise.
9976         * hurd/Makefile: Likewise.
9977         (all): Remove target.
9978         * iconvdata/Makefile: Include Makeconfig immediately after
9979         defining subdir.
9980         * inet/Makefile: Likewise.
9981         * intl/Makefile: Likewise.
9982         * io/Makefile: Likewise.
9983         * libio/Makefile: Likewise.
9984         (all): Remove target.
9985         * locale/Makefile: Include Makeconfig immediately after defining
9986         subdir.
9987         * login/Makefile: Likewise.
9988         * mach/Makefile: Likewise.
9989         (all): Remove target.
9990         * malloc/Makefile: Include Makeconfig immediately after defining
9991         subdir.
9992         (all): Remove target.
9993         * manual/Makefile: Include Makeconfig immediately after defining
9994         subdir.
9995         * math/Makefile: Likewise.
9996         * misc/Makefile: Likewise.
9997         * nis/Makefile: Likewise.
9998         * nss/Makefile: Likewise.
9999         * po/Makefile: Likewise.
10000         (all): Remove target.
10001         * posix/Makefile: Include Makeconfig immediately after defining
10002         subdir.
10003         * pwd/Makefile: Likewise.
10004         * resolv/Makefile: Likewise.
10005         * resource/Makefile: Likewise.
10006         * rt/Makefile: Likewise.
10007         * setjmp/Makefile: Likewise.
10008         * shadow/Makefile: Likewise.
10009         * signal/Makefile: Likewise.
10010         * socket/Makefile: Likewise.
10011         * soft-fp/Makefile: Likewise.
10012         * stdio-common/Makefile: Likewise.
10013         * stdlib/Makefile: Likewise.
10014         * streams/Makefile: Likewise.
10015         * string/Makefile: Likewise.
10016         * sunrpc/Makefile: Likewise.
10017         (all): Remove target.
10018         * sysvipc/Makefile: Include Makeconfig immediately after defining
10019         subdir.
10020         * termios/Makefile: Likewise.
10021         * time/Makefile: Likewise.
10022         * timezone/Makefile: Likewise.
10023         (all): Remove target.
10024         * wcsmbs/Makefile: Include Makeconfig immediately after defining
10025         subdir.
10026         * wctype/Makefile: Likewise.
10027
10028 2014-02-26  Steve Ellcey  <sellcey@mips.com>
10029
10030         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10031         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10032         (libc_feholdexcept_setround_mips): Ditto.
10033         (libc_feholdsetround): New.
10034         (libc_feholdsetroundf): New.
10035         (libc_feholdsetroundl): New.
10036         (libc_feupdateenv_test_mips): New.
10037         (libc_feupdateenv_test): New.
10038         (libc_feupdateenv_testf): New.
10039         (libc_feupdateenv_testl): New.
10040         (libc_feresetround): New.
10041         (libc_feresetroundf): New.
10042         (libc_feresetroundl): New.
10043         (libc_fetestexcept_mips): New.
10044         (libc_fetestexcept): New.
10045         (libc_fetestexceptf): New.
10046         (libc_fetestexceptl): New.
10047         (HAVE_RM_CTX): New.
10048         (libc_feholdexcept_setround_mips_ctx): New.
10049         (libc_feholdexcept_setround_ctx): New.
10050         (libc_feholdexcept_setroundf_ctx): New.
10051         (libc_feholdexcept_setroundl_ctx): New.
10052         (libc_fesetenv_mips_ctx): New.
10053         (libc_fesetenv_ctx): New.
10054         (libc_fesetenv_ctxf): New.
10055         (libc_fesetenv_ctxl): New.
10056         (libc_feupdateenv_mips_ctx): New.
10057         (libc_feupdateenv_ctx): New.
10058         (libc_feupdateenvf_ctx): New.
10059         (libc_feupdateenvl_ctx): New.
10060         (libc_feholdsetround_mips_ctx): New.
10061         (libc_feholdsetround_ctx): New.
10062         (libc_feholdsetroundf_ctx): New.
10063         (libc_feholdsetroundl_ctx): New.
10064         (libc_feresetround_mips_ctx): New.
10065         (libc_feresetround_ctx): New.
10066         (libc_feresetroundf_ctx): New.
10067         (libc_feresetroundl_ctx): New.
10068
10069 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
10070
10071         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10072
10073         * manual/ipc.texi: New file.
10074         * manual/Makefile (chapters): Add ipc.
10075         * manual/job.texi: Add "Inter-Process Communication" to next.
10076         * manual/process.texi: Add "Inter-Process Communication" to prev.
10077
10078 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10079
10080         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10081
10082 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
10083
10084         * malloc/malloc.c (__libc_calloc): Simplify implementation.
10085
10086         * manual/arith.texi: Fix spaces after sentences.
10087         * manual/charset.texi: Likewise.
10088         * manual/errno.texi: Likewise.
10089         * manual/install.texi: Likewise.
10090         * manual/llio.texi: Likewise.
10091         * manual/locale.texi: Likewise.
10092         * manual/maint.texi: Likewise.
10093         * manual/math.texi: Likewise.
10094         * manual/memory.texi: Likewise.
10095         * manual/message.texi: Likewise.
10096         * manual/probes.texi: Likewise.
10097         * manual/resource.texi: Likewise.
10098         * manual/signal.texi: Likewise.
10099         * manual/socket.texi: Likewise.
10100         * manual/stdio.texi: Likewise.
10101         * manual/string.texi: Likewise.
10102         * manual/time.texi: Likewise.
10103         * manual/users.texi: Likewise.
10104
10105 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
10106
10107         [BZ #16632]
10108         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10109         _DEFAULT_SOURCE is defined.
10110
10111 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
10112             Carlos O'Donell  <carlos@redhat.com>
10113
10114         [BZ #16613]
10115         * elf/dl-tls.c (_dl_count_modids): New function.
10116         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10117         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10118         audit library and increment generation counter.
10119         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10120         * elf/tst-audit9.c: New file.
10121         * elf/tst-auditmod9a.c: New file.
10122         * elf/tst-auditmod9b.c: New file.
10123         * elf/Makefile: Add rules to build and run tst-audit9.
10124
10125 2014-02-25  Florian Weimer  <fweimer@redhat.com>
10126
10127         [BZ #15347]
10128         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10129
10130 2014-02-25  Will Newton  <will.newton@linaro.org>
10131
10132         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10133         (__longjmp): Restore sp and lr before restoring callee
10134         saved registers.  Add longjmp and longjmp_target
10135         SystemTap probe point.
10136         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
10137         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
10138         Define to zero to match jmpbuf layout.
10139         * sysdeps/arm/setjmp.S: Include stap-probe.h.
10140         (__sigsetjmp): Save sp and lr before saving callee
10141         saved registers.  Add setjmp SystemTap probe point.
10142
10143 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10144
10145         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10146
10147 2014-02-24  Andreas Schwab  <schwab@suse.de>
10148
10149         [BZ #15804]
10150         * elf/pldd.c (wait_for_ptrace_stop): New function.
10151         (main): Call it after attaching.
10152
10153 2014-02-22  Roland McGrath  <roland@hack.frob.com>
10154
10155         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
10156         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
10157         Versions files is now verboten.
10158         * hurd/Versions (libc: GLIBC_2.0):
10159         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
10160         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
10161         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
10162         * mach/Versions: Likewise.
10163
10164         * csu/Versions: Remove unused %include.
10165         * resolv/Versions: Likewise.
10166
10167 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
10168
10169         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
10170         ($(objpfx)check-local-headers.out): Likewise.
10171         ($(objpfx)begin-end-check.out): Likewise.
10172         * Makerules (check-abi-%.out): Likewise.
10173         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
10174         ($(objpfx)test2.cat): Likewise.
10175         ($(objpfx)de/libc.cat): Likewise.
10176         ($(objpfx)test-gencat.out): Likewise.
10177         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
10178         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
10179         ($(objpfx)noload-mem): Likewise.
10180         ($(objpfx)tst-pathopt.out): Likewise.
10181         ($(objpfx)tst-rtld-load-self.out): Likewise.
10182         ($(objpfx)tst-array1-cmp.out): Likewise.
10183         ($(objpfx)tst-array1-static-cmp.out): Likewise.
10184         ($(objpfx)tst-array2-cmp.out): Likewise.
10185         ($(objpfx)tst-array3-cmp.out): Likewise.
10186         ($(objpfx)tst-array4-cmp.out): Likewise.
10187         ($(objpfx)tst-array5-cmp.out): Likewise.
10188         ($(objpfx)tst-array5-static-cmp.out): Likewise.
10189         ($(objpfx)check-textrel.out): Likewise.
10190         ($(objpfx)check-execstack.out): Likewise.
10191         ($(objpfx)check-localplt.out): Likewise.
10192         ($(objpfx)order2-cmp.out): Likewise.
10193         ($(objpfx)tst-leaks1-mem): Likewise.
10194         ($(objpfx)tst-leaks1-static-mem): Likewise.
10195         ($(objpfx)tst-initorder-cmp.out): Likewise.
10196         ($(objpfx)tst-initorder2-cmp.out): Likewise.
10197         ($(objpfx)tst-unused-dep.out): Likewise.
10198         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
10199         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
10200         * iconv/Makefile (test-iconvconfig): Likewise.
10201         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
10202         ($(objpfx)iconv-test.out): Likewise.
10203         ($(objpfx)tst-tables.out): Likewise.
10204         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
10205         ($(objpfx)tst-gettext.out): Likewise.
10206         ($(objpfx)tst-translit.out): Likewise.
10207         ($(objpfx)tst-gettext2.out): Likewise.
10208         ($(objpfx)tst-gettext4.out): Likewise.
10209         ($(objpfx)tst-gettext6.out): Likewise.
10210         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
10211         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
10212         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
10213         ($(objpfx)tst-fopenloc-mem.out): Likewise.
10214         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
10215         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
10216         * posix/Makefile ($(objpfx)globtest.out): Likewise.
10217         ($(objpfx)wordexp-tst.out): Likewise.
10218         ($(objpfx)annexc.out): Likewise.
10219         ($(objpfx)tst-fnmatch-mem): Likewise.
10220         ($(objpfx)bug-regex2-mem): Likewise.
10221         ($(objpfx)bug-regex14-mem): Likewise.
10222         ($(objpfx)bug-regex21-mem): Likewise.
10223         ($(objpfx)bug-regex31-mem): Likewise.
10224         ($(objpfx)tst-vfork3-mem): Likewise.
10225         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10226         ($(objpfx)tst-pcre-mem): Likewise.
10227         ($(objpfx)tst-boost-mem): Likewise.
10228         ($(objpfx)tst-getconf.out): Likewise.
10229         ($(objpfx)bug-ga2-mem): Likewise.
10230         ($(objpfx)bug-glob2-mem): Likewise.
10231         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
10232         ($(objpfx)mtrace-tst-leaks2): Likewise.
10233         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
10234         ($(objpfx)tst-printf.out): Likewise.
10235         ($(objpfx)tst-setvbuf1.out): Likewise.
10236         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
10237         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
10238         ($(objpfx)tst-fmtmsg.out): Likewise.
10239         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
10240         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
10241
10242         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
10243         * bits/sigaction.h [__USE_MISC]: Likewise.
10244         * bits/waitstatus.h: Update #endif comments.
10245         * ctype/ctype.h: Likewise.
10246         * dirent/dirent.h: Likewise.
10247         [__USE_MISC]: Remove redundant conditionals.
10248         * grp/grp.h: Update #endif comments.
10249         [__USE_GNU]: Remove redundant conditionals.
10250         [__USE_MISC]: Likewise.
10251         * inet/netinet/in.h [__USE_GNU]: Likewise.
10252         * io/sys/stat.h [__USE_MISC]: Likewise.
10253         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
10254         * libio/bits/stdio.h: Update #endif comments.
10255         [__USE_MISC]: Remove redundant conditionals.
10256         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
10257         * libio/stdio.h: Update #endif comments.
10258         [__USE_MISC]: Remove redundant conditionals.
10259         * math/bits/math-finite.h [__USE_MISC]: Likewise.
10260         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
10261         * math/math.h: Update #else and #endif comments.
10262         [__USE_MISC]: Remove redundant conditionals.
10263         * misc/sys/uio.h: Update #endif comments.
10264         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
10265         * posix/glob.h [__USE_MISC]: Likewise.
10266         * posix/sys/types.h: Update #endif comments.
10267         [__USE_MISC]: Remove redundant conditionals.
10268         * posix/sys/wait.h: Update #endif comments.
10269         [__USE_MISC]: Remove redundant conditionals.
10270         * posix/unistd.h: Update #endif comments.
10271         [__USE_MISC]: Remove redundant conditionals.
10272         * pwd/pwd.h [__USE_GNU]: Likewise.
10273         [__USE_MISC]: Likewise.
10274         * resolv/netdb.h [__USE_GNU]: Likewise.
10275         * signal/signal.h: Update #endif comments.
10276         [__USE_MISC]: Remove redundant conditionals.
10277         * stdlib/stdlib.h: Update #else and #endif comments.
10278         [__USE_MISC]: Remove redundant conditionals.
10279         [__USE_GNU]: Likewise.
10280         * string/bits/string2.h [__USE_MISC]: Likewise.
10281         * string/string.h: Update #endif comments.
10282         [__USE_MISC]: Remove redundant conditionals.
10283         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10284         Likewise.
10285         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10286         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10287         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10288         Likewise.
10289         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10290         Likewise.
10291         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10292         comments.
10293         [__USE_MISC]: Remove redundant conditionals.
10294         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10295         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10296         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10297         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10298         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10299         Likewise.
10300         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10301         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10302         Likewise.
10303         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10304         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10305         Likewise.
10306         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10307         Likewise.
10308         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10309         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10310         Likewise.
10311         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10312         Likewise.
10313         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10314         * sysdeps/x86/bits/string.h: Update #endif comments.
10315         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10316         conditionals.
10317         * time/sys/time.h: Update #endif comments.
10318         * time/time.h: Likewise.
10319         [__USE_MISC]: Remove redundant conditionals.
10320
10321 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
10322
10323         [BZ #16600]
10324         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10325
10326 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
10327
10328         * Versions.def (librt): Add GLIBC_2.17.
10329
10330 2014-02-21  Adam Conrad  <adconrad@0c3.net>
10331
10332         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10333         synonym for _SYS_AUXV_H to allow direct inclusion.
10334         * sysdeps/sparc/bits/hwcap.h: Likewise.
10335         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10336         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10337         * sysdeps/sparc/sysdep.h: Likewise.
10338
10339 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10340
10341         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10342
10343 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10344
10345         * benchtests/bench-strrchr.c: Print length instead of position.
10346
10347 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
10348
10349         [BZ #16611]
10350         * sysdeps/unix/sysv/linux/kernel-features.h
10351         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10352         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10353         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10354         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10355         Likewise.
10356         [__i386__ || __powerpc__ || __sh__ || __sparc__]
10357         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10358         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10359         (__ASSUME_SENDMMSG): Define instead of using previous
10360         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10361         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10362         (__ASSUME_SENDMMSG_SYSCALL): Define.
10363         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10364         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10365         Likewise.
10366         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10367         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10368         Likewise.
10369         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10370         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10371         Likewise.
10372         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10373         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10374         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10375         [__ASSUME_SENDMMSG]: Change conditionals to
10376         [__ASSUME_SENDMMSG_SOCKETCALL].
10377         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10378         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10379         Define.
10380         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10381         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10382         Likewise.
10383         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10384         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10385         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10386         [!__ASSUME_SENDMMSG]: Change conditional to
10387         [!__ASSUME_SENDMMSG_SOCKETCALL].
10388         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10389         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10390         Define.
10391
10392         [BZ #16610]
10393         * sysdeps/unix/sysv/linux/kernel-features.h
10394         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10395         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10396         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10397         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10398         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10399         [__i386__ || __sparc__]
10400         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10401         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10402         (__ASSUME_RECVMMSG): Define instead of using previous
10403         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10404         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10405         (__ASSUME_RECVMMSG_SYSCALL): Define.
10406         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10407         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10408         Likewise.
10409         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10410         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10411         Likewise.
10412         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10413         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10414         Likewise.
10415         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10416         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10417         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10418         [__ASSUME_RECVMMSG]: Change condition to
10419         [__ASSUME_RECVMMSG_SOCKETCALL].
10420         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10421         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10422         Define.
10423         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10424         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10425         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10426         Likewise.
10427         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10428         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10429         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10430         [!__ASSUME_RECVMMSG]: Change condition to
10431         [!__ASSUME_RECVMMSG_SOCKETCALL].
10432         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10433         (__ASSUME_RECVMMSG_SYSCALL): Define.
10434
10435         [BZ #16609]
10436         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10437         __powerpc__ || __s390__ || __sh__ || __sparc__]
10438         (__ASSUME_SOCKETCALL): Define.
10439         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10440         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10441         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10442         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10443         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10444         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10445         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10446         (__ASSUME_ACCEPT4): Define instead of using previous
10447         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10448         __powerpc__ || __sparc__ || __s390__)] condition.
10449         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10450         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10451         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10452         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10453         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10454         [!__ASSUME_ACCEPT4]: Change condition to
10455         [!__ASSUME_ACCEPT4_SOCKETCALL].
10456         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10457         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
10458         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10459         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10460         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10461         __ASSUME_ACCEPT4_SYSCALL.
10462         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10463         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10464         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10465         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10466         __ASSUME_ACCEPT4_SYSCALL.
10467         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10468         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10469         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10470         [__ASSUME_ACCEPT4]: Change condition to
10471         [__ASSUME_ACCEPT4_SOCKETCALL].
10472         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10473         (__ASSUME_SOCKETCALL): Define.
10474         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10475         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10476         (__ASSUME_SOCKETCALL): Define.
10477         (__ASSUME_ACCEPT4): Remove.
10478         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10479         Define.
10480         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10481         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10482         Likewise.
10483         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10484         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10485
10486         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10487         macro.
10488         (HWCAP_ARM_LPAE): Likewise.
10489         (HWCAP_ARM_EVTSTRM): Likewise.
10490         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10491         Add vpfd32, lpae and evtstrm.
10492         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10493         Increase to 22.
10494
10495 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
10496
10497         * math/auto-libm-test-in: Add tests of clog10.
10498         * math/auto-libm-test-out: Regenerated.
10499         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10500         * sysdeps/i386/fpu/libm-test-ulps: Update.
10501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10502
10503 2014-02-18  Andreas Schwab  <schwab@suse.de>
10504
10505         [BZ #16574]
10506         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10507         Store non-zero if the second buffer was newly allocated.
10508         (send_dg): Likewise.
10509         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10510         to send_vc and send_dg.
10511         (res_nsend): Pass NULL for ansp2_malloced.
10512         * resolv/res_query.c (__libc_res_nquery): Add parameter
10513         answerp2_malloced and pass it down to __libc_res_nsend.
10514         (res_nquery): Pass additional NULL to __libc_res_nquery.
10515         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10516         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
10517         second answer buffer if answerp2_malloced was set.
10518         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10519         (__libc_res_nquerydomain): Add parameter
10520         answerp2_malloced and pass it down to __libc_res_nquery.
10521         (res_nquerydomain): Pass additional NULL to
10522         __libc_res_nquerydomain.
10523         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10524         additional NULL to __libc_res_nsend and __libc_res_nquery.
10525         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10526         additional NULL to __libc_res_nsearch.
10527         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
10528         parameter of __libc_res_nsearch to check for separately allocated
10529         second buffer.
10530         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10531         __libc_res_nquery.
10532         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10533         additional NULL to __libc_res_nquery.
10534         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10535         __libc_res_nsearch.
10536         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10537         * include/resolv.h: Update prototypes of __libc_res_nquery,
10538         __libc_res_nsearch, __libc_res_nsend.
10539
10540 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
10541
10542         * math/auto-libm-test-in: Add tests of fma.
10543         * math/auto-libm-test-out: Regenerated.
10544         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10545         (fma_towardzero_test_data): Likewise.
10546         (fma_downward_test_data): Likewise.
10547         (fma_upward_test_data): Likewise.
10548         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10549         mpc_mode.
10550         (rounding_modes): Add values for new field.
10551         (func_calc_method): Add value mpfr_fff_f.
10552         (func_calc_desc): Add mpfr_fff_f union field.
10553         (test_function): Add field exact_args.
10554         (FUNC): Add macro argument EXACT_ARGS.
10555         (FUNC_mpfr_f_f): Update call to FUNC.
10556         (FUNC_mpfr_f_f): Likewise.
10557         (FUNC_mpfr_ff_f): Likewise.
10558         (FUNC_mpfr_if_f): Likewise.
10559         (FUNC_mpc_c_f): Likewise.
10560         (FUNC_mpc_c_c): Likewise.
10561         (test_functions): Add fma.  Update calls to FUNC.
10562         (handle_input_arg): Add argument exact_args.
10563         (add_test): Update call to handle_input_arg.
10564         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
10565         (output_for_one_input_case): Update call to calc_generic_results.
10566         Recalculate exact zero results in each rounding mode.
10567
10568         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10569         non-negative before setting low bit.
10570         * math/auto-libm-test-in: Mark one asin test possibly having
10571         spurious underflow.
10572         * math/auto-libm-test-out: Regenerated.
10573         * sysdeps/i386/fpu/libm-test-ulps: Update.
10574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10575
10576 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
10577
10578         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10579         * sysdeps/unix/sysv/linux/microblaze: Move directory from
10580         ports/sysdeps/unix/sysv/linux/microblaze.
10581         * README: Add missing listing for microblaze*-*-linux-gnu.
10582
10583 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
10584
10585         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10586         duplicate code
10587
10588 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
10589
10590         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10591         * sysdeps/unix/sysv/linux/ia64: Move directory from
10592         ports/sysdeps/unix/sysv/linux/ia64.
10593         * README: Update listing for ia64-*-linux-gnu.
10594
10595 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
10596             Joseph Myers  <joseph@codesourcery.com>
10597
10598         * Makeconfig (test-name): New variable.
10599         (evaluate-test): Likewise.
10600         * Makerules (do-test-clean): Remove .test-result files.
10601         (common-mostlyclean): Likewise.
10602         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10603         * scripts/evaluate-test.sh: New file.
10604
10605 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
10606
10607         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10608         separate $(objpfx)tst-fopenloc-cmp.out and
10609         $(objpfx)tst-fopenloc-mem.out targets.
10610         (tests): Update dependencies.
10611         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10612         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10613         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10614         (tst-rxspencer-no-utf8-ARGS): New variable.
10615         (tst-rxspencer-no-utf8-ENV): Likewise.
10616         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10617         instead of $(objpfx)tst-rxspencer-mem.
10618         ($(objpfx)tst-rxspencer-mem): Change target to
10619         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
10620         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10621         * posix/tst-rxspencer-no-utf8.c: New file.
10622
10623         * elf/Makefile ($(objpfx)order.out): Remove rule.
10624         [$(run-built-tests) = yes] (tests): Depend on
10625         $(objpfx)order-cmp.out.
10626         ($(objpfx)order-cmp.out): New rule.
10627         [$(run-built-tests) = yes] (tests): Depend on
10628         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10629         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10630         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10631         $(objpfx)tst-array5-static-cmp.out.
10632         ($(objpfx)tst-array1.out): Remove rule.
10633         ($(objpfx)tst-array1-cmp.out): New rule.
10634         ($(objpfx)tst-array1-static.out): Remove rule.
10635         ($(objpfx)tst-array1-static-cmp.out): New rule.
10636         ($(objpfx)tst-array2.out): Remove rule.
10637         ($(objpfx)tst-array2-cmp.out): New rule.
10638         ($(objpfx)tst-array3.out): Remove rule.
10639         ($(objpfx)tst-array3-cmp.out): New rule.
10640         ($(objpfx)tst-array4.out): Remove rule.
10641         ($(objpfx)tst-array4-cmp.out): New rule.
10642         ($(objpfx)tst-array5.out): Remove rule.
10643         ($(objpfx)tst-array5-cmp.out): New rule.
10644         ($(objpfx)tst-array5-static.out): Remove rule.
10645         ($(objpfx)tst-array5-static-cmp.out): New rule.
10646         [$(run-built-tests) = yes] (tests): Depend on
10647         $(objpfx)order2-cmp.out.
10648         ($(objpfx)order2.out): Remove rule.
10649         ($(objpfx)order2-cmp.out): New rule.
10650         ($(objpfx)tst-initorder.out): Remove rule.
10651         [$(run-built-tests) = yes] (tests): Depend on
10652         $(objpfx)tst-initorder-cmp.out.
10653         ($(objpfx)tst-initorder-cmp.out): New rule.
10654         ($(objpfx)tst-initorder2.out): Remove rule.
10655         [$(run-built-tests) = yes] (tests): Depend on
10656         $(objpfx)tst-initorder2-cmp.out.
10657         ($(objpfx)tst-initorder2-cmp.out): New rule.
10658         [$(run-built-tests) = yes] (tests): Depend on
10659         $(objpfx)tst-unused-dep-cmp.out.
10660         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10661         ($(objpfx)tst-unused-dep-cmp.out): New rule.
10662         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10663         on $(objpfx)tst-setvbuf1-cmp.out.
10664         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10665         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10666         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10667         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10668         ($(objpfx)tst-svc.out): Remove rule.
10669         ($(objpfx)tst-svc-cmp.out): New rule.
10670
10671 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
10672
10673         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10674         * ctype/ctype.h [__USE_MISC]: Likewise.
10675         * dirent/dirent.h [__USE_MISC]: Likewise.
10676         * grp/grp.h [__USE_MISC]: Likewise.
10677         * io/fcntl.h [__USE_MISC]: Likewise.
10678         * io/sys/stat.h [__USE_MISC]: Likewise.
10679         * libio/stdio.h [__USE_MISC]: Likewise.
10680         * posix/unistd.h [__USE_MISC]: Likewise.
10681         * pwd/pwd.h [__USE_MISC]: Likewise.
10682         * stdlib.h [__USE_MISC]: Likewise.
10683         * string/bits/string2.h [__USE_MISC]: Likewise.
10684         * string/string.h [__USE_MISC]: Likewise.
10685         * time/time.h [__USE_MISC]: Likewise.
10686
10687 2014-02-13  Andreas Schwab  <schwab@suse.de>
10688
10689         [BZ #16574]
10690         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10691         second answer buffer if it was separately allocated.
10692
10693 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
10694
10695         * sysdeps/mips/math-tests.h: Include <features.h>.
10696         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10697         (ROUNDING_TESTS_long_double): Do not define.
10698         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10699         (EXCEPTION_TESTS_long_double): Likewise.
10700         * sysdeps/mips/mips64/libm-test-ulps: Update.
10701
10702         * include/features.h (__USE_BSD): Remove macro definitions.
10703         (__USE_SVID): Likewise.
10704         (_BSD_SOURCE): Likewise.
10705         (_SVID_SOURCE): Likewise.
10706         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10707         from definition of _DEFAULT_SOURCE.
10708         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10709         [_DEFAULT_SOURCE].
10710         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10711         * bits/mman.h [__USE_BSD]: Likewise.
10712         * bits/termios.h [__USE_BSD]: Likewise.
10713         * bits/waitstatus.h [__USE_BSD]: Likewise.
10714         * ctype/ctype.h [__USE_SVID]: Likewise.
10715         * dirent/dirent.h [__USE_BSD]: Likewise.
10716         * grp/grp.h [__USE_SVID]: Likewise.
10717         [__USE_BSD]: Likewise.
10718         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10719         * io/fcntl.h [__USE_BSD]: Likewise.
10720         * io/ftw.h [__USE_BSD]: Likewise.
10721         * io/sys/stat.h [__USE_BSD]: Likewise.
10722         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10723         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10724         * libio/stdio.h [__USE_SVID]: Likewise.
10725         [__USE_BSD]: Likewise.
10726         * math/math.h [__USE_SVID]: Likewise.
10727         [__USE_BSD]: Likewise.
10728         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10729         * misc/bits/syslog.h [__USE_BSD]: Likewise.
10730         * misc/search.h [__USE_SVID]: Likewise.
10731         * misc/sys/mman.h [__USE_BSD]: Likewise.
10732         * misc/sys/syslog.h [__USE_BSD]: Likewise.
10733         * misc/sys/uio.h [__USE_BSD]: Likewise.
10734         * posix/bits/unistd.h [__USE_BSD]: Likewise.
10735         * posix/glob.h [__USE_BSD]: Likewise.
10736         * posix/regex.h [__USE_BSD]: Likewise.
10737         * posix/sys/types.h [__USE_BSD]: Likewise.
10738         [__USE_SVID]: Likewise.
10739         * posix/sys/utsname.h [__USE_SVID]: Likewise.
10740         * posix/sys/wait.h [__USE_BSD]: Likewise.
10741         [__USE_SVID]: Likewise.
10742         * posix/unistd.h [__USE_BSD]: Likewise.
10743         [__USE_SVID]: Likewise.
10744         * pwd/pwd.h [__USE_SVID]: Likewise.
10745         * resolv/netdb.h [__USE_BSD]: Likewise.
10746         * setjmp/setjmp.h [__USE_BSD]: Likewise.
10747         * signal/signal.h [__USE_BSD]: Likewise.
10748         [__USE_SVID]: Likewise.
10749         * socket/sys/socket.h [__USE_BSD]: Likewise.
10750         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10751         * stdlib/stdlib.h [__USE_BSD]: Likewise.
10752         [__USE_SVID]: Likewise.
10753         * string/bits/string2.h [__USE_BSD]: Likewise.
10754         [__USE_SVID]: Likewise.
10755         * string/bits/string3.h [__USE_BSD]: Likewise.
10756         * string/endian.h [__USE_BSD]: Likewise.
10757         * string/string.h [__USE_SVID]: Likewise.
10758         [__USE_BSD]: Likewise.
10759         * string/strings.h [__USE_BSD]: Likewise.
10760         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10761         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10762         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10763         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10764         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10765         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10766         Likewise.
10767         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10768         Likewise.
10769         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10770         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10771         Likewise.
10772         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10773         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10774         Likewise.
10775         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10776         Likewise.
10777         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10778         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10779         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10780         Likewise.
10781         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10782         Likewise.
10783         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10784         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10785         * termios/termios.h [__USE_BSD]: Likewise.
10786         * time/sys/time.h [__USE_BSD]: Likewise.
10787         * time/time.h [__USE_BSD]: Likewise.
10788         [__USE_SVID]: Likewise.
10789
10790         * Makefile (subdir_targets): Remove subdir_lint.out.
10791
10792         * stdio-common/Makefile (do-tst-unbputc): Remove target.
10793         (do-tst-printf): Likewise.
10794         (tests): Depend directly on $(objpfx)tst-unbputc.out and
10795         $(objpfx)tst-printf.out.
10796
10797         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10798
10799         * Makerules (check-abi-%): Change target to
10800         $(objpfx)check-abi-%.out.
10801         (check-abi target): Update dependencies.
10802         (check-abi-pattern variable): Redirect output of diff to $@.
10803         (check-abi variable): Likewise.
10804         * elf/Makefile (check-abi): Update dependencies.
10805
10806         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10807         unused.
10808         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10809         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10810         subnormal range.
10811         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10812         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10813         value has largest subnormal exponent.
10814         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10815         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10816         * sysdeps/aarch64/soft-fp/sfp-machine.h
10817         (_FP_TININESS_AFTER_ROUNDING): New macro.
10818         * sysdeps/alpha/soft-fp/sfp-machine.h
10819         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10820         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10821         Likewise.
10822         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10823         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10824         * sysdeps/mips/soft-fp/sfp-machine.h
10825         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10826         * sysdeps/powerpc/soft-fp/sfp-machine.h
10827         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10828         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10829         Likewise.
10830         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10831         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10832         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10833         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10834         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10835         Likewise.
10836
10837 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
10838
10839         [BZ #16545]
10840         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10841         model 1.
10842
10843 2014-02-12  Richard Henderson  <rth@redhat.com>
10844
10845         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10846         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10847         * sysdeps/unix/sysv/linux/alpha: Move directory from
10848         ports/sysdeps/unix/sysv/linux/alpha.
10849         * README: Update listing for alpha-*-linux-gnu.
10850
10851 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
10852
10853         * include/features.h: Update comment documenting feature test
10854         macros.
10855         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
10856         _DEFAULT_SOURCE.
10857         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10858         (_SVID_SOURCE): Likewise.
10859         (_DEFAULT_SOURCE): Update description of default features.
10860         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10861         with _GNU_SOURCE.
10862         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10863         (S_ISVTX): Likewise.
10864         * manual/math.texi (Mathematical Constants): Likewise.
10865         * manual/signal.texi (Interrupted Primitives): Likewise.
10866         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10867         * math/test-matherr.c (_SVID_SOURCE): Do not define.
10868         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10869         Don't refer to _SVID_SOURCE in warning text.
10870
10871         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10872
10873         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10874         already defined.
10875         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10876         * sysdeps/mips/dl-lookup.c: Remove.
10877         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10878
10879 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10880
10881         [BZ #16447]
10882         * math/auto-libm-test-in: Add testcase for expl.
10883         * math/auto-libm-test-out: Regenerate.
10884         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10885         calculation of unsafe.
10886         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10887
10888 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10889
10890         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10891         * sysdeps/unix/sysv/linux/aarch64: Move directory from
10892         ports/sysdeps/unix/sysv/linux/aarch64.
10893         * README: Update listing for aarch64*-*-linux-gnu.
10894
10895 2014-02-11  Will Newton  <will.newton@linaro.org>
10896
10897         * manual/probes.texi (Mathematical Function Probes): Use
10898         "triggered" instead of "hit".
10899
10900         * manual/probes.texi (Internal Probes): Add documentation
10901         of setjmp, longjmp and longjmp_target probes.
10902
10903         * include/stap-probe.h: Add comment about probe argument
10904         format.
10905
10906         * malloc/mtrace.c (attribute_hidden): Remove unused macro
10907         definition.  (tr_where, tr_freehook, tr_mallochook,
10908         tr_reallochook, tr_memalignhook): Use ANSI protoype.
10909
10910 2014-02-11  David S. Miller  <davem@davemloft.net>
10911
10912         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10913         processing int_tests.
10914
10915 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
10916
10917         * sysdeps/mips: Move directory from ports/sysdeps/mips.
10918         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10919         * sysdeps/unix/sysv/linux/mips: Move directory from
10920         ports/sysdeps/unix/sysv/linux/mips.
10921         * README: Update listing for mips-*-linux-gnu and
10922         mips64-*-linux-gnu.
10923
10924 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
10925
10926         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10927         * sysdeps/unix/sysv/linux/m68k: Move directory from
10928         ports/sysdeps/unix/sysv/linux/m68k.
10929         * README: Update listing for m68k-*-linux-gnu.
10930
10931 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
10932
10933         * sysdeps/tile: Move directory from ports/sysdeps/tile.
10934         * sysdeps/unix/sysv/linux/generic: Move directory from
10935         ports/sysdeps/unix/sysv/linux/generic.
10936         * sysdeps/unix/sysv/linux/tile: Move directory from
10937         ports/sysdeps/unix/sysv/linux/tile.
10938         * README: Update listing for tile*-*-linux-gnu.
10939
10940 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
10941
10942         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10943         __builtin_expect.
10944         * benchtests/bench-memmem.c (simple_memmem): Likewise.
10945         * catgets/open_catalog.c (__open_catalog): Likewise.
10946         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10947         * debug/confstr_chk.c: Likewise.
10948         * debug/fread_chk.c (__fread_chk): Likewise.
10949         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10950         * debug/getgroups_chk.c: Likewise.
10951         * debug/mbsnrtowcs_chk.c: Likewise.
10952         * debug/mbsrtowcs_chk.c: Likewise.
10953         * debug/mbstowcs_chk.c: Likewise.
10954         * debug/memcpy_chk.c: Likewise.
10955         * debug/memmove_chk.c: Likewise.
10956         * debug/mempcpy_chk.c: Likewise.
10957         * debug/memset_chk.c: Likewise.
10958         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10959         * debug/strcat_chk.c (__strcat_chk): Likewise.
10960         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10961         * debug/strncat_chk.c (__strncat_chk): Likewise.
10962         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10963         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10964         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10965         * debug/wcpncpy_chk.c: Likewise.
10966         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10967         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10968         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10969         * debug/wcsncpy_chk.c: Likewise.
10970         * debug/wcsnrtombs_chk.c: Likewise.
10971         * debug/wcsrtombs_chk.c: Likewise.
10972         * debug/wcstombs_chk.c: Likewise.
10973         * debug/wmemcpy_chk.c: Likewise.
10974         * debug/wmemmove_chk.c: Likewise.
10975         * debug/wmempcpy_chk.c: Likewise.
10976         * debug/wmemset_chk.c: Likewise.
10977         * dirent/scandirat.c (SCANDIRAT): Likewise.
10978         * dlfcn/dladdr1.c (dladdr1): Likewise.
10979         * dlfcn/dladdr.c (dladdr): Likewise.
10980         * dlfcn/dlclose.c (dlclose_doit): Likewise.
10981         * dlfcn/dlerror.c (__dlerror): Likewise.
10982         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10983         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10984         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10985         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10986         * dlfcn/dlsym.c (dlsym_doit): Likewise.
10987         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10988         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10989         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10990         Likewise.
10991         * elf/dl-conflict.c: Likewise.
10992         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10993         * elf/dl-dst.h: Likewise.
10994         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10995         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10996         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10997         * elf/dl-init.c (call_init, _dl_init): Likewise.
10998         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10999         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11000         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11001         Likewise.
11002         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11003         Likewise.
11004         * elf/dl-minimal.c (__libc_memalign): Likewise.
11005         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11006         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11007         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11008         * elf/dl-sym.c (do_sym): Likewise.
11009         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11010         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11011         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11012         * elf/dl-writev.h (_dl_writev): Likewise.
11013         * elf/ldconfig.c (search_dir): Likewise.
11014         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11015         (dl_main): Likewise.
11016         * elf/setup-vdso.h (setup_vdso): Likewise.
11017         * grp/compat-initgroups.c (compat_call): Likewise.
11018         * grp/fgetgrent.c (fgetgrent): Likewise.
11019         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11020         * grp/putgrent.c (putgrent): Likewise.
11021         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11022         Likewise.
11023         * hurd/hurdinit.c: Likewise.
11024         * iconvdata/8bit-gap.c (struct): Likewise.
11025         * iconvdata/ansi_x3.110.c : Likewise.
11026         * iconvdata/big5.c : Likewise.
11027         * iconvdata/big5hkscs.c : Likewise.
11028         * iconvdata/cp1255.c: Likewise.
11029         * iconvdata/cp1258.c : Likewise.
11030         * iconvdata/cp932.c : Likewise.
11031         * iconvdata/euc-cn.c: Likewise.
11032         * iconvdata/euc-jisx0213.c : Likewise.
11033         * iconvdata/euc-jp.c: Likewise.
11034         * iconvdata/euc-jp-ms.c : Likewise.
11035         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11036         * iconvdata/gb18030.c : Likewise.
11037         * iconvdata/gbbig5.c (const): Likewise.
11038         * iconvdata/gbgbk.c: Likewise.
11039         * iconvdata/gbk.c : Likewise.
11040         * iconvdata/ibm1364.c : Likewise.
11041         * iconvdata/ibm930.c : Likewise.
11042         * iconvdata/ibm932.c: Likewise.
11043         * iconvdata/ibm933.c : Likewise.
11044         * iconvdata/ibm935.c : Likewise.
11045         * iconvdata/ibm937.c : Likewise.
11046         * iconvdata/ibm939.c : Likewise.
11047         * iconvdata/ibm943.c: Likewise.
11048         * iconvdata/iso_11548-1.c: Likewise.
11049         * iconvdata/iso-2022-cn.c : Likewise.
11050         * iconvdata/iso-2022-cn-ext.c : Likewise.
11051         * iconvdata/iso-2022-jp-3.c: Likewise.
11052         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11053         * iconvdata/iso-2022-kr.c : Likewise.
11054         * iconvdata/iso646.c (gconv_end): Likewise.
11055         * iconvdata/iso_6937-2.c : Likewise.
11056         * iconvdata/iso_6937.c : Likewise.
11057         * iconvdata/iso8859-1.c: Likewise.
11058         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11059         * iconvdata/shift_jisx0213.c : Likewise.
11060         * iconvdata/sjis.c : Likewise.
11061         * iconvdata/t.61.c : Likewise.
11062         * iconvdata/tcvn5712-1.c : Likewise.
11063         * iconvdata/tscii.c: Likewise.
11064         * iconvdata/uhc.c : Likewise.
11065         * iconvdata/unicode.c (gconv_end): Likewise.
11066         * iconvdata/utf-16.c (gconv_end): Likewise.
11067         * iconvdata/utf-32.c (gconv_end): Likewise.
11068         * iconvdata/utf-7.c (base64): Likewise.
11069         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11070         * iconv/gconv_close.c (__gconv_close): Likewise.
11071         * iconv/gconv_open.c (__gconv_open): Likewise.
11072         * iconv/gconv_simple.c (internal_ucs4_loop_single)
11073         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11074         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11075         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11076         (ucs4le_internal_loop_single): Likewise.
11077         * iconv/iconv.c (iconv): Likewise.
11078         * iconv/iconv_close.c: Likewise.
11079         * iconv/loop.c (SINGLE): Likewise.
11080         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11081         * include/atomic.h: Likewise.
11082         * inet/inet6_option.c (option_alloc): Likewise.
11083         * intl/bindtextdom.c (set_binding_values): Likewise.
11084         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11085         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11086         * intl/localealias.c (read_alias_file): Likewise.
11087         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11088         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11089         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11090         * libio/fmemopen.c (fmemopen): Likewise.
11091         * libio/iofgets.c (_IO_fgets): Likewise.
11092         * libio/iofgets_u.c (fgets_unlocked): Likewise.
11093         * libio/iofgetws.c (fgetws): Likewise.
11094         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11095         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11096         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11097         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11098         * locale/findlocale.c (_nl_find_locale): Likewise.
11099         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11100         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11101         Likewise.
11102         * locale/setlocale.c (setlocale): Likewise.
11103         * login/programs/pt_chown.c (main): Likewise.
11104         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11105         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11106         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11107         (mmap, mmap64, mremap, munmap): Likewise.
11108         * math/e_exp2l.c: Likewise.
11109         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11110         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11111         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11112         * math/s_catan.c (__catan): Likewise.
11113         * math/s_catanf.c (__catanf): Likewise.
11114         * math/s_catanh.c (__catanh): Likewise.
11115         * math/s_catanhf.c (__catanhf): Likewise.
11116         * math/s_catanhl.c (__catanhl): Likewise.
11117         * math/s_catanl.c (__catanl): Likewise.
11118         * math/s_ccosh.c (__ccosh): Likewise.
11119         * math/s_ccoshf.c (__ccoshf): Likewise.
11120         * math/s_ccoshl.c (__ccoshl): Likewise.
11121         * math/s_cexp.c (__cexp): Likewise.
11122         * math/s_cexpf.c (__cexpf): Likewise.
11123         * math/s_cexpl.c (__cexpl): Likewise.
11124         * math/s_clog10.c (__clog10): Likewise.
11125         * math/s_clog10f.c (__clog10f): Likewise.
11126         * math/s_clog10l.c (__clog10l): Likewise.
11127         * math/s_clog.c (__clog): Likewise.
11128         * math/s_clogf.c (__clogf): Likewise.
11129         * math/s_clogl.c (__clogl): Likewise.
11130         * math/s_csin.c (__csin): Likewise.
11131         * math/s_csinf.c (__csinf): Likewise.
11132         * math/s_csinh.c (__csinh): Likewise.
11133         * math/s_csinhf.c (__csinhf): Likewise.
11134         * math/s_csinhl.c (__csinhl): Likewise.
11135         * math/s_csinl.c (__csinl): Likewise.
11136         * math/s_csqrt.c (__csqrt): Likewise.
11137         * math/s_csqrtf.c (__csqrtf): Likewise.
11138         * math/s_csqrtl.c (__csqrtl): Likewise.
11139         * math/s_ctan.c (__ctan): Likewise.
11140         * math/s_ctanf.c (__ctanf): Likewise.
11141         * math/s_ctanh.c (__ctanh): Likewise.
11142         * math/s_ctanhf.c (__ctanhf): Likewise.
11143         * math/s_ctanhl.c (__ctanhl): Likewise.
11144         * math/s_ctanl.c (__ctanl): Likewise.
11145         * math/w_pow.c: Likewise.
11146         * math/w_powf.c: Likewise.
11147         * math/w_powl.c: Likewise.
11148         * math/w_scalb.c (sysv_scalb): Likewise.
11149         * math/w_scalbf.c (sysv_scalbf): Likewise.
11150         * math/w_scalbl.c (sysv_scalbl): Likewise.
11151         * misc/error.c (error_tail): Likewise.
11152         * misc/pselect.c (__pselect): Likewise.
11153         * nis/nis_callback.c (__nis_create_callback): Likewise.
11154         * nis/nis_call.c (__nisfind_server): Likewise.
11155         * nis/nis_creategroup.c (nis_creategroup): Likewise.
11156         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
11157         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
11158         * nis/nis_getservlist.c (nis_getservlist): Likewise.
11159         * nis/nis_lookup.c (nis_lookup): Likewise.
11160         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
11161         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
11162         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
11163         * nis/nis_xdr.c (xdr_endpoint): Likewise.
11164         * nis/nss_compat/compat-grp.c (getgrent_next_file)
11165         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
11166         * nis/nss_compat/compat-initgroups.c (add_group)
11167         (internal_getgrent_r): Likewise.
11168         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
11169         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
11170         * nis/nss_compat/compat-spwd.c (getspent_next_file)
11171         (internal_getspnam_r): Likewise.
11172         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
11173         (_nss_nis_getaliasbyname_r): Likewise.
11174         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
11175         (_nss_nis_getntohost_r): Likewise.
11176         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
11177         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
11178         (_nss_nis_getgrgid_r): Likewise.
11179         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
11180         (internal_nis_gethostent_r, internal_gethostbyname2_r)
11181         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
11182         (_nss_nis_gethostbyname4_r): Likewise.
11183         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
11184         (initgroups_netid): Likewise.
11185         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
11186         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
11187         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
11188         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
11189         (_nss_nis_getprotobynumber_r): Likewise.
11190         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
11191         (_nss_nis_getsecretkey): Likewise.
11192         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
11193         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
11194         (_nss_nis_getpwuid_r): Likewise.
11195         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
11196         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
11197         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
11198         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
11199         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
11200         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
11201         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11202         Likewise.
11203         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
11204         (_nss_nisplus_getntohost_r): Likewise.
11205         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
11206         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
11207         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
11208         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
11209         Likewise.
11210         * nis/nss_nisplus/nisplus-initgroups.c
11211         (_nss_nisplus_initgroups_dyn): Likewise.
11212         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
11213         (_nss_nisplus_getnetbyaddr_r): Likewise.
11214         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
11215         (_nss_nisplus_getprotobynumber_r): Likewise.
11216         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
11217         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
11218         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
11219         Likewise.
11220         * nis/nss_nisplus/nisplus-service.c
11221         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
11222         (_nss_nisplus_getservbyport_r): Likewise.
11223         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
11224         (_nss_nisplus_getspnam_r): Likewise.
11225         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
11226         Likewise.
11227         * nscd/aicache.c (addhstaiX): Likewise.
11228         * nscd/cache.c (cache_search, prune_cache): Likewise.
11229         * nscd/connections.c (register_traced_file, send_ro_fd)
11230         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
11231         (main_loop_epoll): Likewise.
11232         * nscd/grpcache.c (addgrbyX): Likewise.
11233         * nscd/hstcache.c (addhstbyX): Likewise.
11234         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11235         * nscd/mem.c (gc, mempool_alloc): Likewise.
11236         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
11237         (addinnetgrX): Likewise.
11238         * nscd/nscd-client.h (__nscd_acquire_maplock)
11239         (__nscd_drop_map_ref): Likewise.
11240         * nscd/nscd_getai.c (__nscd_getai): Likewise.
11241         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11242         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
11243         Likewise.
11244         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
11245         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11246         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
11247         (__nscd_get_map_ref): Likewise.
11248         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
11249         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
11250         Likewise.
11251         * nscd/pwdcache.c (addpwbyX): Likewise.
11252         * nscd/selinux.c (preserve_capabilities): Likewise.
11253         * nscd/servicescache.c (addservbyX): Likewise.
11254         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
11255         * posix/fnmatch.c (fnmatch): Likewise.
11256         * posix/getopt.c (_getopt_internal_r): Likewise.
11257         * posix/glob.c (glob, glob_in_dir): Likewise.
11258         * posix/wordexp.c (exec_comm_child): Likewise.
11259         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
11260         (getanswer_r, gaih_getanswer_slice): Likewise.
11261         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
11262         * resolv/res_init.c: Likewise.
11263         * resolv/res_mkquery.c (res_nmkquery): Likewise.
11264         * resolv/res_query.c (__libc_res_nquery): Likewise.
11265         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
11266         Likewise.
11267         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
11268         * stdio-common/perror.c (perror): Likewise.
11269         * stdio-common/printf_fp.c (___printf_fp): Likewise.
11270         * stdio-common/tmpnam.c (tmpnam): Likewise.
11271         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11272         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
11273         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11274         Likewise.
11275         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11276         * stdlib/putenv.c (putenv): Likewise.
11277         * stdlib/setenv.c (__add_to_environ): Likewise.
11278         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11279         * stdlib/strtol_l.c (INTERNAL): Likewise.
11280         * string/memmem.c (memmem): Likewise.
11281         * string/strerror.c (strerror): Likewise.
11282         * string/strnlen.c (__strnlen): Likewise.
11283         * string/test-memmem.c (simple_memmem): Likewise.
11284         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11285         * sunrpc/pm_getport.c (__get_socket): Likewise.
11286         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11287         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
11288         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11289         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
11290         Likewise.
11291         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11292         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11293         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11294         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11295         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
11296         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11297         Likewise.
11298         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11299         Likewise.
11300         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11301         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11302         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11303         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11304         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11305         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11306         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11307         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11308         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11309         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11310         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11311         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11312         Likewise.
11313         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11314         Likewise.
11315         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11316         Likewise.
11317         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11318         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11319         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11320         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11321         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11322         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11323         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11324         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11325         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11326         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11327         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11328         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11329         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11330         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11331         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11332         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11333         Likewise.
11334         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11335         Likewise.
11336         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11337         Likewise.
11338         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11339         Likewise.
11340         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11341         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11342         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11343         Likewise.
11344         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11345         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11346         * sysdeps/posix/opendir.c (__opendirat): Likewise.
11347         * sysdeps/posix/sleep.c: Likewise.
11348         * sysdeps/posix/tempname.c: Likewise.
11349         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11350         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11351         Likewise.
11352         * sysdeps/powerpc/powerpc32/dl-machine.h
11353         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
11354         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11355         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11356         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11357         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11358         Likewise.
11359         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
11360         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11361         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11362         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11363         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11364         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11365         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11366         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11367         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11368         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
11369         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11370         (elf_machine_lazy_rel): Likewise.
11371         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11372         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11373         (elf_machine_lazy_rel): Likewise.
11374         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11375         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11376         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11377         * sysdeps/unix/grantpt.c (grantpt): Likewise.
11378         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11379         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11380         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11381         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11382         Likewise.
11383         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11384         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11385         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11386         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11387         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11388         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11389         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11390         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11391         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11392         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11393         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11394         Likewise.
11395         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11396         (__posix_fallocate64_l64): Likewise.
11397         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11398         (posix_fallocate): Likewise.
11399         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11400         Likewise.
11401         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11402         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11403         (getifaddrs_internal): Likewise.
11404         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11405         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11406         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11407         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11408         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11409         (__posix_fallocate64_l64): Likewise.
11410         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11411         Likewise.
11412         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
11413         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11414         (__get_clockfreq): Likewise.
11415         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11416         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11417         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11418         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11419         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11420         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11421         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11422         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11423         Likewise.
11424         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11425         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11426         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11427         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11428         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11429         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11430         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11431         Likewise.
11432         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11433         (posix_fallocate): Likewise.
11434         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11435         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11436         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11437         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11438         (elf_machine_rela, elf_machine_rela_relative)
11439         (elf_machine_lazy_rel): Likewise.
11440         * time/asctime.c (asctime_internal): Likewise.
11441         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11442         * time/tzset.c (__tzset_parse_tz): Likewise.
11443         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11444         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11445         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11446         * wcsmbs/wcsmbsload.h: Likewise.
11447
11448         [BZ #15894]
11449         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11450
11451         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11452         (arena_get2): Remove THREAD_STATS conditionals.
11453         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11454         (__malloc_stats, int): Likewise.
11455
11456 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
11457
11458         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11459         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
11460
11461         * manual/setjmp.texi: Fix typos/grammar errors.
11462
11463         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11464         Only return early when n is <= 0.  Delete unused return statement.
11465
11466         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11467         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11468         * debug/tst-longjmp_chk3.c: New file.
11469
11470         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11471         (test_main): Replace code with set_fortify_handler call.
11472         * debug/test-strcpy_chk.c: Likewise.
11473         * debug/tst-chk1.c: Likewise.
11474         * debug/tst-longjmp_chk.c: Likewise.
11475         * test-skeleton.c: Include fcntl.h & paths.h
11476         (set_fortify_handler): Define.
11477
11478         * debug/tst-longjmp_chk.c: Add header comment and include
11479         ../test-skeleton.c.
11480         (do_test): Mark static.
11481         (TEST_FUNCTION): Define.
11482
11483         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11484         (IP_PMTUDISC_INTERFACE): Likewise.
11485         (IP_MULTICAST_IF): Likewise.
11486         (IP_MULTICAST_TTL): Likewise.
11487         (IP_MULTICAST_LOOP): Likewise.
11488         (IP_ADD_MEMBERSHIP): Likewise.
11489         (IP_DROP_MEMBERSHIP): Likewise.
11490         (IP_UNBLOCK_SOURCE): Likewise.
11491         (IP_BLOCK_SOURCE): Likewise.
11492         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11493         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11494         (IP_MSFILTER): Likewise.
11495         (MCAST_JOIN_GROUP): Likewise.
11496         (MCAST_BLOCK_SOURCE): Likewise.
11497         (MCAST_UNBLOCK_SOURCE): Likewise.
11498         (MCAST_LEAVE_GROUP): Likewise.
11499         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11500         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11501         (MCAST_MSFILTER): Likewise.
11502         (IP_MULTICAST_ALL): Likewise.
11503         (IP_UNICAST_IF): Likewise.
11504
11505         * timezone/Makefile: Delete $(have-ksh) check.
11506         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11507         * timezone/tzselect.ksh: Add +x mode bits.
11508
11509         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11510         (ANON_INODE_FS_MAGIC): Likewise.
11511         (BDEVFS_MAGIC): Likewise.
11512         (BINFMTFS_MAGIC): Likewise.
11513         (BTRFS_TEST_MAGIC): Likewise.
11514         (CRAMFS_MAGIC_WEND): Likewise.
11515         (DEBUGFS_MAGIC): Likewise.
11516         (ECRYPTFS_SUPER_MAGIC): Likewise.
11517         (EXT3_SUPER_MAGIC): Likewise.
11518         (EXT4_SUPER_MAGIC): Likewise.
11519         (FUTEXFS_SUPER_MAGIC): Likewise.
11520         (HOSTFS_SUPER_MAGIC): Likewise.
11521         (HUGETLBFS_MAGIC): Likewise.
11522         (MINIX3_SUPER_MAGIC): Likewise.
11523         (MTD_INODE_FS_MAGIC): Likewise.
11524         (NILFS_SUPER_MAGIC): Likewise.
11525         (OPENPROM_SUPER_MAGIC): Likewise.
11526         (PIPEFS_MAGIC): Likewise.
11527         (PSTOREFS_MAGIC): Likewise.
11528         (QNX6_SUPER_MAGIC): Likewise.
11529         (RAMFS_MAGIC): Likewise.
11530         (REISERFS_SUPER_MAGIC_STRING): Likewise.
11531         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11532         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11533         (SECURITYFS_MAGIC): Likewise.
11534         (SELINUX_MAGIC): Likewise.
11535         (SMACK_MAGIC): Likewise.
11536         (SOCKFS_MAGIC): Likewise.
11537         (SQUASHFS_MAGIC): Likewise.
11538         (STACK_END_MAGIC): Likewise.
11539         (TMPFS_MAGIC): Likewise.
11540         (USBDEVICE_SUPER_MAGIC): Likewise.
11541         (V9FS_MAGIC): Likewise.
11542         (XENFS_SUPER_MAGIC): Likewise.
11543         (CRAMFS_MAGIC): Fix typo in comment.
11544         (EXT2_SUPER_MAGIC): Update comment.
11545         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11546
11547 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
11548
11549         * sysdeps/arm: Move directory from ports/sysdeps/arm.
11550         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11551         * sysdeps/unix/sysv/linux/arm: Move directory from
11552         ports/sysdeps/unix/sysv/linux/arm.
11553         * README: Update listing for arm-*-linux-gnueabi.
11554
11555         * README: Remove mention of am33.
11556
11557 2014-02-07  Roland McGrath  <roland@hack.frob.com>
11558
11559         * bits/sigset.h (__sigemptyset): Use a statement expression rather
11560         than the comma operator, to avoid "rhs of comma has no effect"
11561         compiler warnings.
11562         (__sigfillset, __sigandset, __sigorset): Likewise.
11563         * include/signal.h (__sigemptyset): Likewise.
11564         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11565
11566 2014-02-07  Allan McRae  <allan@archlinux.org>
11567
11568         * version.h (RELEASE): Set to "development".
11569         (VERSION): Set to "2.19.90"
11570         * NEWS: Add 2.20 section.
11571
11572 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
11573
11574         [BZ #16529]
11575         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11576
11577 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11578
11579         * manual/contrib.texi: Update entry for Carlos O'Donell,
11580         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11581
11582 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
11583
11584         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11585
11586         * sysdeps/unix/sysv/linux/kernel-features.h
11587         [__LINUX_KERNEL_VERSION >= 0x020621]
11588         (__ASSUME_PROC_PID_TASK_COMM): Define.
11589
11590 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11591
11592         [BZ #16398]
11593         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11594         conversion when destination buffer does not have enough space.
11595         * libio/tst-ftell-partial-wide.c: New test case.
11596         * libio/Makefile (tests): Add tst-ftell-partial-wide.
11597
11598         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11599         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
11600         Leonard and Allan McRae.
11601
11602 2014-02-04  David S. Miller  <davem@davemloft.net>
11603
11604         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11605         32-bit.
11606
11607 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11608
11609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11610         New file
11611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11612         New file
11613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11614         New file.
11615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11616         New file.
11617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11618         New file.
11619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11620         New file.
11621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11622         New file.
11623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11624         New file.
11625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11626         New file.
11627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11628         New file.
11629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11630         New file.
11631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11632         New file.
11633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11634         New file.
11635
11636 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11637
11638         * nptl/shlib-versions: Change powerpc*le start to 2.17.
11639         * shlib-versions: Likewise.
11640
11641 2014-02-04  Roland McGrath  <roland@hack.frob.com>
11642             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11643
11644         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11645         (abilist-pattern): New variable, set to %-le.abilist.
11646
11647         * Makerules (abilist-pattern): New variable.
11648         (vpath): Use $(abilist-pattern) in place of %.abilist.
11649         (check-abi-% pattern rule): Likewise.
11650         (check-abi, update-abi): Likewise.
11651
11652 2014-02-04  Eric Wong  <normalperson@yhbt.net>
11653
11654         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11655
11656 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
11657
11658         * manual/startup.texi: Add next, previous, and top entries for
11659         the `Program Arguments' and `Environment Variables' nodes.
11660
11661 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
11662
11663         * manual/macros.texi: Add comments before MTASC-safety macros.
11664
11665         * manual/users.texi: Document MTASC-safety properties.
11666
11667         * manual/threads.texi (pthread_key_create, pthread_key_delete)
11668         (pthread_getspecific, pthread_setspecific): Format with
11669         @deftypefun, and add @safety note.
11670         * manual/signal.texi: Move comments that analyze the above
11671         functions to their home place.
11672
11673 2014-02-03  Allan McRae  <allan@archlinux.org>
11674
11675         * po/sl.po: Update Slovenian translation from translation project.
11676
11677 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
11678
11679         * manual/time.texi (timegm): Add missing blank after @c.
11680         Reported by Joseph Myers <joseph@codesourcery.com>.
11681
11682 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
11683
11684         * manual/check-safety.sh: New.
11685         * manual/Makefile ($(objpfx)stamp-summary): Run it.
11686
11687         * manual/terminal.texi: Document MTASC-safety properties.
11688
11689         * manual/filesys.texi: Document MTASC-safety properties.
11690
11691         * manual/errno.texi: Document MTASC-safety properties.
11692
11693         * manual/intro.texi: Document safety identifiers and
11694         conditionals.
11695
11696         * manual/string.texi (wcstok): Fix prototype.
11697         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11698
11699         * manual/time.texi: Document MTASC-safety properties.
11700
11701         * manual/string.texi: Document MTASC-safety properties.
11702
11703         * manual/threads.texi: Document MTASC-safety properties.
11704
11705         * manual/stdio.texi: Document MTASC-safety properties.
11706
11707         * manual/syslog.texi: Document MTASC-safety properties.
11708
11709         * manual/sysinfo.texi: Document MTASC-safety properties.
11710
11711         * manual/startup.texi: Document MTASC-safety properties.
11712
11713         * manual/socket.texi: Document MTASC-safety properties.
11714
11715         * manual/signal.texi: Document MTASC-safety properties.
11716
11717 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
11718
11719         * manual/setjmp.texi: Document MTASC-safety properties.
11720
11721         * manual/search.texi: Document MTASC-safety properties.
11722
11723         * manual/resource.texi: Document MTASC-safety properties.
11724
11725         * manual/process.texi: Document MTASC-safety properties.
11726
11727         * manual/platform.texi: Document MTASC-safety properties.
11728
11729         * manual/pipe.texi: Document MTASC-safety properties.
11730
11731         * manual/pattern.texi: Document MTASC-safety properties.
11732
11733         * manual/message.texi: Document MTASC-safety properties.
11734
11735         [BZ #12751]
11736         * manual/memory.texi: Document MTASC-safety properties.
11737
11738         * manual/math.texi: Document MTASC-safety properties.
11739
11740         * manual/locale.texi: Document MTASC-safety properties.
11741
11742         * manual/llio.texi: Document MTASC-safety properties.
11743
11744         * manual/libdl.texi: New.
11745
11746         * manual/lang.texi: Document MTASC-safety properties.
11747
11748         * manual/job.texi: Document MTASC-safety properties.
11749
11750         * manual/getopt.texi: Document MTASC-safety properties.
11751
11752         * manual/ctype.texi: Document MTASC-safety properties.
11753
11754 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
11755
11756         [BZ #16046]
11757         * csu/libc-tls.c (static_map): Remove variable.
11758         (__libc_setup_tls): Use main executable's link map for TLS data.
11759         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11760         casing for LM_ID_BASE and GL(dl_nns).
11761         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11762         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
11763         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11764         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11765         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11766         member.
11767         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11768         l_phnum members.
11769
11770 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
11771
11772         * manual/debug.texi: Document MTASC-safety properties.
11773
11774 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
11775
11776         [BZ #16510]
11777         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11778         of __x86_64__ when disabling x87 inline functions.
11779
11780 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
11781
11782         * manual/charset.texi: Document MTASC-safety properties.
11783
11784         * manual/crypt.texi: Document MTASC-safety properties.
11785
11786         * manual/conf.texi: Document MTASC-safety properties.
11787
11788         * manual/arith.texi: Document MTASC-safety properties.
11789
11790         * manual/argp.texi: Document MTASC-safety properties.
11791
11792         * manual/macros.texi: Introduce macros to document multi
11793         thread, asynchronous signal and asynchronous cancellation
11794         safety properties.
11795         * manual/intro.texi: Introduce the properties themselves.
11796
11797 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11798
11799         * sysdeps/sh/sh4/Makefile: New file.
11800
11801 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
11802
11803         * math/gen-libm-test.pl ($srcdir): New variable.
11804         ($auto_input): Use it.
11805
11806 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11807
11808         [BZ #16506]
11809         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11810         access beyond array bounds when parsing netgroups file.
11811
11812         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11813         the old buffer before realloc.
11814
11815 2014-01-27  Allan McRae  <allan@archlinux.org>
11816
11817         * po/fr.po: Update French translation from translation project.
11818
11819 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11820
11821         * sysdeps/sh/libm-test-ulps: Regenerate.
11822
11823 2014-01-24  David S. Miller  <davem@davemloft.net>
11824
11825         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11826
11827 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11828
11829         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11830         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11831
11832 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11833
11834         [BZ #16474]
11835         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11836         string pointers after reallocation.
11837
11838 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11839
11840         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11841         __SH4A__ instead of __SH_FPU_ANY__.
11842
11843 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11844
11845         * sysdeps/sh/fpu_control.h: New file.
11846         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11847         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11848         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11849         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11850         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11851         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11852         * sysdeps/sh/sys/ucontext.h: Remove.
11853         * sysdeps/sh/sys: Remove directory.
11854
11855 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11856
11857         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11858         s390/sys/ucontext.h.
11859         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11860         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11861
11862 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
11863
11864         [BZ #15605]
11865         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11866
11867 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11868
11869         [BZ#16431]
11870         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11871         Adjust the vDSO correctly for internal calls.
11872         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11873
11874 2014-01-20  Allan McRae  <allan@archlinux.org>
11875
11876         * po/ca.po: Update Catalan translation from translation project.
11877
11878 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
11879
11880         * sysdeps/s390/sotruss-lib.c: New file.
11881
11882 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11883
11884         [BZ#16430]
11885         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11886         (__GI___gettimeofday): Alias for a different internal symbol to avoid
11887         local calls issues by not having a PLT stub required for IFUNC calls.
11888         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11889
11890 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
11891
11892         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11893         * math/test-fpucw-static.c: Likewise.
11894
11895 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11896
11897         [BZ #16453]
11898         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11899
11900 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11901
11902         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11903         implementation for powerpc.
11904
11905 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
11906
11907         [BZ #14782]
11908         * sysdeps/posix/system.c (__libc_system): Do not enable
11909         asynchronous cancellation.
11910
11911 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11912
11913         [BZ #16427]
11914         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11915         handling only for numbers special also in the IEEE case.
11916
11917 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11918
11919         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11920
11921 2014-01-11  Allan McRae  <allan@archlinux.org>
11922
11923         * po/bg.po: Update Bulgarian translation from translation project.
11924
11925         * po/de.po: Update German translation from translation project.
11926
11927 2014-01-10  Roland McGrath  <roland@hack.frob.com>
11928
11929         * sysdeps/generic/gcc-compat.h: New file.
11930
11931 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11932
11933         * benchtests/asin-inputs: Correct slow inputs.
11934         * benchtests/acos-inputs: Likewise.
11935
11936 2014-01-10  Allan McRae  <allan@archlinux.org>
11937
11938         * po:sv.po: Update Swedish translation from translation project.
11939
11940         * po/vi.po: Update Vietnamese translation from translation project.
11941
11942         * po/eo.po: Update Esperanto translation from translation project.
11943
11944         * po/cs.po: Update Czech translation from translation project.
11945
11946         * po/nl.po: Update Dutch translation from translation project.
11947
11948         * po/pl.po: Update Polish translation from translation project.
11949
11950         * po/ru.po: Update Russian translation from translation project.
11951
11952         * po/uk.po: Update Ukrainian translation from translation project.
11953
11954 2014-01-08  Brooks Moses  <bmoses@google.com>
11955
11956         * elf/dl-load.c: Fix comment typo.
11957
11958 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
11959
11960         * po/header.pot: Rename to...
11961         * po/pot.header: ... this.
11962         * po/Makefile: Use pot.header.
11963
11964 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
11965             Maxim Kuvyrkov  <maxim@kugelworks.com>
11966
11967         [BZ #16394]
11968         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11969         SRC and DEST against LEN.
11970
11971 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11972
11973         [BZ #16414]
11974         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11975         implementation.
11976         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11977
11978 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11979
11980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11981
11982 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
11983
11984         [BZ #16408]
11985         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11986         for large positive arguments.
11987
11988 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
11989
11990         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11991
11992         * math/auto-libm-test-in: Mark various tests with
11993         xfail-rounding:ldbl-128ibm.
11994         * math/auto-libm-test-out: Regenerated.
11995
11996         [BZ #16407]
11997         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11998         Increase overflow threshold.
11999
12000 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
12001
12002         [BZ #14286]
12003         * stdio-common/vfprintf.c: Check for integer overflow.
12004
12005 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12006
12007         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12008         the first argument and return value of __tls_get_addr_internal.
12009
12010 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12011
12012         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12013         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12014
12015 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12016
12017         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12018         * sysdeps/s390/rtld-global-offsets.sym: New file.
12019         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12020         GLIBC_2.19 symbol.
12021         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12022         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12023         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12024         ... this.
12025         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12026         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12027         ... this.
12028         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12029         Regenerate.
12030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12031         Regenerate.
12032         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12033         halfs of GPRs for high_gprs contexts.
12034         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12035         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
12036         field.
12037         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12038         uc_flags field.
12039         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12040         64 bit versions:
12041         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12042         for high GPRs (uc_high_gprs) and for future extensions
12043         (__reserved).
12044         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12045         for future extensions (__reserved).
12046         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12047         64 bit versions:
12048         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12049         SC_HIGHGPRS offset definition.
12050         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12051         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12052
12053         * Versions.def: Add GLIBC_2.19 for libpthread.
12054         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12055         siglongjmp for libpthread with GLIBC_2.19 symver.
12056         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12057         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12058         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12059         * sysdeps/s390/__longjmp.c: New file.
12060         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12061         * sysdeps/s390/longjmp.c: New file.
12062         * sysdeps/s390/setjmp.S: New file.
12063         * sysdeps/s390/sigjmp.S: New file.
12064         * sysdeps/s390/v1-longjmp.c: New file.
12065         * sysdeps/s390/v1-setjmp.h: New file.
12066         * sysdeps/s390/v1-sigjmp.c: New file.
12067         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12068         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12069         GLIBC_2.19 version.
12070         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12071         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12072         versioned symbols for ____longjmp_chk.
12073         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12074         Likewise.
12075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12076         Regenerate.
12077         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12078         Regenerate.
12079         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12080         Regenerate.
12081         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12082         Regenerate.
12083         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12084         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12085         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12086         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12087         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12088         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12089         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12090         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12091         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12092         * sysdeps/s390/rtld-__longjmp.c: New file.
12093         * sysdeps/s390/rtld-setjmp.S: New file.
12094
12095 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
12096
12097         [BZ #16400]
12098         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12099         Return -__logl (x) for small positive arguments without evaluating
12100         a polynomial.
12101
12102 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
12103
12104         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12105         Rename to ...
12106         (__ptrace_peeksiginfo_args): ... this.
12107         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12108         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12109         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12110
12111 2014-01-06  Allan McRae  <allan@archlinux.org>
12112
12113         * inet/netinet/in.h: Fix typo in comment.
12114
12115 2014-01-05  Andreas Jaeger  <aj@suse.de>
12116
12117         * sysdeps/i386/fpu/libm-test-ulps: Update.
12118
12119 2014-01-05  Allan McRae  <allan@archlinux.org>
12120
12121         * po/libc.pot: Regenerated.
12122
12123         * malloc/memusagestat.c: Fix gettext call formatting.
12124
12125 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
12126
12127         * nscd/nscd.c: Improve usage() output.
12128
12129 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
12130
12131         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12132         * sysdeps/unix/sysv/linux/configure: Regenerated.
12133         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12134         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12135
12136 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12137
12138         [BZ #16390]
12139         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12140         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
12141
12142 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12143
12144         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
12145         extra tokens at end of #undef directive.
12146         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
12147         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
12148         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12149
12150 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
12151
12152         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12153
12154         * math/auto-libm-test-in: Mark various tests with
12155         xfail-rounding:ldbl-128ibm.
12156         * math/auto-libm-test-out: Regenerated.
12157
12158 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
12159
12160         [BZ #16386]
12161         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
12162         numbers with subnormal high part when calculating exponent.
12163
12164         [BZ #16385]
12165         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
12166         fabs.
12167
12168         [BZ #16384]
12169         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
12170         M_LN2l.
12171         (__ieee754_acoshl): Use __log1pl not __log1p.
12172
12173 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
12174
12175         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
12176         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
12177         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
12178         (grow_heap, heap_trim, _int_new_arena, get_free_list)
12179         (reused_arena, arena_get2): Convert to GNU style.
12180         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
12181         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
12182         (memalign_check, __malloc_set_state): Likewise.
12183         * malloc/mallocbug.c (main): Likewise.
12184         * malloc/malloc.c (__malloc_assert, malloc_init_state)
12185         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
12186         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
12187         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
12188         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
12189         (__posix_memalign, malloc_info): Likewise.
12190         * malloc/malloc.h: Likewise.
12191         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
12192         (mallochook, memalignhook, reallochook, mabort): Likewise.
12193         * malloc/mcheck.h: Likewise.
12194         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
12195         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
12196         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
12197         * malloc/morecore.c (__default_morecore): Likewise.
12198         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
12199         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
12200         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
12201         (print_and_abort): Likewise.
12202         * malloc/obstack.h: Likewise.
12203         * malloc/set-freeres.c (__libc_freeres): Likewise.
12204         * malloc/tst-mallocstate.c (main): Likewise.
12205         * malloc/tst-mtrace.c (main): Likewise.
12206         * malloc/tst-realloc.c (do_test): Likewise.
12207
12208 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12209
12210         [BZ #16366]
12211         * nscd/netgroupcache.c (do_notfound): New function.
12212         (addgetnetgrentX): Use it.
12213
12214         [BZ # 16365]
12215         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
12216         NSS_STATUS_NOTFOUND.
12217
12218 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
12219
12220         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12222
12223 2014-01-01  Allan McRae  <allan@archlinux.org>
12224
12225         * scripts/update-copyrights: Update configure input file suffix.
12226
12227         * NEWS: Update copyright year.
12228         * catgets/gencat.c: Likewise.
12229         * csu/version.c: Likewise.
12230         * debug/catchsegv.sh: Likewise.
12231         * debug/pcprofiledump.c: Likewise.
12232         * debug/xtrace.sh: Likewise.
12233         * elf/ldconfig.c: Likewise.
12234         * elf/ldd.bash.in: Likewise.
12235         * elf/pldd.c: Likewise.
12236         * elf/sotruss.ksh: Likewise.
12237         * elf/sprof.c: Likewise.
12238         * iconv/iconv_prog.c: Likewise.
12239         * iconv/iconvconfig.c: Likewise.
12240         * locale/programs/locale.c: Likewise.
12241         * locale/programs/localedef.c: Likewise.
12242         * login/programs/pt_chown.c: Likewise.
12243         * malloc/memusage.sh: Likewise.
12244         * malloc/memusagestat.c: Likewise.
12245         * malloc/mtrace.pl: Likewise.
12246         * manual/libc.texinfo: Likewise.
12247         * nscd/nscd.c: Likewise.
12248         * nss/getent.c: Likewise.
12249         * nss/makedb.c: Likewise.
12250         * posix/getconf.c: Likewise.
12251         * scripts/test-installation.pl: Likewise.
12252
12253         * All files with FSF copyright notices: Update copyright dates
12254         using scripts/update-copyrights.
12255         * intl/plural.c: Regenerated.
12256         * locale/programs/charmap-kw.h: Likewise.
12257         * locale/programs/locfile-kw.h: Likewise.
12258
12259 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
12260
12261         * sysdeps/unix/sysv/linux/configure: Regenerated.
12262         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
12263         the linux/fanotify.h header.
12264         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
12265         HAVE_LINUX_FANOTIFY_H is defined.
12266
12267 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
12268
12269         * benchtests/cos-inputs: New inputs.
12270         * benchtests/sin-inputs: Likewise.
12271
12272         * benchtests/atan-inputs: New inputs. Fix name of multiple
12273         precision fallback inputs.
12274
12275         * benchtests/atanh-inputs: New inputs.
12276         * benchtests/tanh-inputs: Likewise.
12277
12278         * benchtests/acosh-inputs: New inputs.
12279         * benchtests/asinh-inputs: Likewise.
12280
12281         * benchtests/cosh-inputs: New inputs.
12282         * benchtests/sinh-inputs: Likewise.
12283
12284         * benchtests/acos-inputs: Add more inputs.
12285         * benchtests/asin-inputs: Likewise.
12286
12287 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
12288
12289         [BZ #16375]
12290         * manual/arith.texi: Fix spelling.
12291         * manual/charset.texi: Likewise.
12292         * manual/errno.texi: Likewise.
12293         * manual/filesys.texi: Likewise.
12294         * manual/lang.texi: Likewise.
12295         * manual/llio.texi: Likewise.
12296         * manual/locale.texi: Likewise.
12297         * manual/message.texi: Likewise.
12298         * manual/resource.texi: Likewise.
12299         * manual/search.texi: Likewise.
12300         * manual/setjmp.texi: Likewise.
12301         * manual/stdio.texi: Likewise.
12302         * manual/string.texi: Likewise.
12303         * manual/sysinfo.texi: Likewise.
12304         * manual/time.texi: Likewise.
12305
12306 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
12307
12308         * po/sl.po: New file.
12309
12310 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
12311
12312         * .gitignore: Add core/.gdbinit/.gdb_history.
12313
12314 2013-12-27  Allan McRae  <allan@archlinux.org>
12315
12316         [BZ #16369]
12317         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12318         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12319
12320 2013-12-24  Brooks Moses  <bmoses@google.com>
12321
12322         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12323         all compilers that claim C++98 compliance, not just GCC.
12324         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12325         Likewise.
12326
12327 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12328
12329         * NEWS: Restore accidentally deleted bug-fix entries.
12330
12331 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
12332             Ondřej Bílka  <neleai@seznam.cz>
12333
12334         [BZ #15073]
12335         * malloc/malloc.c (_int_free): Perform sanity check only if we
12336         have_lock.
12337
12338 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
12339
12340         [BZ #12986]
12341         * manual/stdio.texi (String Input Conversions): Clarify that character
12342         classes are not supported.
12343
12344 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12345
12346         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12347
12348 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
12349
12350         [BZ #16337]
12351         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12352         Calculate results for small negative arguments directly rather
12353         than using reflection formula with special underflow handling.
12354
12355         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12356         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12357         sysdeps/unix/bsd/bsd4.4/syscalls.list.
12358         (fchflags): Likewise.
12359         (revoke): Likewise.
12360         (setlogin): Likewise.
12361         (sigaltstack): Likewise.
12362         (wait4): Likewise.
12363         (sigblock): Remove.
12364         (sigsetmask): Likewise.
12365         (wait3): Likewise.
12366         (waitpid): Likewise.
12367         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12368         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12369         file.
12370         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12371         * sysdeps/unix/bsd/Makefile: ... here.
12372         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12373         * sysdeps/unix/bsd/Versions: ... here.
12374         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12375         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12376         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12377         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12378         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12379         * sysdeps/unix/bsd/sigblock.c: ... here.
12380         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12381         * sysdeps/unix/bsd/sigsetmask.c: ... here.
12382         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12383         * sysdeps/unix/bsd/sigvec.c: ... here.
12384         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12385         * sysdeps/unix/bsd/tcdrain.c: ... here.
12386         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12387         * sysdeps/unix/bsd/tcgetattr.c: ... here.
12388         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12389         * sysdeps/unix/bsd/tcsetattr.c: ... here.
12390         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12391         * sysdeps/unix/bsd/wait.c: ... here.
12392         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12393         * sysdeps/unix/bsd/wait3.c: ... here.
12394         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12395         * sysdeps/unix/bsd/waitpid.c: ... here.
12396
12397 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
12398
12399         [BZ #16356]
12400         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12401         round-to-nearest for [!USE_AS_EXPM1L].
12402         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12403         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
12404         more tests of exp and exp10.  Expect some exp10 tests to miss
12405         exceptions or fail in directed rounding modes.
12406         * math/auto-libm-test-out: Regenerated.
12407         * math/libm-test.inc (exp10_tonearest_test_data): New array.
12408         (exp10_test_tonearest): New function.
12409         (exp10_towardzero_test_data): New array.
12410         (exp10_test_towardzero): New function.
12411         (exp10_downward_test_data): New array.
12412         (exp10_test_downward): New function.
12413         (exp10_upward_test_data): New array.
12414         (exp10_test_upward): New function.
12415         (main): Call the new functions.
12416         * sysdeps/i386/fpu/libm-test-ulps: Update.
12417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12418
12419 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
12420
12421         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12422         asinh, atan, atan2, atanh, cbrt, cos and cosh.
12423         * math/auto-libm-test-out: Regenerated.
12424         * math/libm-test.inc (acosh_test_data): Add more tests.
12425         (atanh_test_data): Likewise.
12426         (ceil_test_data): Likewise.
12427         (copysign_test_data): Likewise.
12428         * sysdeps/i386/fpu/libm-test-ulps: Update.
12429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12430
12431         * timezone/checktab.awk: Update from tzcode 2013i.
12432         * timezone/private.h: Likewise.
12433         * timezone/scheck.c: Likewise.
12434         * timezone/tzfile.h: Likewise.
12435         * timezone/tzselect.ksh: Likewise.
12436         * timezone/zdump.c: Likewise.
12437         * timezone/zic.c: Likewise.
12438
12439         * math/auto-libm-test-in: Add tests of cpow.
12440         * math/auto-libm-test-out: Regenerated.
12441         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12442         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12443         mpc_cc_c.
12444         (func_calc_desc): Add mpc_cc_c union field.
12445         (test_functions): Add cpow.
12446         (special_fill_2pi): New function.
12447         (special_real_inputs): Add 2pi.
12448         (calc_generic_results): Handle mpc_cc_c.
12449         * sysdeps/i386/fpu/libm-test-ulps: Update.
12450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12451
12452         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12453         csqrt, ctan and ctanh.
12454         * math/auto-libm-test-out: Regenerated.
12455         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12456         (TEST_COND_x86): Likewise.
12457         (ccos_test_data): Use AUTO_TESTS_c_c.
12458         (ccosh_test_data): Likewise.
12459         (cexp_test_data): Likewise.
12460         (clog_test_data): Likewise.
12461         (csqrt_test_data): Likewise.
12462         (ctan_test_data): Likewise.
12463         (ctan_tonearest_test_data): Likewise.
12464         (ctan_towardzero_test_data): Likewise.
12465         (ctan_downward_test_data): Likewise.
12466         (ctan_upward_test_data): Likewise.
12467         (ctanh_test_data): Likewise.
12468         (ctanh_tonearest_test_data): Likewise.
12469         (ctanh_towardzero_test_data): Likewise.
12470         (ctanh_downward_test_data): Likewise.
12471         (ctanh_upward_test_data): Likewise.
12472         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12473         mpc_c_c.
12474         (func_calc_desc): Add mpc_c_c union field.
12475         (FUNC_mpc_c_c): New macro.
12476         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12477         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12478         ctanh.
12479         (special_fill_min_subnorm_p120): New function.
12480         (special_real_inputs): Add min_subnorm_p120.
12481         (calc_generic_results): Handle mpc_c_c.
12482         * sysdeps/i386/fpu/libm-test-ulps: Update.
12483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12484
12485 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12486
12487         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12488         (do_sin_slow): New functions.
12489         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12490         (cslow2, csloww1, csloww2): Use the new functions.
12491
12492         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12493         Use M to change sign of result instead of X.  Assume X is
12494         positive.
12495         (csloww1): Likewise.
12496         (__sin): Adjust.
12497         (__cos): Adjust.
12498
12499         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12500         arguments A and DA.
12501         (__sin): Adjust.
12502         (__cos): Likewise.
12503
12504         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12505         (__cos): Likewise.
12506         (sloww1): Don't adjust sign of DX.
12507         (csloww1): Likewise.
12508         (sloww2): Use X directly and don't adjust sign of DX.
12509         (csloww2): Likewise.
12510
12511 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12512
12513         * math/auto-libm-test-in: Add tests of cabs and carg.
12514         * math/auto-libm-test-out: Regenerated.
12515         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12516         (carg_test_data): Likewise.
12517         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12518         mpc_c_f.
12519         (func_calc_desc): Add mpc_c_f union field.
12520         (test_functions): Add cabs and carg.
12521         (calc_generic_results): Handle mpc_c_f.
12522
12523         * sysdeps/powerpc/powerpc32/libgcc-compat.S
12524         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12525         as a macro and a compat symbol.
12526         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12527         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12528         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12529         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12530         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12531         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12532         not use .hidden.
12533         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12534         Likewise.
12535         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12536         Likewise.
12537         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12538         Likewise.
12539         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12540         Likewise.
12541         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12542         Likewise.
12543         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12544         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12545         from GLIBC_2.3.2.
12546
12547 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12548
12549         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12550
12551 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12552
12553         * manual/texinfo.tex: Update to version 2013-11-26.10 with
12554         trailing whitespace removed.
12555         * scripts/config.guess: Update to version 2013-11-29.
12556         * scripts/config.sub: Update to version 2013-10-01.
12557
12558         * math/auto-libm-test-in: Add tests of sincos.
12559         * math/auto-libm-test-out: Regenerated.
12560         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12561         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12562         mpfr_f_11.
12563         (func_calc_desc): Add mpfr_f_11 union field.
12564         (test_functions): Add sincos.
12565         (calc_generic_results): Handle mpfr_f_11.
12566         * sysdeps/i386/fpu/libm-test-ulps: Update.
12567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12568
12569 2013-12-19  Andreas Schwab  <schwab@suse.de>
12570
12571         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12572         CALL_MCOUNT.
12573         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12574         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12575         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12576
12577 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12578
12579         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12580         * sysdeps/i386/fpu/libm-test-ulps: Update.
12581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12582
12583         [BZ #16293]
12584         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12585         round-to-nearest mode when using frndint.
12586         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12587         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12588         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12589         Likewise.
12590         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
12591         sinh test to fail.
12592         * math/auto-libm-test-out: Regenerated.
12593         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12594         (TEST_COND_x86): Likewise.
12595         (expm1_tonearest_test_data): New array.
12596         (expm1_test_tonearest): New function.
12597         (expm1_towardzero_test_data): New array.
12598         (expm1_test_towardzero): New function.
12599         (expm1_downward_test_data): New array.
12600         (expm1_test_downward): New function.
12601         (expm1_upward_test_data): New array.
12602         (expm1_test_upward): New function.
12603         (main): Run the new test functions.
12604         * sysdeps/i386/fpu/libm-test-ulps: Update.
12605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12606
12607         * include/features.h: Update comment documenting feature test
12608         macros.  Mention _DEFAULT_SOURCE in comment.
12609         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12610         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12611         _BSD_SOURCE and _SVID_SOURCE.
12612         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12613         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12614         !_SVID_SOURCE]: Likewise.
12615         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12616         (__USE_POSIX_IMPLICITLY): Define.
12617         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12618         (_POSIX_SOURCE): Undefine and redefine.
12619         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12620         (_POSIX_C_SOURCE): Likewise.
12621         * manual/creature.texi (_DEFAULT_SOURCE): Document.
12622         (Feature Test Macros): Update documentation of default features.
12623
12624 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12625
12626         * benchtests/Makefile: Add bench-strtok.
12627         * benchtests/bench-strtok.c: New file: strtok benchtest.
12628
12629 2013-12-19  Allan McRae  <allan@archlinux.org>
12630
12631         * manual/install.texi: Suppress menu for plain text output.
12632         * INSTALL: Regenerated.
12633
12634 2013-12-18  Brooks Moses  <bmoses@google.com>
12635
12636         [BZ #15846]
12637         * misc/getauxval.c: Include errno.h.
12638         (__getauxval): Set errno to ENOENT if the requested type is not
12639         found.
12640         * misc/sys/auxv.h (getauxval): Document that it may set errno;
12641         don't declare with __attribute_const__.
12642         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12643         * manual/startup.texi: Document that getauxval sets errno.
12644
12645 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12646
12647         * math/auto-libm-test-in: Add tests of jn and yn.
12648         * math/auto-libm-test-out: Regenerated.
12649         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12650         (yn_test_data): Likewise.
12651         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12652         mpfr_if_f.
12653         (func_calc_desc): Add mpfr_if_f union field.
12654         (FUNC_mpfr_if_f): New macro.
12655         (test_functions): Add jn and yn.
12656         (calc_generic_results): Assert type of second input for
12657         mpfr_ff_f.  Handle mpfr_if_f.
12658         (output_for_one_input_case): Disable all checking for arguments
12659         fitting floating-point types in case of an integer argument.
12660         * sysdeps/i386/fpu/libm-test-ulps: Update.
12661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12662
12663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12664         Don't expect fegetround reference in libm.so.
12665
12666 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12667
12668         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12669         $(config-cflags-nofma).
12670
12671 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12672
12673         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12674         * math/auto-libm-test-out: Regenerated.
12675
12676         [BZ #16338]
12677         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12678         to determine exponent and adjust argument to have exponent of -1.
12679         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12680         log2.
12681         * math/auto-libm-test-out: Regenerated.
12682         * sysdeps/i386/fpu/libm-test-ulps: Update.
12683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12684
12685 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
12686
12687         * manual/probes.texi: Remove cases when per-thread arenas are
12688         disabled.
12689
12690 2013-12-18  Andreas Schwab  <schwab@suse.de>
12691
12692         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12693         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12694         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12695         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12696         * sysdeps/i386/i686/multiarch/Makefile: Update.
12697         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12698
12699 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12700
12701         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12702         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12703
12704 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
12705
12706         [BZ #15968]
12707         Support TZ transition times < 00:00:00.
12708         This is needed for version-3 tz-format files; it supports time
12709         stamps past 2037 for America/Godthab (the only entry in the tz
12710         database for which this change is relevant).
12711         * manual/time.texi (TZ Variable): Document transition times
12712         from -167:59:59 through -00:00:01.
12713         * time/tzset.c (tz_rule): Time of day is now signed.
12714         (__tzset_parse_tz): Parse negative time of day.
12715
12716         Document TZ transition times >= 25:00:00.
12717         * manual/time.texi (TZ Variable): Document transition times from
12718         25:00:00 through 167:59:59.  These are already supported, and this
12719         support will help with version-3 tz-format files.
12720
12721         * manual/time.texi (TZ Variable): Modernize North America example
12722         to reflect current (i.e., 2007-and-later) daylight saving rules.
12723
12724         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12725
12726 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12727
12728         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12729         * sysdeps/unix/bsd/bits/stat.h: Likewise.
12730         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12731         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12732         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12733         * sysdeps/unix/bsd/bsdstat.h: Likewise.
12734         * sysdeps/unix/bsd/clock.c: Likewise.
12735         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12736         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12737         * sysdeps/unix/bsd/init-posix.c: Likewise.
12738         * sysdeps/unix/bsd/poll.c: Likewise.
12739         * sysdeps/unix/bsd/ptsname.c: Likewise.
12740         * sysdeps/unix/bsd/seekdir.c: Likewise.
12741         * sysdeps/unix/bsd/setegid.c: Likewise.
12742         * sysdeps/unix/bsd/seteuid.c: Likewise.
12743         * sysdeps/unix/bsd/setgid.c: Likewise.
12744         * sysdeps/unix/bsd/setrgid.c: Likewise.
12745         * sysdeps/unix/bsd/setruid.c: Likewise.
12746         * sysdeps/unix/bsd/setsid.c: Likewise.
12747         * sysdeps/unix/bsd/setuid.c: Likewise.
12748         * sysdeps/unix/bsd/sigaction.c: Likewise.
12749         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12750         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12751         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12752         * sysdeps/unix/bsd/telldir.c: Likewise.
12753         * sysdeps/unix/bsd/times.c: Likewise.
12754         * sysdeps/unix/bsd/usleep.c: Likewise.
12755
12756         * misc/Makefile (install-lib): Remove libbsd-compat.a.
12757         ($(objpfx)libbsd-compat.a): Remove rule.
12758
12759         * include/features.h (__FAVOR_BSD): Do not define.
12760         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12761         features conflicting with POSIX.
12762         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12763         (_BSD_SOURCE): Remove description of not being a subset of other
12764         feature test macros.
12765         * manual/job.texi (getpgrp): Do not document BSD version.
12766         (getpgid): Do not document by reference to BSD getpgrp.
12767         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12768         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12769         * signal/signal.h [__FAVOR_BSD]: Likewise.
12770         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12771         instead of making contents conditional on [__FAVOR_BSD].
12772         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12773
12774 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12775
12776         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12777
12778 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12779
12780         [BZ #16314]
12781         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12782         values below 2**-450, not 2**-500.
12783         * math/auto-libm-test-in: Don't allow spurious underflow from
12784         hypot.
12785         * math/auto-libm-test-out: Regenerated.
12786
12787         [BZ #16316]
12788         [BZ #16330]
12789         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12790         values of ha and hb and sort them after adjusting subnormal
12791         arguments.
12792         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12793         Likewise.
12794         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12795         values of ea and eb and sort them after adjusting subnormal
12796         arguments.
12797         * math/auto-libm-test-in: Do not expect some hypot tests of
12798         subnormals to fail.  Add more hypot tests.
12799         * math/auto-libm-test-out: Regenerated.
12800
12801 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12802
12803         [BZ #13304]
12804         * sysdeps/sh/s_fma.c: New file.
12805         * sysdeps/sh/s_fmaf.c: New file.
12806         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
12807         version.
12808         * sysdeps/sh/Implies: Add sh/soft-fp.
12809
12810 2013-12-16  Roland McGrath  <roland@hack.frob.com>
12811
12812         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
12813         level of indirection to members `objname', `errstring', `malloced'.
12814         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12815         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
12816         it as the __longjmp argument (just pass 1 instead).
12817         (_dl_catch_error): Initialize C with argument pointers and address of
12818         volatile local ERRCODE rather than copying values out of C at return.
12819
12820 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
12821
12822         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12823         * math/auto-libm-test-out: Regenerated.
12824         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12825         (hypot_test_data): Likewise.
12826         (pow_test_data): Likewise.
12827         (pow_tonearest_test_data): Likewise.
12828         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12829         mpfr_ff_f.
12830         (func_calc_desc): Add mpfr_ff_f union field.
12831         (FUNC_mpfr_ff_f): New macro.
12832         (test_functions): Add atan2, hypot and pow.
12833         (special_fill_min): New function.
12834         (special_fill_minus_min): Likewise.
12835         (special_fill_min_subnorm): Likewise.
12836         (special_fill_minus_min_subnorm): Likewise.
12837         (special_real_inputs): Add min, -min, min_subnorm and
12838         -min_subnorm.
12839         (calc_generic_results): Handle mpfr_ff_f.
12840         * sysdeps/i386/fpu/libm-test-ulps: Update.
12841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12842
12843 2013-12-16  Will Newton  <will.newton@linaro.org>
12844
12845         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12846         (Aligned Memory Blocks): Add documentation for aligned_alloc
12847         and suggest it as an alternative to posix_memalign.
12848         (Hooks for Malloc): Document __memalign_hook is also called
12849         for aligned_alloc.  (Summary of Malloc): Add summary for
12850         aligned alloc.  Document __memalign_hook is also called
12851         for aligned_alloc.
12852
12853 2013-12-16  Will Newton  <will.newton@linaro.org>
12854
12855         * manual/memory.texi (Malloc Examples): Clarify default
12856         alignment documentation.  Suggest posix_memalign rather
12857         than memalign or valloc.
12858         (Aligned Memory Blocks): Remove suggestion to use memalign
12859         or valloc.  Remove obsolete comment about BSD.
12860         Document memalign errno values and mark the function obsolete.
12861         Document posix_memalign returned error codes.  Mark valloc
12862         as obsolete.  (Hooks for Malloc): __memalign_hook is also
12863         called for posix_memalign and valloc.
12864         (Summary of Malloc): Add posix_memalign to function summary.
12865         __memalign_hook is also called for posix_memalign and valloc.
12866
12867 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12868
12869         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12870         TAYLOR_SIN.
12871         (__sin): Adjust.
12872         (__cos): Likewise.
12873         (sloww): Use mynumber union.  Expand ternary operator into
12874         if-else statements.
12875         (cslow): use mynumber union.
12876
12877 2013-12-16  Allan McRae  <allan@archlinux.org>
12878
12879         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12880         * configure: Regenerated.
12881
12882         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12883
12884         [BZ #14120]
12885         * configure.ac: Added --enable-maintainer-mode. Check for
12886         autoconf when enabled.
12887         * configure: Regenerated.
12888
12889         * nscd/nscd.service: New file.
12890         * nscd/nscd.tmpfiles: New file.
12891
12892 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
12893
12894         [BZ #12100]
12895         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12896         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12897         * sysdeps/x86_64/multiarch/strstr.c: ... here.
12898         (strstr): Add __strstr_sse2_unaligned ifunc.
12899         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12900         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12901         (strcasestr): Remove __strcasestr_sse42 ifunc.
12902         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12903         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12904         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12905
12906 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12907
12908         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12909         * sysdeps/sh/bits/fenv.h: ... here.
12910         * sysdeps/sh/sh4/fpu/bits: Remove directory.
12911
12912 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12913
12914         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12915
12916         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12917         hypotf multiarch implementations.
12918         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12919         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12920         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12921         multiarch hypot for PPC64.
12922         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12923         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12924         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12925         multiarch hypotf for PPC64.
12926
12927         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12928         modff multiarch implementations.
12929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12932         multiarch modf for PPC64.
12933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12936         multiarch modff for PPC64.
12937
12938         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12939         and logl multiarch implementations.
12940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12943         multiarch logb for PPC64.
12944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12947         multiarch logb for PPC64.
12948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12951         multiarch logb for PPC64.
12952
12953         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12954         isinff multiarch implementation.
12955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12956         file.
12957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12959         multiarch isinf for PPC64.
12960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12961         file.
12962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12963         multiarch isinff for PPC64.
12964
12965         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12966         finitef multiarch implementation.
12967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12968         file.
12969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12971         multiarch finite for PPC64.
12972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12973         file.
12974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12975         multiarch finitef for PPC64.
12976
12977         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12978         lrint multiarch implementation.
12979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12980         file.
12981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12983         multiarch llrint for PPC64.
12984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12985         multiarch lrint for PPC64.
12986
12987         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12988         copysignf multiarch implementation.
12989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12990         file.
12991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12992         file.
12993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12994         multiarch copysign for PPC64.
12995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12996         multiarch copysignf for PPC64.
12997
12998         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12999         multiarch implementation.
13000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13001         file.
13002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13003         file.
13004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13005         file.
13006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13007         file.
13008         multiarch llround for PPC64.
13009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13010         multiarch trunc for PPC64.
13011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13012         multiarch truncf for PPC64.
13013
13014         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13015         multiarch implementation.
13016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13017         file.
13018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13019         file.
13020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13021         file.
13022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13023         file.
13024         multiarch llround for PPC64.
13025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13026         multiarch round for PPC64.
13027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13028         multiarch roundf for PPC64.
13029
13030         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13031         multiarch implementation.
13032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13033         file.
13034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13035         file.
13036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13037         file.
13038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13039         file.
13040         multiarch llround for PPC64.
13041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13042         multiarch floor for PPC64.
13043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13044         multiarch floorf for PPC64.
13045
13046         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13047         multiarch implementation.
13048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13049         file.
13050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13051         file.
13052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13053         file.
13054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13055         file.
13056         multiarch llround for PPC64.
13057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13058         multiarch ceil for PPC64.
13059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13060         multiarch ceilf for PPC64.
13061
13062         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13063         multiarch implementation.
13064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13065         file.
13066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13067         file.
13068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13069         file.
13070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13071         multiarch llround for PPC64.
13072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13073         multiarch lround for PPC64.
13074
13075         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13076         multiarch implementation.
13077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13080         file.
13081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13084         multiarch isnan for PPC64.
13085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13086         multiarch isnanf for PPC64.
13087
13088         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13089         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13090         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13091         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13092         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13094
13095         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13096         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13097         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13098         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13099
13100         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13101         multiarch implementations.
13102         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13103         (__libc_ifunc_impl_list): Likewise.
13104         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13105         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13106         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13107         multiarch stpcpy for PPC64.
13108
13109         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13110         multiarch implementations.
13111         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13112         (__libc_ifunc_impl_list): Likewise.
13113         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13114         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13115         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13116         multiarch strcpy for PPC64.
13117
13118         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13119         redefine function name.
13120         (_wordcopy_fwd_dest_aligned): Likewise.
13121         (_wordcopy_bwd_aligned): Likewise.
13122         (_wordcopy_bwd_dest_aligned): Likewise.
13123         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13124         multiarch implementations.
13125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13126         (__libc_ifunc_impl_list): Likewise.
13127         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13128         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13129         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13130         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13131         multiarch wcscpy for PPC64.
13132
13133         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13134         multiarch implementations.
13135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13136         (__libc_ifunc_impl_list): Likewise.
13137         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
13138         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
13139         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
13140         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
13141         multiarch wcscpy for PPC64.
13142
13143         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
13144         multiarch implementations.
13145         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13146         (__libc_ifunc_impl_list): Likewise.
13147         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
13148         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
13149         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
13150         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
13151         multiarch wcsrchr for PPC64.
13152
13153         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
13154         multiarch implementations.
13155         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13156         (__libc_ifunc_impl_list): Likewise.
13157         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
13158         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
13159         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
13160         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
13161         multiarch wcschr for PPC64.
13162
13163         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
13164         multiarch implementations.
13165         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13166         (__libc_ifunc_impl_list): Likewise.
13167         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
13168         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
13169         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
13170         multiarch strchrnul for PPC64.
13171
13172         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
13173         implementations.
13174         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13175         (__libc_ifunc_impl_list): Likewise.
13176         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
13177         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
13178         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
13179         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
13180         strchr for PPC64.
13181
13182         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
13183         implementations.
13184         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13185         (__libc_ifunc_impl_list): Likewise.
13186         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
13187         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
13188         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
13189         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
13190         strncmp for PPC64.
13191
13192         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
13193         multiarch implementations.
13194         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13195         (__libc_ifunc_impl_list): Likewise.
13196         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
13197         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
13198         strncasecmp for PPC64.
13199         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
13200         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
13201         multiarch strncasecmp_l for PPC64.
13202
13203         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
13204         multiarch implementations.
13205         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13206         (__libc_ifunc_impl_list): Likewise.
13207         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
13208         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
13209         multiarch strcasecmp for PPC64.
13210         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
13211         file.
13212         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
13213         multiarch strcasecmp_l for PPC64.
13214
13215         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
13216         implementations.
13217         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13218         (__libc_ifunc_impl_list): Likewise.
13219         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
13220         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
13221         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
13222         strnlen for PPC64.
13223
13224         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
13225         implementations.
13226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13227         (__libc_ifunc_impl_list): Likewise.
13228         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
13229         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
13230         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
13231         strlen for PPC64.
13232
13233         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
13234         implementations.
13235         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13236         (__libc_ifunc_impl_list): Likewise.
13237         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
13238         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
13239         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
13240         rawmemrchr for PPC64.
13241
13242         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
13243         implementation.
13244         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13245         (__libc_ifunc_impl_list): Likewise.
13246         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
13247         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
13248         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
13249         memrchr for PPC64.
13250
13251         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
13252         implementation.
13253         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13254         (__libc_ifunc_impl_list): Likewise.
13255         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
13256         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
13257         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
13258         memchr for PPC64.
13259
13260         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
13261         implementation.
13262         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13263         (__libc_ifunc_impl_list): Likewise.
13264         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
13265         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
13266         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
13267         mempcpy for PPC64.
13268
13269         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
13270         avoid cretion of __bzero symbol.
13271         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
13272         Likewise.
13273         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
13274         Likewise.
13275         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
13276         Likewise.
13277         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
13278         multiarch implementations.
13279         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13280         (__libc_ifunc_impl_list): Likewise.
13281         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13282         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13283         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13284         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13285         bzero for PPC32.
13286         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13287         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13288         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13289         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13290         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13291         memset for PPC64.
13292         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13293
13294         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13295         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13296         implementations.
13297         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13298         (__libc_ifunc_impl_list): Likewise.
13299         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13300         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13301         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13302         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13303         memcmp for PPC64.
13304
13305         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13306         multiarch for POWER/PPC64.
13307         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13308         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13309         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13310         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13311         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13312         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13313         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13314         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13315         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13316         memcpy for PPC64.
13317
13318         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13319         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13320         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13321         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13322         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13323         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13324         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13325         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13326         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13327         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13328         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13329         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13330         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13331         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13332         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13340
13341 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13342
13343         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13344
13345 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13346
13347         * benchtests/Makefile (bench): Add exp2 and log2.
13348         (LDLIBS-bench-exp2): Add -lm.
13349         (LDLIBS-bench-log2): Likewise.
13350         * benchtests/exp2-inputs: New inputs file.
13351         * benchtests/log2-inputs: New inputs file.
13352         * benchtests/log-inputs: Add new inputs.
13353         * benchtests/tan-inputs: Likewise.
13354
13355 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13356
13357         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13358         definition...
13359         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13360         (csloww2): ... from here.
13361
13362         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13363         instead of structures.
13364         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13365         (POLYNOMIAL): Likewise.
13366         (TAYLOR_SLOW): Likewise.
13367         (__sin): Likewise.
13368         (__cos): Likewise.
13369         (slow1): Likewise.
13370         (slow2): Likewise.
13371         (sloww): Likewise.
13372         (sloww1); Likewise.
13373         (sloww2): Likewise.
13374         (bsloww1): Likewise.
13375         (bsloww2): Likewise.
13376         (cslow2): Likewise.
13377         (csloww): Likewise.
13378         (csloww1): Likewise.
13379         (csloww2): Likewise.
13380
13381 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
13382
13383         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
13384         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13385         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
13386         * malloc/hooks.c (realloc_check): Likewise.
13387
13388         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13389         * malloc/arena.c: Remove PER_THREAD conditional.
13390         [!PER_THREAD]: Remove code.
13391         (ptmalloc_unlock_all2): Likewise.
13392         (ptmalloc_init): Likewise.
13393         (_int_new_arena): Likewise.
13394         (arena_get2): Likewise.
13395         * malloc/hooks.c (__malloc_get_state): Likewise.
13396         (__malloc_set_state): Likewise.
13397         * malloc/malloc.c: Likewise.
13398         (struct malloc_state): Likewise.
13399         (struct malloc_par): Likewise.
13400         (__libc_realloc): Likewise.
13401         (__libc_mallopt): Likewise.
13402
13403 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13404
13405         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13406
13407 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
13408
13409         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13410         macro to a function.  Check for zero perturb_byte.
13411         (_int_malloc, _int_free): Remove zero perturb_byte checks.
13412
13413         * malloc/malloc.c: (force_reg): Remove.
13414         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13415         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
13416         force_reg by atomic_forced_read.
13417         * malloc/arena.c (ptmalloc_init): Likewise.
13418         * malloc/hooks.c (top_check): Likewise.
13419
13420 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13421
13422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13423
13424 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
13425
13426         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13427
13428 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
13429
13430         * math/auto-libm-test-in: Add tests of lgamma.
13431         * math/auto-libm-test-out: Regenerated.
13432         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13433         (M_LOG_2_SQRT_PIl): Likewise.
13434         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13435         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13436         mpfr_f_f1.
13437         (func_calc_desc): Add mpfr_f_f1 union field.
13438         (ARGS1): New macro.
13439         (ARGS2): Likewise.
13440         (ARGS3): Likewise.
13441         (ARGS4): Likewise.
13442         (RET1): Likewise.
13443         (RET2): Likewise.
13444         (CALC): Likewise.
13445         (FUNC): Likewise.
13446         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13447         (test_functions): Add lgamma.
13448         (calc_generic_results): Handle mpfr_f_f1.
13449         * sysdeps/i386/fpu/libm-test-ulps: Update.
13450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13451
13452 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13453
13454         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13455         __mpn_add_n for PowerPC64/POWER7.
13456         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13457         __mpn_sub_n for PowerPC64/POWER7.
13458
13459         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13460         __mpn_addmul_1 for PowerPC64.
13461         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13462         __mpn_submul_1 for PowerPC64.
13463         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13464         for PowerPC64.
13465         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13466         for PowerPC64.
13467
13468 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
13469
13470         [BZ #15089]
13471         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13472
13473 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13474
13475         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13476
13477         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13478         add multiarch folders.
13479         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13480         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13481         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13482         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13483         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13484         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13485         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13486         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13487         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13488         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13489         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13496
13497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13498         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13500         New file.
13501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13502         New file.
13503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13504         multiarch __ieee754_hypot for PowerPC32.
13505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13506         New file.
13507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13508         New file.
13509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13510         multiarch __ieee754_hypotf for PowerPC32.
13511
13512         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13513         long_double_symbol only if __logbl is defined.
13514         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13515         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13516         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13517         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13518         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13519         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13520         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13521         path for implementation.
13522         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13523         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13525         logb, and logbl multiarch implementations for PowerPC32.
13526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13527         file.
13528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13529         file.
13530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13531         multiarch logb for PowerPC32.
13532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13533         file.
13534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13535         file.
13536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13537         multiarch logbf for PowerPC32.
13538         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13540         file.
13541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13542         multiarch logbl implementation for PowerPC32.
13543
13544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13545         and modff multiarch implementations.
13546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13547         New file.
13548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13549         New file.
13550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13551         multiarch modf for PowerPC32.
13552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13553         New file.
13554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13555         New file.
13556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13557         multiarch modff for PowerPC32.
13558
13559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13560         and lrintf multiarch implementations.
13561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13562         New file.
13563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13564         New file.
13565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13566         multiarch lrint for PowerPC32.
13567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13568         file: multiarch lrintf for PowerPC32.
13569
13570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13571         and lroundf multiarch implementations.
13572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13573         New file.
13574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13575         New file.
13576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13577         New file.
13578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13579         multiarch lround for PowerPC32.
13580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13581         file: multiarch lroundf for PowerPC32.
13582
13583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13584         copysign and copysignf multiarch implementations.
13585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13586         New file.
13587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13588         New file.
13589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13590         file: multiarch copysign for PowerPC32.
13591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13592         file: multiarch copysignf for PowerPC32.
13593
13594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13595         and truncf multiarch implementations.
13596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13597         New file.
13598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13599         file.
13600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13601         multiarch trunc for PowerPC32.
13602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13603         New file.
13604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13605         New file.
13606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13607         multiarch truncf for PowerPC32.
13608
13609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13610         and roundf multiarch implementations.
13611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13612         New file.
13613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13614         file.
13615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13616         multiarch round for PowerPC32.
13617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13618         New file.
13619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13620         New file.
13621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13622         multiarch roundf for PowerPC32.
13623
13624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13625         and floorf multiarch implementations.
13626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13627         New file.
13628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13629         file.
13630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13631         multiarch floor for PowerPC32.
13632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13633         New file.
13634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13635         New file.
13636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13637         multiarch floorf for PowerPC32.
13638
13639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13640         and ceilf multiarch implementations.
13641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13642         New file.
13643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13644         file.
13645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13646         multiarch ceil for PowerPC32.
13647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13648         New file.
13649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13650         file.
13651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13652         multiarch ceilf for PowerPC32.
13653
13654         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13655         is defined.
13656         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13657         FINITEF is defined.
13658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13659         and finitef multiarch implementations.
13660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13661         New file.
13662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13663         file.
13664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13665         multiarch finite for PowerPC32.
13666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13667         New file.
13668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13669         file: multiarch finitef for PowerPC32.
13670
13671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13672         and isinff multiarch implementations.
13673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13674         file.
13675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13676         file.
13677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13678         multiarch isinf for PowerPC32.
13679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13680         New file.
13681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13682         multiarch isinff for PowerPC32.
13683
13684         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13685         alias when __isnan is defined.
13686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13687         and isnanf multiarch implementations.
13688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13689         file.
13690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13691         file.
13692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13693         file.
13694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13695         file.
13696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13697         multiarch isnan for PowerPC32.
13698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13699         New file.
13700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13701         New file.
13702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13703         multiarch isnanf for PowerPC32.
13704
13705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13706         and sqrtf multiarch implementations.
13707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13708         file.
13709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13710         file.
13711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13712         multiarch sqrt for PowerPC32.
13713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13714         file.
13715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13716         file.
13717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13718         multiarch sqrtf for PowerPC32.
13719
13720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13721         and llroundf multiarch implementations.
13722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13723         New file.
13724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13725         New file.
13726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13727         New file.
13728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13729         file: multiarch llround for PowerPC32.
13730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13731         file: multiarch llroundf for PowerPC32.
13732
13733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13734         multiarch PowerPC32 fpu implementations.
13735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13736         New file.
13737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13738         New file.
13739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13740         multiarch llrint for PowerPC32.
13741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13742         New file.
13743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13744         New file.
13745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13746         file.
13747
13748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13749
13750         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13751         file.
13752         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13753         file.
13754         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13755         file.
13756         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13757         multiarch wordcopy for PPC32.
13758         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13759         wordcopy objects.
13760         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13761         (__libc_ifunc_impl_list): Likewise.
13762         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13763         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13764         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13765         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13766         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13767         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13768
13769         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13770         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13771         file.
13772         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13773         file.
13774         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13775         file.
13776         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13777         multiarch wcscpy for PPC32.
13778         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13779         multiarch objects.
13780         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13781         (__libc_ifunc_impl_list): Likewise.
13782         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13783         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13784         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13785         sysdeps/powerpc/power6/wcscpy.c.
13786
13787         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13788         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13789         file.
13790         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13791         file.
13792         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13793         file.
13794         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13795         multiarch wcsrchr for PPC32.
13796         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13797         multiarch objects.
13798         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13799         (__libc_ifunc_impl_list): Likewise.
13800         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13801         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13802         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13803         sysdeps/powerpc/power6/wcsrchr.c.
13804
13805         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13806         file.
13807         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13808         file.
13809         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13810         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13811         multiarch wcschr for PPc32.
13812         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13813         multiarch objects.
13814         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13815         (__libc_ifunc_impl_list): Likewise.
13816         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13817         * sysdeps/powerpc/power6/wcschr.c: ... to here.
13818         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13819         sysdeps/powerpc/power6/wcschr.c.
13820
13821         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13822         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13823         file.
13824         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13825         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13826         file: multiarch strchr for PPC32.
13827         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13828         multiarch objects.
13829         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13830         (__libc_ifunc_impl_list): Likewise.
13831
13832         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13833         name.
13834         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13835         file.
13836         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13837         file.
13838         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13839         multiarch strchrnul for PPC32.
13840         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13841         multiarch objects.
13842         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13843         (__libc_ifunc_impl_list): Likewise.
13844
13845         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13846         file.
13847         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13848         multiarch strncasecmp for PPC32.
13849         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13850         file.
13851         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13852         multiarch strncasecmp_l for PPC32.
13853         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13854         strncasecmp multiarch objects.
13855         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13856         (__libc_ifunc_impl_list): Likewise.
13857
13858         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13859         file.
13860         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13861         multiarch strncasecmp for PPC32.
13862         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13863         New file.
13864         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13865         multiarch strcasecmp_l for PPC32.
13866         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13867         multiarch objects.
13868         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13869         (__libc_ifunc_impl_list): Likewise.
13870
13871         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13872         file.
13873         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13874         file.
13875         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13876         multiarch strncmp for PPC32.
13877         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13878         multiarch objects.
13879         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13880         (__libc_ifunc_impl_list): Likewise.
13881
13882         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13883         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13884         file.
13885         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13886         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13887         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13888         multiarch objects.
13889         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13890         (__libc_ifunc_impl_list): Likewise.
13891
13892         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13893         file.
13894         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13895         file.
13896         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13897         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13898         multiarch objects.
13899         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13900         (__libc_ifunc_impl_list): Likewise.
13901
13902         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13903         file.
13904         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13905         file.
13906         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13907         multiarch rawmemchr for PPC32.
13908         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13909         multiarch objects.
13910         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13911         (__libc_ifunc_impl_list): Likewise.
13912
13913         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13914         file.
13915         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13916         file.
13917         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13918         file: memrchr multiarch for PPC32.
13919         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13920         multiarch objects.
13921         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13922         (__libc_ifunc_impl_list): Likewise.
13923
13924         * string/memchr.c (__memchr): Using macro to redefine symbol name.
13925         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13926         file.
13927         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13928         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13929         multiarch memchr for PPC32.
13930         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13931         multiarch objects.
13932         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13933         (__libc_ifunc_impl_list): Likewise.
13934
13935         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13936         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13937         file.
13938         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13939         file.
13940         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13941         file: multiarch mempcpy for PPC32.
13942         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13943         multiarch objects.
13944         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13945         (__libc_ifunc_impl_list): Likewise.
13946
13947         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13948         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13949         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13950         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13951         multiarch bzero for PPC32.
13952         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13953         file.
13954         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13955         file.
13956         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13957         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13958         file: multiarch memset for PPC32.
13959         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13960         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13961         memset multiarch objects.
13962         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13963         (__libc_ifunc_impl_list): Likewise.
13964
13965         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13966         file.
13967         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13968         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13969         memcmp for PPC32.
13970         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13971         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13972         multiarch objects.
13973         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13974         (__libc_ifunc_impl_list): Likewise.
13975
13976         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13977         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13978         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13979         file.
13980         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13981         file.
13982         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13983         file.
13984         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13985         multiarch memcpy for PPC32.
13986         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13987         multiarch objects.
13988         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13989         (__libc_ifunc_impl_list): Likewise.
13990
13991         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13992         support multiarch for POWER/PPC32.
13993         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13994         Likewise.
13995         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13997         Implies file to make multiarch folder appers before the fpu and
13998         default folder for power4 configuration.
13999
14000 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14001
14002         * scripts/bench.pl: Append volatile keyword to type.
14003
14004 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14005
14006         * sysdeps/sh/sotruss-lib.c: New file.
14007         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14008
14009 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14010
14011         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14012
14013 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
14014
14015         [BZ #6810]
14016         * math/w_tgamma.c: Include <errno.h>.
14017         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
14018         * math/w_tgammaf.c: Include <errno.h>.
14019         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
14020         * math/w_tgammal.c: Include <errno.h>.
14021         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
14022         * math/auto-libm-test-in: Do not allow missing errno on tgamma
14023         underflow.  Add more tgamma tests.
14024         * math/auto-libm-test-out: Regenerated.
14025         * sysdeps/i386/fpu/libm-test-ulps: Update.
14026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14027
14028         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14029         sin, sinh, tan, tanh, tgamma, y0 and y1.
14030         * math/auto-libm-test-out: Regenerated.
14031         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14032         (TEST_COND_x86): Likewise.
14033         (M_E2l): Remove macro.
14034         (M_E3l): Likewise.
14035         (M_2_SQRT_PIl): Likewise.
14036         (M_SQRT_PIl): Likewise.
14037         (M_1_DIV_El): Likewise.
14038         (log_test_data): Use AUTO_TESTS_f_f.
14039         (log10_test_data): Likewise.
14040         (log1p_test_data): Likewise.
14041         (log2_test_data): Likewise.
14042         (sin_test_data): Likewise.
14043         (sin_tonearest_test_data): Likewise.
14044         (sin_towardzero_test_data): Likewise.
14045         (sin_downward_test_data): Likewise.
14046         (sin_upward_test_data): Likewise.
14047         (sinh_test_data): Likewise.
14048         (sinh_tonearest_test_data): Likewise.
14049         (sinh_towardzero_test_data): Likewise.
14050         (sinh_downward_test_data): Likewise.
14051         (sinh_upward_test_data): Likewise.
14052         (tan_test_data): Likewise.
14053         (tan_tonearest_test_data): Likewise.
14054         (tan_towardzero_test_data): Likewise.
14055         (tan_downward_test_data): Likewise.
14056         (tan_upward_test_data): Likewise.
14057         (tanh_test_data): Likewise.
14058         (tgamma_test_data): Likewise.
14059         (y0_test_data): Likewise.
14060         (y1_test_data): Likewise.
14061         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14062         (special_real_inputs): Add pi/4.
14063         * sysdeps/i386/fpu/libm-test-ulps: Update.
14064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14065
14066 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14067
14068         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14069         "longjmp_target" static probes.
14070         (__longjmp): Rename to __longjmp_symbol.
14071         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14072         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14073         on which longjmp to generate.
14074         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14075         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14076         probe.
14077         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14078         (__sigjmp_save): Rename to __sigjmp_save_symbol.
14079         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14080         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14081         and __sigjmp_save_symbol based on which sigsetjmp to generated.
14082         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14084         __longjmp_symbol based on which __longjmp to generate.
14085         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14086         probe.
14087         (setjmp): Rename to setjmp_symbol.
14088         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14089         (_setjmp): Rename to _setjmp_symbol.
14090         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14091         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14092         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14093         which setjmp to generate.
14094         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14095         "longjmp_target" static probes.
14096
14097 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14098
14099         * benchtests/README: Add note about output arguments.
14100         * benchtests/bench-sincos.c: Remove file.
14101         * benchtests/sincos-inputs: New file.
14102         * scripts/bench.pl: Identify output arguments and define
14103         static variables for them.
14104
14105         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14106
14107         [BZ #15941]
14108         * Makefile (INSTALL): Add install-plain.texi as the primary
14109         dependency.
14110         * manual/install-plain.texi: New file.
14111         * manual/install.texi: Include node directive only for
14112         non-plaintext output.
14113
14114 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
14115
14116         * stdlib/longlong.h: Update from GCC.
14117
14118         [BZ #6807]
14119         [BZ #15901]
14120         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14121         * math/w_j0f.c (y0f): Likewise.
14122         * math/w_j0l.c (__y0l): Likewise.
14123         * math/w_j1.c (y1): Likewise.
14124         * math/w_j1f.c (y1f): Likewise.
14125         * math/w_j1l.c (__y1l): Likewise
14126         * math/w_jn.c (yn): Likewise.
14127         * math/w_jnf.c (ynf): Likewise.
14128         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14129         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
14130         value for Bessel function domain errors outside _SVID_ mode.
14131         Adjust sign of return value for yn (negative integer, 0).
14132         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14133         by zero in return for negative x and set sign appropriately for
14134         negative n.
14135         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14136         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14137         * math/libm-test.inc (y0_test_data): Add more tests and adjust
14138         expectations in error cases.
14139         (y1_test_data): Likewise.
14140         (yn_test_data): Likewise.
14141         * sysdeps/i386/fpu/libm-test-ulps: Update.
14142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14143
14144 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14145
14146         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
14147         "64" to "64-v1".  Add "64-v2".
14148         (abi-64-options): Rename to ...
14149         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
14150         (abi-64-condition): Rename to ...
14151         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
14152         (abi-64-ld-soname): Rename to ...
14153         (abi-64-v1-ld-soname): ... this.
14154         (abi-64-v2-options): Define.
14155         (abi-64-v2-condition): Likewise.
14156         (abi-64-v2-ld-soname): Likewise.
14157         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
14158         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
14159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
14160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
14161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
14162
14163 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14164             Alan Modra  <amodra@gmail.com>
14165
14166         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
14167         New versions for use with the ELFv2 ABI.
14168         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
14169         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
14170         declaration.
14171         (struct La_ppc64v2_retval): Likewise.
14172         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
14173         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
14174         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
14175         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
14176         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
14177         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14178         Do not save or restore CR.
14179         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
14180         (_dl_profile_resolve): Do no save or restore CR.  Support extended
14181         return values for ELFv2 ABI.  Fix location of FPR return registers.
14182         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
14183         updated values for _CALL_ELF == 2.
14184         (La_regs, La_retval, int_retval): Likewise.
14185
14186 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14187
14188         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
14189         (FRAME_MIN_SIZE_PARM): Likewise.
14190         (FRAME_BACKCHAIN): Likewise.
14191         (FRAME_CR_SAVE): Likewise.
14192         (FRAME_LR_SAVE): Likewise.
14193         (FRAME_TOC_SAVE): Likewise.
14194         (FRAME_PARM_SAVE): Likewise.
14195         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
14196         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
14197         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14198         (call_mcount_parm_offset): New macro.
14199         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
14200         (PROF): Use symbolic stack frame offsets.
14201         (TAIL_CALL_SYSCALL_ERROR): Likewise.
14202         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
14203         Redefine in terms of FRAME_MIN_SIZE.
14204         (_dl_runtime_resolve): Use symbolic stack frame offsets.
14205         (_dl_profile_resolve): Likewise.  Update comment.
14206         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
14207         symbols stack frame offsets.
14208         (__sigsetjmp): Likewise.
14209         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
14210         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
14211         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
14212         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
14213
14214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
14215         (FRAME_BACKCHAIN): Remove.
14216         (FRAME_CR_SAVE): Likewise.
14217         (FRAME_LR_SAVE): Likewise.
14218         (FRAME_COMPILER_DW): Likewise.
14219         (FRAME_LINKER_DW): Likewise.
14220         (FRAME_TOC_SAVE): Likewise.
14221         (FRAME_PARM_SAVE): Likewise.
14222         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
14223         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
14224         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
14225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
14226         (CHECK_SP): Use symbolic stack frame offsets.
14227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
14228         zone" instead of caller's parameter save area for temp storage.
14229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14230         Likewise.  Also, use symbolic stack frame offsets.
14231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
14232         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
14233         our own stack frame instead of the caller's.
14234         (__socket): Use symbolic stack frame offsets.
14235
14236 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14237             Alan Modra  <amodra@gmail.com>
14238
14239         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
14240         Define.
14241         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
14242         (PPC64_LOCAL_ENTRY_OFFSET): Define.
14243         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
14244         New function.
14245         (elf_machine_fixup_plt): Call it.
14246         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
14247         reloc arguments.
14248         (elf_machine_rela): Update call to elf_machine_plt_conflict.
14249         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14250         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
14251         r2 before calling target.
14252
14253 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14254             Alan Modra  <amodra@gmail.com>
14255
14256         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
14257         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
14258         versions of macros to support ELFv2 ABI.
14259         (LOCALENTRY): New macro.
14260         (ENTRY, EALIGN): Use it.
14261         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
14262         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
14263         fall through into ENTRY entry point.
14264         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
14265         Only define if _CALL_ELF != 2.
14266
14267         (elf_machine_matches_host): Verify ABI version matches.
14268         (RTLD_START): Use LOCALENTRY.
14269         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
14270         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
14271         (PLT_ENTRY_WORDS): New macro.
14272         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
14273         (elf_machine_runtime_setup): Support ELFv2 ABI.
14274         (elf_machine_fixup_plt): Likewise.
14275         (elf_machine_plt_conflict): Likewise.
14276         (resolve_ifunc): Likewise.
14277         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14278         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14279         Likewise.
14280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14281         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14283         (makecontext): Support ELFv2 ABI.
14284         * elf/elf.h (EF_PPC64_ABI): Define.
14285
14286 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14287
14288         * sysdeps/powerpc/powerpc64/sysdep.h
14289         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14290         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14291         (ENTRY) [ASSEMBLER]: ... but instead here ...
14292         (EALIGN) [ASSEMBLER]: ... and here.
14293         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14294         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14295         (ENTRY_2) [!ASSEMBLER]: Use it.
14296         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14297         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
14298         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14299         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
14300         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14302         Use PPC64_LOAD_FUNCPTR.
14303
14304         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14305
14306 2013-12-04  Alan Modra  <amodra@gmail.com>
14307
14308         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14309         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14310         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14311         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14312
14313         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14314         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14315         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14316         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14317         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14318         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14319
14320 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
14321
14322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14323         (__makecontext): Fix incorrect CFI when backtracing out of
14324         context created via makecontext.
14325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14326         (__setcontext): Fix incorrect CFI during switch to new context.
14327         (__novec_setcontext): Likewise.
14328
14329 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14330
14331         [BZ #4772]
14332         * time/strptime_l.c (__strptime_internal): Allow modifiers
14333         in strptime.
14334         * time/tst-strptime.c (day_tests): Add testcase.
14335
14336 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14337
14338         * scripts/bench.pl: Skip over blank lines.
14339
14340 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14341
14342         [BZ #926]
14343         * manual/time.texi (Calendar Time): Clarify what timezone functions
14344         use.
14345
14346 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14347
14348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14349
14350 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
14351
14352         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14353         implementation.
14354         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14355         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14356         * debug/memset_chk.c (__memset_chk): Likewise.
14357         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14358         * debug/strncpy_chk.c: Likewise.
14359
14360 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14361
14362         [BZ #15268]
14363         [BZ #15425]
14364         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14365         (__ieee754_exp): For possibly underflowing results, check size of
14366         result and force underflow exception if required.
14367         * math/auto-libm-test-in: Add more tests of exp.
14368         * math/auto-libm-test-out: Regenerated.
14369         * sysdeps/i386/fpu/libm-test-ulps: Update.
14370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14371
14372         [BZ #16283]
14373         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14374         * math/w_exp2f.c (__exp2f): Likewise.
14375         * math/w_exp2l.c (__exp2l): Likewise.
14376         * math/auto-libm-test-in: Do not allow missing errno on exp2
14377         underflow.
14378         * math/auto-libm-test-out: Regenerated.
14379
14380 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
14381
14382         [BZ #16274]
14383         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14384         handle filename validation.
14385         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14386         (do_open): Delete.
14387
14388 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
14389
14390         [BZ #6786]
14391         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14392         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14393         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14394         <float.h>.
14395         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14396         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14397         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14398         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14399         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14400         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14401         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14402         * math/auto-libm-test-in: Don't allow missing errno from erfc.
14403         Add more erfc tests.
14404         * math/auto-libm-test-out: Regenerated.
14405         * sysdeps/i386/fpu/libm-test-ulps: Update.
14406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14407
14408         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14409         exp2, expm1, j0 and j1.
14410         * math/auto-libm-test-out: Regenerated.
14411         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14412         (erfc_test_data): Likewise.
14413         (exp_test_data): Likewise.
14414         (exp_tonearest_test_data): Likewise.
14415         (exp_towardzero_test_data): Likewise.
14416         (exp_downward_test_data): Likewise.
14417         (exp_upward_test_data): Likewise.
14418         (exp10_test_data): Likewise.
14419         (exp2_test_data): Likewise.
14420         (expm1_test_data): Likewise.
14421         (j0_test_data): Likewise.
14422         (j1_test_data): Likewise.
14423         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14424         (input_flag_type): Add flag_xfail_rounding.
14425         (input_flags): Add xfail-rounding.
14426         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14427         (output_for_one_input_case): Handle flag_xfail_rounding.
14428         * sysdeps/i386/fpu/libm-test-ulps: Update.
14429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14430
14431 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14432
14433         [BZ #16289]
14434         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14435         division by 0.
14436
14437 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14438
14439         [BZ #16195]
14440         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14441         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14442         (STAP_PROBE0): New macro.
14443         (STAP_PROBE1): Likewise.
14444         (STAP_PROBE2): Likewise.
14445         (STAP_PROBE3): Likewise.
14446         (STAP_PROBE4): Likewise.
14447
14448 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
14449
14450         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14451
14452 2013-12-02  Steve Ellcey  <sellcey@mips.com>
14453
14454         * benchtests/Makefile (bench): Add sqrt.
14455         (LDLIBS-bench-sqrt): New.
14456         * benchtests/sqrt-input: New.
14457
14458 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
14459
14460         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14461         (GAIH_EAI): Likewise.
14462         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14463         (gaih_inet): Likewise.
14464         (getaddrinfo): Don't use GAIH_EAI.
14465
14466         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14467         (struct gaih): Remove definition.
14468
14469 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14470
14471         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14472         Use HERRNOP directly.
14473
14474 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14475
14476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14477
14478 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
14479
14480         * math/gen-auto-libm-tests.c (test_functions): Add more
14481         single-argument functions.
14482         (special_fill_pi_2): New function.
14483         (special_fill_minus_pi_2): Likewise.
14484         (special_fill_pi_6): Likewise.
14485         (special_fill_minus_pi_6): Likewise.
14486         (special_fill_pi_3): Likewise.
14487         (special_fill_2pi_3): Likewise.
14488         (special_fill_e): Likewise.
14489         (special_fill_1_e): Likewise.
14490         (special_fill_e_minus_1): Likewise.
14491         (special_real_inputs): Add more special inputs.
14492         (output_for_one_input_case): Do not require ERANGE on underflow to
14493         zero if round-to-nearest result does not underflow to zero, unless
14494         exact results required.
14495         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14496         atan, atanh, cbrt, cos and cosh.
14497         * math/auto-libm-test-out: Regenerated.
14498         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14499         (acos_tonearest_test_data): Likewise.
14500         (acos_towardzero_test_data): Likewise.
14501         (acos_downward_test_data): Likewise.
14502         (acos_upward_test_data): Likewise.
14503         (acosh_test_data): Likewise.
14504         (asin_test_data): Likewise.
14505         (asin_tonearest_test_data): Likewise.
14506         (asin_towardzero_test_data): Likewise.
14507         (asin_upward_test_data): Likewise.
14508         (asinh_test_data): Likewise.
14509         (atan_test_data): Likewise.
14510         (atanh_test_data): Likewise.
14511         (cbrt_test_data): Likewise.
14512         (cos_test_data): Likewise.
14513         (cos_tonearest_test_data): Likewise.
14514         (cos_towardzero_test_data): Likewise.
14515         (cos_downward_test_data): Likewise.
14516         (cos_upward_test_data): Likewise.
14517         (cosh_test_data): Likewise.
14518         (cosh_tonearest_test_data): Likewise.
14519         (cosh_towardzero_test_data): Likewise.
14520         (cosh_downward_test_data): Likewise.
14521         (cosh_upward_test_data): Likewise.
14522         * sysdeps/i386/fpu/libm-test-ulps: Update.
14523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14524
14525 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
14526
14527         [BZ #6787]
14528         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14529         * math/w_exp10f.c (__exp10f): Likewise.
14530         * math/w_exp10l.c (__exp10l): Likewise.
14531         * math/libm-test.inc (exp10_test_data): Add more tests and expect
14532         errno settings in existing tests.
14533
14534         [BZ #14032]
14535         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14536         precision control set to double precision.
14537         * sysdeps/i386/fpu/w_sqrt.c: New file.
14538         * math/auto-libm-test-in: Add more tests.
14539         * math/auto-libm-test-out: Update.
14540
14541         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14542         (sqrt_test_tonearest): New function.
14543         (sqrt_towardzero_test_data): New variable.
14544         (sqrt_test_towardzero): New function.
14545         (sqrt_downward_test_data): New variable.
14546         (sqrt_test_downward): New function.
14547         (sqrt_upward_test_data): New variable.
14548         (sqrt_test_upward): New function.
14549         (main): Call the new functions.
14550
14551         * math/gen-auto-libm-tests.c: New file.
14552         * math/auto-libm-test-in: Likewise.
14553         * math/auto-libm-test-out: New generated file.
14554         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14555         variables.
14556         (%beautify): Add generated representations of zero.
14557         (top level): Set $auto_input and call parse_auto_input.
14558         (beautify): Remove trailing "f" from hex float constants.
14559         (parse_args): Handle XFAIL_TEST.
14560         (convert_condition): New function.
14561         (or_value): Likewise.
14562         (or_cond_value): Likewise.
14563         (generate_testfile): Handle AUTO_TESTS_* lines.
14564         (parse_auto_input): New function.
14565         * math/libm-test.inc (XFAIL_TEST): New macro.
14566         (ERRNO_UNCHANGED): Update value.
14567         (ERRNO_EDOM): Likewise.
14568         (ERRNO_ERANGE): Likewise.
14569         (IGNORE_RESULT): Likewise.
14570         (TEST_COND_flt_32): New macro.
14571         (TEST_COND_dbl_64): Likewise.
14572         (TEST_COND_ldbl_96_intel): Likewise.
14573         (TEST_COND_ldbl_96_m68k): Likewise.
14574         (TEST_COND_ldbl_128): Likewise.
14575         (TEST_COND_ldbl_128ibm): Likewise.
14576         (TEST_COND_long32): Likewise.
14577         (TEST_COND_long64): Likewise.
14578         (TEST_COND_before_rounding): Likewise.
14579         (TEST_COND_after_rounding): Likewise.
14580         (enable_test): Handle XFAIL_TEST flag.
14581         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14582         with finite results.
14583         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14584         auto-libm-test-out.
14585
14586 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14587             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14588
14589         [BZ #16214]
14590         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14591         __tls_get_addr_internal instead of __tls_get_offset in order to
14592         avoid GOT pointer dependency.  Make rtld export
14593         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14594         __tls_get_addr since we are a __tls_get_offset platform.
14595         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14596         GOT pointer being set up before.
14597         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14598
14599 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
14600
14601         * manual/math.texi (Errors in Math Functions): Document accuracy
14602         goals.
14603
14604         [BZ #15004]
14605         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14606         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14607         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14608         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14609         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14610         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14611         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14612         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14613         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14614         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14615         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14616         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14617         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14618         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14619         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14620         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14621
14622         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14623         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14624         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14625         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14626         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14627         Likewise.
14628         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14629         Likewise.
14630         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14631         Likewise.
14632         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14633         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14634         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14635         atomic-feupdateenv and flt-rounds.
14636         * sysdeps/powerpc/nofpu/Versions (libc): Add
14637         __atomic_feholdexcept, __atomic_feclearexcept,
14638         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14639         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14640         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14641         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14642         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14643         here.
14644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14645         Update.
14646
14647         * manual/arith.texi (FP Exceptions): Document that exceptions may
14648         not be raised when matherr is used.
14649         (Math Error Reporting): Document overflow in directed rounding
14650         modes.  Document that errno may not be set when finite values are
14651         returned on overflow.  Document intent to set errno on underflow
14652         only for underflow to zero.
14653
14654         [BZ #16271]
14655         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14656         round-to-nearest then adjust result for other rounding modes.
14657         * include/fenv.h (fegetround): Use libm_hidden_proto.
14658         * math/fegetround.c (fegetround): Use libm_hidden_def.
14659         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14660         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14661         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14662         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14663         Likewise.
14664         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14665         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14666         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14667         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14668
14669 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14670
14671         [BZ #16077]
14672         * nss/Versions (libnss_files): Add
14673         _nss_files_gethostbyname3_r.
14674         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14675         New function.
14676         (HOST_DB_LOOKUP): Remove macro.
14677         (_nss_files_gethostbyname_r): Implement function without the
14678         HOST_DB_LOOKUP macro.
14679         (_nss_files_gethostbyname2_r): Likewise.
14680
14681 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
14682
14683         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14684
14685 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
14686
14687         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14688         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14689         warning.
14690
14691 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14692
14693         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14694         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14695         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14696         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14697         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14698         __fe_nomask_env_priv and attribute_hidden.
14699         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14700         (libc_feupdateenv_test_ppc): Likewise.
14701         (libc_feresetround_ppc): Likewise.
14702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14703         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14704         compat_symbol macro.
14705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14706         (__fe_nomask_env): Likewise.
14707         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14708
14709 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14710
14711         * string/Makefile: Remove ifunc tests.
14712         * string/test-string.h: Define TEST_IFUNC.
14713         * string/test-bcopy-ifunc.c: Remove.
14714         * string/test-bzero-ifunc.c: Likewise.
14715         * string/test-memccpy-ifunc.c: Likewise.
14716         * string/test-memchr-ifunc.c: Likewise.
14717         * string/test-memcmp-ifunc.c: Likewise.
14718         * string/test-memcpy-ifunc.c: Likewise.
14719         * string/test-memmem-ifunc.c: Likewise.
14720         * string/test-memmove-ifunc.c: Likewise.
14721         * string/test-mempcpy-ifunc.c: Likewise.
14722         * string/test-memrchr-ifunc.c: Likewise.
14723         * string/test-memset-ifunc.c: Likewise.
14724         * string/test-rawmemchr-ifunc.c: Likewise.
14725         * string/test-stpcpy-ifunc.c: Likewise.
14726         * string/test-stpncpy-ifunc.c: Likewise.
14727         * string/test-strcasecmp-ifunc.c: Likewise.
14728         * string/test-strcasestr-ifunc.c: Likewise.
14729         * string/test-strcat-ifunc.c: Likewise.
14730         * string/test-strchr-ifunc.c: Likewise.
14731         * string/test-strchrnul-ifunc.c: Likewise.
14732         * string/test-strcmp-ifunc.c: Likewise.
14733         * string/test-strcpy-ifunc.c: Likewise.
14734         * string/test-strcspn-ifunc.c: Likewise.
14735         * string/test-strlen-ifunc.c: Likewise.
14736         * string/test-strncasecmp-ifunc.c: Likewise.
14737         * string/test-strncat-ifunc.c: Likewise.
14738         * string/test-strncmp-ifunc.c: Likewise.
14739         * string/test-strncpy-ifunc.c: Likewise.
14740         * string/test-strnlen-ifunc.c: Likewise.
14741         * string/test-strpbrk-ifunc.c: Likewise.
14742         * string/test-strrchr-ifunc.c: Likewise.
14743         * string/test-strspn-ifunc.c: Likewise.
14744         * string/test-strstr-ifunc.c: Likewise.
14745
14746 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14747
14748         * benchtests/Makefile: Remove ifunc tests.
14749         * benchtests/bench-string.h: Define TEST_IFUNC.
14750         * benchtests/bench-bcopy-ifunc.c: Remove.
14751         * benchtests/bench-bzero-ifunc.c: Likewise.
14752         * benchtests/bench-memccpy-ifunc.c: Likewise.
14753         * benchtests/bench-memchr-ifunc.c: Likewise.
14754         * benchtests/bench-memcmp-ifunc.c: Likewise.
14755         * benchtests/bench-memcpy-ifunc.c: Likewise.
14756         * benchtests/bench-memmem-ifunc.c: Likewise.
14757         * benchtests/bench-memmove-ifunc.c: Likewise.
14758         * benchtests/bench-mempcpy-ifunc.c: Likewise.
14759         * benchtests/bench-memrchr-ifunc.c: Likewise.
14760         * benchtests/bench-memset-ifunc.c: Likewise.
14761         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14762         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14763         * benchtests/bench-stpcpy-ifunc.c: Likewise.
14764         * benchtests/bench-stpncpy-ifunc.c: Likewise.
14765         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14766         * benchtests/bench-strcasestr-ifunc.c: Likewise.
14767         * benchtests/bench-strcat-ifunc.c: Likewise.
14768         * benchtests/bench-strchr-ifunc.c: Likewise.
14769         * benchtests/bench-strchrnul-ifunc.c: Likewise.
14770         * benchtests/bench-strcmp-ifunc.c: Likewise.
14771         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14772         * benchtests/bench-strcpy-ifunc.c: Likewise.
14773         * benchtests/bench-strcspn-ifunc.c: Likewise.
14774         * benchtests/bench-strlen-ifunc.c: Likewise.
14775         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14776         * benchtests/bench-strncat-ifunc.c: Likewise.
14777         * benchtests/bench-strncmp-ifunc.c: Likewise.
14778         * benchtests/bench-strncpy-ifunc.c: Likewise.
14779         * benchtests/bench-strnlen-ifunc.c: Likewise.
14780         * benchtests/bench-strpbrk-ifunc.c: Likewise.
14781         * benchtests/bench-strrchr-ifunc.c: Likewise.
14782         * benchtests/bench-strsep-ifunc.c: Likewise.
14783         * benchtests/bench-strspn-ifunc.c: Likewise.
14784         * benchtests/bench-strstr-ifunc.c: Likewise.
14785
14786 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14787
14788         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14789
14790 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14791
14792         * resolv/netdb.h: Use __glibc_reserved instead __unused.
14793         * rt/aio.h: Likewise.
14794         * sysdeps/gnu/bits/utmp.h: Likewise.
14795         * sysdeps/gnu/bits/utmpx.h: Likewise.
14796         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14797         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14798         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14799         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14800         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14801         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14802         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14803         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14804         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14805         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14806         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14807         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14808         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14810         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14811         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14812         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14813         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14814         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14815         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14816         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14817         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14818         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14819         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14820         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14821         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14822         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14823         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14824         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14825         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14826         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14827         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14828         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14829         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14830         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14831         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14832         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14833         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14834         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14835         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14836         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14837         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14838
14839 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
14840
14841         [BZ #16245]
14842         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14843         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14844
14845 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
14846
14847         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14848         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14849         Likewise.
14850
14851 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14852
14853         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14854         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14855         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14856         (__fesetround): Remove define.
14857         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14858         rounding and exceptions handling.
14859         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14860         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14861         (__fe_nomask_env): Likewise.
14862         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14863         __fegetround instead of fegetround.
14864         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14865         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14866
14867 2013-11-21  Roland McGrath  <roland@hack.frob.com>
14868
14869         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14870         it's there.
14871
14872         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14873
14874 2013-11-21  Meador Inge  <meadori@codesourcery.com>
14875
14876         [BZ #11157]
14877         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14878         (encrypt_r): Likewise.
14879         * malloc/obstack.h (obstack_free): Likewise.
14880         * posix/unistd.h (encrypt): Likewise.
14881
14882 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
14883
14884         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14885         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14886         DL_CALL_DT_FINI() that call the functions directly.
14887         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14888         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14889         * elf/dl-fini.c: Likewise.
14890
14891 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
14892
14893         * malloc/hooks.c (memalign_check): Add alignment rounding.
14894         * malloc/malloc.c (_mid_memalign): New function.
14895         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14896         Implement by calling _mid_memalign.
14897         * manual/probes.texi (Memory Allocation Probes): Remove
14898         memory_valloc_retry and memory_pvalloc_retry.
14899
14900 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14901
14902         * locale/programs/locarchive.c (open_archive): Add const
14903         qualifier to ARCHIVEFNAME and copy default fname to
14904         DEFAULT_FNAME.
14905
14906         [BZ #15601]
14907         * libio/tst-widetext.input: Rename Oriya to Odia.
14908         * locale/iso-639.def: Likewise.
14909
14910         * manual/probes.texi (Mathematical Function Probes): Add
14911         documentation for sin, cos, asin and acos probes.
14912         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14913         (__sin32): Add slowasin probe.
14914         (__cos32): Add slowacos probe.
14915         (__mpsin): Add slowsin probe.
14916         (__mpcos): Add slowcos probe.
14917
14918 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
14919
14920         [BZ #15483]
14921         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14922         thread-local __sim_exceptions_thread and global
14923         __sim_exceptions_global.
14924         (__sim_disabled_exceptions): Change to thread-local
14925         __sim_disabled_exceptions_thread and global
14926         __sim_disabled_exceptions_global.
14927         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14928         and global __sim_round_mode_global.
14929         (__simulate_exceptions): Use thread-local floating-point state and
14930         set global state from it as needed.
14931         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14932         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14933         __sim_round_mode_thread.
14934         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14935         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14936         and global __sim_exceptions_global.
14937         (__sim_disabled_exceptions): Change to thread-local
14938         __sim_disabled_exceptions_thread and global
14939         __sim_disabled_exceptions_global.
14940         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14941         and global __sim_round_mode_global.
14942         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14943         (SIM_SET_GLOBAL): Likewise.
14944         * sysdeps/powerpc/soft-fp/sfp-machine.h
14945         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14946         __sim_round_mode_thread.
14947         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14948         __sim_disabled_exceptions_thread.
14949         (__sim_exceptions): Change to __sim_exceptions_thread.
14950         (__sim_disabled_exceptions): Change to
14951         __sim_disabled_exceptions_thread.
14952         (__sim_round_mode): Change to __sim_round_mode_thread.
14953         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14954         thread-local floating-point state and set global state from it as
14955         needed.
14956         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14957         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14958         (__sim_disabled_exceptions): Remove extern declaration.
14959         (feenableexcept): Use thread-local floating-point state and set
14960         global state from it as needed.
14961         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14962         extern declaration.
14963         (__sim_disabled_exceptions): Likewise.
14964         (__sim_round_mode): Likewise.
14965         (__fegetenv): Use thread-local floating-point state.
14966         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14967         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14968         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14969         floating-point state and set global state from it as needed.
14970         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14971         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14972         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14973         Likewise.
14974         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14975         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14976         Likewise.
14977         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14978         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14979         Use __sim_round_mode_thread.
14980         * math/test-fenv-tls.c: New file.
14981         * math/Makefile (tests): Add test-fenv-tls.
14982         ($(objpfx)test-fenv-tls): Depend on
14983         $(common-objpfx)nptl/libpthread.so.
14984
14985 2013-11-19  Andreas Schwab  <schwab@suse.de>
14986
14987         * locale/programs/locale.c (show_info): Decode wordarray elements.
14988         * locale/categories.def (LC_MONETARY): Add element for
14989         _NL_MONETARY_CRNCYSTR.
14990         * locale/C-monetary.c (conversion_rate): New variable.
14991         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14992         element.
14993
14994 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
14995
14996         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14997         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14998
14999 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
15000
15001         * elf/Makefile (tst-auxv): New test.
15002         * elf/tst-auxv.c: New
15003         * elf/rtld.c (dl_main): Adjust AT_EXECFN
15004
15005 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
15006
15007         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15008         (hidden_proto): Caller changed.
15009         (hidden_tls_proto): New macro.
15010         (libc_hidden_tls_proto): Likewise.
15011         (rtld_hidden_tls_proto): Likewise.
15012         (libm_hidden_tls_proto): Likewise.
15013         (libresolv_hidden_tls_proto): Likewise.
15014         (librt_hidden_tls_proto): Likewise.
15015         (libdl_hidden_tls_proto): Likewise.
15016         (libnss_files_hidden_tls_proto): Likewise.
15017         (libnsl_hidden_tls_proto): Likewise.
15018         (libnss_nisplus_hidden_tls_proto): Likewise.
15019         (libutil_hidden_tls_proto): Likewise.
15020
15021 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
15022
15023         [BZ #10253]
15024         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15025         (decompose_rpath): Defer expansion to fillin_rpath.
15026         (_dl_init_paths): Pass linkmap to fillin_rpath.
15027
15028 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15029
15030         * benchtests/Makefile: Add strsep.
15031         * benchtests/bench-strsep.c: New file: strsep benchtest.
15032         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15033
15034 2013-11-18  Andreas Schwab  <schwab@suse.de>
15035
15036         * locale/programs/locale.c (show_info) [case byte]: Check for
15037         '\377' instead of '\177'.
15038         * locale/C-monetary.c (not_available): Always use "\377".
15039         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15040         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
15041         detect unavailable sign_posn locale elements.
15042         * locale/localeconv.c (__localeconv): For grouping and
15043         mon_grouping handle "\177" and "\377" like no grouping.
15044         (INT_ELEM): New macro.  Use it to set all numeric members.
15045         * locale/programs/ld-monetary.c (monetary_read)
15046         <tok_mon_grouping>: Normalize single -1 to the empty string.
15047         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15048         Likewise.
15049
15050 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15051
15052         [BZ #16055]
15053         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15054         when we match (nil).
15055         * stdio-common/tst-sscanf.c (struct test): Add testcase.
15056
15057 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
15058
15059         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15060         (NO_TEST_INLINE): Update value.
15061         (ERRNO_UNCHANGED): Likewise.
15062         (ERRNO_EDOM): Likewise.
15063         (ERRNO_ERANGE): Likewise.
15064         (IGNORE_RESULT): Likewise.
15065         (check_float_internal): Check signs of NaN results if
15066         TEST_NAN_SIGN used.
15067         (check_complex): Pass TEST_NAN_SIGN flag through to second
15068         check_float_internal call.
15069         (copysign_test_data): Add tests with quiet NaNs as second
15070         argument.  Use TEST_NAN_SIGN.
15071         (fabs_test_data): Add test of negative quiet NaN argument.  Use
15072         TEST_NAN_SIGN.
15073         (signbit_test_data): Add tests of quiet NaN argument.
15074         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15075
15076         * math/gen-libm-test.pl (show_exceptions): Take extra argument
15077         $ignore_result.
15078         (parse_args): Handle function results specified as IGNORE.
15079         * math/libm-test.inc (IGNORE_RESULT): New macro.
15080         (check_float_internal): Do not check numerical result if flag
15081         IGNORE_RESULT set.
15082         (check_complex): Pass through IGNORE_RESULT to second
15083         check_float_internal call.
15084         (check_int): Do not check numerical result if flag IGNORE_RESULT
15085         set.
15086         (check_long): Likewise.
15087         (check_bool): Likewise.
15088         (check_longlong): Likewise.
15089         (lrint_test_data): Add tests of infinite and NaN arguments.
15090         (lrint_tonearest_test_data): Likewise.
15091         (lrint_towardzero_test_data): Likewise.
15092         (lrint_downward_test_data): Likewise.
15093         (lrint_upward_test_data): Likewise.
15094         (llrint_test_data): Likewise.
15095         (llrint_tonearest_test_data): Likewise.
15096         (llrint_towardzero_test_data): Likewise.
15097         (llrint_downward_test_data): Likewise.
15098         (llrint_upward_test_data): Likewise.
15099         (lround_test_data): Likewise.
15100         (llround_test_data): Likewise.
15101
15102         * math/libm-test.inc (NO_TEST_INLINE): New macro.
15103         (ERRNO_UNCHANGED): Update value.
15104         (ERRNO_EDOM): Likewise.
15105         (ERRNO_ERANGE): Likewise.
15106         (NO_TEST_INLINE_FLOAT): New macro.
15107         (NO_TEST_INLINE_DOUBLE): Likewise.
15108         (enable_test): New function.
15109         (RUN_TEST_f_f): Check enable_test before running test.
15110         (RUN_TEST_2_f): Likewise.
15111         (RUN_TEST_fff_f): Likewise.
15112         (RUN_TEST_c_f): Likewise.
15113         (RUN_TEST_f_f1): Likewise.
15114         (RUN_TEST_fF_f1): Likewise.
15115         (RUN_TEST_fI_f1): Likewise.
15116         (RUN_TEST_ffI_f1): Likewise.
15117         (RUN_TEST_c_c): Likewise.
15118         (RUN_TEST_cc_c): Likewise.
15119         (RUN_TEST_f_i): Likewise.
15120         (RUN_TEST_f_i_tg): Likewise.
15121         (RUN_TEST_ff_i_tg): Likewise.
15122         (RUN_TEST_f_b): Likewise.
15123         (RUN_TEST_f_b_tg): Likewise.
15124         (RUN_TEST_f_l): Likewise.
15125         (RUN_TEST_f_L): Likewise.
15126         (RUN_TEST_fFF_11): Likewise.
15127         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15128         conditionals.
15129         (cosh_test_data): Likewise.
15130         (exp_test_data): Likewise.
15131         (expm1_test_data): Likewise.
15132         (hypot_test_data): Likewise.
15133         (pow_test_data): Likewise.
15134         (sinh_test_data): Likewise.
15135         (tanh_test_data): Likewise.
15136         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
15137         flags argument.
15138
15139         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
15140         tests with quiet NaN input and output.
15141         (acosh_test_data): Likewise.
15142         (asin_test_data): Likewise.
15143         (asinh_test_data): Likewise.
15144         (atan_test_data): Likewise.
15145         (atanh_test_data): Likewise.
15146         (atan2_test_data): Likewise.
15147         (cbrt_test_data): Likewise.
15148         (cos_test_data): Likewise.
15149         (cosh_test_data): Likewise.
15150         (erf_test_data): Likewise.
15151         (erfc_test_data): Likewise.
15152         (exp_test_data): Likewise.
15153         (exp10_test_data): Likewise.
15154         (exp2_test_data): Likewise.
15155         (expm1_test_data): Likewise.
15156         (hypot_test_data): Likewise.
15157         (j0_test_data): Likewise.
15158         (j1_test_data): Likewise.
15159         (jn_test_data): Likewise.
15160         (lgamma_test_data): Likewise.
15161         (log_test_data): Likewise.
15162         (log10_test_data): Likewise.
15163         (log1p_test_data): Likewise.
15164         (log2_test_data): Likewise.
15165         (pow_test_data): Likewise.
15166         (scalb_test_data): Likewise.
15167         (sin_test_data): Likewise.
15168         (sincos_test_data): Likewise.
15169         (sinh_test_data): Likewise.
15170         (tan_test_data): Likewise.
15171         (tanh_test_data): Likewise.
15172         (tgamma_test_data): Likewise.
15173         (y0_test_data): Likewise.
15174         (y1_test_data): Likewise.
15175         (yn_test_data): Likewise.
15176
15177         [BZ #16167]
15178         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
15179         argument being NaN and avoid computations with second argument in
15180         that case.
15181         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15182         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15183         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15184
15185 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
15186
15187         * locale/iso-639.def: Add Chitwani Tharu (the).
15188
15189 2013-11-14  Andreas Schwab  <schwab@suse.de>
15190
15191         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
15192         word instead of empty string.
15193
15194 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15195
15196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15197         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
15198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15199         (__fe_nomask_env): Likewise.
15200
15201 2013-11-13  Steve Ellcey  <sellcey@mips.com>
15202
15203         * benchtests/bench-timing.h: Include time.h.
15204
15205 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
15206
15207         [BZ #15997]
15208         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
15209         to 3.4.0 for x32.
15210         * sysdeps/unix/sysv/linux/configure: Regenerated.
15211
15212 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
15213
15214         [BZ #16151]
15215         * stdlib/strtod_l.c (round_and_return): Do not consider
15216         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
15217         exponent one less than half the least subnormal exponent.
15218         * stdlib/test-strtod-round-data: Add more tests.
15219         * stdlib/tst-strtod-round.c (tests): Regenerated.
15220
15221 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15222
15223         [BZ #14143]
15224         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
15225         (__fe_mask_env): Likewise.
15226         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
15227         libm_hidden_proto and add function prototype.
15228         (__fe_mask_env): Add function prototype.
15229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15230         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
15231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15232         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
15233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15234         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
15235
15236 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15237
15238         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
15239         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
15240
15241 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15242
15243         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
15244         of htab_find_slot().
15245
15246 2013-11-11  David S. Miller  <davem@davemloft.net>
15247
15248         [BZ #16150]
15249         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
15250         symbol in the non-vis3 case in static builds.
15251         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
15252         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
15253         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
15254         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
15255
15256 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
15257
15258         [BZ #387]
15259         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
15260         it is empty.
15261
15262 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15263
15264         * benchtests/Makefile: Add bench-strtod.
15265         * benchtests/bench-strtod.c: New file: strtod benchtest
15266
15267 2013-11-11  Andreas Schwab  <schwab@suse.de>
15268
15269         [BZ #16153]
15270         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
15271         terminating NUL in key length.
15272
15273 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15274
15275         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15276         Add artificial ODP entry for vDSO symbol for PPC64.
15277         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
15278         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15279
15280 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15281
15282         [BZ #15374]
15283         * nss/getent.c (services_keys): Recognize services starting with digit.
15284
15285 2013-11-06  David S. Miller  <davem@davemloft.net>
15286
15287         [BZ #15985]
15288         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15289         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15290
15291 2013-11-06  Will Newton  <will.newton@linaro.org>
15292
15293         * manual/memory.texi (Malloc Examples): Remove register
15294         keyword from examples.
15295
15296 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
15297
15298         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
15299
15300 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
15301
15302         [BZ #6981]
15303         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15304         depending on [__GCC_IEC_559 > 0].
15305         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15306         depending on [__GCC_IEC_559_COMPLEX > 0].
15307
15308 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
15309
15310         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15311         to iso-639.def.
15312
15313 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
15314
15315         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15316
15317 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
15318
15319         [BZ #16112]
15320         * malloc/malloc (malloc_info): Do not handle first bin as
15321         special case.
15322
15323 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
15324
15325         * locale/iso-639.def: Add Central Nahuatl (nhn).
15326
15327 2013-11-01  Bruno Haible  <bruno@clisp.org>
15328
15329         [BZ #7003]
15330         * manual/math.texi (BSD Random): Specify range upper bound as
15331         in POSIX.
15332
15333 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
15334
15335         * locale/iso-639.def: Add Meadow Mari (mhr).
15336
15337 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
15338
15339         [BZ #14752], [BZ #15763]
15340         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15341         Validate name.
15342         * rt/tst_shm.c: Add test for escaping directory.
15343
15344 2013-10-31  Andreas Schwab  <schwab@suse.de>
15345
15346         [BZ #15917]
15347         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15348         followed by 'x' as part of digit sequence.
15349         * stdio-common/tst-sscanf.c (double_tests2): New tests.
15350
15351 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15352
15353         [BZ #16037]
15354         * configure.ac: allow GNU Make 4.0 and greater.
15355         * configure: Regenerated.
15356
15357 2013-10-30  Will Newton  <will.newton@linaro.org>
15358
15359         [BZ #16038]
15360         * malloc/hooks.c (memalign_check): Limit alignment to the
15361         maximum representable power of two.
15362         * malloc/malloc.c (__libc_memalign): Likewise.
15363         * malloc/tst-memalign.c (do_test): Add test for very
15364         large alignment values.
15365         * malloc/tst-posix_memalign.c (do_test): Likewise.
15366
15367 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15368
15369         [BZ #11087]
15370         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15371         (munmap_chunk): Likewise.
15372         (mremap_chunk): Likewise.
15373
15374 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
15375
15376         [BZ #15799]
15377         * stdlib/div.c (div): Remove obsolete code.
15378         * stdlib/ldiv.c (ldiv): Likewise.
15379         * stdlib/lldiv.c (lldiv): Likewise.
15380
15381 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15382
15383         [BZ #16071]
15384         * nss/nss_files/files-XXX.c (get_contents_ret): New
15385         enumerator.
15386         (get_contents): New function.
15387         (internal_getent): Use it.  Expand size of LINEBUFLEN.
15388
15389 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
15390
15391         * configure.in: Moved to ...
15392         * configure.ac: ... here. Change reference to configure.in
15393         to configure.ac.
15394         * sysdeps/arm/preconfigure.ac: ... here.
15395         configure.in to configure.ac.
15396         * sysdeps/gnu/configure.in: Moved to ...
15397         * sysdeps/gnu/configure.ac: ... here.
15398         * sysdeps/i386/configure.in: Moved to ...
15399         * sysdeps/i386/configure.ac: ... here.
15400         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15401         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15402         * sysdeps/mach/configure.in: Moved to ...
15403         * sysdeps/mach/configure.ac: ... here.
15404         * sysdeps/mach/hurd/configure.in: Moved to ...
15405         * sysdeps/mach/hurd/configure.ac: ... here.
15406         * sysdeps/powerpc/configure.in: Moved to ...
15407         * sysdeps/powerpc/configure.ac: ... here.
15408         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15409         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15410         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15411         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15412         * sysdeps/s390/s390-32/configure.in: Moved to ...
15413         * sysdeps/s390/s390-32/configure.ac: ... here.
15414         * sysdeps/s390/s390-64/configure.in: Moved to ...
15415         * sysdeps/s390/s390-64/configure.ac: ... here.
15416         * sysdeps/sh/configure.in: Moved to ...
15417         * sysdeps/sh/configure.ac: ... here.
15418         * sysdeps/sparc/configure.in: Moved to ...
15419         * sysdeps/sparc/configure.ac: ... here.
15420         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15421         * sysdeps/unix/sysv/linux/configure.ac: ... here.
15422         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15423         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15424         * sysdeps/x86_64/configure.in: Moved to ...
15425         * sysdeps/x86_64/configure.ac: ... here.
15426         * sysdeps/x86_64/preconfigure.in: Moved to ...
15427         * sysdeps/x86_64/preconfigure.ac: ... here.
15428         * aclocal.m4: Change reference to configure.in to configure.ac.
15429         * config.h.in: Likewise.
15430         * manual/install.texi: Likewise.
15431         * manual/maint.texi: Likewise.
15432         * Makefile: Likewise.
15433         * malloc/Makefile: Likewise.
15434         * nscd/Makefile: Likewise.
15435         * Makeconfig: Change reference to configure.in and
15436         preconfigure.in to configure.ac and preconfigure.ac
15437         respectively.
15438         * INSTALL: Regenerated.
15439         * configure: Likewise.
15440         * sysdeps/gnu/configure: Likewise.
15441         * sysdeps/i386/configure: Likewise.
15442         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15443         * sysdeps/mach/configure: Likewise.
15444         * sysdeps/mach/hurd/configure: Likewise.
15445         * sysdeps/powerpc/configure: Likewise.
15446         * sysdeps/powerpc/powerpc32/configure: Likewise.
15447         * sysdeps/powerpc/powerpc64/configure: Likewise.
15448         * sysdeps/s390/s390-32/configure: Likewise.
15449         * sysdeps/s390/s390-64/configure: Likewise.
15450         * sysdeps/sh/configure: Likewise.
15451         * sysdeps/sparc/configure: Likewise.
15452         * sysdeps/unix/sysv/linux/configure: Likewise.
15453         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15454         * sysdeps/x86_64/configure: Likewise.
15455         * sysdeps/x86_64/preconfigure: Likewise.
15456
15457 2013-10-29  Andreas Schwab  <schwab@suse.de>
15458
15459         * stdio-common/Makefile (tst-swscanf-ENV): Define.
15460
15461 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15462
15463         * benchtests/pow-inputs: Add new inputs.
15464
15465         * benchtests/exp-inputs: Add new inputs.
15466
15467         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15468         conditional check for return value.
15469         (__cos32): Likewise.
15470
15471 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15472
15473         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15474         to provide a boost for large inputs with word alignment.
15475         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15476         implementation based on optimized PPC64 strcpy.
15477         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15478         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15479         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15480         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15481
15482 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15483
15484         [BZ #2801]
15485         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15486
15487 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15488
15489         [BZ #14876]
15490         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15491         * time/tst-strptime.c (day_tests): Add testcase.
15492
15493 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15494
15495         [BZ #14029]
15496         * manual/pattern.texi: Acknowledge that fnmatch can fail.
15497
15498 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
15499
15500         [BZ #16074]
15501         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15502         MAP_FAILED on error.
15503
15504 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15505
15506         [BZ #16072]
15507         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15508         heap for large requests.
15509
15510 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
15511
15512         [BZ #9954]
15513         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15514         result if the result has no associated interface.
15515         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15516         interface for all 127.X.Y.Z addresses.
15517
15518 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
15519
15520         * locale/iso-639.def: Add Ligurian (lij)
15521
15522 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
15523
15524         [BZ #15825]
15525         * sunrpc/rpc_main.c: Document rpcgen -5.
15526
15527 2013-10-19  Michael Stahl  <mstahl@redhat.com>
15528
15529         * elf/rtld.c (do_preload): Print the reason why preloading failed.
15530
15531 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15532
15533         [BZ #10278]
15534         * posix/glob.c: Match only directories when trailing slash is present.
15535         * posix/tst-gnuglob.c (my_opendir): Do not open files.
15536         (main): Add testcase.
15537
15538 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15539
15540         [BZ #15670]
15541         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15542
15543 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
15544
15545         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15546         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15547         AUTH_DES and cindex for FIPS 140-2.
15548         (DES Encryption): Add cindex FIPS 46-3.
15549
15550         * locale/locarchive.h (struct locarhandle): Add fname.
15551         * locale/programs/localedef.c (main): Pass ARGV[remaining]
15552         if an optional argument was specified to --list-archive,
15553         otherwise NULL.
15554         * locale/programs/locarchive.c (show_archive_content): Take new
15555         argument fname and pass it via ah.fname to open_archive.
15556         * locale/programs/localedef.h: Update decl.
15557         (open_archive): If AH->fname is non-null, open that file
15558         rather than the default file name, and don't ignore ENOENT.
15559         (create_archive): Set AH.fname to NULL.
15560         (delete_locales_from_archive): Likewise.
15561         (add_locales_to_archive): Likewise.
15562         * locale/programs/locfile.c (write_all_categories): Likewise.
15563
15564 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
15565             Aldy Hernandez  <aldyh@redhat.com>
15566
15567         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15568         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15569         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15570         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15571         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15572         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15573         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15574         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15575         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15576         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15577         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15578         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15579         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15580         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15581         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15582         Likewise.
15583         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15584         Likewise.
15585         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15586         Likewise.
15587         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15588         Likewise.
15589         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15590         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15591         Likewise.
15592         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15593         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15594         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15595         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15596         Likewise.
15597         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15598         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15599         * sysdeps/powerpc/preconfigure: Likewise.
15600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15601         Likewise.
15602         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15603         Replace contents of file by #include of <fenv_libc.h>.
15604         * sysdeps/powerpc/soft-fp/sfp-machine.h
15605         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15606         and <sys/prctl.h>.
15607         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15608         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15609         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15610         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15611         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15612         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15613         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15614         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15615         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15616         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15617         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15618         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15620         Allow copysignl PLT reference to be missing.
15621
15622 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
15623             Joseph Myers  <joseph@codesourcery.com
15624
15625         [BZ #15948]
15626         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15627         single character.
15628         (add_to_tablewc): Assert sequence of wide characters is nonempty.
15629
15630 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15631
15632         * elf/tst-tls-dlinfo.c: Don't include tls.h.
15633         * elf/tst-tls1.c: Likewise.
15634         * elf/tst-tls10.h: Likewise.
15635         * elf/tst-tls14.c: Likewise.
15636         * elf/tst-tls2.c: Likewise.
15637         * elf/tst-tls3.c: Likewise.
15638         * elf/tst-tls4.c: Likewise.
15639         * elf/tst-tls5.c: Likewise.
15640         * elf/tst-tls6.c: Likewise.
15641         * elf/tst-tls7.c: Likewise.
15642         * elf/tst-tls8.c: Likewise.
15643         * elf/tst-tls9.c: Likewise.
15644         * elf/tst-tlsmod1.c: Likewise.
15645         * elf/tst-tlsmod13.c: Likewise.
15646         * elf/tst-tlsmod13a.c: Likewise.
15647         * elf/tst-tlsmod14a.c: Likewise.
15648         * elf/tst-tlsmod16a.c: Likewise.
15649         * elf/tst-tlsmod16b.c: Likewise.
15650         * elf/tst-tlsmod2.c: Likewise.
15651         * elf/tst-tlsmod3.c: Likewise.
15652         * elf/tst-tlsmod4.c: Likewise.
15653         * elf/tst-tlsmod5.c: Likewise.
15654         * elf/tst-tlsmod6.c: Likewise.
15655
15656 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
15657
15658         [BZ #12486]
15659         * malloc/malloc.c: remove checks for statistics.
15660
15661 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15662
15663         [BZ #15277]
15664         * inet/inet_net.c (inet_network): Detect additional invalid strings.
15665         * inet/tst-network.c: Add testcase.
15666
15667 2013-10-17  Andreas Schwab  <schwab@suse.de>
15668
15669         [BZ #15218]
15670         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15671         to determine canonical name.
15672
15673 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15674
15675         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15676         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15677         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15678         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15679         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15680         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15681         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15682         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15683         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15684         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15685         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15686         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15687         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15688         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15689         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15690         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15691         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15692         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15693         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15694         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15695         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15696         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15697         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15698         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15699         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15700         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15701         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15702         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15703         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15704         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15705         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15706         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15707         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15708         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15709         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15710         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15711         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15712         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15713         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15714         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15715         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15716         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15717         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15718         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15719         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15720         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15721         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15722         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15723         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15724         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15725         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15726         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15727         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15728         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15729         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15730         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15731         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15732         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15733
15734 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
15735
15736         [BZ #16041]
15737         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15738         make result into a quiet NaN.
15739
15740 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
15741
15742         * soft-fp/adddf3.c: Fix horizontal whitespace.
15743         * soft-fp/addsf3.c: Likewise.
15744         * soft-fp/addtf3.c: Likewise.
15745         * soft-fp/divdf3.c: Likewise.
15746         * soft-fp/divsf3.c: Likewise.
15747         * soft-fp/divtf3.c: Likewise.
15748         * soft-fp/double.h: Likewise.
15749         * soft-fp/eqdf2.c: Likewise.
15750         * soft-fp/eqsf2.c: Likewise.
15751         * soft-fp/eqtf2.c: Likewise.
15752         * soft-fp/extenddftf2.c: Likewise.
15753         * soft-fp/extended.h: Likewise.
15754         * soft-fp/extendsfdf2.c: Likewise.
15755         * soft-fp/extendsftf2.c: Likewise.
15756         * soft-fp/extendxftf2.c: Likewise.
15757         * soft-fp/fixdfdi.c: Likewise.
15758         * soft-fp/fixdfsi.c: Likewise.
15759         * soft-fp/fixdfti.c: Likewise.
15760         * soft-fp/fixsfdi.c: Likewise.
15761         * soft-fp/fixsfsi.c: Likewise.
15762         * soft-fp/fixsfti.c: Likewise.
15763         * soft-fp/fixtfdi.c: Likewise.
15764         * soft-fp/fixtfsi.c: Likewise.
15765         * soft-fp/fixtfti.c: Likewise.
15766         * soft-fp/fixunsdfdi.c: Likewise.
15767         * soft-fp/fixunsdfsi.c: Likewise.
15768         * soft-fp/fixunsdfti.c: Likewise.
15769         * soft-fp/fixunssfdi.c: Likewise.
15770         * soft-fp/fixunssfsi.c: Likewise.
15771         * soft-fp/fixunssfti.c: Likewise.
15772         * soft-fp/fixunstfdi.c: Likewise.
15773         * soft-fp/fixunstfsi.c: Likewise.
15774         * soft-fp/fixunstfti.c: Likewise.
15775         * soft-fp/floatdidf.c: Likewise.
15776         * soft-fp/floatdisf.c: Likewise.
15777         * soft-fp/floatditf.c: Likewise.
15778         * soft-fp/floatsidf.c: Likewise.
15779         * soft-fp/floatsisf.c: Likewise.
15780         * soft-fp/floatsitf.c: Likewise.
15781         * soft-fp/floattidf.c: Likewise.
15782         * soft-fp/floattisf.c: Likewise.
15783         * soft-fp/floattitf.c: Likewise.
15784         * soft-fp/floatundidf.c: Likewise.
15785         * soft-fp/floatundisf.c: Likewise.
15786         * soft-fp/floatunditf.c: Likewise.
15787         * soft-fp/floatunsidf.c: Likewise.
15788         * soft-fp/floatunsisf.c: Likewise.
15789         * soft-fp/floatunsitf.c: Likewise.
15790         * soft-fp/floatuntidf.c: Likewise.
15791         * soft-fp/floatuntisf.c: Likewise.
15792         * soft-fp/floatuntitf.c: Likewise.
15793         * soft-fp/fmadf4.c: Likewise.
15794         * soft-fp/fmasf4.c: Likewise.
15795         * soft-fp/fmatf4.c: Likewise.
15796         * soft-fp/gedf2.c: Likewise.
15797         * soft-fp/gesf2.c: Likewise.
15798         * soft-fp/getf2.c: Likewise.
15799         * soft-fp/ledf2.c: Likewise.
15800         * soft-fp/lesf2.c: Likewise.
15801         * soft-fp/letf2.c: Likewise.
15802         * soft-fp/muldf3.c: Likewise.
15803         * soft-fp/mulsf3.c: Likewise.
15804         * soft-fp/multf3.c: Likewise.
15805         * soft-fp/negdf2.c: Likewise.
15806         * soft-fp/negsf2.c: Likewise.
15807         * soft-fp/negtf2.c: Likewise.
15808         * soft-fp/op-1.h: Likewise.
15809         * soft-fp/op-2.h: Likewise.
15810         * soft-fp/op-4.h: Likewise.
15811         * soft-fp/op-8.h: Likewise.
15812         * soft-fp/op-common.h: Likewise.
15813         * soft-fp/quad.h: Likewise.
15814         * soft-fp/single.h: Likewise.
15815         * soft-fp/soft-fp.h: Likewise.
15816         * soft-fp/sqrtdf2.c: Likewise.
15817         * soft-fp/sqrtsf2.c: Likewise.
15818         * soft-fp/sqrttf2.c: Likewise.
15819         * soft-fp/subdf3.c: Likewise.
15820         * soft-fp/subsf3.c: Likewise.
15821         * soft-fp/subtf3.c: Likewise.
15822         * soft-fp/truncdfsf2.c: Likewise.
15823         * soft-fp/trunctfdf2.c: Likewise.
15824         * soft-fp/trunctfsf2.c: Likewise.
15825         * soft-fp/trunctfxf2.c: Likewise.
15826         * soft-fp/unorddf2.c: Likewise.
15827         * soft-fp/unordsf2.c: Likewise.
15828         * soft-fp/unordtf2.c: Likewise.
15829
15830 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
15831
15832         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15833         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15834
15835 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
15836
15837         * elf/dl-libc.c: Clear initfini list after freeing.
15838
15839 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
15840
15841         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15842         * soft-fp/addsf3.c: Likewise.
15843         * soft-fp/addtf3.c: Likewise.
15844         * soft-fp/divdf3.c: Likewise.
15845         * soft-fp/divsf3.c: Likewise.
15846         * soft-fp/divtf3.c: Likewise.
15847         * soft-fp/double.h: Likewise.
15848         * soft-fp/eqdf2.c: Likewise.
15849         * soft-fp/eqsf2.c: Likewise.
15850         * soft-fp/eqtf2.c: Likewise.
15851         * soft-fp/extenddftf2.c: Likewise.
15852         * soft-fp/extended.h: Likewise.
15853         * soft-fp/extendsfdf2.c: Likewise.
15854         * soft-fp/extendsftf2.c: Likewise.
15855         * soft-fp/extendxftf2.c: Likewise.
15856         * soft-fp/fixdfdi.c: Likewise.
15857         * soft-fp/fixdfsi.c: Likewise.
15858         * soft-fp/fixdfti.c: Likewise.
15859         * soft-fp/fixsfdi.c: Likewise.
15860         * soft-fp/fixsfsi.c: Likewise.
15861         * soft-fp/fixsfti.c: Likewise.
15862         * soft-fp/fixtfdi.c: Likewise.
15863         * soft-fp/fixtfsi.c: Likewise.
15864         * soft-fp/fixtfti.c: Likewise.
15865         * soft-fp/fixunsdfdi.c: Likewise.
15866         * soft-fp/fixunsdfsi.c: Likewise.
15867         * soft-fp/fixunsdfti.c: Likewise.
15868         * soft-fp/fixunssfdi.c: Likewise.
15869         * soft-fp/fixunssfsi.c: Likewise.
15870         * soft-fp/fixunssfti.c: Likewise.
15871         * soft-fp/fixunstfdi.c: Likewise.
15872         * soft-fp/fixunstfsi.c: Likewise.
15873         * soft-fp/fixunstfti.c: Likewise.
15874         * soft-fp/floatdidf.c: Likewise.
15875         * soft-fp/floatdisf.c: Likewise.
15876         * soft-fp/floatditf.c: Likewise.
15877         * soft-fp/floatsidf.c: Likewise.
15878         * soft-fp/floatsisf.c: Likewise.
15879         * soft-fp/floatsitf.c: Likewise.
15880         * soft-fp/floattidf.c: Likewise.
15881         * soft-fp/floattisf.c: Likewise.
15882         * soft-fp/floattitf.c: Likewise.
15883         * soft-fp/floatundidf.c: Likewise.
15884         * soft-fp/floatundisf.c: Likewise.
15885         * soft-fp/floatunsidf.c: Likewise.
15886         * soft-fp/floatunsisf.c: Likewise.
15887         * soft-fp/floatuntidf.c: Likewise.
15888         * soft-fp/floatuntisf.c: Likewise.
15889         * soft-fp/floatuntitf.c: Likewise.
15890         * soft-fp/fmadf4.c: Likewise.
15891         * soft-fp/fmasf4.c: Likewise.
15892         * soft-fp/fmatf4.c: Likewise.
15893         * soft-fp/gedf2.c: Likewise.
15894         * soft-fp/gesf2.c: Likewise.
15895         * soft-fp/getf2.c: Likewise.
15896         * soft-fp/ledf2.c: Likewise.
15897         * soft-fp/lesf2.c: Likewise.
15898         * soft-fp/letf2.c: Likewise.
15899         * soft-fp/muldf3.c: Likewise.
15900         * soft-fp/mulsf3.c: Likewise.
15901         * soft-fp/multf3.c: Likewise.
15902         * soft-fp/negdf2.c: Likewise.
15903         * soft-fp/negsf2.c: Likewise.
15904         * soft-fp/negtf2.c: Likewise.
15905         * soft-fp/op-1.h: Likewise.
15906         * soft-fp/op-2.h: Likewise.
15907         * soft-fp/op-4.h: Likewise.
15908         * soft-fp/op-8.h: Likewise.
15909         * soft-fp/op-common.h: Likewise.
15910         * soft-fp/quad.h: Likewise.
15911         * soft-fp/single.h: Likewise.
15912         * soft-fp/soft-fp.h: Likewise.
15913         * soft-fp/sqrtdf2.c: Likewise.
15914         * soft-fp/sqrtsf2.c: Likewise.
15915         * soft-fp/sqrttf2.c: Likewise.
15916         * soft-fp/subdf3.c: Likewise.
15917         * soft-fp/subsf3.c: Likewise.
15918         * soft-fp/subtf3.c: Likewise.
15919         * soft-fp/truncdfsf2.c: Likewise.
15920         * soft-fp/trunctfdf2.c: Likewise.
15921         * soft-fp/trunctfsf2.c: Likewise.
15922         * soft-fp/trunctfxf2.c: Likewise.
15923         * soft-fp/unorddf2.c: Likewise.
15924         * soft-fp/unordsf2.c: Likewise.
15925         * soft-fp/unordtf2.c: Likewise.
15926
15927 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
15928
15929         [BZ #15672]
15930         * misc/error.c (error_tail): Fix possible buffer overflow.
15931
15932 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
15933
15934         [BZ #13028]
15935         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15936         address.
15937
15938 2013-10-14  P. J. McDermott  <pj@pehjota.net>
15939
15940         [BZ #832]
15941         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
15942         testing pipefail option.
15943
15944 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15945
15946         * soft-fp/double.h: Indent preprocessor directives inside #if.
15947         * soft-fp/extended.h: Likewise.
15948         * soft-fp/op-2.h: Likewise.
15949         * soft-fp/op-4.h: Likewise.
15950         * soft-fp/op-common.h: Likewise.
15951         * soft-fp/quad.h: Likewise.
15952         * soft-fp/single.h: Likewise.
15953         * soft-fp/soft-fp.h: Likewise.
15954
15955 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
15956
15957         * iconv/iconv_prog.c: Fix typos.
15958         * stdio-common/psiginfo-data.h: Likewise.
15959
15960 2013-10-12   Reuben Thomas <rrt@sc3d.org>
15961
15962         [BZ #15764]
15963         * locale/setlocale.c: Fix typo.
15964
15965 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15966
15967         [BZ #16036]
15968         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15969         signaling NaN arguments.
15970         * soft-fp/unordsf2.c (__unordsf2): Likewise.
15971         * soft-fp/unordtf2.c (__unordtf2): Likewise.
15972
15973         [BZ #14910]
15974         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15975         unordered operands.
15976         * soft-fp/gesf2.c (__gesf2): Likewise.
15977         * soft-fp/getf2.c (__getf2): Likewise.
15978         * soft-fp/ledf2.c (__ledf2): Likewise.
15979         * soft-fp/lesf2.c (__lesf2): Likewise.
15980         * soft-fp/letf2.c (__letf2): Likewise.
15981
15982         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15983         * soft-fp/eqsf2.c (__eqsf2): Likewise.
15984         * soft-fp/eqtf2.c (__eqtf2): Likewise.
15985         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15986         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15987         * soft-fp/fixdfti.c (__fixdfti): Likewise.
15988         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15989         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15990         * soft-fp/fixsfti.c (__fixsfti): Likewise.
15991         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15992         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15993         * soft-fp/fixtfti.c (__fixtfti): Likewise.
15994         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15995         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15996         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15997         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15998         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15999         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16000         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16001         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16002         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16003         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16004         * soft-fp/floatdisf.c (__floatdisf): Likewise.
16005         * soft-fp/floatsisf.c (__floatsisf): Likewise.
16006         * soft-fp/floattidf.c (__floattidf): Likewise.
16007         * soft-fp/floattisf.c (__floattisf): Likewise.
16008         * soft-fp/floattitf.c (__floattitf): Likewise.
16009         * soft-fp/floatundidf.c (__floatundidf): Likewise.
16010         * soft-fp/floatundisf.c (__floatundisf): Likewise.
16011         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16012         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16013         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16014         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16015         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16016         * soft-fp/gesf2.c (__gesf2): Likewise.
16017         * soft-fp/getf2.c (__getf2): Likewise.
16018         * soft-fp/ledf2.c (__ledf2): Likewise.
16019         * soft-fp/lesf2.c (__lesf2): Likewise.
16020         * soft-fp/letf2.c (__letf2): Likewise.
16021
16022         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16023         Undefine and redefine.
16024         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16025         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16026         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16027         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16028         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16029         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16030         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16031         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16032         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16033         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16034         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16035         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16036         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16037         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16038         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16039
16040         [BZ #16032]
16041         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16042         without decrementing exponent if mantissa >= that for the
16043         denominator, not >.
16044         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16045         denominator, not >.  Decrement exponent in < case instead of
16046         incrementing in >= case.
16047         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16048         without decrementing exponent if mantissa >= that for the
16049         denominator, not >.
16050
16051         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16052         computing saturated result for unsigned overflow.
16053
16054 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16055             Jeff Law  <law@redhat.com>
16056
16057         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16058         (atan2Mp): Add systemtap probe marker.
16059         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16060         (__ieee754_log): Add systemtap probe marker.
16061         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16062         (atanMp): Add systemtap probe marker.
16063         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16064         (tanMp): Add systemtap probe marker.
16065         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16066         (__slowexp): Add systemtap probe marker.
16067         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16068         (__slowpow): Add systemtap probe marker.
16069         * manual/probes.texi: Document probes.
16070
16071 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
16072
16073         [BZ #15362]
16074         * libio/fileops.c (_IO_new_file_write): Return count of bytes
16075         written.
16076         (_IO_new_file_xsputn): Don't return EOF if nothing has been
16077         written.
16078         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16079         written to buffer but not flushed.
16080         * libio/iofwrite_u.c:  Likewise.
16081         * libio/iopadn.c:  Return bytes returned even if EOF was
16082         encountered.
16083         * libio/iowpadn.c:  Likewise.
16084         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16085         if _IO_padn does not write the whole buffer.
16086         [!COMPILE_WPRINTF] (PAD): Likewise.
16087
16088 2013-10-10  David S. Miller  <davem@davemloft.net>
16089
16090         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16091         directory block.
16092
16093 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16094
16095         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
16096         instead of FSF address.
16097         * soft-fp/fixdfti.c: Likewise.
16098         * soft-fp/fixsfti.c: Likewise.
16099         * soft-fp/fixtfti.c: Likewise.
16100         * soft-fp/fixunsdfti.c: Likewise.
16101         * soft-fp/fixunssfti.c: Likewise.
16102         * soft-fp/fixunstfti.c: Likewise.
16103         * soft-fp/floattidf.c: Likewise.
16104         * soft-fp/floattisf.c: Likewise.
16105         * soft-fp/floattitf.c: Likewise.
16106         * soft-fp/floatuntidf.c: Likewise.
16107         * soft-fp/floatuntisf.c: Likewise.
16108         * soft-fp/floatuntitf.c: Likewise.
16109         * soft-fp/trunctfxf2.c: Likewise.
16110
16111         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
16112         * soft-fp/fixdfti.c: Likewise.
16113         * soft-fp/fixsfti.c: Likewise.
16114         * soft-fp/fixtfti.c: Likewise.
16115         * soft-fp/fixunsdfti.c: Likewise.
16116         * soft-fp/fixunssfti.c: Likewise.
16117         * soft-fp/fixunstfti.c: Likewise.
16118         * soft-fp/floattidf.c: Likewise.
16119         * soft-fp/floattisf.c: Likewise.
16120         * soft-fp/floattitf.c: Likewise.
16121         * soft-fp/floatuntidf.c: Likewise.
16122         * soft-fp/floatuntisf.c: Likewise.
16123         * soft-fp/floatuntitf.c: Likewise.
16124         * soft-fp/trunctfxf2.c: Likewise.
16125
16126 2013-10-10  David S. Miller  <davem@davemloft.net>
16127
16128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16129
16130 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
16131
16132         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16133         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16134         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16135         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16136         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
16137         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
16138         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
16139
16140         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
16141         for NaNs before doing comparisons on argument.
16142         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16143         Likewise.
16144
16145 2013-10-10  Will Newton  <will.newton@linaro.org>
16146
16147         * malloc/hooks.c (memalign_check): Ensure the value of bytes
16148         passed to _int_memalign does not overflow.
16149
16150 2013-10-10  Torvald Riegel  <triegel@redhat.com>
16151
16152         * scripts/bench.pl: Add include-sources directive.
16153         * benchtests/README: Update documentation.
16154
16155 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16156
16157         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
16158         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
16159         instead of FP_INIT_ROUNDMODE.
16160         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
16161         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
16162
16163         [BZ #16034]
16164         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
16165         copy class of input value.
16166         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
16167         not handle exceptions.
16168         * soft-fp/negsf2.c (__negsf2): Likewise.
16169         * soft-fp/negtf2.c (__negtf2): Likewise.
16170         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
16171
16172 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
16173
16174         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
16175         semicolon.  From Linux kernel.
16176
16177 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
16178
16179         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
16180
16181 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
16182
16183         [BZ #156]
16184         * manual/socket.texi: Added statement about buffer
16185         for gethostbyname2_r.
16186
16187 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
16188
16189         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
16190         Use .p2align directive instead, throughout.
16191         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16192         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16193         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
16194         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16195         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16196         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16197         * sysdeps/x86_64/strchr.S: Likewise.
16198         * sysdeps/x86_64/strrchr.S: Likewise.
16199
16200 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16201
16202         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
16203
16204         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
16205
16206         * sysdeps/generic/math_private.h (__mpsin1): Remove
16207         declaration.
16208         (__mpcos1): Likewise.
16209         (__mpsin): New argument __range_reduce.
16210         (__mpcos): Likewise.
16211         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16212         (slow): Use __mpsin and __mpcos.
16213         (slow1): Likewise.
16214         (slow2): Likewise.
16215         (sloww): Likewise.
16216         (sloww1): Likewise.
16217         (sloww2): Likewise.
16218         (bsloww): Likewise.
16219         (bsloww1): Likewise.
16220         (bsloww2): Likewise.
16221         (cslow2): Likewise.
16222         (csloww): Likewise.
16223         (csloww1): Likewise.
16224         (csloww2): Likewise.
16225         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
16226         range_reduce.  Merge in __mpsin1.
16227         (__mpcos): Likewise.
16228         (__mpsin1): Remove.
16229         (__mpcos1): Likewise.
16230
16231 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
16232
16233         * locale/loadlocale.c (_nl_intern_locale_data): Use
16234         LOCFILE_ALIGNED_P.
16235         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
16236         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
16237         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
16238         obstack data is appropriately aligned.
16239         (obstack_int32_grow_fast): Likewise.
16240         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
16241         * locale/programs/locfile.c (add_locale_uint32): Likewise.
16242         (add_locale_uint32_array): Likewise.
16243
16244 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
16245
16246         * benchtests/Makefile: Remove ARGLIST and RET variables.
16247         ($(objpfx)bench-%.c): Pass only function name to the script.
16248         * benchtests/README: Update documentation.
16249         * benchtests/acos-inputs: Add new directives.
16250         * benchtests/acosh-inputs: Likewise.
16251         * benchtests/asin-inputs: Likewise.
16252         * benchtests/asinh-inputs: Likewise.
16253         * benchtests/atan-inputs: Likewise.
16254         * benchtests/atanh-inputs: Likewise.
16255         * benchtests/cos-inputs: Likewise.
16256         * benchtests/cosh-inputs: Likewise.
16257         * benchtests/exp-inputs: Likewise.
16258         * benchtests/log-inputs: Likewise.
16259         * benchtests/pow-inputs: Likewise.
16260         * benchtests/rint-inputs: Likewise.
16261         * benchtests/sin-inputs: Likewise.
16262         * benchtests/sinh-inputs: Likewise.
16263         * benchtests/tan-inputs: Likewise.
16264         * benchtests/tanh-inputs: Likewise.
16265         * scripts/bench.pl: Add support for new directives.
16266
16267 2013-10-07  Alan Modra  <amodra@gmail.com>
16268
16269         * README: Fix careless merge.
16270
16271 2013-10-05  Alan Modra  <amodra@gmail.com>
16272
16273         * NEWS: Mention powerpc64le support and bugs fixed.
16274         * README: Both big-endian and little-endian powerpc64 supported.
16275
16276 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16277
16278         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16279         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
16280         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16281         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16282
16283 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
16284
16285         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16286         match prototype.
16287
16288 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
16289
16290         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16291         Move -mhard-float appending from
16292         ports/sysdeps/powerpc/powerpc32/Makefile.
16293         [$(with-fp) = yes] (ASFLAGS): Likewise.
16294         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16295         * sysdeps/powerpc/nofpu: Move directory from
16296         ports/sysdeps/powerpc/nofpu.
16297         * sysdeps/powerpc/soft-fp: Move directory from
16298         ports/sysdeps/powerpc/soft-fp.
16299         * sysdeps/powerpc/powerpc32/405: Move directory from
16300         ports/sysdeps/powerpc/powerpc32/405.
16301         * sysdeps/powerpc/powerpc32/440: Move directory from
16302         ports/sysdeps/powerpc/powerpc32/440.
16303         * sysdeps/powerpc/powerpc32/464: Move directory from
16304         ports/sysdeps/powerpc/powerpc32/464.
16305         * sysdeps/powerpc/powerpc32/476: Move directory from
16306         ports/sysdeps/powerpc/powerpc32/476.
16307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16308         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16310         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16312         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16314         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16316         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16317         * README: Update for powerpc-*-linux-gnu software floating point
16318         support in libc.
16319
16320         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16321         case to powerpc/powerpc32*.
16322         * sysdeps/unix/sysv/linux/configure: Regenerated.
16323
16324         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16325         (_FPU_MASK_OM): Define as 0x04.
16326         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16327         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16328         0x00c10080.
16329         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16330         0x0000003c.
16331         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16332
16333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16334         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16335         getcontext_e500.
16336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16337         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16338         setcontext_e500.
16339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16340         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16341         and setcontext_e500.
16342
16343 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
16344
16345         * locale/iso-3166.def: Update iso-1366.def and related occurrences
16346
16347 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16348
16349         * manual/threads.texi (Default Thread Attributes): Fix typo.
16350
16351 2013-10-04  Will Newton  <will.newton@linaro.org>
16352
16353         * malloc/Makefile: Add tst-memalign.
16354         * malloc/tst-memalign.c: New file.
16355
16356         * malloc/tst-posix_memalign.c: Add comments.
16357         (do_test): Add comments and call free on all potentially
16358         allocated pointers. Add space after cast.
16359
16360         * malloc/tst-pvalloc.c: Add comments.
16361         (do_test): Add comments and call free on all potentially
16362         allocated pointers. Remove duplicate check for NULL pointer.
16363         Add space after cast.
16364
16365         * malloc/tst-valloc.c: Add comments.
16366         (do_test): Add comments and call free on all potentially
16367         allocated pointers. Remove duplicate check for NULL pointer.
16368         Add space after cast.
16369
16370 2013-10-04  Alan Modra  <amodra@gmail.com>
16371
16372         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16373         Use stdint types in rather than __attribute__((mode())).
16374         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16375
16376 2013-10-04  Alan Modra  <amodra@gmail.com>
16377
16378         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16379         Correct handling of unaligned relocs for little-endian.
16380         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16381
16382 2013-10-04  Alan Modra  <amodra@gmail.com>
16383
16384         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16385         * configure: Regenerate.
16386         * nptl/shlib-versions: Powerpc*le starts at 2.18.
16387         * shlib-versions: Likewise.
16388
16389 2013-10-04  Alan Modra  <amodra@gmail.com>
16390
16391         * string/tester.c (test_memrchr): Increment reported test cycle.
16392
16393 2013-10-04  Alan Modra  <amodra@gmail.com>
16394
16395         * string/test-memcpy.c (do_one_test): When reporting errors, print
16396         string address and don't overrun end of string.
16397
16398 2013-10-04  Alan Modra  <amodra@gmail.com>
16399
16400         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16401         insrdi.  Make better use of reg selection to speed exit slightly.
16402         Schedule entry path a little better.  Remove useless "are we done"
16403         checks on entry to main loop.  Handle wrapping around zero address.
16404         Correct main loop count.  Handle single left-over word from main
16405         loop inline rather than by using loop_small.  Remove extra word
16406         case in loop_small caused by wrong loop count.  Add little-endian
16407         support.
16408         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16409         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
16410         cache hint.
16411         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16412         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16413         support.  Avoid rlwimi.
16414         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16415
16416 2013-10-04  Alan Modra  <amodra@gmail.com>
16417
16418         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
16419         insrdi.  Formatting.
16420         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16421         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16422         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16423         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16424         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16425         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16426
16427 2013-10-04  Alan Modra  <amodra@gmail.com>
16428
16429         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16430         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16431         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16432         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16433         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16434         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16435         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16436         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16437         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16438         use of regs.  Use power7 mtocrf.  Tidy function tails.
16439
16440 2013-10-04  Alan Modra  <amodra@gmail.com>
16441
16442         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16443         Formatting.  Consistently use rXXX register defines or rN defines.
16444         Use early exit labels that avoid restoring unused non-volatile regs.
16445         Make cr field use more consistent with rWORDn compares.  Rename
16446         regs used as shift registers for unaligned loop, using rN defines
16447         for short lifetime/multiple use regs.
16448         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16449         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
16450         addi 1,1,64 to pop stack frame.  Simplify return value code.
16451         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16452
16453 2013-10-04  Alan Modra  <amodra@gmail.com>
16454
16455         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16456         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
16457         rather than rlwimi.
16458         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16459         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16460         little-endian support.  Correct typos.
16461         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
16462         rather than rlwimi.
16463         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
16464         in loop and entry code to keep "and." results.
16465         (strchr): Add little-endian support.  Comment.  Move cntlzd
16466         earlier in tail.
16467         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16468
16469 2013-10-04  Alan Modra  <amodra@gmail.com>
16470
16471         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16472         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16473         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16474         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16475
16476 2013-10-04  Alan Modra  <amodra@gmail.com>
16477
16478         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16479         (rTMP): Define as r11.
16480         (strcmp): Add little-endian support.  Optimise tail.
16481         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16482         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16483         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16484         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16485         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16486         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16487         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16488
16489 2013-10-04  Alan Modra  <amodra@gmail.com>
16490
16491         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16492         little-endian support.  Remove unnecessary "are we done" tests.
16493         Handle "s" wrapping around zero and extremely large "size".
16494         Correct main loop count.  Handle single left-over word from main
16495         loop inline rather than by using small_loop.  Correct comments.
16496         Delete "zero" tail, use "end_max" instead.
16497         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16498
16499 2013-10-04  Alan Modra  <amodra@gmail.com>
16500
16501         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16502         support.  Don't branch over align.
16503         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16504         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16505         support.  Rearrange tmp reg use to suit.  Comment.
16506         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16507
16508 2013-10-04  Alan Modra  <amodra@gmail.com>
16509
16510         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16511
16512 2013-10-04  Alan Modra  <amodra@gmail.com>
16513
16514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16515         conditional form of branch and link when obtaining pc.
16516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16517
16518 2013-10-04  Alan Modra  <amodra@gmail.com>
16519
16520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16521         HIWORD/LOWORD.
16522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16524
16525 2013-10-04  Alan Modra  <amodra@gmail.com>
16526
16527         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16528         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16529         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16530         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16531         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16532         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16533         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16534         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16535         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16536         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16537
16538 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16539             Alistair Popple <alistair@ozlabs.au.ibm.com>
16540             Alan Modra <amodra@gmail.com>
16541
16542         [BZ #15723]
16543         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16544         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16545         _dl_hwcap access for little-endian.
16546         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
16547         destroy vmx regs when saving unaligned.
16548         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16549         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
16550         destroy vmx regs when saving unaligned.
16551
16552 2013-10-04  Alan Modra  <amodra@gmail.com>
16553
16554         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16555         Don't use a union to pack hi/low value.
16556
16557 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16558
16559         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16560         for little-endian.
16561         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16562         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16563         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16564         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16565         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16566
16567 2013-10-04  Alan Modra  <amodra@gmail.com>
16568
16569         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16570         constants to usual value for .cst8 section, and remove redundant
16571         high address load.
16572         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16573         constant for 0x1p52.  Load little-endian words of double from
16574         correct stack offsets.
16575
16576 2013-10-04  Alan Modra  <amodra@gmail.com>
16577
16578         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16579         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16580         words of double from correct stack offsets.
16581         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16582         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16583         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16584         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16585         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16586         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16587         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16588         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16589         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16590         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16591         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16592         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16593         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16594         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16595         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16596         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16597         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16598
16599 2013-10-04  Alan Modra  <amodra@gmail.com>
16600
16601         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16602         64-bit int/double union.
16603         (_FPU_SETCW): Likewise.
16604         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16605         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16606
16607 2013-10-04  Alan Modra  <amodra@gmail.com>
16608
16609         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16610         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16611
16612 2013-10-04  Alan Modra  <amodra@gmail.com>
16613
16614         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16615         use vector int constants.
16616         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16617
16618 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16619
16620         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16621         array with long long.
16622         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16623         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16624         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16625         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16626         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16627         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16628         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16629         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16630         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16631         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16632         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16633         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16634         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16635
16636 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16637
16638         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16639         (__signbit): Likewise.  Correct for little-endian.
16640         (__signbitl): Call __signbit.
16641         (lrint): Correct for little-endian.
16642         (lrintf): Call lrint.
16643
16644 2013-10-04  Alan Modra  <amodra@gmail.com>
16645
16646         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16647         union 32-bit int array member with 64-bit int array.
16648         (t515, tm256): Double rather than long double.
16649         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16650
16651 2013-10-04  Alan Modra  <amodra@gmail.com>
16652
16653         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16654         Delete.
16655         (IEEE854_LONG_DOUBLE_BIAS): Delete.
16656         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16657         version of math_ldbl.h.
16658
16659 2013-10-04  Alan Modra  <amodra@gmail.com>
16660
16661         [BZ #15734], [BZ #15735]
16662         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16663         all uses of ieee875 long double macros and unions.  Simplify test
16664         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
16665         ldbl_extract_mantissa value for ix,iy exponents.  Properly
16666         normalize after ldbl_extract_mantissa, and don't add hidden bit
16667         already handled.  Don't treat low word of ieee854 mantissa like
16668         low word of IBM long double and mask off bit when testing for
16669         zero.
16670         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16671         all uses of ieee875 long double macros and unions.  Simplify tests
16672         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
16673         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
16674         two1022, instead use their values.  Recognise that tests for large
16675         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
16676         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16677         Rewrite all uses of ieee875 long double macros and unions.  Simplify
16678         test for 0.0L and nan.  Correct negation.
16679         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16680         ieee875 long double macros and unions.  Correct output for large
16681         magnitude x.  Correct absolute value calculation.
16682         (__erfcl): Likewise.
16683         * math/libm-test.inc: Add tests for errors discovered in IBM long
16684         double versions of fmodl, remainderl, erfl and erfcl.
16685
16686 2013-10-04  Alan Modra  <amodra@gmail.com>
16687
16688         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16689         all uses of ieee854 long double macros and unions.  Simplify tests
16690         for long doubles that are fully specified by the high double.
16691         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16692         Likewise.
16693         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16694         Remove dead code too.
16695         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16696         (__ieee754_ynl): Likewise.
16697         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16698         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16699         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16700         Remove dead code too.
16701         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16702         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16703         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16704         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16705         Simplify.
16706         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16707         Simplify.
16708         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16709         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16710         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16711         Comment on variable precision.
16712         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16713         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16714         Likewise.
16715         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16716         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16717         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16718         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16719         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16720
16721 2013-10-04  Alan Modra  <amodra@gmail.com>
16722
16723         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16724         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16725         all uses of ieee854 long double macros and unions.
16726         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16727         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16728         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16729         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16730         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16731         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16732         Likewise.
16733         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16734         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16735         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16736         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16737         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16738         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16739         Simplify sign and nan test too.
16740         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16741         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16742         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16743         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16744         Likewise.
16745         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16746         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16747         Likewise.
16748         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16749         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16750         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16751         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16752         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16753         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16754
16755 2013-10-04  Alan Modra  <amodra@gmail.com>
16756
16757         * stdio-common/printf_size.c (__printf_size): Don't use
16758         union ieee854_long_double in fpnum union.
16759         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
16760         signbit macro to retrieve sign from long double.
16761         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16762         retrieve sign from long double.
16763         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16764         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16765         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16766         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16767         * math/test-misc.c (main): Don't use union ieee854_long_double.
16768
16769 2013-10-04  Alan Modra  <amodra@gmail.com>
16770
16771         [BZ #15680]
16772         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16773         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16774         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16775         calculation.  Remove unnecessary test for denormal exponent.
16776         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16777         Correct handling of denormals.  Avoid undefined shift behaviour.
16778         Correct normalisation of low mantissa when low double is denormal.
16779         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16780         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
16781         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16782         Correct normalisation of low mantissa.  Test for overflow of high
16783         mantissa and normalise.
16784         (ldbl_nearbyint): Use more readable constant for two52.
16785         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16786         (__mpn_construct_long_double): Fix test for overflow of high
16787         mantissa and correct normalisation.  Avoid undefined shift.
16788
16789 2013-10-04  Alan Modra  <amodra@gmail.com>
16790
16791         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16792         (union ibm_extended_long_double): Define as an array of ieee754_double.
16793         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16794         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16795         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16796         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16797         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16798         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16799         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16800         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16801         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16802         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16803         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16804
16805 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
16806
16807         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16808         page size instead of calling getpagesize.
16809
16810         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16811         (LOCFILE_ALIGN_MASK): Likewise.
16812         (LOCFILE_ALIGN_UP): Likewise.
16813         (LOCFILE_ALIGNED_P): Likewise.
16814         * locale/programs/ld-collate.c (collate_output): Use the new
16815         macros instead of __alignof__ (int32_t).
16816         * locale/weight.h (findidx): Likewise.
16817
16818 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
16819
16820         [BZ #431]
16821         * manual/string.texi: Fix strncat and wcsncat.
16822
16823 2013-10-03  Brooks Moses  <bmoses@google.com>
16824
16825         [BZ #15915]
16826         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16827         * Makerules: ...here, and adjust associated comments.
16828
16829 2013-10-02  Will Newton  <will.newton@linaro.org>
16830
16831         * malloc/Makefile: Add tst-pvalloc.
16832         * malloc/tst-pvalloc.c: New file.
16833
16834 2013-10-02  Will Newton  <will.newton@linaro.org>
16835
16836         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16837         improve test coverage.
16838
16839 2013-10-02  Will Newton  <will.newton@linaro.org>
16840
16841         * malloc/Makefile: Add tst-posix_memalign.
16842         * malloc/tst-posix_memalign.c: New file.
16843
16844 2013-10-01  Eric Blake  <eblake@redhat.com>
16845
16846         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16847         Use __THROWNL rather than __THROW on static functions.
16848
16849 2013-09-30  Petr Machata  <pmachata@redhat.com>
16850
16851         * elf/elf.h (R_AARCH64_ABS16): New macro.
16852         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16853         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16854         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16855         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16856         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16857         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16858         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16859         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16860         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16861         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16862         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16863         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16864         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16865         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16866         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16867         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16868         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16869         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16870         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16871         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16872         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16873         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16874         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16875         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16876         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16877         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16878         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16879         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16880         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16881         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16882         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16883         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16884         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16885         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16886         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16887         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16888         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16889         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16890         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16891         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16892         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16893         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16894         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16895         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16896         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16897         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16898         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16899         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16900         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16901         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16902         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16903         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16904         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16905         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16906         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16907         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16908         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16909         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16910         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16911         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16912         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16913         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16914         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16915         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16916         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16917         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16918         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16919         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16920         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16921         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16922         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16923         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16924         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16925         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16926         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16927         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16928         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16929         (R_AARCH64_TLSDESC_LDR): Likewise.
16930         (R_AARCH64_TLSDESC_ADD): Likewise.
16931         (R_AARCH64_TLSDESC_CALL): Likewise.
16932
16933 2013-09-30  Andreas Schwab  <schwab@suse.de>
16934
16935         [BZ #15048]
16936         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16937         the nss database lookup.
16938         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16939         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16940
16941 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
16942
16943         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16944
16945 2013-09-28  P. J. McDermott  <pj@pehjota.net>
16946
16947         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16948         ${Bash-specific parameter/pattern/string} parameter expansion.
16949         * sysdeps/unix/make-syscalls.sh: Likewise.
16950
16951 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16952
16953         * sysdeps/sh/stackguard-macros.h: New file.
16954
16955 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
16956
16957         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16958         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16959         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16960         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16961         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16962         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16963
16964 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16965
16966         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16967         Fix thread ID register.
16968
16969 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
16970
16971         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16972         [POSIX || UNIX98]: Require rather than permitting all symbols from
16973         <time.h>.
16974         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16975         element of struct sched_param.
16976         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16977         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16978         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16979         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16980         constant.
16981
16982 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
16983
16984         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16985         argument calculation.
16986
16987 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16988
16989         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16990         Expect macro.
16991         [POSIX] (pthread_attr_t): Do not require type.
16992         [POSIX] (pthread_cond_t): Likewise.
16993         [POSIX] (pthread_condattr_t): Likewise.
16994         [POSIX] (pthread_key_t): Likewise.
16995         [POSIX] (pthread_mutex_t): Likewise.
16996         [POSIX] (pthread_mutexattr_t): Likewise.
16997         [POSIX] (pthread_once_t): Likewise.
16998         [POSIX] (pthread_t): Likewise.
16999         [POSIX-based standards] (pthread_atfork): Expect function.
17000
17001 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17002             Richard Sandiford  <richard@codesourcery.com>
17003
17004         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17005         (swap_endianness_p): New extern variable.
17006         (set_big_endian): New inline function.
17007         (maybe_swap_uint32): Likewise.
17008         (maybe_swap_uint32_array): Likewise.
17009         (maybe_swap_uint32_obstack): Likewise.
17010         * locale/programs/locfile.c: Include <stdbool.h>.
17011         (swap_endianness_p): New variable.
17012         (add_locale_uint32): Call maybe_swap_uint32.
17013         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17014         (write_locale_data): Call maybe_swap_uint32_array.
17015         * locale/programs/ld-collate.c (obstack_int32_grow): Call
17016         maybe_swap_uint32.
17017         (obstack_int32_grow_fast): Likewise.
17018         (output_weightwc): Call maybe_swap_uint32_obstack.
17019         (collate_output): Likewise.
17020         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17021         (OPT_LITTLE_ENDIAN): Likewise.
17022         (options): Add --little-endian and --big-endian options.
17023         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17024         * locale/programs/locarchive.c: Include "locfile.h".
17025         (GET): New macro.
17026         (SET): Likewise.
17027         (INC): Likewise.
17028         (create_archive): Use the new macros to access fields of
17029         structures directly mapped from or written to locale archives.
17030         (oldlocrecentcmp): Likewise.
17031         (enlarge_archive): Likewise.
17032         (insert_name): Likewise.
17033         (add_alias): Likewise.
17034         (add_locale): Likewise.
17035         (delete_locales_from_archive): Likewise.
17036         (show_archive_content): Likewise.
17037         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
17038         locale data.
17039
17040 2013-09-24  Roland McGrath  <roland@hack.frob.com>
17041
17042         * manual/freemanuals.texi: Updated from (newly) canonical copy at
17043         http://www.gnu.org/doc/freemanuals.texi.
17044         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17045
17046 2013-09-24  Will Newton  <will.newton@linaro.org>
17047
17048         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17049         macro.
17050
17051 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
17052
17053         * locale/hashval.h (compute_hashval): Interpret bytes of key as
17054         unsigned char.
17055
17056 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
17057
17058         * manual/threads.texi (POSIX Threads): Fix a typo.
17059
17060 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17061
17062         [BZ #14547]
17063         * string/tst-strcoll-overflow.c: New test case.
17064         * string/Makefile (xtests): Add tst-strcoll-overflow.
17065         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17066         cache if string sizes may cause integer overflow.
17067
17068         [BZ #14547]
17069         * string/strcoll_l.c (coll_seq): New members rule, idx,
17070         save_idx and back_us.
17071         (get_next_seq_nocache): New function.
17072         (do_compare_nocache): New function.
17073         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17074         when malloc fails.
17075
17076 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
17077
17078         [BZ #15754]
17079         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17080         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17081         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17082
17083         [BZ #15754]
17084         * elf/Makefile (tests): Add tst-ptrguard1.
17085         (tests-static): Add tst-ptrguard1-static.
17086         (tst-ptrguard1-ARGS): Define.
17087         (tst-ptrguard1-static-ARGS): Define.
17088         * elf/tst-ptrguard1.c: New file.
17089         * elf/tst-ptrguard1-static.c: New file.
17090         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17091         * sysdeps/i386/stackguard-macros.h: Likewise.
17092         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17093         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17094         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17095         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17096         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17097         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17098
17099 2013-09-23  Hector Marco  <hecmargi@upv.es>
17100             Ismael Ripoll  <iripoll@disca.upv.es>
17101             Carlos O'Donell  <carlos@redhat.com>
17102
17103         [BZ #15754]
17104         * sysdeps/generic/stackguard-macros.h: Define
17105         __pointer_chk_guard_local and POINTER_CHK_GUARD.
17106         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17107         Define __pointer_chk_guard_local.
17108         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17109         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17110
17111 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
17112
17113         [BZ #15859]
17114         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17115
17116 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
17117
17118         * include/string.h (__ffs): Declare as hidden.
17119         * string/ffs.c (__ffs): Define as hidden.
17120         * sysdeps/i386/ffs.c (__ffs): Likewise.
17121         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17122         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17123         * sysdeps/s390/ffs.c (__ffs): Likewise.
17124         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17125
17126 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
17127
17128         * NEWS: Mention malloc probes.
17129
17130         * malloc/arena.c (new_heap): New memory_heap_new probe.
17131         (grow_heap): New memory_heap_more probe.
17132         (shrink_heap): New memory_heap_less probe.
17133         (heap_trim): New memory_heap_free probe.
17134         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17135         (systrim): New memory_sbrk_less probe.
17136         * manual/probes.texi: Document them.
17137
17138         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
17139         * manual/probes.texi: Document it.
17140
17141         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
17142         (__libc_realloc): Add memory_realloc_retry probe.
17143         (__libc_memalign): Add memory_memalign_retry probe.
17144         (__libc_valloc): Add memory_valloc_retry probe.
17145         (__libc_pvalloc): Add memory_pvalloc_retry probe.
17146         (__libc_calloc): Add memory_calloc_retry probe.
17147         * manual/probes.texi: Document them.
17148
17149         * malloc/arena.c (get_free_list): Add probe
17150         memory_arena_reuse_free_list.
17151         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
17152         and memory_arena_reuse.
17153         (arena_get2) [!PER_THREAD]: Likewise.
17154         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
17155         memory_arena_reuse_realloc.
17156         * manual/probes.texi: Document them.
17157
17158         * malloc/malloc.c (__libc_free): Add
17159         memory_mallopt_free_dyn_thresholds probe.
17160         (__libc_mallopt): Add multiple memory_mallopt probes.
17161         * manual/probes.texi: Document them.
17162
17163         * malloc/malloc.c: Include stap-probe.h.
17164         (__libc_mallopt): Add memory_mallopt probe.
17165         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
17166         * manual/probes.texi: New.
17167         * manual/Makefile (chapters): Add probes.
17168         * manual/threads.texi: Set next node.
17169
17170 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
17171
17172         [BZ #15963, #13985]
17173         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
17174         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
17175         Add `Chinese' to `nan' entry name.
17176
17177 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17178
17179         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
17180         (POLYNOMIAL): Likewise.
17181         (TAYLOR_SINCOS): Likewise.
17182         (TAYLOR_SLOW): Likewise.
17183         (__sin): Use TAYLOR_SINCOS.
17184         (__cos): Likewise.
17185         (slow): Use TAYLOR_SLOW.
17186         (sloww): Likewise.
17187         (bsloww): Likewise.
17188         (csloww): Likewise.
17189
17190 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17191
17192         * stdlib/strtod_l.c: Fix buffer overrun.
17193
17194 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17195
17196         * benchtests/Makefile (bench): Add sincos.
17197         * benchtests/bench-sincos.c: New file.
17198
17199         * math/libm-test.inc (cos_test_data): New test inputs.
17200         (sin_test_data): Likewise.
17201
17202         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
17203         macro.
17204         (__sin): Use it.
17205         (__cos): Likewise.
17206         (slow1): Likewise.
17207         (slow2): Likewise.
17208         (sloww1): Likewise.
17209         (sloww2): Likewise.
17210         (bsloww1): Likewise.
17211         (bsloww2): Likewise.
17212         (cslow2): Likewise.
17213         (csloww1): Likewise.
17214         (csloww2): Likewise.
17215
17216         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
17217         function.
17218         (__sin): Use it.
17219         (__cos): Likewise.
17220
17221         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
17222         gotos.
17223         (__cos): Likewise.
17224
17225 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
17226
17227         * config.h.in (HAVE_MIPS_NAN2008): New macro.
17228         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
17229         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
17230         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
17231         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
17232         * elf/cache.c (print_entry): Handle the new cache flags.
17233
17234 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17235             Aldy Hernandez  <aldyh@redhat.com>
17236
17237         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
17238         Change condition to [_SOFT_FLOAT].
17239         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
17240         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
17241         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
17242         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
17243         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
17244         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
17245         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
17246         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
17247         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
17248         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
17249         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
17250         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
17251         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
17252         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
17253         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
17254         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
17255         declaration.
17256
17257 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
17258
17259         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
17260         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17261         (__longjmp): Use LOAD_GP to load saved GPRs.
17262         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
17263         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
17264         (__sigsetjmp): Use SAVE_GP to save GPRs.
17265
17266         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
17267         Do not append -msoft-float.
17268         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
17269
17270 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17271
17272         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
17273
17274 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
17275
17276         [BZ #15966]
17277         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
17278         (_FPU_GETCW): Use initial "__" on variable and field names but not
17279         on macro parameter name.
17280         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
17281         parentheses around reference to macro parameter.
17282
17283 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
17284
17285         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17286         prototype.
17287         (ctype_startup): Use uint32_t in cast and sizeof for
17288         ctype->charnames.
17289
17290 2013-09-11  Jia Liu  <proljc@gmail.com>
17291
17292         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17293         __daddr_t_defined.
17294         [__FreeBSD__]: Likewise.
17295
17296 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
17297
17298         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17299         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17300         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17301         (strchr): Remove __strchr_sse42 ifunc selection.
17302         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17303         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17304
17305 2013-09-11  Will Newton  <will.newton@linaro.org>
17306
17307         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17308         parameter to RES. Remove hardcoded 1000 value.
17309         * benchtests/bench-skeleton.c (main): Pass RES parameter
17310         to TIMING_INIT and multiply result by 1000.
17311
17312 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17313
17314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17315
17316 2013-09-11  Andreas Schwab  <schwab@suse.de>
17317
17318         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17319         if not defined.
17320         (O_TMPFILE) [__USE_GNU]: Define.
17321         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17322         Define.
17323
17324 2013-09-11  Will Newton  <will.newton@linaro.org>
17325
17326         [BZ #15857]
17327         * malloc/malloc.c (__libc_memalign): Check the value of bytes
17328         does not overflow.
17329
17330 2013-09-11  Will Newton  <will.newton@linaro.org>
17331
17332         [BZ #15856]
17333         * malloc/malloc.c (__libc_valloc): Check the value of bytes
17334         does not overflow.
17335
17336 2013-09-11  Will Newton  <will.newton@linaro.org>
17337
17338         [BZ #15855]
17339         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17340         does not overflow.
17341
17342 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
17343
17344         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17345         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17346         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17347         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17348         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17349
17350 2013-09-10  Allan McRae  <allan@archlinux.org>
17351
17352         [BZ #15748]
17353         * manual/arith.texi (Parsing of Floats): Clarify
17354         cross-reference.
17355
17356         [BZ #15849]
17357         * manual/install.texi (Running make install): Mention
17358         --enable-pt-chown.
17359         * INSTALL: Regenerated.
17360
17361 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
17362
17363         * csu/init-first.c (_init): Remove the !SHARED condition around
17364         FPU control word initialization.
17365         * elf/dl-support.c (_dl_fpu_control): New variable.
17366         (_dl_aux_init) <AT_FPUCW>: Initialize it.
17367         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17368         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17369         * math/test-fpucw-static.c: New file.
17370         * math/test-fpucw-ieee.c: New file.
17371         * math/test-fpucw-ieee-static.c: New file.
17372         * math/Makefile (tests): Add `test-fpucw-ieee' and
17373         `$(tests-static)'.
17374         (tests-static): New variable.
17375         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17376         dependency to...
17377         [($(build-shared),yes)]
17378         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17379         ... this.
17380         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17381         New dependency.
17382
17383 2013-09-09  Allan McRae  <allan@archlinux.org>
17384
17385         [BZ #15939]
17386         * manual/string.texi (Collation Functions): Fix typo in
17387         strcoll example.
17388         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17389
17390         [BZ #15893]
17391         * stdlib/isomac.c (get_null_defines): Fix memory leak.
17392
17393         [BZ #15892]
17394         * libio/memstream.c (open_memstream): Fix memory leak.
17395         * libio/wmemstream.c (open_wmemstream): Likewise.
17396
17397         [BZ #15895]
17398         * nscd/netgroupcache.c: Fix nesting of ifdefs.
17399
17400 2013-09-09  Will Newton  <will.newton@linaro.org>
17401
17402         * malloc/Makefile: Add tst-realloc to tests.
17403         * malloc/tst-realloc.c: New file.
17404
17405 2013-09-09  Allan McRae  <allan@archlinux.org>
17406
17407         [BZ #15844]
17408         * COPYING: Update from GNU website to fix FSF address.
17409         * COPYING.LIB: Likewise.
17410
17411 2013-09-06  David S. Miller  <davem@davemloft.net>
17412
17413         * po/zh_TW.po: Update Chinese (traditional) translation from
17414         translation project.
17415
17416 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
17417             Joseph Myers  <joseph@codesourcery.com>
17418
17419         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17420         "localeinfo.h".
17421         (obstack_chunk_alloc): New macro.
17422         (obstack_chunk_free): Likewise.
17423         (record_offset): New function.
17424         (init_locale_data): Likewise.
17425         (align_locale_data): Likewise.
17426         (add_locale_empty): Likewise.
17427         (add_locale_raw_data): Likewise.
17428         (add_locale_raw_obstack): Likewise.
17429         (add_locale_string): Likewise.
17430         (add_locale_wstring): Likewise.
17431         (add_locale_uint32): Likewise.
17432         (add_locale_uint32_array): Likewise.
17433         (add_locale_char): Likewise.
17434         (start_locale_structure): Likewise.
17435         (end_locale_structure): Likewise.
17436         (start_locale_prelude): Likewise.
17437         (end_locale_prelude): Likewise.
17438         (write_locale_data): Take locale_file structure rather than an
17439         iovec.
17440         * locale/programs/locfile.h: Include "obstack.h".
17441         (struct locale_file): Change to store locale file contents instead
17442         of header.
17443         (init_locale_data): New prototype.
17444         (align_locale_data): Likewise.
17445         (add_locale_empty): Likewise.
17446         (add_locale_raw_data): Likewise.
17447         (add_locale_raw_obstack): Likewise.
17448         (add_locale_string): Likewise.
17449         (add_locale_wstring): Likewise.
17450         (add_locale_uint32): Likewise.
17451         (add_locale_uint32_array): Likewise.
17452         (add_locale_char): Likewise.
17453         (start_locale_structure): Likewise.
17454         (end_locale_structure): Likewise.
17455         (start_locale_prelude): Likewise.
17456         (end_locale_prelude): Likewise.
17457         (write_locale_data): Update prototype.
17458         * locale/programs/3level.h (struct TABLE): Remove result field.
17459         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17460         Use new locale_file interface.
17461         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17462         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17463         * locale/programs/ld-address.c (address_output): Use new
17464         locale_file interface.
17465         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17466         NO_ADD_LOCALE.
17467         (collate_finish): Don't call collseq_table_finalize.
17468         (collate_output): Use new locale_file interface.
17469         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17470         in file.
17471         (NO_FINALIZE): Change to NO_ADD_LOCALE.
17472         (TABLE): Move defines earlier in file.
17473         (ELEMENT): Likewise.
17474         (DEFAULT): Likewise.
17475         (wctrans_table_add): Move macro and inline function earlier in
17476         file.
17477         (struct wctype_table): Move type earlier in file.
17478         (add_locale_wctype_table): New static prototype.
17479         (struct locale_ctype_t): Use logical types instead of struct iovec
17480         pointers for members.
17481         (ctype_output): Use new locale_file interface.
17482         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
17483         new locale_file interface.
17484         (allocate_arrays): Update for use of new locale_file interface.
17485         * locale/programs/ld-identification.c (identification_output): Use
17486         new locale_file interface.
17487         * locale/programs/ld-measurement.c (measurement_output): Likewise.
17488         * locale/programs/ld-messages.c (messages_output): Likewise.
17489         * locale/programs/ld-monetary.c (monetary_output): Likewise.
17490         * locale/programs/ld-name.c (name_output): Likewise.
17491         * locale/programs/ld-numeric.c (numeric_output): Likewise.
17492         * locale/programs/ld-paper.c (paper_output): Likewise.
17493         * locale/programs/ld-telephone.c (telephone_output): Likewise.
17494         * locale/programs/ld-time.c (time_output): Likewise.
17495
17496 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17497
17498         * benchtests/Makefile: Add memrchr benchmark.
17499         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17500         benchmark as memrchr.
17501         * benchtests/bench-memrchr-ifunc.c: New file.
17502         * benchtests/bench-memrchr.c: New file.
17503
17504 2013-09-06   Will Newton  <will.newton@linaro.org>
17505
17506         * benchtests/Makefile (string-bench): Add memcpy.
17507
17508 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
17509             Cong Wang  <amwang@redhat.com>
17510
17511         [BZ #15850]
17512         * sysdeps/unix/sysv/linux/bits/in.h
17513         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17514         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17515         before __USE_KERNEL_IPV6_DEFS uses.
17516         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17517         IPPROTO_BEETPH.
17518         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17519         sockaddr_in6, or ipv6_mreq.
17520
17521 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17522
17523         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17524         memory access for final bytes in some large inputs.
17525         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17526
17527 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17528
17529         * string/test-memrchr.c: New file.
17530         * string/test-memrchr-ifunc.c: New file.
17531         * string/Makefile: Add new memrchr testcase.
17532
17533 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
17534
17535         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17536         fanotify_init returns EPERM.
17537
17538 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17539
17540         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17541         errors.
17542         (top level): Treat second token from macro or constant entries for
17543         allowed headers as allowed.
17544         * include/complex.h: Condition internal declarations on
17545         [!_ISOMAC].
17546         * include/fenv.h: Condition include of <stdbool.h> and internal
17547         declarations on [!_ISOMAC].
17548
17549 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
17550
17551         [BZ #15923]
17552         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17553
17554 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17555
17556         * configure.in (--enable-versioning): Remove configure option.
17557         (libc_cv_asm_symver_directive): Remove configure test.
17558         (libc_cv_ld_version_script_option): Likewise.
17559         (VERSIONING): Remove variable and AC_SUBST.
17560         (DO_VERSIONING): Remove AC_DEFINE.
17561         * configure: Regenerated.
17562         * config.h.in (DO_VERSIONING): Remove macro.
17563         * Makerules [$(versioning) = yes]: Change conditionals to
17564         [$(build-shared) = yes].
17565         * config.make.in (versioning): Remove variable.
17566         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17567         [$(build-shared) = yes].
17568         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17569         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17570         * elf/Makefile [$(versioning) = yes]: Change conditionals to
17571         [$(build-shared) = yes].
17572         * extra-lib.mk [$(versioning) = yes]: Likewise.
17573         * hurd/Makefile [$(versioning) = yes]: Likewise.
17574         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17575         [SHARED].
17576         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17577         [SHARED].
17578         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17579         [SHARED && !NO_HIDDEN].
17580         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17581         [SHARED].
17582         [SHARED && DO_VERSIONING]: Likewise..
17583         * libio/Makefile [$(versioning) = yes]: Change conditionals to
17584         [$(build-shared) = yes].
17585         * manual/install.texi (--disable-versioning): Remove
17586         documentation.
17587         * INSTALL: Regenerated.
17588         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17589         to [SHARED].
17590         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17591         [$(build-shared) = yes].
17592         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17593         * sysdeps/i386/i686/multiarch/strstr-c.c
17594         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17595         [SHARED && !NO_HIDDEN].
17596         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17597         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17598         * sysdeps/powerpc/powerpc32/dl-machine.c
17599         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17600         * sysdeps/powerpc/powerpc32/sysdep.h
17601         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17602         to [SHARED && PIC && !NO_HIDDEN].
17603         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17604         conditional to [SHARED].
17605
17606 2013-09-04   Will Newton  <will.newton@linaro.org>
17607
17608         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17609         * benchtests/bench-string.h: Include bench-timing.h instead
17610         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17611         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17612         call to HP_TIMING_DIFF_INIT.
17613         * benchtests/bench-memccpy.c: Use bench-timing.h macros
17614         instead of hp-timing.h macros.
17615         * benchtests/bench-memchr.c: Likewise.
17616         * benchtests/bench-memcmp.c: Likewise.
17617         * benchtests/bench-memcpy.c: Likewise.
17618         * benchtests/bench-memmem.c: Likewise.
17619         * benchtests/bench-memmove.c: Likewise.
17620         * benchtests/bench-memset.c: Likewise.
17621         * benchtests/bench-rawmemchr.c: Likewise.
17622         * benchtests/bench-strcasecmp.c: Likewise.
17623         * benchtests/bench-strcasestr.c: Likewise.
17624         * benchtests/bench-strcat.c: Likewise.
17625         * benchtests/bench-strchr.c: Likewise.
17626         * benchtests/bench-strcmp.c: Likewise.
17627         * benchtests/bench-strcpy.c: Likewise.
17628         * benchtests/bench-strcpy_chk.c: Likewise.
17629         * benchtests/bench-strlen.c: Likewise.
17630         * benchtests/bench-strncasecmp.c: Likewise.
17631         * benchtests/bench-strncat.c: Likewise.
17632         * benchtests/bench-strncmp.c: Likewise.
17633         * benchtests/bench-strncpy.c: Likewise.
17634         * benchtests/bench-strnlen.c: Likewise.
17635         * benchtests/bench-strpbrk.c: Likewise.
17636         * benchtests/bench-strrchr.c: Likewise.
17637         * benchtests/bench-strspn.c: Likewise.
17638         * benchtests/bench-strstr.c: Likewise.
17639
17640 2013-09-04  Will Newton  <will.newton@linaro.org>
17641
17642         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17643
17644 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
17645
17646         [BZ #15427]
17647         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17648         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17649         * math/libm-test.inc (lgamma_test_data): Add more tests.
17650         * sysdeps/i386/fpu/libm-test-ulps: Update.
17651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17652
17653 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
17654
17655         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17656         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17657         Add ifunc.
17658         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17659         Add strcmp-sse2-unaligned
17660         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17661
17662 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17663
17664         * Versions.def (libc): Add GLIBC_2.19.
17665
17666 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17667
17668         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17669         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17670
17671 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
17672
17673         [BZ #14155]
17674         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17675         intermediate calculations in recurrence.
17676         (__ieee754_ynf): Likewise.
17677         * math/libm-test.inc (jn_test_data): Do not allow spurious
17678         underflow exception.  Add more tests.
17679         (yn_test_data): Add more tests.
17680         * sysdeps/i386/fpu/libm-test-ulps: Update.
17681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17682
17683 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
17684
17685         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17686
17687 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17688
17689         * csu/init-first.c: Fix then/than typos.
17690         * locale/programs/ld-collate.c: Likewise.
17691         * locale/programs/linereader.h: Likewise.
17692         * manual/charset.texi: Likewise.
17693         * manual/filesys.texi: Likewise.
17694         * manual/stdio.texi: Likewise.
17695         * manual/string.texi: Likewise.
17696         * stdlib/fmtmsg.c: Likewise.
17697         * sysdeps/i386/stpncpy.S: Likewise.
17698         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17699         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17700         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17701         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17702
17703 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17704
17705         * elf/dl-open.c: Fix typos.
17706         * iconvdata/gbbig5.c: Likewise.
17707         * iconvdata/iso-2022-jp.c: Likewise.
17708         * iconv/gconv_int.h: Likewise.
17709         * iconv/loop.c: Likewise.
17710         * nis/rpcsvc/nis.h: Likewise.
17711         * resolv/ns_name.c: Likewise.
17712         * stdio-common/vfscanf.c: Likewise.
17713         * streams/stropts.h: Likewise.
17714         * sunrpc/rpc_thread.c: Likewise.
17715         * sysdeps/i386/strpbrk.S: Likewise.
17716         * sysdeps/ieee754/k_standard.c: Likewise.
17717         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17718         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17719         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17720         * sysdeps/mach/hurd/profil.c: Likewise.
17721         * sysdeps/s390/dl-procinfo.h: Likewise.
17722         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17723         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17724         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17725         * sysdeps/x86_64/dl-trampoline.S: Likewise.
17726         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17727
17728 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
17729
17730         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17731         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17732
17733 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
17734
17735         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17736         aix specific files.
17737         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17738         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17739         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17740         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17741         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17742         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17743         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17744         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17745
17746 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17747             Roland McGrath  <roland@hack.frob.com>
17748
17749         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17750         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17751
17752 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17753
17754         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17755         __executable_start symbol instead of _start.
17756
17757 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17758
17759         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17760         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17761         Move macros to...
17762         * sysdeps/gnu/ldsodefs.h: ... this new file.
17763
17764         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17765         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17766         instead of ELFOSABI_LINUX.
17767
17768         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17769         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17770         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17771         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17772         Likewise.
17773         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17774         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17775         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17776         Likewise.
17777         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17778         (ibm_extended_long_double): Add ieee_nan member.
17779         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17780         (do_test): New function.
17781
17782         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17783         TEST_TRUNC.
17784         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17785         functions, renamed from truncdfsf_test, trunctfsf_test,
17786         trunctfdf_test.
17787         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17788         functions.
17789         (do_test): Run all these.
17790
17791 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
17792
17793         * argp/argp-help.c: Fix typos.
17794         * argp/argp-parse.c: Likewise.
17795         * debug/backtracesyms.c: Likewise.
17796         * elf/elf.h: Likewise.
17797         * malloc/malloc.c: Likewise.
17798         * nis/nis_print.c: Likewise.
17799         * resolv/res_comp.c: Likewise.
17800         * stdlib/stdlib.h: Likewise.
17801         * sunrpc/clnt_tcp.c: Likewise.
17802         * sunrpc/clnt_udp.c: Likewise.
17803         * sunrpc/clnt_unix.c: Likewise.
17804         * sysdeps/unix/bsd/ptsname.c: Likewise.
17805         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17806         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17808         Likewise.
17809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17810         Likewise.
17811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17812         Likewise.
17813         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17814
17815 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17816
17817         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17818         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17819
17820 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
17821
17822         [BZ #15897]
17823         * dlfcn/Makefile (tests): Add bug-dl-leaf.
17824         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17825         ($(objpfx)bug-dl-leaf): New rule.
17826         ($(objpfx)bug-dl-leaf.so): Likewise.
17827         ($(objpfx)bug-dl-leaf.out): Likewise.
17828         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17829         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17830         * dlfcn/bug-dl-leaf.c: New test.
17831         * dlfcn/bug-dl-leaf-lib.c: Likewise.
17832         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17833         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17834         (dlclose): Likewise.
17835         (dlmopen): Likewise.
17836
17837 2013-08-27  Roland McGrath  <roland@hack.frob.com>
17838
17839         * include/netdb.h [!_ISOMAC]:
17840         Don't include <tls.h>.
17841         (h_errno, __libc_h_errno): Move declaration and macros out of
17842         [_LIBC_REENTRANT].
17843
17844         * include/resolv.h [_RESOLV_H_]:
17845         Don't include <tls.h>.
17846         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17847         * resolv/res_libc.c: Don't include <tls.h>.
17848         (_res): Use __attribute__ ((nocommon)) in place of
17849         __attribute__ ((section (".bss"))).
17850
17851         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17852         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17853
17854         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17855
17856         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17857         only under [SIOCGIFCONF && SIOCGIFNETMASK].
17858
17859         * resolv/res_mkquery.c: Include <sys/time.h>.
17860
17861         * inet/ifreq.c: Moved to ...
17862         * sysdeps/unix/ifreq.c: ... here.
17863         * inet/ifreq.c: New file, true stub version.
17864
17865         * socket/sa_len.c: New file.
17866         * socket/Makefile (aux): Add it.
17867         * sysdeps/unix/sysv/linux/Makefile
17868         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17869         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17870         and #include <socket/sa_len.c>.
17871         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17872         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17873
17874         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17875         * bits/socket.h: ... here.
17876
17877         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17878         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17879         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17880
17881 2013-08-27  Andreas Schwab  <schwab@suse.de>
17882
17883         [BZ #15736]
17884         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17885         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17886         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17887         * string/test-strcasecmp.c (test_main): Run tests in several
17888         locales.
17889         * string/test-strncasecmp.c (test_main): Likewise.
17890
17891         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17892         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17893         to __strcasecmp_nonascii and __strncasecmp_nonascii.
17894         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17895         (__strncasecmp_ssse3) [PIC]: Likewise.
17896
17897 2013-08-26  Roland McGrath  <roland@hack.frob.com>
17898
17899         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17900
17901         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17902         instead of explicitly declaring xdecrypt.
17903         * nis/nss_nis/nis-publickey.c: Likewise.
17904
17905 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17906
17907         [BZ #15890]
17908         * nscd/aicache.c: Include res_hconf.h.
17909         (addhstaiX): Initialize res_hconf.
17910
17911 2013-08-26  Andreas Schwab  <schwab@suse.de>
17912
17913         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17914         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17915
17916 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17917
17918         * nscd/aicache.c (addhstaiX): Fix indentation.
17919
17920 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
17921
17922         * configure.ac: Quote $build_pt_chown test.
17923         * configure: Regenerated.
17924
17925 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
17926
17927         [BZ #15532]
17928         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17929         * math/s_cexpf.c (__cexpf): Likewise.
17930         * math/s_cexpl.c (__cexpl): Likewise.
17931         * math/libm-test.inc (cexp_test_data): Correct expected return
17932         value for NaN + i0.  Add another test.
17933
17934 2013-08-22  David S. Miller  <davem@davemloft.net>
17935
17936         * po/ca.po: Update Catalan translation from translation project.
17937         * po/uk.po: Add Ukrainian translations from translation project.
17938
17939 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
17940
17941         [BZ #15797]
17942         * math/s_fdim.c (__fdim): Check for infinite arguments if result
17943         is infinite, not alongside NaN test.
17944         * math/s_fdimf.c (__fdimf): Likewise.
17945         * math/s_fdiml.c (__fdiml): Likewise.
17946         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
17947         errno is unchanged.
17948
17949 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
17950
17951         * argp/argp-help.c: Fix typos.
17952         * crypt/speeds.c: Likewise.
17953         * csu/check_fds.c: Likewise.
17954         * elf/dl-load.c: Likewise.
17955         * elf/dl-open.c: Likewise.
17956         * elf/reldep3.c: Likewise.
17957         * elf/reldep.c: Likewise.
17958         * elf/sprof.c: Likewise.
17959         * iconv/iconv_charmap.c: Likewise.
17960         * iconv/skeleton.c: Likewise.
17961         * iconv/strtab.c: Likewise.
17962         * io/lockf64.c: Likewise.
17963         * libio/libioP.h: Likewise.
17964         * resolv/gai_notify.c: Likewise.
17965         * resolv/ns_name.c: Likewise.
17966         * resolv/ns_samedomain.c: Likewise.
17967         * resolv/res_send.c: Likewise.
17968         * stdlib/random.c: Likewise.
17969         * sunrpc/rpc/xdr.h: Likewise.
17970         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17971         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17972         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17973         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17974         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17975         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17976         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17977         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17978         * sysdeps/mach/hurd/check_fds.c: Likewise.
17979         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17980         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17981         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17982         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17983         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17984         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17985         * sysdeps/pthread/aio_notify.c: Likewise.
17986         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17987         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17988         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17989         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17990         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17991
17992 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17993
17994         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17995         version if bit_Slow_SSE4_2 is set.
17996         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17997         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17998
17999 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18000
18001         [BZ #15867]
18002         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18003         trampoline stack frame information.
18004         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18005         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18006         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18007         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18008         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18009         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18010         (_libc_vdso_platform_setup): Initialize the signal trampolines.
18011         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18012         sa_flags value.
18013         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18014         interrupting a syscall and set with option SA_SIGINFO.
18015
18016 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18017
18018         [BZ #15531]
18019         * math/s_cproj.c (__cproj): Only return an infinity if one part of
18020         argument is infinite.
18021         * math/s_cprojf.c (__cprojf): Likewise.
18022         * math/s_cprojl.c (__cprojl): Likewise.
18023         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18024         * math/libm-test.inc (cproj_test_data): Add more tests.
18025
18026         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18027
18028         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18029         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18030         size.  Use __ffs to determine corresponding shift.
18031
18032 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18033             Roland McGrath  <roland@hack.frob.com>
18034
18035         * Makefile (INSTALL): Remove trailing blank lines from output of
18036         makeinfo.
18037
18038 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18039
18040         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18041         Align 32 bit compat elf_greg to 8 bytes.
18042
18043 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
18044
18045         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18046
18047 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18048
18049         * string/strcoll_l.c (coll_seq): New structure.
18050         (get_next_seq_cached): New function.
18051         (get_next_seq): New function.
18052         (do_compare): New function.
18053         (STRCOLL): Use GNU style definition.  Simplify implementation
18054         by using get_next_seq, get_next_seq_cached and do_compare.
18055
18056 2013-08-16  Florian Weimer  <fweimer@redhat.com>
18057
18058         [BZ #14699]
18059         CVE-2013-4237
18060         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18061         member.
18062         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18063         member.
18064         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18065         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18066         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
18067         conditional.
18068         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18069         GETDENTS_64BIT_ALIGNED.
18070         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18071         * manual/filesys.texi (Reading/Closing Directory): Document
18072         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
18073         strongly.
18074         * manual/conf.texi (Limits for Files): Add portability note to
18075         NAME_MAX, PATH_MAX.
18076         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18077
18078 2013-08-13  Andreas Schwab  <schwab@suse.de>
18079
18080         [BZ #15749]
18081         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18082         of fabs.
18083         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18084         LDBL_MAX_EXP >= 16384]: Add tests for it.
18085
18086 2013-08-12  David S. Miller  <davem@davemloft.net>
18087
18088         * version.h (RELEASE): Set to "development".
18089         (VERSION): Set to "2.18.90".
18090         * NEWS: Add 2.19 section.
18091
18092 2013-08-03  David S. Miller  <davem@davemloft.net>
18093
18094         * po/ko.po: Update Korean translation from translation project.
18095
18096 2013-08-01  David S. Miller  <davem@davemloft.net>
18097
18098         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
18099         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18100         Bilka.
18101
18102 2013-07-30  David S. Miller  <davem@davemloft.net>
18103
18104         * po/fr.po: Update French translation from translation project.
18105
18106 2013-07-28  David S. Miller  <davem@davemloft.net>
18107
18108         * po/cs.po: Update Czech translation from translation project.
18109
18110         * po/sv.po: Update Swedish translation from translation project.
18111
18112 2013-07-27  David S. Miller  <davem@davemloft.net>
18113
18114         * po/eo.po: Update Esperanto translation from translation project.
18115
18116         * po/vi.po: Update Vietnamese translation from translation project.
18117
18118         * po/de.po: Update German translation from translation project.
18119
18120 2013-07-26  David S. Miller  <davem@davemloft.net>
18121
18122         * po/bg.po: Update Bulgarian translation from translation project.
18123
18124         * po/nl.po: Update Dutch translation from translation project.
18125         * po/pl.po: Update Polish translation from translation project.
18126         * po/ru.po: Update Russian translation from translation project.
18127
18128 2013-07-24  David S. Miller  <davem@davemloft.net>
18129
18130         * po/libc.pot: Update.
18131
18132 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18133
18134         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18135         variable page size.
18136         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
18137         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
18138         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
18139
18140 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18141
18142         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
18143
18144 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18145             Andreas Schwab  <schwab@suse.de>
18146             Roland McGrath  <roland@hack.frob.com>
18147             Joseph Myers  <joseph@codesourcery.com>
18148             Carlos O'Donell  <carlos@redhat.com>
18149
18150         [BZ #15755]
18151         * config.h.in: Define HAVE_PT_CHOWN.
18152         * config.make.in (build-pt-chown): New variable.
18153         * configure.in (--enable-pt_chown): New configure option.
18154         * configure: Regenerate.
18155         * login/Makefile: Include Makeconfig.  Build pt_chown only if
18156         build-pt-chown is enabled.
18157         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
18158         pt_chown to fix pty ownership.
18159         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
18160         CLOSE_ALL_FDS.
18161         * manual/install.texi (Configuring and compiling): Mention
18162         --enable-pt_chown. Add @findex for grantpt.
18163         * INSTALL: Regenerate.
18164
18165 2013-07-20  David S. Miller  <davem@davemloft.net>
18166
18167         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
18168         difference between 32-bit and 64-bit.
18169
18170 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
18171
18172         [BZ #15711]
18173         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
18174         Avoid system header dependency with -ffreestanding.
18175         ($(objpfx)bits/syscall%d): Likewise.
18176
18177 2013-07-13  David S. Miller  <davem@davemloft.net>
18178
18179         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
18180         underflows from atanl/atan2l due to bug 15319.
18181         (casinh_test_data): Likewise.
18182
18183 2013-07-07  David S. Miller  <davem@davemloft.net>
18184
18185         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
18186
18187 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
18188
18189         * sysdeps/i386/fpu/libm-test-ulps: Update.
18190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18191
18192 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18193
18194         * configure.in (--enable-lock-elision): Fix message text.
18195         * INSTALL: Regenerate.
18196         * configure: Regenerate.
18197
18198 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18199
18200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18201
18202 2013-07-03  Andreas Jaeger  <aj@suse.de>
18203
18204         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
18205         define.
18206         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
18207         (ptrace_peeksiginfo_args): Add.
18208         (__ptrace_peeksiginfo_flags): Add.
18209         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18210         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18211         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18212
18213 2013-07-03  Allan McRae  <allan@archlinux.org>
18214
18215         * sysdeps/i386/fpu/libm-test-ulps: Update.
18216
18217 2013-07-02  David S. Miller  <davem@davemloft.net>
18218
18219         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18220
18221 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
18222
18223         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18224
18225 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18226
18227         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18229
18230 2013-07-02  Andi Kleen <ak@linux.intel.com>
18231
18232         * config.h.in (ENABLE_LOCK_ELISION): Add.
18233         * configure.in (--enable-lock-elision): Add option.
18234         * manual/install.texi: Document --enable lock elision.
18235         * configure: Regenerate
18236         * INSTALL: Regenerate.
18237
18238 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
18239
18240         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
18241         SSE4.2 strcasecmp for libc.a.
18242         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18243
18244 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
18245
18246         [BZ #13304]
18247         * soft-fp/op-common.h (_FP_FMA): New macro.
18248         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
18249         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
18250         (_FP_MUL_MEAT_1_imm): ... here.
18251         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
18252         (_FP_MUL_MEAT_1_wide): ... here.
18253         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
18254         (_FP_MUL_MEAT_1_hard): ... here.
18255         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
18256         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
18257         (_FP_MUL_MEAT_2_wide): ... here.
18258         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
18259         (_FP_MUL_MEAT_2_wide_3mul): ... here.
18260         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
18261         (_FP_MUL_MEAT_2_gmp): ... here.
18262         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
18263         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
18264         (_FP_MUL_MEAT_4_wide): ... here.
18265         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
18266         (_FP_MUL_MEAT_4_gmp): ... here.
18267         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
18268         (_FP_WFRACBITS_DW_S): Likewise.
18269         (_FP_WFRACXBITS_DW_S): Likewise.
18270         (_FP_HIGHBIT_DW_S): Likewise.
18271         (FP_FMA_S): Likewise.
18272         (_FP_FRAC_HIGH_DW_S): Likewise.
18273         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
18274         (_FP_WFRACBITS_DW_D): Likewise.
18275         (_FP_WFRACXBITS_DW_D): Likewise.
18276         (_FP_HIGHBIT_DW_D): Likewise.
18277         (FP_FMA_D): Likewise.
18278         (_FP_FRAC_HIGH_DW_D): Likewise.
18279         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18280         (_FP_WFRACBITS_DW_E): Likewise.
18281         (_FP_WFRACXBITS_DW_E): Likewise.
18282         (_FP_HIGHBIT_DW_E): Likewise.
18283         (FP_FMA_E): Likewise.
18284         (_FP_FRAC_HIGH_DW_E): Likewise.
18285         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18286         (_FP_WFRACBITS_DW_Q): Likewise.
18287         (_FP_WFRACXBITS_DW_Q): Likewise.
18288         (_FP_HIGHBIT_DW_Q): Likewise.
18289         (FP_FMA_Q): Likewise.
18290         (_FP_FRAC_HIGH_DW_Q): Likewise.
18291         * soft-fp/fmasf4.c: New file.
18292         * soft-fp/fmadf4.c: Likewise.
18293         * soft-fp/fmatf4.c: Likewise.
18294
18295 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18296
18297         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18298         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18299         Silvermont.
18300         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18301         macro.
18302         (index_Slow_SSE4_2): Likewise.
18303         (index_Prefer_PMINUB_for_stringop): Likewise.
18304         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18305         bit_Slow_SSE4_2 is set.
18306         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18307         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18308
18309 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18310
18311         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18312         rtld_global._dl_hwcap2.
18313         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18314         POWER8.
18315         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18316         POWER8 feature descriptions defined in _dl_hwcap2.
18317         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18318         string handling for POWER8 feature bits.
18319         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18320         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18321         _dl_powerpc_cap_flags.
18322         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18323         * sysdeps/powerpc/rtld-global-offsets.sym
18324         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18325         _dl_hwcap2 in the rtld_global_ro structure.
18326
18327 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18328
18329         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18330         hardware capabilities in support of AT_HWCAP2.
18331         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18332         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18333         GLRO(dl_hwcap2).
18334         (_dl_show_auxv): Add support for calling _dl_procinfo to display
18335         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
18336         explicitly the unknown a_type display mechanism is used.
18337         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18338         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18339         struct member.
18340         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18341         to macro prototype for AT_HWCAP2 support.
18342         * sysdeps/i386/dl-procinfo.h: Likewise.
18343         * sysdeps/s390/dl-procinfo.h: Likewise.
18344         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18345         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
18346         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
18347         return -1 for unknown a_type display fallback.
18348         * sysdeps/sparc/dl-procinfo.h: Likewise.
18349         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18350         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18351
18352 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
18353
18354         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18355         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18356
18357 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
18358
18359         [BZ #12492]
18360         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18361         mprotect making __stack_prot writable.
18362
18363 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
18364             Joseph Myers  <joseph@codesourcery.com>
18365
18366         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18367         as being properly aligned.
18368
18369 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
18370
18371         * dlfcn/modstatic5.c: New file.
18372         * dlfcn/tststatic5.c: New file.
18373         * dlfcn/Makefile (tests): Add tststatic5.
18374         (tests-static): Likewise.
18375         (modules-names): Add modstatic5.
18376         (tststatic5-ENV): New variable.
18377         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18378
18379         [BZ #15022]
18380         * elf/dl-support.c (_dl_main_map): New variable.
18381         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18382         (_dl_nns, _dl_load_adds): Set to 1.
18383         (_dl_initial_searchlist): Refer to _dl_main_map.
18384         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18385         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18386         call to _dl_get_origin.
18387         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18388         around call_map.
18389         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18390         * dlfcn/modstatic3.c: New file.
18391         * dlfcn/tststatic3.c: New file.
18392         * dlfcn/tststatic4.c: New file.
18393         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18394         (tests-static): Likewise.
18395         (modules-names): Add modstatic3.
18396         (tststatic3-ENV, tststatic4-ENV): New variables.
18397         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18398         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18399
18400 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
18401
18402         * configure.in (CC): Require GCC version 4.4 or later.
18403         * configure: Regenerated.
18404         * manual/install.texi (Tools for Compilation): Update GCC version
18405         requirement.
18406         * INSTALL: Regenerated.
18407
18408 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18409
18410         [BZ #15674]
18411         * string/test-memcmp.c (check2): New.
18412         (main): Call check2.
18413
18414         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18415
18416 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
18417
18418         [BZ #15022]
18419         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18420         over to...
18421         (dl_open_worker) [!SHARED]: ... here.
18422
18423 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18424
18425         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18426
18427 2013-06-25  Richard Henderson  <rth@redhat.com>
18428
18429         * locale/programs/locarchive.c: Include <libc-internal.h>
18430
18431 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18432
18433         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18434         trailing whitespace removed.
18435
18436 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18437
18438         [BZ #10283]
18439         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18440         * locale/programs/locarchive.c: Include libc-mmap.h.
18441         (prepare_address_space): Take two new outputs (the mmap base and len).
18442         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
18443         values.
18444         (create_archive): Declare new mmap base and len values for
18445         prepare_address_space, and store the result in ah.
18446         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18447         (enlarge_archive): If ah->mmap_base is not NULL, use that and
18448         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18449         Declare new mmap base and len values for
18450         prepare_address_space, and store the result in new_ah.
18451         (open_archive): Declare new mmap base and len values for
18452         prepare_address_space, and store the result in ah.
18453         (close_archive): If ah->mmap_base is not NULL, use that and
18454         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18455         * sysdeps/generic/libc-mmap.h: New file.
18456
18457 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18458
18459         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18460         (ALIGN_UP): Likewise.
18461         (PTR_ALIGN_DOWN): Likewise.
18462         (PTR_ALIGN_UP): Likewise.
18463
18464 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18465
18466         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18467         entry mapped to PPC_PLATFORM_POWER8.
18468         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18469         POWER8.
18470         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18471         (_dl_string_platform): Add case for exporting platform position for
18472         POWER8.
18473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18474         search path to sysdeps/powerpc/powerpc32/power8 directory.
18475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18476         search path to sysdeps/powerpc/powerpc64/power8 directory.
18477         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18478         power7 directories.
18479         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18480         power7 directories.
18481
18482 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18483
18484         * INSTALL: Regenerate.
18485
18486         * nscd/connections.c (nscd_init): Fix comment.
18487
18488 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
18489
18490         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18491
18492         [BZ #15667]
18493         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18494         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18495
18496 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18497
18498         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18499         DL_DST_REQ_STATIC.
18500         (DL_DST_REQ_STATIC): Remove macro.
18501
18502 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
18503
18504         [BZ #7006]
18505         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18506         with a shift of 0 bits.
18507
18508 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18509
18510         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18511         $(tststatic-ENV).
18512
18513 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18514
18515         [BZ #15655]
18516         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18517
18518 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18519
18520         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18521         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18522         accepts -fno-tree-loop-distribute-patterns.
18523         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18524         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18525         recursive call.
18526         * string/memset.c (memset): Likewise.
18527         * string/test-memmove.c (simple_memmove): Disable loop transformation
18528         to library calls.
18529         * string/test-memset.c (simple_memset): Likewise.
18530         * benchtests/bench-memmove.c (simple_memmove): Likewise.
18531         * benchtests/bench-memset.c (simple_memset): Likewise.
18532         * configure: Regenerated.
18533
18534 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
18535
18536         * math/test-misc.c (main): Ignore fesetround failure when failures
18537         of subsequent rounding tests would be ignored.
18538
18539         [BZ #15654]
18540         * math/fedisblxcpt.c (fedisableexcept): Return 0.
18541         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18542         * math/fegetenv.c (__fegetenv): Return 0.
18543         * math/fegetexcept.c (fegetexcept): Return 0.
18544         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18545         FE_TONEAREST.
18546         * math/feholdexcpt.c (feholdexcept): Return 0.
18547         * math/fesetenv.c (__fesetenv): Return 0.
18548         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18549         argument FE_TONEAREST.
18550         * math/feupdateenv.c (__feupdateenv): Return 0.
18551         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18552
18553 2013-06-18  Roland McGrath  <roland@hack.frob.com>
18554
18555         * elf/rtld-Rules (rtld-compile-command.S): New variable.
18556         (rtld-compile-command.s, rtld-compile-command.c): New variables.
18557         ($(objpfx)rtld-%.os rules): Use them.
18558
18559 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18560
18561         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18562         fields.
18563
18564 2013-06-17  Roland McGrath  <roland@hack.frob.com>
18565
18566         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18567         length of target pattern, then descending length of dependency pattern.
18568         * configure.in (AWK): Require gawk 3.1.2 or newer.
18569         * manual/install.texi (Tools for Compilation): Say that we do.
18570         * configure: Regenerated.
18571
18572         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18573         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18574         * scripts/sysd-rules.awk: ... this new script.
18575         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18576         than a glob-style pattern.
18577
18578 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
18579
18580         * math/test-misc.c (main): Do not treat incorrectly rounded
18581         conversions as failure unless ROUNDING_TESTS passes.
18582
18583 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
18584
18585         [BZ #15631]
18586         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18587         restore exception state around main square root computation, then
18588         check for inexactness explicitly.
18589
18590         * math/libm-test.inc (fma_test_data): Add another test.
18591
18592 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18593
18594         * manual/threads.texi (Non-POSIX Extensions): New document
18595         node.  Document pthread_getattr_default_np and
18596         pthread_setattr_default_np.
18597
18598         * Versions.def (libpthread): Add GLIBC_2.18.
18599         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18601         Likewise.
18602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18603         Likewise.
18604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18605         Likewise.
18606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18607         Likewise.
18608         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18609         Likewise.
18610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18611         Likewise.
18612         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18613         Likewise.
18614         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18615         Likewise.
18616         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18617         Likewise.
18618
18619 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18620
18621         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18622         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18623
18624 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18625             H.J. Lu  <hjl.tools@gmail.com>
18626
18627         [BZ #15627]
18628         * sysdeps/x86_64/rtld-memset.c: Remove file.
18629         * sysdeps/x86_64/rtld-memset.S: New file.
18630
18631 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
18632
18633         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18634         (test_in_one_mode): Take arguments for whether the rounding mode
18635         is supported for each floating-point type.
18636         (do_test): Pass new arguments to test_in_one_mode using
18637         ROUNDING_TESTS.
18638
18639 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18640
18641         * posix/tst-waitid.c (do_test): Distinguish different instances of
18642         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
18643         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18644         before entering the kernel for waitpid.
18645
18646 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18647
18648         * NEWS: Fix note on clock function precision.  Text by Roland
18649         McGrath.
18650
18651 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18652
18653         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18654         it into place only when and if the sanity check passes.
18655
18656 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
18657
18658         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18659         output for whether conversion result is exact.  Take argument
18660         indicating whether type is IBM long double.
18661         (round_for_all): Change need_exact field to ibm_ld.
18662         * stdlib/tst-strtod-round.c (struct exactness): New type.
18663         (struct test): Change bool ld_ok field to struct exactness exact.
18664         (TEST): Update all definitions for change to field.
18665         (tests): Regenerate array contents.
18666         (test_in_one_mode): Take pointer to new field instead of old ld_ok
18667         field value.  Check for IBM long double here.
18668         (do_test): Update calls to test_in_one_mode.
18669
18670 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18671
18672         [BZ #12515]
18673         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18674         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18675
18676 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18677
18678         [BZ #15605]
18679         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18680         generated by the compiler on loop optimizations.
18681         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18682         general definitions.
18683
18684 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
18685
18686         * math/bug-nextafter.c: Include <math-tests.h>.
18687         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18688         the relevant type.
18689         * math/bug-nexttoward.c: Include <math-tests.h>.
18690         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18691         the relevant type.
18692         * math/test-misc.c: Include <math-tests.h>.
18693         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18694         the relevant type.
18695
18696 2013-06-12  Andreas Jaeger  <aj@suse.de>
18697
18698         * po/ia.po: Update Interlingua translation from translation
18699         project.
18700
18701 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18702
18703         * include/fenv.h: Include stdbool.h.
18704         (struct rm_ctx): New structure.
18705         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18706         Define macro.
18707         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18708         (SET_RESTORE_ROUNDF): Likewise.
18709         (SET_RESTORE_ROUNDL): Likewise.
18710         (SET_RESTORE_ROUND_NOEX): Likewise.
18711         (SET_RESTORE_ROUND_NOEXF): Likewise.
18712         (SET_RESTORE_ROUND_NOEXL): Likewise.
18713         (SET_RESTORE_ROUND_53BIT): Likewise.
18714         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18715         (libc_feresetround_noexf_ctx): Likewise.
18716         (libc_feresetround_noexl_ctx): Likewise.
18717         (libc_feholdsetround_53bit_ctx): Likewise.
18718         (libc_feresetround_53bit_ctx): Likewise.
18719         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18720         (libc_feholdexcept_setround_sse_ctx): New function.
18721         (libc_fesetenv_sse_ctx): Likewise.
18722         (libc_feupdateenv_sse_ctx): Likewise.
18723         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18724         (libc_feholdexcept_setround_387_ctx): Likewise.
18725         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18726         (libc_feholdsetround_387_prec_ctx): Likewise.
18727         (libc_feholdsetround_387_ctx): Likewise.
18728         (libc_feholdsetround_387_53bit_ctx): Likewise.
18729         (libc_feholdsetround_sse_ctx): Likewise.
18730         (libc_feresetround_sse_ctx): Likewise.
18731         (libc_feresetround_387_ctx): Likewise.
18732         (libc_feupdateenv_387_ctx): Likewise.
18733         (libc_feholdexcept_setroundf_ctx): Define macro.
18734         (libc_fesetenvf_ctx): Likewise.
18735         (libc_feupdateenvf_ctx): Likewise.
18736         (libc_feholdsetroundf_ctx): Likewise.
18737         (libc_feresetroundf_ctx): Likewise.
18738         (libc_feholdexcept_setround_ctx): Likewise.
18739         (libc_fesetenv_ctx): Likewise.
18740         (libc_feupdateenv_ctx): Likewise.
18741         (libc_feholdsetround_ctx): Likewise.
18742         (libc_feresetround_ctx): Likewise.
18743         (libc_feholdexcept_setroundl_ctx): Likewise.
18744         (libc_feupdateenvl_ctx): Likewise.
18745         (libc_feholdsetroundl_ctx): Likewise.
18746         (libc_feresetroundl_ctx): Likewise.
18747         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18748         (libc_feresetround_53bit_ctx): Likewise.
18749
18750 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18751
18752         * locale/iso-639.def: Convert to UTF-8.
18753
18754 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
18755
18756         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18757         (EXCEPTION_TESTS_double): Likewise.
18758         (EXCEPTION_TESTS_long_double): Likewise.
18759         (EXCEPTION_TESTS): Likewise.
18760         * math/libm-test.inc (test_exceptions): Only test exceptions if
18761         EXCEPTION_TESTS (FLOAT).
18762
18763 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18764
18765         * benchtests/Makefile (string-bench): Add strcpy_chk and
18766         stpcpy_chk.
18767         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18768         * benchtests/bench-stpcpy_chk.c: New file.
18769         * benchtests/bench-strcpy_chk-ifunc.c: New file.
18770         * benchtests/bench-strcpy_chk.c: New file.
18771         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18772         code.
18773         (do_test): Likewise.
18774
18775 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18776
18777         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18778         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18779         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18780         with tabs where appropriate.
18781         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18782         dl-procinfo.h.
18783         [PPC_PLATFORM_PPC440]: Likewise.
18784         [PPC_PLATFORM_PPC464]: Likewise.
18785         [PPC_PLATFORM_PPC476]: Likewise.
18786         (_dl_string_platform): Add support for detecting ppc405, ppc440,
18787         ppc464, and ppc476 platform strings merging from ports/
18788         dl-procinfo.h.
18789
18790 2013-06-11  Andreas Schwab  <schwab@suse.de>
18791
18792         [BZ #14991]
18793         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18794         (from_ucs4_idx): Regenerate.
18795         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18796         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18797         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18798         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18799         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18800         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18801         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18802         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18803         from FROM_LOOP and TO_LOOP specific macros.
18804         (BODY): Handle combining characters.
18805         * iconvdata/BIG5HKSCS.irreversible: Update.
18806         * iconvdata/BIG5HKSCS.precomposed: New file.
18807         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18808         characters.
18809         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18810
18811 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18812
18813         * include/sys/time.h: Fix indentation and add copyright header.
18814
18815         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18816         (do_test): Likewise.
18817         * string/test-memchr.c (do_one_test): Likewise.
18818         (do_test): Likewise.
18819         * string/test-memcmp.c (do_one_test): Likewise.
18820         (do_test): Likewise.
18821         * string/test-memcpy.c (do_one_test): Likewise.
18822         (do_test): Likewise.
18823         * string/test-memmem.c (do_one_test): Likewise.
18824         (do_test): Likewise.
18825         (do_random_tests): Likewise.
18826         * string/test-memmove.c (do_one_test): Likewise.
18827         (do_test): Likewise.
18828         * string/test-memset.c (do_one_test): Likewise.
18829         (do_test): Likewise.
18830         * string/test-rawmemchr.c (do_one_test): Likewise.
18831         (do_test): Likewise.
18832         * string/test-strcasecmp.c (do_one_test): Likewise.
18833         (do_test): Likewise.
18834         * string/test-strcasestr.c (do_one_test): Likewise.
18835         (do_test): Likewise.
18836         * string/test-strcat.c (do_one_test): Likewise.
18837         (do_test): Likewise.
18838         * string/test-strchr.c (do_one_test): Likewise.
18839         (do_test): Likewise.
18840         * string/test-strcmp.c (do_one_test): Likewise.
18841         (do_test): Likewise.
18842         * string/test-strcpy.c (do_one_test): Likewise.
18843         (do_test): Likewise.
18844         * string/test-string.h: Likewise.
18845         (test_init): Likewise.
18846         * string/test-strlen.c (do_one_test): Likewise.
18847         (do_test): Likewise.
18848         * string/test-strncasecmp.c (do_one_test): Likewise.
18849         (do_test): Likewise.
18850         * string/test-strncat.c (do_one_test): Likewise.
18851         (do_test): Likewise.
18852         * string/test-strncmp.c (do_one_test): Likewise.
18853         (do_test_limit): Likewise.
18854         (do_test): Likewise.
18855         * string/test-strncpy.c (do_one_test): Likewise.
18856         (do_test): Likewise.
18857         * string/test-strnlen.c (do_one_test): Likewise.
18858         (do_test): Likewise.
18859         * string/test-strpbrk.c (do_one_test): Likewise.
18860         (do_test): Likewise.
18861         * string/test-strrchr.c (do_one_test): Likewise.
18862         (do_test): Likewise.
18863         * string/test-strspn.c (do_one_test): Likewise.
18864         (do_test): Likewise.
18865         * string/test-strstr.c (do_one_test): Likewise.
18866         (do_test): Likewise.
18867
18868         * benchtests/Makefile (string-bench): Add string benchmarks.
18869         * benchtests/bench-bcopy-ifunc.c: New file.
18870         * benchtests/bench-bcopy.c: New file.
18871         * benchtests/bench-bzero-ifunc.c: New file.
18872         * benchtests/bench-bzero.c: New file.
18873         * benchtests/bench-memccpy-ifunc.c: New file.
18874         * benchtests/bench-memccpy.c: New file.
18875         * benchtests/bench-memchr-ifunc.c: New file.
18876         * benchtests/bench-memchr.c: New file.
18877         * benchtests/bench-memcmp-ifunc.c: New file.
18878         * benchtests/bench-memcmp.c: New file.
18879         * benchtests/bench-memmem-ifunc.c: New file.
18880         * benchtests/bench-memmem.c: New file.
18881         * benchtests/bench-memmove-ifunc.c: New file.
18882         * benchtests/bench-memmove.c: New file.
18883         * benchtests/bench-mempcpy-ifunc.c: New file.
18884         * benchtests/bench-mempcpy.c: New file.
18885         * benchtests/bench-memset-ifunc.c: New file.
18886         * benchtests/bench-memset.c: New file.
18887         * benchtests/bench-rawmemchr-ifunc.c: New file.
18888         * benchtests/bench-rawmemchr.c: New file.
18889         * benchtests/bench-stpcpy-ifunc.c: New file.
18890         * benchtests/bench-stpcpy.c: New file.
18891         * benchtests/bench-stpncpy-ifunc.c: New file.
18892         * benchtests/bench-stpncpy.c: New file.
18893         * benchtests/bench-strcasecmp-ifunc.c: New file.
18894         * benchtests/bench-strcasecmp.c: New file.
18895         * benchtests/bench-strcasestr-ifunc.c: New file.
18896         * benchtests/bench-strcasestr.c: New file.
18897         * benchtests/bench-strcat-ifunc.c: New file.
18898         * benchtests/bench-strcat.c: New file.
18899         * benchtests/bench-strchr-ifunc.c: New file.
18900         * benchtests/bench-strchr.c: New file.
18901         * benchtests/bench-strchrnul-ifunc.c: New file.
18902         * benchtests/bench-strchrnul.c: New file.
18903         * benchtests/bench-strcmp-ifunc.c: New file.
18904         * benchtests/bench-strcmp.c: New file.
18905         * benchtests/bench-strcpy-ifunc.c: New file.
18906         * benchtests/bench-strcpy.c: New file.
18907         * benchtests/bench-strcspn-ifunc.c: New file.
18908         * benchtests/bench-strcspn.c: New file.
18909         * benchtests/bench-strlen-ifunc.c: New file.
18910         * benchtests/bench-strlen.c: New file.
18911         * benchtests/bench-strncasecmp-ifunc.c: New file.
18912         * benchtests/bench-strncasecmp.c: New file.
18913         * benchtests/bench-strncat-ifunc.c: New file.
18914         * benchtests/bench-strncat.c: New file.
18915         * benchtests/bench-strncmp-ifunc.c: New file.
18916         * benchtests/bench-strncmp.c: New file.
18917         * benchtests/bench-strncpy-ifunc.c: New file.
18918         * benchtests/bench-strncpy.c: New file.
18919         * benchtests/bench-strnlen-ifunc.c: New file.
18920         * benchtests/bench-strnlen.c: New file.
18921         * benchtests/bench-strpbrk-ifunc.c: New file.
18922         * benchtests/bench-strpbrk.c: New file.
18923         * benchtests/bench-strrchr-ifunc.c: New file.
18924         * benchtests/bench-strrchr.c: New file.
18925         * benchtests/bench-strspn-ifunc.c: New file.
18926         * benchtests/bench-strspn.c: New file.
18927         * benchtests/bench-strstr-ifunc.c: New file.
18928         * benchtests/bench-strstr.c: New file.
18929
18930         * benchtests/Makefile: Disable parallel execution of targets.
18931         (string-bench): Add memcpy.
18932         (benchset): New variable to store a list of benchmark sets.
18933         (bench-func): Renamed from bench.
18934         (bench-set): New target.
18935         (bench): Depend on bench-func and bench-set.
18936         * benchtests/README: Add section on benchmark sets.
18937         * benchtests/bench-memcpy-ifunc.c: New file.
18938         * benchtests/bench-memcpy.c: New file.
18939         * benchtests/bench-string.h: New file.
18940
18941 2013-06-11  Andreas Schwab  <schwab@suse.de>
18942
18943         [BZ #15577]
18944         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18945         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18946         values in the triple.
18947         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18948         terminator in the group key.
18949
18950 2013-06-11  Andreas Jaeger  <aj@suse.de>
18951
18952         * po/zh_TW.po: Update Chinese (traditional) translation from
18953         translation project.
18954
18955 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18956
18957         * include/time.h (__clock_gettime): Add libc_hidden_proto.
18958         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18959         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
18960         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18961         (clock_getcpuclockid): Likewise.
18962         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18963         Add weak_alias and libc_hidden_def.
18964         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18965         * rt/clock_gettime.c (clock_gettime): Rename to
18966         __clock_gettime.  Add weak_alias and libc_hidden_def.
18967         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18968         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18969         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
18970         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18971         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18972         Likewise.
18973         * rt/clock_settime.c (clock_settime): Rename to
18974         __clock_settime.  Add weak_alias and libc_hidden_def.
18975         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18976
18977 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
18978
18979         * mach/err_boot.sub: Remove trailing whitespace.
18980         * mach/err_ipc.sub: Likewise.
18981         * mach/err_mach.sub: Likewise.
18982
18983         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18984         (ROUNDING_TESTS_double): Likewise.
18985         (ROUNDING_TESTS_long_double): Likewise.
18986         (ROUNDING_TESTS): Likewise.
18987         * math/libm-test.inc: Include <math-tests.h>.
18988         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18989         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18990         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18991         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18992
18993 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18994
18995         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18996         of assigning.
18997
18998 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
18999
19000         * sysdeps/gnu/errlist.awk: Do not generate space at end of
19001         otherwise empty TRANS lines.
19002         * sysdeps/gnu/errlist.c: Regenerated.
19003
19004         * catgets/gencat.c (error_print): Use (void) in function
19005         definition.
19006         * crypt/crypt_util.c (__init_des): Likewise.
19007         * crypt/speeds.c (Stop): Likewise.
19008         (main): Likewise.
19009         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19010         * inet/ruserpass.c (token): Likewise.
19011         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19012         * intl/localealias.c (extend_alias_table): Likewise.
19013         * intl/plural-exp.c (init_germanic_plural): Likewise.
19014         * libio/fcloseall.c (__fcloseall): Likewise.
19015         * libio/genops.c (_IO_flush_all): Likewise.
19016         (_IO_flush_all_linebuffered): Likewise.
19017         (_IO_cleanup): Likewise.
19018         (_IO_iter_begin): Likewise.
19019         (_IO_iter_end): Likewise.
19020         (_IO_list_lock): Likewise.
19021         (_IO_list_unlock): Likewise.
19022         (_IO_list_resetlock): Likewise.
19023         * libio/getchar.c (getchar): Likewise.
19024         * libio/getchar_u.c (getchar_unlocked): Likewise.
19025         * libio/getwchar.c (getwchar): Likewise.
19026         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19027         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19028         * login/getpt.c (__getpt): Likewise.
19029         * login/tst-utmp.c (main): Likewise.
19030         * malloc/hooks.c (__malloc_check_init): Likewise.
19031         * malloc/malloc.c (__malloc_stats): Likewise.
19032         * malloc/mtrace.c (tr_break): Likewise.
19033         (mtrace): Likewise.
19034         (muntrace): Likewise.
19035         * misc/fstab.c (endfsent): Likewise.
19036         * misc/getclktck.c (__getclktck): Likewise.
19037         * misc/getdtsz.c (__getdtablesize): Likewise.
19038         * misc/gethostid.c (gethostid): Likewise.
19039         * misc/getpagesize.c (__getpagesize): Likewise.
19040         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19041         (__get_nprocs): Likewise.
19042         (__get_phys_pages): Likewise.
19043         (__get_avphys_pages): Likewise.
19044         * misc/getttyent.c (getttyent): Likewise.
19045         (setttyent): Likewise.
19046         (endttyent): Likewise.
19047         * misc/getusershell.c (getusershell): Likewise.
19048         (endusershell): Likewise.
19049         (setusershell): Likewise.
19050         (initshells): Likewise.
19051         * misc/hsearch.c (__hdestroy): Likewise.
19052         * misc/sync.c (sync): Likewise.
19053         * misc/syslog.c (closelog_internal): Likewise.
19054         (closelog): Likewise.
19055         * misc/ttyslot.c (ttyslot): Likewise.
19056         * misc/vhangup.c (vhangup): Likewise.
19057         * posix/fork.c (__fork): Likewise.
19058         * posix/getegid.c (__getegid): Likewise.
19059         * posix/geteuid.c (__geteuid): Likewise.
19060         * posix/getgid.c (__getgid): Likewise.
19061         * posix/getpid.c (__getpid): Likewise.
19062         * posix/getppid.c (__getppid): Likewise.
19063         * posix/getuid.c (__getuid): Likewise.
19064         * posix/pause.c (pause): Likewise.
19065         * posix/setpgrp.c (setpgrp): Likewise.
19066         * posix/setsid.c (__setsid): Likewise.
19067         * posix/test-vfork.c (noop): Likewise.
19068         * resolv/gethnamaddr.c (_endhtent): Likewise.
19069         (_gethtent): Likewise.
19070         (ht_endhostent): Likewise.
19071         (gethostent): Likewise.
19072         (dns_service): Likewise.
19073         * stdlib/drand48.c (drand48): Likewise.
19074         * stdlib/lrand48.c (lrand48): Likewise.
19075         * stdlib/mrand48.c (mrand48): Likewise.
19076         * stdlib/rand.c (rand): Likewise.
19077         * stdlib/random.c (__random): Likewise.
19078         * stdlib/setenv.c (clearenv): Likewise.
19079         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19080         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19081         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19082         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19083         (__get_nprocs): Likewise.
19084         (__get_phys_pages): Likewise.
19085         (__get_avphys_pages): Likewise.
19086         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19087         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19088         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19089         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19090         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19091         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19092         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19093         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19094         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19095         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19096         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19097         * sysdeps/mach/hurd/sync.c (sync): Likewise.
19098         * sysdeps/posix/clock.c (clock): Likewise.
19099         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19100         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19101         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19102         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19103         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19104         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19105         (__get_nprocs_conf): Likewise.
19106         (__get_phys_pages): Likewise.
19107         (__get_avphys_pages): Likewise.
19108         * time/clock.c (clock): Likewise.
19109         * time/tzset.c (__tzname_max): Likewise.
19110
19111 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
19112
19113         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19114         (__bswap_32): Do not use "register".
19115         * crypt/crypt.c (_ufc_doit_r): Likewise.
19116         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19117         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19118         * gmon/gmon.c (__monstartup): Likewise.
19119         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19120         * hurd/hurdmalloc.c (more_memory): Likewise.
19121         (malloc): Likewise.
19122         (free): Likewise.
19123         (realloc): Likewise.
19124         (malloc_fork_prepare): Likewise.
19125         (malloc_fork_parent): Likewise.
19126         (malloc_fork_child): Likewise.
19127         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19128         (_svcauth_des): Likewise.
19129         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19130         * inet/inet_net.c (inet_network): Likewise.
19131         * inet/inet_netof.c (inet_netof): Likewise.
19132         * inet/rcmd.c (__validuser2_sa): Likewise.
19133         * io/fts.c (fts_open): Likewise.
19134         (fts_load): Likewise.
19135         (fts_close): Likewise.
19136         (fts_read): Likewise.
19137         (fts_children): Likewise.
19138         (fts_build): Likewise.
19139         (fts_stat): Likewise.
19140         (fts_sort): Likewise.
19141         (fts_alloc): Likewise.
19142         (fts_lfree): Likewise.
19143         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
19144         (_IO_file_xsgetn): Likewise.
19145         (_IO_file_xsgetn_mmap): Likewise.
19146         * libio/iofopncook.c (_IO_cookie_read): Likewise.
19147         (_IO_cookie_write): Likewise.
19148         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
19149         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
19150         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
19151         * malloc/obstack.c (_obstack_begin): Likewise.
19152         (_obstack_begin_1): Likewise.
19153         (_obstack_newchunk): Likewise.
19154         (_obstack_allocated_p): Likewise.
19155         (obstack_free): Likewise.
19156         (_obstack_memory_used): Likewise.
19157         * misc/getttyent.c (getttynam): Likewise.
19158         (getttyent): Likewise.
19159         (skip): Likewise.
19160         (value): Likewise.
19161         * misc/getusershell.c (initshells): Likewise.
19162         * misc/syslog.c (__vsyslog_chk): Likewise.
19163         * misc/ttyslot.c (ttyslot): Likewise.
19164         * nis/nis_hash.c (__nis_hash): Likewise.
19165         * posix/fnmatch_loop.c (FCT): Likewise.
19166         * posix/getconf.c (print_all): Likewise.
19167         (main): Likewise.
19168         * posix/getopt.c (exchange): Likewise.
19169         * posix/glob.c (globfree): Likewise.
19170         (prefix_array): Likewise.
19171         (__glob_pattern_type): Likewise.
19172         * resolv/arpa/nameser.h (NS_GET16): Likewise.
19173         (NS_GET32): Likewise.
19174         (NS_PUT16): Likewise.
19175         (NS_PUT32): Likewise.
19176         * resolv/gethnamaddr.c (getanswer): Likewise.
19177         (gethostbyname2): Likewise.
19178         (gethostbyaddr): Likewise.
19179         (_gethtent): Likewise.
19180         (_gethtbyname2): Likewise.
19181         (_gethtbyaddr): Likewise.
19182         * resolv/ns_print.c (dst_s_get_int16): Likewise.
19183         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
19184         * resolv/res_init.c (__res_vinit): Likewise.
19185         (net_mask): Likewise.
19186         * resolv/res_mkquery.c (outchar): Likewise.
19187         (PRINT): Likewise.
19188         * stdio-common/printf_fp.c (outchar): Likewise.
19189         (PRINT): Likewise.
19190         * stdio-common/printf_fphex.c (outchar): Likewise.
19191         (PRINT): Likewise.
19192         * stdio-common/printf_size.c (outchar): Likewise.
19193         (PRINT): Likewise.
19194         * stdio-common/test_rdwr.c (main): Likewise.
19195         * stdio-common/tfformat.c (matches): Likewise.
19196         * stdio-common/vfprintf.c (outchar): Likewise.
19197         (printf_unknown): Likewise.
19198         (buffered_vfprintf): Likewise.
19199         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19200         * stdio-common/xbug.c (AppendToBuffer): Likewise.
19201         (ReadFile): Likewise.
19202         * stdlib/qsort.c (SWAP): Likewise.
19203         (_quicksort): Likewise.
19204         * stdlib/setenv.c (__add_to_environ): Likewise.
19205         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19206         * stdlib/strtol_l.c (__strtol_l): Likewise.
19207         * stdlib/tst-strtod.c (main): Likewise.
19208         * stdlib/tst-strtol.c (main): Likewise.
19209         * stdlib/tst-strtoll.c (main): Likewise.
19210         * string/bits/string2.h (__strcmp_cc): Likewise.
19211         (__strcmp_cg): Likewise.
19212         (__strcspn_c1): Likewise.
19213         (__strcspn_c2): Likewise.
19214         (__strcspn_c3): Likewise.
19215         (__strspn_c1): Likewise.
19216         (__strspn_c2): Likewise.
19217         (__strspn_c3): Likewise.
19218         (__strsep_1c): Likewise.
19219         (__strsep_2c): Likewise.
19220         (__strsep_3c): Likewise.
19221         * string/memccpy.c (__memccpy): Likewise.
19222         * string/stpcpy.c (__stpcpy): Likewise.
19223         * string/strcmp.c (strcmp): Likewise.
19224         * string/strrchr.c (strrchr): Likewise.
19225         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
19226         Likewise.
19227         * sysdeps/mach/hurd/getcwd.c
19228         (_hurd_canonicalize_directory_name_internal): Likewise.
19229         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
19230         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
19231         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
19232         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
19233         Likewise, in both definitions.
19234         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
19235         definitions.
19236         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
19237         64] (__bswap_64): Likewise.
19238         * time/test_time.c (main): Likewise.
19239         * time/tzfile.c (__tzfile_read): Likewise.
19240         (__tzfile_compute): Likewise.
19241         * time/tzset.c (__tzset_parse_tz): Likewise.
19242         (tzset_internal): Likewise.
19243         (compute_change): Likewise.
19244         * wcsmbs/wcscat.c (__wcscat): Likewise.
19245         * wcsmbs/wcschr.c (wcschr): Likewise.
19246         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
19247         * wcsmbs/wcscspn.c (wcscspn): Likewise.
19248         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
19249         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
19250         * wcsmbs/wcsspn.c (wcsspn): Likewise.
19251         * wcsmbs/wcsstr.c (wcsstr): Likewise.
19252         * wcsmbs/wmemchr.c (wmemchr): Likewise.
19253         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
19254         * wcsmbs/wmemset.c (wmemset): Likewise.
19255
19256 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
19257
19258         * scripts/config.guess: Update to version 2013-05-16.
19259         * scripts/config.sub: Update to version 2013-04-24.
19260         * scripts/install-sh: Update to version 2011-11-20.07.
19261         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
19262         * scripts/move-if-change: Update to version 2012-01-06 07:23.
19263
19264 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
19265
19266         * debug/fgetws_u_chk.c: Fix leading whitespaces.
19267         * elf/sln.c: Likewise.
19268         * hurd/hurd/ioctl.h: Likewise.
19269         * hurd/hurdmalloc.c: Likewise.
19270         * hurd/xattr.c: Likewise.
19271         * include/shlib-compat.h: Likewise.
19272         * inet/ruserpass.c: Likewise.
19273         * libio/iofgets_u.c: Likewise.
19274         * libio/iofgetws_u.c: Likewise.
19275         * locale/programs/ld-identification.c: Likewise.
19276         * locale/programs/ld-time.c: Likewise.
19277         * mach/msg-destroy.c: Likewise.
19278         * nss/nss_files/files-netgrp.c: Likewise.
19279         * resolv/res_data.c: Likewise.
19280         * soft-fp/op-1.h: Likewise.
19281         * soft-fp/op-2.h: Likewise.
19282         * soft-fp/op-4.h: Likewise.
19283         * soft-fp/op-common.h: Likewise.
19284         * stdio-common/printf_fphex.c: Likewise.
19285         * stdlib/strtod_l.c: Likewise.
19286         * sunrpc/rpc/clnt.h: Likewise.
19287         * sysdeps/generic/framestate.c: Likewise.
19288         * sysdeps/i386/bsd-_setjmp.S: Likewise.
19289         * sysdeps/i386/bsd-setjmp.S: Likewise.
19290         * sysdeps/i386/__longjmp.S: Likewise.
19291         * sysdeps/i386/setjmp.S: Likewise.
19292         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19293         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19294         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19295         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19296         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19297         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19298         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19299         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19300         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19301         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19302         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19303         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19304         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19305         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19306         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19307         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19308         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19309         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19310         * sysdeps/ieee754/support.c: Likewise.
19311         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19312         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19313         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19314         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19315         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19316         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19317         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19318         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19319         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19320         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19321         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19322         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19323         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19324         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19325         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19326         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19327         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19329
19330 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
19331
19332         * posix/transbug.c: Remove executable mode.
19333
19334 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
19335
19336         * crypt/speeds.c: Remove trailing whitespace.
19337         * dlfcn/default.c: Likewise.
19338         * elf/ifuncdep2.c: Likewise.
19339         * elf/ifuncmain1.c: Likewise.
19340         * elf/ifuncmain1vis.c: Likewise.
19341         * elf/testobj.h: Likewise.
19342         * elf/tst-stackguard1.c: Likewise.
19343         * gmon/sys/gmon.h: Likewise.
19344         * hurd/hurdmsg.c: Likewise.
19345         * hurd/new-fd.c: Likewise.
19346         * hurd/ports-get.c: Likewise.
19347         * iconvdata/ibm1008_420.c: Likewise.
19348         * inet/tst-getni1.c: Likewise.
19349         * inet/tst-getni2.c: Likewise.
19350         * libio/ioungetc.c: Likewise.
19351         * libio/wfiledoalloc.c: Likewise.
19352         * manual/libm-err-tab.pl: Likewise.
19353         * math/w_dremf.c: Likewise.
19354         * misc/ftruncate.c: Likewise.
19355         * posix/bug-glob2.c: Likewise.
19356         * posix/tst-pcre.c: Likewise.
19357         * posix/wait4.c: Likewise.
19358         * resolv/README: Likewise.
19359         * resolv/res_debug.h: Likewise.
19360         * resolv/tst-inet_ntop.c: Likewise.
19361         * setjmp/bug269-setjmp.c: Likewise.
19362         * soft-fp/extended.h: Likewise.
19363         * soft-fp/op-1.h: Likewise.
19364         * soft-fp/op-2.h: Likewise.
19365         * soft-fp/op-4.h: Likewise.
19366         * soft-fp/op-8.h: Likewise.
19367         * soft-fp/testit.c: Likewise.
19368         * stdio-common/bug16.c: Likewise.
19369         * stdlib/random.c: Likewise.
19370         * sunrpc/rpcsvc/rquota.x: Likewise.
19371         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19372         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19373         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19374         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19375         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19376         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19377         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19378         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19379         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19380         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19381         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19382         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19383         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19384         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19385         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19386         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19387         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19388         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19389         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19390         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19391         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19392         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19393         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19394         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19395         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19396         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19397         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19398         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19399         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19400         * sysdeps/ieee754/s_lib_version.c: Likewise.
19401         * sysdeps/mach/hurd/check_fds.c: Likewise.
19402         * sysdeps/mach/hurd/getsockname.c: Likewise.
19403         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19404         * sysdeps/mach/hurd/recvfrom.c: Likewise.
19405         * sysdeps/powerpc/bits/link.h: Likewise.
19406         * sysdeps/powerpc/dl-procinfo.c: Likewise.
19407         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19408         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19409         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19410         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19411         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19412         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19413         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19414         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19415         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19416         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19417         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19418         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19419         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19420         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19421         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19422         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19423         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19424         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19425         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19426         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19427         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19428         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19429         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19430         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19431         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19432         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19433         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19434         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19435         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19436         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19437         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19438         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19439         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19440         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19441         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19442         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19443         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19444         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19445         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19446         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19447         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19448         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19449         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19450         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19451         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19452         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19453         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19454         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19455         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19456         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19457         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19458         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19459         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19460         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19461         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19462         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19463         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19464         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19465         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19466         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19467         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19468         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19469         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19470         * sysdeps/powerpc/sysdep.h: Likewise.
19471         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19472         * sysdeps/s390/s390-64/sub_n.S: Likewise.
19473         * sysdeps/sh/dl-trampoline.S: Likewise.
19474         * sysdeps/sh/memset.S: Likewise.
19475         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19476         * sysdeps/sh/strlen.S: Likewise.
19477         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19478         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19479         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19480         * sysdeps/sparc/sparc32/rem.S: Likewise.
19481         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19482         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19483         * sysdeps/sparc/sparc32/strchr.S: Likewise.
19484         * sysdeps/sparc/sparc32/udiv.S: Likewise.
19485         * sysdeps/sparc/sparc32/urem.S: Likewise.
19486         * sysdeps/sparc/sparc64/add_n.S: Likewise.
19487         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19488         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19489         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19490         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19491         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19492         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19493         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19494         * sysdeps/unix/bsd/times.c: Likewise.
19495         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19496         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19500         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19501         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19502         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19503         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19504         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19505         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19506         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19507         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19508         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19509         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19510         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19511         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19512         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19513         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19514         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19515         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19516         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19517         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19518         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19519         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19520         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19521         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19522         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19523         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19524         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19525         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19526         * sysdeps/x86_64/strcspn.S: Likewise.
19527
19528 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19529
19530         * locale/C-translit.h: Revert #include <stdint.h> because this is a
19531         generated file.  Regenerate properly from gen-translit.pl.
19532         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
19533         locale/C-translit.h.
19534
19535 2013-06-05  Andreas Schwab  <schwab@suse.de>
19536
19537         [BZ #15100]
19538         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19539         week as 6 instead of -1.
19540         * time/tst-strptime.c (day_tests): Add test case.
19541
19542 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19543
19544         * sysdeps/generic/math_private.h
19545         (libc_feholdexcept_setround_53bit): Replace with
19546         libc_feholdsetround_53bit.
19547         (libc_feupdateenv_53bit): Replace with
19548         libc_feresetround_53bit.
19549         (SET_RESTORE_ROUND_53BIT): Adjust.
19550
19551 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19552
19553         * string/test-strchrnul.c: Add copyright header.
19554
19555         * posix/tst-getaddrinfo4.c: Increase test timeout.
19556
19557 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
19558
19559         [BZ #15536]
19560         * math/libm-test.inc (MAX_EXP): Remove
19561         (MIN_EXP): Define.
19562         (ulp): Use MIN_EXP - MANT_DIG.
19563         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19564
19565 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
19566
19567         * po/be.po: Revert last change.
19568         * po/zh_CN.po: Likewise.
19569         * po/header.pot: Likewise.
19570
19571 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
19572
19573         * Makefile ($(common-objpfx)linkobj/libc.so): Define
19574         link-libc-deps to empty as target-specific variable.
19575         * Makerules (link-libc-args): New variable.
19576         (libc-for-link): Likewise.
19577         (link-libc-deps): Likewise.
19578         (lib%.so): Depend on $(link-libc-deps).  Link with
19579         $(link-libc-args).
19580         (build-module): Link with $(link-libc-args).
19581         (build-module-asneeded): Likewise.
19582         (build-module-helper-objlist): Filter out $(link-libc-deps) from
19583         list of objects.
19584         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19585         target-specific variable.
19586         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19587         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19588         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19589         libc.
19590         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19591         libc and ld.so.
19592         ($(objpfx)libpcprofile.so): Likewise.
19593         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19594         libc_nonshared.a.
19595         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19596         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19597         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19598         $(link-libc-deps).
19599         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19600         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19601         * login/Makefile ($(objpfx)libutil.so): Likewise.
19602         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19603         * math/Makefile ($(objpfx)libm.so): Likewise.
19604         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19605         $(objpfx)libnsl.so): Define libc-for-link as target-specific
19606         variable instead of depending directly on libc.
19607         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19608         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19609         $(link-libc-deps).
19610         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19611         libc.
19612         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19613         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19614         ($(objpfx)libanl.so): Likewise.
19615         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19616         ld.so.
19617         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19618         $(link-libc-deps).
19619         * sysdeps/i386/fpu/Makefile: Remove file.
19620         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19621         ($(objpfx)libm.so): Remove dependency on ld.so.
19622
19623 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
19624
19625         [BZ # 15553]
19626         * nis/yp_xdr.c (XDRMAXNAME): Define.
19627         (XDRMAXRECORD): Define.
19628         (xdr_domainname): Use XDRMAXNAME.
19629         (xdr_mapname): Likewise.
19630         (xdr_peername): Likewise.
19631         (xdr_keydat): Use XDRMAXRECORD.
19632         (xdr_valdat): Likewise.
19633
19634 2013-05-30  Jeff Law  <law@redhat.com>
19635
19636         [BZ #14256]
19637         * manual/errno.texi (ESTALE): Update to account for more than
19638         just NFS file systems.
19639         * sysdeps/gnu/errlist.c: Regenerated.
19640
19641 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19642
19643         [BZ #15465]
19644         * elf/Makefile (tests): Add tst-null-argv.
19645         (modules-names):  Add tst-null-argv-lib.
19646         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19647         (tst-null-argv-ENV): Set environment for tst-null-argv.
19648         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19649         (RTLD_PROGNAME): New macro.
19650         * elf/tst-null-argv.c: New test case.
19651         * elf/tst-null-argv-lib.c: Library for test case.
19652         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19653         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19654         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19655         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19656         * elf/dl-init.c (call_init): Likewise.
19657         (_dl_init): Likewise.
19658         * elf/dl-load.c (print_search_path): Likewise.
19659         (_dl_map_object): Likewise.
19660         * elf/dl-lookup.c (do_lookup_x): Likewise.
19661         (add_dependency): Likewise.
19662         (_dl_lookup_symbol_x): Likewise.
19663         (_dl_debug_bindings): Likewise.
19664         * elf/dl-open.c (_dl_show_scope): Likewise.
19665         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19666         * elf/dl-version.c (match_symbol): Likewise.
19667         (_dl_check_map_versions): Likewise.
19668         * elf/rtld.c (dl_main): Likewise.
19669         (print_unresolved): Use RTLD_PROGNAME.
19670         (print_missing_version): Likewise.
19671         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19672         (elf_machine_rela): Likewise.
19673         * sysdeps/powerpc/powerpc32/dl-machine.c
19674         (__process_machine_rela): Likewise.
19675         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19676         Likewise.
19677         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19678         Likewise.
19679         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19680         Likewise.
19681         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19682         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19683         Likewise.
19684         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19685         Likewise.
19686         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19687
19688 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
19689
19690         * po/be.po: Add descriptive title.
19691         * po/zh_CN.po: Likewise.
19692         * po/header.pot: Likewise.
19693
19694 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
19695
19696         * locale/programs/locarchive.c (create_archive): Inlucde fname in
19697         error message.
19698         (enlarge_archive): Likewise.
19699
19700 2013-05-28  Ben North  <ben@redfrontdoor.org>
19701
19702         * manual/arith.texi (frexp): It is the magnitude of the return
19703         value which lies in [0.5, 1), not the return value itself.
19704
19705 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19706
19707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19708
19709 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
19710
19711         * stdio-common/bug26.c (main): Correct fscanf template.
19712
19713         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19714         declare _dl_skip_args.
19715
19716         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19717         Don't declare.
19718
19719         * manual/platform.texi: Add missing @end deftypefun.
19720
19721 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19722
19723         [BZ #15529]
19724         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19725         bit of mantissa of 2^16382.
19726         * math/libm-test.inc (hypot_test_data): Add more tests.
19727
19728         * math/libm-test.inc: Add drem and pow10 to list of tested
19729         functions.
19730         (pow10_test): New function.
19731         (drem_test): Likewise.
19732         (drem_test_tonearest): Likewise.
19733         (drem_test_towardzero): Likewise.
19734         (drem_test_downward): Likewise.
19735         (drem_test_upward): Likewise.
19736         (main): Call the new functions.
19737
19738         * math/libm-test.inc (finite_test_data): Remove.
19739         (finite_test): Run tests from isfinite_test_data.
19740         (gamma_test_data): Remove.
19741         (gamma_test): Run tests from lgamma_test_data.
19742         * sysdeps/i386/fpu/libm-test-ulps: Update.
19743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19744
19745 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19746
19747         * manual/platform.texi: Add PowerPC PPR function set documentation.
19748         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19749         implementation.
19750
19751 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
19752
19753         * math/libm-test.inc (MAX_EXP): Define.
19754         (ULPDIFF): Define.
19755         (ulp): New function.
19756         (check_float_internal): Use ULPDIFF.
19757         (cpow_test): Disable failing test.
19758         (check_ulp): Test ulp() implemetnation.
19759         (main): Call check_ulp before starting tests.
19760
19761 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19762
19763         * math/gen-libm-test.pl (generate_testfile): Do not handle
19764         START_DATA and END_DATA.
19765         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19766         END_DATA.
19767         (acos_tonearest_test_data): Likewise.
19768         (acos_towardzero_test_data): Likewise.
19769         (acos_downward_test_data): Likewise.
19770         (acos_upward_test_data): Likewise.
19771         (acosh_test_data): Likewise.
19772         (asin_test_data): Likewise.
19773         (asin_tonearest_test_data): Likewise.
19774         (asin_towardzero_test_data): Likewise.
19775         (asin_downward_test_data): Likewise.
19776         (asin_upward_test_data): Likewise.
19777         (asinh_test_data): Likewise.
19778         (atan_test_data): Likewise.
19779         (atanh_test_data): Likewise.
19780         (atan2_test_data): Likewise.
19781         (cabs_test_data): Likewise.
19782         (cacos_test_data): Likewise.
19783         (cacosh_test_data): Likewise.
19784         (carg_test_data): Likewise.
19785         (casin_test_data): Likewise.
19786         (casinh_test_data): Likewise.
19787         (catan_test_data): Likewise.
19788         (catanh_test_data): Likewise.
19789         (cbrt_test_data): Likewise.
19790         (ccos_test_data): Likewise.
19791         (ccosh_test_data): Likewise.
19792         (ceil_test_data): Likewise.
19793         (cexp_test_data): Likewise.
19794         (cimag_test_data): Likewise.
19795         (clog_test_data): Likewise.
19796         (clog10_test_data): Likewise.
19797         (conj_test_data): Likewise.
19798         (copysign_test_data): Likewise.
19799         (cos_test_data): Likewise.
19800         (cos_tonearest_test_data): Likewise.
19801         (cos_towardzero_test_data): Likewise.
19802         (cos_downward_test_data): Likewise.
19803         (cos_upward_test_data): Likewise.
19804         (cosh_test_data): Likewise.
19805         (cosh_tonearest_test_data): Likewise.
19806         (cosh_towardzero_test_data): Likewise.
19807         (cosh_downward_test_data): Likewise.
19808         (cosh_upward_test_data): Likewise.
19809         (cpow_test_data): Likewise.
19810         (cproj_test_data): Likewise.
19811         (creal_test_data): Likewise.
19812         (csin_test_data): Likewise.
19813         (csinh_test_data): Likewise.
19814         (csqrt_test_data): Likewise.
19815         (ctan_test_data): Likewise.
19816         (ctan_tonearest_test_data): Likewise.
19817         (ctan_towardzero_test_data): Likewise.
19818         (ctan_downward_test_data): Likewise.
19819         (ctan_upward_test_data): Likewise.
19820         (ctanh_test_data): Likewise.
19821         (ctanh_tonearest_test_data): Likewise.
19822         (ctanh_towardzero_test_data): Likewise.
19823         (ctanh_downward_test_data): Likewise.
19824         (ctanh_upward_test_data): Likewise.
19825         (erf_test_data): Likewise.
19826         (erfc_test_data): Likewise.
19827         (exp_test_data): Likewise.
19828         (exp_tonearest_test_data): Likewise.
19829         (exp_towardzero_test_data): Likewise.
19830         (exp_downward_test_data): Likewise.
19831         (exp_upward_test_data): Likewise.
19832         (exp10_test_data): Likewise.
19833         (exp2_test_data): Likewise.
19834         (expm1_test_data): Likewise.
19835         (fabs_test_data): Likewise.
19836         (fdim_test_data): Likewise.
19837         (finite_test_data): Likewise.
19838         (floor_test_data): Likewise.
19839         (fma_test_data): Likewise.
19840         (fma_towardzero_test_data): Likewise.
19841         (fma_downward_test_data): Likewise.
19842         (fma_upward_test_data): Likewise.
19843         (fmax_test_data): Likewise.
19844         (fmin_test_data): Likewise.
19845         (fmod_test_data): Likewise.
19846         (fpclassify_test_data): Likewise.
19847         (frexp_test_data): Likewise.
19848         (gamma_test_data): Likewise.
19849         (hypot_test_data): Likewise.
19850         (ilogb_test_data): Likewise.
19851         (isfinite_test_data): Likewise.
19852         (isgreater_test_data): Likewise.
19853         (isgreaterequal_test_data): Likewise.
19854         (isinf_test_data): Likewise.
19855         (isless_test_data): Likewise.
19856         (islessequal_test_data): Likewise.
19857         (islessgreater_test_data): Likewise.
19858         (isnan_test_data): Likewise.
19859         (isnormal_test_data): Likewise.
19860         (issignaling_test_data): Likewise.
19861         (isunordered_test_data): Likewise.
19862         (j0_test_data): Likewise.
19863         (j1_test_data): Likewise.
19864         (jn_test_data): Likewise.
19865         (ldexp_test_data): Likewise.
19866         (lgamma_test_data): Likewise.
19867         (lrint_test_data): Likewise.
19868         (lrint_tonearest_test_data): Likewise.
19869         (lrint_towardzero_test_data): Likewise.
19870         (lrint_downward_test_data): Likewise.
19871         (lrint_upward_test_data): Likewise.
19872         (llrint_test_data): Likewise.
19873         (llrint_tonearest_test_data): Likewise.
19874         (llrint_towardzero_test_data): Likewise.
19875         (llrint_downward_test_data): Likewise.
19876         (llrint_upward_test_data): Likewise.
19877         (log_test_data): Likewise.
19878         (log10_test_data): Likewise.
19879         (log1p_test_data): Likewise.
19880         (log2_test_data): Likewise.
19881         (logb_test_data): Likewise.
19882         (logb_downward_test_data): Likewise.
19883         (lround_test_data): Likewise.
19884         (llround_test_data): Likewise.
19885         (modf_test_data): Likewise.
19886         (nearbyint_test_data): Likewise.
19887         (nextafter_test_data): Likewise.
19888         (nexttoward_test_data): Likewise.
19889         (pow_test_data): Likewise.
19890         (pow_tonearest_test_data): Likewise.
19891         (pow_towardzero_test_data): Likewise.
19892         (pow_downward_test_data): Likewise.
19893         (pow_upward_test_data): Likewise.
19894         (remainder_test_data): Likewise.
19895         (remainder_tonearest_test_data): Likewise.
19896         (remainder_towardzero_test_data): Likewise.
19897         (remainder_downward_test_data): Likewise.
19898         (remainder_upward_test_data): Likewise.
19899         (remquo_test_data): Likewise.
19900         (rint_test_data): Likewise.
19901         (rint_tonearest_test_data): Likewise.
19902         (rint_towardzero_test_data): Likewise.
19903         (rint_downward_test_data): Likewise.
19904         (rint_upward_test_data): Likewise.
19905         (round_test_data): Likewise.
19906         (scalb_test_data): Likewise.
19907         (scalbn_test_data): Likewise.
19908         (scalbln_test_data): Likewise.
19909         (signbit_test_data): Likewise.
19910         (sin_test_data): Likewise.
19911         (sin_tonearest_test_data): Likewise.
19912         (sin_towardzero_test_data): Likewise.
19913         (sin_downward_test_data): Likewise.
19914         (sin_upward_test_data): Likewise.
19915         (sincos_test_data): Likewise.
19916         (sinh_test_data): Likewise.
19917         (sinh_tonearest_test_data): Likewise.
19918         (sinh_towardzero_test_data): Likewise.
19919         (sinh_downward_test_data): Likewise.
19920         (sinh_upward_test_data): Likewise.
19921         (sqrt_test_data): Likewise.
19922         (tan_test_data): Likewise.
19923         (tan_tonearest_test_data): Likewise.
19924         (tan_towardzero_test_data): Likewise.
19925         (tan_downward_test_data): Likewise.
19926         (tan_upward_test_data): Likewise.
19927         (tanh_test_data): Likewise.
19928         (tgamma_test_data): Likewise.
19929         (trunc_test_data): Likewise.
19930         (y0_test_data): Likewise.
19931         (y1_test_data): Likewise.
19932         (yn_test_data): Likewise.
19933         (significand_test_data): Likewise.
19934
19935         * math/gen-libm-test.pl (@functions): Remove variable.
19936         (generate_testfile): Don't handle START and END lines.
19937         * math/libm-test.inc (START): New macro.
19938         (END): Likewise.
19939         (END_COMPLEX): Likewise.
19940         (acos_test): Use END macro without arguments.
19941         (acos_test_tonearest): Likewise.
19942         (acos_test_towardzero): Likewise.
19943         (acos_test_downward): Likewise.
19944         (acos_test_upward): Likewise.
19945         (acosh_test): Likewise.
19946         (asin_test): Likewise.
19947         (asin_test_tonearest): Likewise.
19948         (asin_test_towardzero): Likewise.
19949         (asin_test_downward): Likewise.
19950         (asin_test_upward): Likewise.
19951         (asinh_test): Likewise.
19952         (atan_test): Likewise.
19953         (atanh_test): Likewise.
19954         (atan2_test): Likewise.
19955         (cabs_test): Likewise.
19956         (cacos_test): Use END_COMPLEX macro without arguments.
19957         (cacosh_test): Likewise.
19958         (carg_test): Use END macro without arguments.
19959         (casin_test): Use END_COMPLEX macro without arguments.
19960         (casinh_test): Likewise.
19961         (catan_test): Likewise.
19962         (catanh_test): Likewise.
19963         (cbrt_test): Use END macro without arguments.
19964         (ccos_test): Use END_COMPLEX macro without arguments.
19965         (ccosh_test): Likewise.
19966         (ceil_test): Use END macro without arguments.
19967         (cexp_test): Use END_COMPLEX macro without arguments.
19968         (cimag_test): Use END macro without arguments.
19969         (clog_test): Use END_COMPLEX macro without arguments.
19970         (clog10_test): Likewise.
19971         (conj_test): Likewise.
19972         (copysign_test): Use END macro without arguments.
19973         (cos_test): Likewise.
19974         (cos_test_tonearest): Likewise.
19975         (cos_test_towardzero): Likewise.
19976         (cos_test_downward): Likewise.
19977         (cos_test_upward): Likewise.
19978         (cosh_test): Likewise.
19979         (cosh_test_tonearest): Likewise.
19980         (cosh_test_towardzero): Likewise.
19981         (cosh_test_downward): Likewise.
19982         (cosh_test_upward): Likewise.
19983         (cpow_test): Use END_COMPLEX macro without arguments.
19984         (cproj_test): Likewise.
19985         (creal_test): Use END macro without arguments.
19986         (csin_test): Use END_COMPLEX macro without arguments.
19987         (csinh_test): Likewise.
19988         (csqrt_test): Likewise.
19989         (ctan_test): Likewise.
19990         (ctan_test_tonearest): Likewise.
19991         (ctan_test_towardzero): Likewise.
19992         (ctan_test_downward): Likewise.
19993         (ctan_test_upward): Likewise.
19994         (ctanh_test): Likewise.
19995         (ctanh_test_tonearest): Likewise.
19996         (ctanh_test_towardzero): Likewise.
19997         (ctanh_test_downward): Likewise.
19998         (ctanh_test_upward): Likewise.
19999         (erf_test): Use END macro without arguments.
20000         (erfc_test): Likewise.
20001         (exp_test): Likewise.
20002         (exp_test_tonearest): Likewise.
20003         (exp_test_towardzero): Likewise.
20004         (exp_test_downward): Likewise.
20005         (exp_test_upward): Likewise.
20006         (exp10_test): Likewise.
20007         (exp2_test): Likewise.
20008         (expm1_test): Likewise.
20009         (fabs_test): Likewise.
20010         (fdim_test): Likewise.
20011         (finite_test): Likewise.
20012         (floor_test): Likewise.
20013         (fma_test): Likewise.
20014         (fma_test_towardzero): Likewise.
20015         (fma_test_downward): Likewise.
20016         (fma_test_upward): Likewise.
20017         (fmax_test): Likewise.
20018         (fmin_test): Likewise.
20019         (fmod_test): Likewise.
20020         (fpclassify_test): Likewise.
20021         (frexp_test): Likewise.
20022         (gamma_test): Likewise.
20023         (hypot_test): Likewise.
20024         (ilogb_test): Likewise.
20025         (isfinite_test): Likewise.
20026         (isgreater_test): Likewise.
20027         (isgreaterequal_test): Likewise.
20028         (isinf_test): Likewise.
20029         (isless_test): Likewise.
20030         (islessequal_test): Likewise.
20031         (islessgreater_test): Likewise.
20032         (isnan_test): Likewise.
20033         (isnormal_test): Likewise.
20034         (issignaling_test): Likewise.
20035         (isunordered_test): Likewise.
20036         (j0_test): Likewise.
20037         (j1_test): Likewise.
20038         (jn_test): Likewise.
20039         (ldexp_test): Likewise.
20040         (lgamma_test): Likewise.
20041         (lrint_test): Likewise.
20042         (lrint_test_tonearest): Likewise.
20043         (lrint_test_towardzero): Likewise.
20044         (lrint_test_downward): Likewise.
20045         (lrint_test_upward): Likewise.
20046         (llrint_test): Likewise.
20047         (llrint_test_tonearest): Likewise.
20048         (llrint_test_towardzero): Likewise.
20049         (llrint_test_downward): Likewise.
20050         (llrint_test_upward): Likewise.
20051         (log_test): Likewise.
20052         (log10_test): Likewise.
20053         (log1p_test): Likewise.
20054         (log2_test): Likewise.
20055         (logb_test): Likewise.
20056         (logb_test_downward): Likewise.
20057         (lround_test): Likewise.
20058         (llround_test): Likewise.
20059         (modf_test): Likewise.
20060         (nearbyint_test): Likewise.
20061         (nextafter_test): Likewise.
20062         (nexttoward_test): Likewise.
20063         (pow_test): Likewise.
20064         (pow_test_tonearest): Likewise.
20065         (pow_test_towardzero): Likewise.
20066         (pow_test_downward): Likewise.
20067         (pow_test_upward): Likewise.
20068         (remainder_test): Likewise.
20069         (remainder_test_tonearest): Likewise.
20070         (remainder_test_towardzero): Likewise.
20071         (remainder_test_downward): Likewise.
20072         (remainder_test_upward): Likewise.
20073         (remquo_test): Likewise.
20074         (rint_test): Likewise.
20075         (rint_test_tonearest): Likewise.
20076         (rint_test_towardzero): Likewise.
20077         (rint_test_downward): Likewise.
20078         (rint_test_upward): Likewise.
20079         (round_test): Likewise.
20080         (scalb_test): Likewise.
20081         (scalbn_test): Likewise.
20082         (scalbln_test): Likewise.
20083         (signbit_test): Likewise.
20084         (sin_test): Likewise.
20085         (sin_test_tonearest): Likewise.
20086         (sin_test_towardzero): Likewise.
20087         (sin_test_downward): Likewise.
20088         (sin_test_upward): Likewise.
20089         (sincos_test): Likewise.
20090         (sinh_test): Likewise.
20091         (sinh_test_tonearest): Likewise.
20092         (sinh_test_towardzero): Likewise.
20093         (sinh_test_downward): Likewise.
20094         (sinh_test_upward): Likewise.
20095         (sqrt_test): Likewise.
20096         (tan_test): Likewise.
20097         (tan_test_tonearest): Likewise.
20098         (tan_test_towardzero): Likewise.
20099         (tan_test_downward): Likewise.
20100         (tan_test_upward): Likewise.
20101         (tanh_test): Likewise.
20102         (tgamma_test): Likewise.
20103         (trunc_test): Likewise.
20104         (y0_test): Likewise.
20105         (y1_test): Likewise.
20106         (yn_test): Likewise.
20107         (significand_test): Likewise.
20108
20109 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
20110
20111         [BZ #15381]
20112         * libio/genops.c (_IO_no_init): Initialize wide struct info.
20113
20114 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20115
20116         [BZ #14894]
20117         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20118         __ppc_mdoio and __ppc_mdoom.
20119         * manual/platform.texi: Document new functions __ppc_yield,
20120         __ppc_mdoio and __ppc_mdoom.
20121
20122 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
20123
20124         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20125         (main): Mention "tls" pseudo-hwcap is legacy.
20126         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20127
20128 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20129
20130         * math/gen-libm-test.pl (parse_args): Output only string of
20131         arguments as text for test name, not full call or descriptions of
20132         tests for extra outputs.
20133         (generate_testfile): Do not pass function name to parse_args.
20134         Generate this_func variable from START.
20135         * math/libm-test.inc (struct test_f_f_data): Rename test_name
20136         field to arg_str.
20137         (struct test_ff_f_data): Likewise.
20138         (test_ff_f_data_nexttoward): Likewise.
20139         (struct test_fi_f_data): Likewise.
20140         (struct test_fl_f_data): Likewise.
20141         (struct test_if_f_data): Likewise.
20142         (struct test_fff_f_data): Likewise.
20143         (struct test_c_f_data): Likewise.
20144         (struct test_f_f1_data): Likewise.  Remove field extra_name.
20145         (struct test_fF_f1_data): Likewise.
20146         (struct test_ffI_f1_data): Likewise.
20147         (struct test_c_c_data): Rename test_name field to arg_str.
20148         (struct test_cc_c_data): Likewise.
20149         (struct test_f_i_data): Likewise.
20150         (struct test_ff_i_data): Likewise.
20151         (struct test_f_l_data): Likewise.
20152         (struct test_f_L_data): Likewise.
20153         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
20154         and extra2_name.
20155         (COMMON_TEST_SETUP): New macro.
20156         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
20157         (COMMON_TEST_CLEANUP): Likewise.
20158         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
20159         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
20160         macros.
20161         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
20162         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
20163         macros.
20164         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
20165         (RUN_TEST_fff_f): Take argument string.  Call new setup and
20166         cleanup macros.
20167         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
20168         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
20169         macros.
20170         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
20171         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
20172         macros.
20173         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20174         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
20175         cleanup macros.
20176         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20177         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
20178         cleanup macros.
20179         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20180         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
20181         cleanup macros.
20182         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20183         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
20184         macros.
20185         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
20186         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
20187         macros.
20188         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
20189         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
20190         macros.
20191         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
20192         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
20193         cleanup macros.
20194         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
20195         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
20196         cleanup macros.
20197         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
20198         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
20199         macros.
20200         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
20201         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
20202         cleanup macros.
20203         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
20204         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
20205         macros.
20206         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
20207         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
20208         macros.
20209         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
20210         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
20211         cleanup macros.
20212         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
20213
20214 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
20215
20216         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
20217         to _sifields.sigfault.
20218         (si_addr_lsb): Define new macro.
20219         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20220         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20221         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
20222
20223 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
20224
20225         [BZ #15441]
20226         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
20227         returns -1.
20228         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
20229         null return -1.
20230         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
20231         loading the domain.
20232
20233 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20234
20235         * math/gen-libm-test.pl (parse_args): Do not include expected
20236         result in test name.
20237         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
20238         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20239         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20240         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20241         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20243
20244 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20245
20246         * benchtests/Makefile: Sort function entries.
20247
20248         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
20249         tanh, asinh, acosh, atanh.
20250         * benchtests/acos-inputs: New file.
20251         * benchtests/acosh-inputs: New file.
20252         * benchtests/asin-inputs: New file.
20253         * benchtests/asinh-inputs: New file.
20254         * benchtests/atanh-inputs: New file.
20255         * benchtests/cosh-inputs: New file.
20256         * benchtests/log-inputs: New file.
20257         * benchtests/sinh-inputs: New file.
20258         * benchtests/tanh-inputs: New file.
20259
20260 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
20261
20262         [BZ #15339]
20263         * posix/tst-getaddrinfo4.c: New test.
20264         * posix/Makefile (tests): Add it.
20265
20266 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20267
20268         [BZ #15339]
20269         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
20270         when no services were used.
20271         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
20272         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
20273
20274 2013-05-21  Andreas Schwab  <schwab@suse.de>
20275
20276         [BZ #15014]
20277         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
20278         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20279         successful.
20280         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20281         redundant variable declarations and reallocation of buffer when
20282         parsing as IPv6 address.  Always set NSS status when called from
20283         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
20284         buffer too small.  Correct computation of needed size.
20285         * nss/Makefile (tests): Add test-digits-dots.
20286         * nss/test-digits-dots.c: New test.
20287
20288 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20289
20290         * benchtests/Makefile: Remove instructions for adding
20291         benchmark tests.
20292         * benchtests/README: New file to explain how to execute and
20293         enhance the benchmark tests.
20294
20295 2013-05-21  Andreas Schwab  <schwab@suse.de>
20296
20297         [BZ #15493]
20298         * setjmp/Makefile (tests): Add tst-sigsetjmp.
20299         * setjmp/tst-sigsetjmp.c: New test.
20300
20301 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20302
20303         * sysdeps/x86_64/memset.S (memset): New implementation.
20304         (__bzero): Likewise.
20305         (__memset_tail): New function.
20306
20307 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
20308
20309         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20310         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20311         __memcpy_sse2_unaligned ifunc selection.
20312         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20313         Add memcpy-sse2-unaligned.S.
20314         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20315         Add: __memcpy_sse2_unaligned.
20316
20317 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
20318
20319         [BZ #15490]
20320         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20321         math_force_eval before restoring floating-point envrionment.
20322         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20323         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20324         Likewise.
20325         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20326         <math_private.h>.
20327         (__nearbyintl): Use math_force_eval before restoring
20328         floating-point environment.
20329         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20330
20331         * math/gen-libm-test.pl (special_functions): Remove.
20332         (parse_args): Don't handle TEST_extra.  Handle functions with no
20333         return value.
20334         * math/libm-test.inc (struct test_sincos_data): Replace with
20335         struct test_fFF_11_data.
20336         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20337         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20338         (sincos_test_data): Change element type to struct
20339         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
20340         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20341         RUN_TEST_LOOP_sincos.
20342         * math/README.libm-test: Don't mention special handling of
20343         individual functions.
20344         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20345         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20346         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20347         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20348         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20350
20351         * math/gen-libm-test.pl (get_variable): Remove function.
20352         (parse_args): Don't show pointer parameters to call in test
20353         names.  Use "extra output N" in test names for extra outputs
20354         rather than naming variables.
20355
20356 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
20357
20358         [BZ #15488]
20359         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20360         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20361         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20362         double tests.
20363         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20364         disable.
20365         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20366         check_long_double.
20367
20368         * math/gen-libm-test.pl (@tests): Remove variable.
20369         ($count): Likewise.
20370         (new_test): Remove function.
20371         (show_exceptions): New function.
20372         (special_functions): Use show_exceptions instead of new_test.
20373         (parse_args): Likewise.
20374         (generate_testfile): Pass only function name in generated call to
20375         print_max_error or print_complex_max_error.
20376         (get_ulps): Do not handle complex tests specially.
20377         (output_test): Rename to ...
20378         (get_all_ulps_for_test): ... this.  Return a string rather than
20379         printing to a file.  Require ulps to be present.
20380         (output_ulps): Generate arrays rather than #defines.
20381         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20382         (struct ulp_data): New type.
20383         (BUILD_COMPLEX_ULP): Remove macro.
20384         (compare_ulp_data): New function.
20385         (find_ulps): Likewise.
20386         (find_test_ulps): Likewise.
20387         (find_function_ulps): Likewise.
20388         (find_complex_function_ulps): Likewise.
20389         (print_max_error): Determine allowed ulps using
20390         find_function_ulps.
20391         (print_complex_max_error): Determine allowed ulps using
20392         find_complex_function_ulps.
20393         (check_float_internal): Determine max ulps using find_test_ulps.
20394         (check_float): Do not take max_ulp parameter.  Update call to
20395         check_float_internal.
20396         (check_complex): Likewise.
20397         (check_int): Do not take max_ulp parameter.
20398         (check_long): Likewise.
20399         (check_bool): Likewise.
20400         (check_longlong): Likewise.
20401         (struct test_f_f_data): Remove max_ulp field.
20402         (struct test_ff_f_data): Likewise.
20403         (struct test_ff_f_data_nexttoward): Likewise.
20404         (struct test_fi_f_data): Likewise.
20405         (struct test_fl_f_data): Likewise.
20406         (struct test_if_f_data): Likewise.
20407         (struct test_fff_f_data): Likewise.
20408         (struct test_c_f_data): Likewise.
20409         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20410         (struct test_fF_f1_data): Likewise.
20411         (struct test_ffI_f1_data): Likewise.
20412         (struct test_c_c_data): Remove max_ulp field.
20413         (struct test_cc_c_data): Likewise.
20414         (struct test_f_i_data): Likewise.
20415         (struct test_ff_i_data): Likewise.
20416         (struct test_f_l_data): Likewise.
20417         (struct test_f_L_data): Likewise.
20418         (struct test_sincos_data): Likewise.
20419         (RUN_TEST_f_f): Do not handle ulps.
20420         (RUN_TEST_LOOP_f_f): Likewise.
20421         (RUN_TEST_2_f): Likewise.
20422         (RUN_TEST_LOOP_2_f): Likewise.
20423         (RUN_TEST_fff_f): Likewise.
20424         (RUN_TEST_LOOP_fff_f): Likewise.
20425         (RUN_TEST_c_f): Likewise.
20426         (RUN_TEST_LOOP_c_f): Likewise.
20427         (RUN_TEST_f_f1): Likewise.
20428         (RUN_TEST_LOOP_f_f1): Likewise.
20429         (RUN_TEST_fF_f1): Likewise.
20430         (RUN_TEST_LOOP_fF_f1): Likewise.
20431         (RUN_TEST_fI_f1): Likewise.
20432         (RUN_TEST_LOOP_fI_f1): Likewise.
20433         (RUN_TEST_ffI_f1): Likewise.
20434         (RUN_TEST_LOOP_ffI_f1): Likewise.
20435         (RUN_TEST_c_c): Likewise.
20436         (RUN_TEST_LOOP_c_c): Likewise.
20437         (RUN_TEST_cc_c): Likewise.
20438         (RUN_TEST_LOOP_cc_c): Likewise.
20439         (RUN_TEST_f_i): Likewise.
20440         (RUN_TEST_LOOP_f_i): Likewise.
20441         (RUN_TEST_f_i_tg): Likewise.
20442         (RUN_TEST_LOOP_f_i_tg): Likewise.
20443         (RUN_TEST_ff_i_tg): Likewise.
20444         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20445         (RUN_TEST_f_b): Likewise.
20446         (RUN_TEST_LOOP_f_b): Likewise.
20447         (RUN_TEST_f_b_tg): Likewise.
20448         (RUN_TEST_LOOP_f_b_tg): Likewise.
20449         (RUN_TEST_f_l): Likewise.
20450         (RUN_TEST_LOOP_f_l): Likewise.
20451         (RUN_TEST_f_L): Likewise.
20452         (RUN_TEST_LOOP_f_L): Likewise.
20453         (RUN_TEST_sincos): Likewise.
20454         (RUN_TEST_LOOP_sincos): Likewise.
20455
20456 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
20457
20458         [BZ #15480]
20459         [BZ #15485]
20460         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20461         main case of finite arguments, set rounding mode to FE_TONEAREST
20462         and discard exceptions.
20463         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20464         exceptions.
20465         (remainder_tonearest_test_data): New variable.
20466         (remainder_test_tonearest): New function.
20467         (remainder_towardzero_test_data): New variable.
20468         (remainder_test_towardzero): New function.
20469         (remainder_downward_test_data): New variable.
20470         (remainder_test_downward): New function.
20471         (remainder_upward_test_data): New variable.
20472         (remainder_test_upward): New function.
20473         (main): Call the new test functions.
20474
20475         * math/libm-test.inc (struct test_f_f1_data): Remove field
20476         extra_init.
20477         (struct test_fF_f1_data): Likewise.
20478         (struct test_ffI_f1_data): Likewise.
20479         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
20480         based on value of EXTRA_EXPECTED.
20481         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20482         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
20483         EXTRA_VAR based on value of EXTRA_EXPECTED.
20484         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20485         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
20486         EXTRA_VAR based on value of EXTRA_EXPECTED.
20487         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20488         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
20489         EXTRA_VAR based on value of EXTRA_EXPECTED.
20490         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20491         * math/gen-libm-test.pl (parse_args): Don't output initializers
20492         for extra output values.
20493
20494         * math/libm-test.inc (check_int): Expect result to be exactly
20495         equal to expected value and do not handle ulps.
20496         (check_long): Likewise.
20497         (check_longlong): Likewise.
20498
20499         * math/libm-test.inc (ceil_test_data): Test for "inexact"
20500         exceptions.
20501         (cimag_test_data): Likewise.
20502         (conj_test_data): Likewise.
20503         (copysign_test_data): Likewise.
20504         (cproj_test_data): Likewise.
20505         (creal_test_data): Likewise.
20506         (fabs_test_data): Likewise.
20507         (fdim_test_data): Likewise.
20508         (finite_test_data): Likewise.
20509         (floor_test_data): Likewise.
20510         (fmax_test_data): Likewise.
20511         (fmin_test_data): Likewise.
20512         (fmod_test_data): Likewise.
20513         (fpclassify_test_data): Likewise.
20514         (frexp_test_data): Likewise.
20515         (ilogb_test_data): Likewise.
20516         (isfinite_test_data): Likewise.
20517         (isgreater_test_data): Likewise.
20518         (isgreaterequal_test_data): Likewise.
20519         (isinf_test_data): Likewise.
20520         (isless_test_data): Likewise.
20521         (islessequal_test_data): Likewise.
20522         (islessgreater_test_data): Likewise.
20523         (isnan_test_data): Likewise.
20524         (isnormal_test_data): Likewise.
20525         (issignaling_test_data): Likewise.
20526         (isunordered_test_data): Likewise.
20527         (ldexp_test_data): Likewise.
20528         (lrint_test_data): Likewise.
20529         (lrint_test_data) [TEST_FLOAT]: Disable one test.
20530         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20531         (lrint_tonearest_test_data): Test for "inexact" exceptions.
20532         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20533         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20534         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20535         test input.
20536         (lrint_towardzero_test_data): Test for "inexact" exceptions.
20537         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20538         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20539         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20540         that test input.
20541         (lrint_downward_test_data): Test for "inexact" exceptions.
20542         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20543         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20544         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20545         test input.
20546         (lrint_upward_test_data): Test for "inexact" exceptions.
20547         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20548         test input.
20549         (llrint_test_data): Test for "inexact" exceptions.
20550         (llrint_test_data) [TEST_FLOAT]: Disable one test.
20551         (llrint_tonearest_test_data): Test for "inexact" exceptions.
20552         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20553         (llrint_towardzero_test_data): Test for "inexact" exceptions.
20554         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20555         (llrint_downward_test_data): Test for "inexact" exceptions.
20556         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20557         (llrint_upward_test_data): Test for "inexact" exceptions.
20558         (logb_test_data): Likewise.
20559         (logb_downward_test_data): Likewise.
20560         (nextafter_test_data): Likewise.
20561         (nexttoward_test_data): Likewise.
20562         (remainder_test_data): Likewise.
20563         (remquo_test_data): Likewise.
20564         (scalbn_test_data): Likewise.
20565         (scalbln_test_data): Likewise.
20566         (signbit_test_data): Likewise.
20567         (sqrt_test_data): Likewise.
20568         (significand_test_data): Likewise.
20569
20570 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20571
20572         [BZ #15424]
20573         * benchtests/bench-modf.c (struct args): Mark arg0 as
20574         volatile.
20575         * scripts/bench.pl: Mark members of struct args as volatile.
20576
20577 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20578
20579         [BZ # 15497]
20580         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20581         negative infinity on POWER6 or lower.
20582         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20583
20584 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20585
20586         [BZ #15442]
20587         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20588         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20589         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20590         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20591         (_FP_SETQNAN): New macro.
20592         (_FP_SETQNAN_SEMIRAW): Likewise.
20593         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20594         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20595         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20596         (FP_EXTEND): Use _FP_FRAC_SNANP.
20597         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20598         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20599         into account.
20600         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20601         New macro.
20602         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20603         Likewise.
20604
20605 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20606
20607         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20608         with DIVIDE_BY_ZERO_EXCEPTION.
20609         (gamma_test_data): Likewise.
20610         (lgamma_test_data): Likewise.
20611         (log_test_data): Likewise.
20612         (log10_test_data): Likewise.
20613         (log2_test_data): Likewise.
20614         (tgamma_test_data): Likewise.
20615
20616         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20617         (acos_test_tonearest): Likewise.
20618         (acos_test_towardzero): Likewise.
20619         (acos_test_downward): Likewise.
20620         (acos_test_upward): Likewise.
20621         (acosh_test): Likewise.
20622         (asin_test): Likewise.
20623         (asin_test_tonearest): Likewise.
20624         (asin_test_towardzero): Likewise.
20625         (asin_test_downward): Likewise.
20626         (asin_test_upward): Likewise.
20627         (asinh_test): Likewise.
20628         (atan_test): Likewise.
20629         (atanh_test): Likewise.
20630         (atan2_test): Likewise.
20631         (cabs_test): Likewise.
20632         (cacos_test): Likewise.
20633         (cacosh_test): Likewise.
20634         (casin_test): Likewise.
20635         (casinh_test): Likewise.
20636         (catan_test): Likewise.
20637         (catanh_test): Likewise.
20638         (cbrt_test): Likewise.
20639         (ccos_test): Likewise.
20640         (ccosh_test): Likewise.
20641         (cexp_test): Likewise.
20642         (clog_test): Likewise.
20643         (clog10_test): Likewise.
20644         (cos_test): Likewise.
20645         (cos_test_tonearest): Likewise.
20646         (cos_test_towardzero): Likewise.
20647         (cos_test_downward): Likewise.
20648         (cos_test_upward): Likewise.
20649         (cosh_test): Likewise.
20650         (cosh_test_tonearest): Likewise.
20651         (cosh_test_towardzero): Likewise.
20652         (cosh_test_downward): Likewise.
20653         (cosh_test_upward): Likewise.
20654         (cpow_test): Likewise.
20655         (csin_test): Likewise.
20656         (csinh_test): Likewise.
20657         (csqrt_test): Likewise.
20658         (ctan_test): Likewise.
20659         (ctan_test_tonearest): Likewise.
20660         (ctan_test_towardzero): Likewise.
20661         (ctan_test_downward): Likewise.
20662         (ctan_test_upward): Likewise.
20663         (ctanh_test): Likewise.
20664         (ctanh_test_tonearest): Likewise.
20665         (ctanh_test_towardzero): Likewise.
20666         (ctanh_test_downward): Likewise.
20667         (ctanh_test_upward): Likewise.
20668         (erf_test): Likewise.
20669         (erfc_test): Likewise.
20670         (exp_test): Likewise.
20671         (exp_test_tonearest): Likewise.
20672         (exp_test_towardzero): Likewise.
20673         (exp_test_downward): Likewise.
20674         (exp_test_upward): Likewise.
20675         (exp10_test): Likewise.
20676         (exp2_test): Likewise.
20677         (expm1_test): Likewise.
20678         (fmod_test): Likewise.
20679         (gamma_test): Likewise.
20680         (hypot_test): Likewise.
20681         (j0_test): Likewise.
20682         (j1_test): Likewise.
20683         (jn_test): Likewise.
20684         (lgamma_test): Likewise.
20685         (log_test): Likewise.
20686         (log10_test): Likewise.
20687         (log1p_test): Likewise.
20688         (log2_test): Likewise.
20689         (logb_test_downward): Likewise.
20690         (pow_test): Likewise.
20691         (pow_test_tonearest): Likewise.
20692         (pow_test_towardzero): Likewise.
20693         (pow_test_downward): Likewise.
20694         (pow_test_upward): Likewise.
20695         (remainder_test): Likewise.
20696         (remquo_test): Likewise.
20697         (sin_test): Likewise.
20698         (sin_test_tonearest): Likewise.
20699         (sin_test_towardzero): Likewise.
20700         (sin_test_downward): Likewise.
20701         (sin_test_upward): Likewise.
20702         (sincos_test): Likewise.
20703         (sinh_test): Likewise.
20704         (sinh_test_tonearest): Likewise.
20705         (sinh_test_towardzero): Likewise.
20706         (sinh_test_downward): Likewise.
20707         (sinh_test_upward): Likewise.
20708         (sqrt_test): Likewise.
20709         (tan_test): Likewise.
20710         (tan_test_tonearest): Likewise.
20711         (tan_test_towardzero): Likewise.
20712         (tan_test_downward): Likewise.
20713         (tan_test_upward): Likewise.
20714         (tanh_test): Likewise.
20715         (tgamma_test): Likewise.
20716         (y0_test): Likewise.
20717         (y1_test): Likewise.
20718         (yn_test): Likewise.
20719
20720         * math/gen-libm-test.pl (adjust_arg): Remove function.
20721         (special_function): Remove argument $in_func.  Only handle
20722         generating output for tables of tests, not inside functions.
20723         (parse_args): Likewise.
20724         (generate_testfile): Remove variable $in_func.  Update call to
20725         parse_args.
20726         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20727         (MINUS_ZERO_INIT): Rename macro to minus_zero.
20728         (PLUS_INFTY_INIT): Rename macro to plus_infty.
20729         (MINUS_INFTY_INIT): Rename macro to minus_infty.
20730         (QNAN_VALUE_INIT): Rename macro to qnan_value.
20731         (MAX_VALUE_INIT): Rename macro to max_value.
20732         (MIN_VALUE_INIT): Rename macro to min_value.
20733         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20734         (plus_zero): Remove variable.
20735         (minus_zero): Likewise.
20736         (plus_infty): Likewise.
20737         (minus_infty): Likewise.
20738         (qnan_value): Likewise.
20739         (max_value): Likewise.
20740         (min_value): Likewise.
20741         (min_subnorm_value): Likewise.
20742
20743 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20744
20745         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20746         uint64_t or uint32_t usage.
20747         * crypt/sha256-block.c: Likewise.
20748         * crypt/sha256-crypt.c: Likewise.
20749         * crypt/sha256.c: Likewise.
20750         * crypt/sha512-block.c: Likewise.
20751         * crypt/sha512-crypt.c: Likewise.
20752         * crypt/sha512.c: Likewise.
20753         * debug/backtrace-tst.c: Likewise.
20754         * debug/pcprofiledump.c: Likewise.
20755         * elf/cache.c: Likewise.
20756         * elf/dl-cache.c: Likewise.
20757         * elf/dl-misc.c: Likewise.
20758         * elf/dl-profile.c: Likewise.
20759         * elf/dl-support.c: Likewise.
20760         * elf/ldconfig.c: Likewise.
20761         * elf/sprof.c: Likewise.
20762         * iconv/dummy-repertoire.c: Likewise.
20763         * iconv/iconv_charmap.c: Likewise.
20764         * iconv/skeleton.c: Likewise.
20765         * iconvdata/8bit-generic.c: Likewise.
20766         * iconvdata/cp737.h: Likewise.
20767         * iconvdata/cp775.h: Likewise.
20768         * iconvdata/ibm1008.h: Likewise.
20769         * iconvdata/ibm1025.h: Likewise.
20770         * iconvdata/ibm1046.h: Likewise.
20771         * iconvdata/ibm1097.h: Likewise.
20772         * iconvdata/ibm1112.h: Likewise.
20773         * iconvdata/ibm1122.h: Likewise.
20774         * iconvdata/ibm1123.h: Likewise.
20775         * iconvdata/ibm1124.h: Likewise.
20776         * iconvdata/ibm1129.h: Likewise.
20777         * iconvdata/ibm1130.h: Likewise.
20778         * iconvdata/ibm1132.h: Likewise.
20779         * iconvdata/ibm1133.h: Likewise.
20780         * iconvdata/ibm1137.h: Likewise.
20781         * iconvdata/ibm1140.h: Likewise.
20782         * iconvdata/ibm1141.h: Likewise.
20783         * iconvdata/ibm1142.h: Likewise.
20784         * iconvdata/ibm1143.h: Likewise.
20785         * iconvdata/ibm1144.h: Likewise.
20786         * iconvdata/ibm1145.h: Likewise.
20787         * iconvdata/ibm1146.h: Likewise.
20788         * iconvdata/ibm1147.h: Likewise.
20789         * iconvdata/ibm1148.h: Likewise.
20790         * iconvdata/ibm1149.h: Likewise.
20791         * iconvdata/ibm1153.h: Likewise.
20792         * iconvdata/ibm1154.h: Likewise.
20793         * iconvdata/ibm1155.h: Likewise.
20794         * iconvdata/ibm1156.h: Likewise.
20795         * iconvdata/ibm1157.h: Likewise.
20796         * iconvdata/ibm1158.h: Likewise.
20797         * iconvdata/ibm1160.h: Likewise.
20798         * iconvdata/ibm1161.h: Likewise.
20799         * iconvdata/ibm1162.h: Likewise.
20800         * iconvdata/ibm1163.h: Likewise.
20801         * iconvdata/ibm1164.h: Likewise.
20802         * iconvdata/ibm1166.h: Likewise.
20803         * iconvdata/ibm1167.h: Likewise.
20804         * iconvdata/ibm12712.h: Likewise.
20805         * iconvdata/ibm1390.h: Likewise.
20806         * iconvdata/ibm1399.h: Likewise.
20807         * iconvdata/ibm16804.h: Likewise.
20808         * iconvdata/ibm4517.h: Likewise.
20809         * iconvdata/ibm4899.h: Likewise.
20810         * iconvdata/ibm4909.h: Likewise.
20811         * iconvdata/ibm4971.h: Likewise.
20812         * iconvdata/ibm5347.h: Likewise.
20813         * iconvdata/ibm803.h: Likewise.
20814         * iconvdata/ibm856.h: Likewise.
20815         * iconvdata/ibm901.h: Likewise.
20816         * iconvdata/ibm902.h: Likewise.
20817         * iconvdata/ibm9030.h: Likewise.
20818         * iconvdata/ibm9066.h: Likewise.
20819         * iconvdata/ibm921.h: Likewise.
20820         * iconvdata/ibm922.h: Likewise.
20821         * iconvdata/ibm9448.h: Likewise.
20822         * iconvdata/isiri-3342.h: Likewise.
20823         * iconvdata/jis0201.h: Likewise.
20824         * include/link.h: Likewise.
20825         * include/netdb.h: Likewise.
20826         * inet/check_native.c: Likewise.
20827         * inet/check_pf.c: Likewise.
20828         * inet/getipv4sourcefilter.c: Likewise.
20829         * inet/getnameinfo.c: Likewise.
20830         * inet/getsourcefilter.c: Likewise.
20831         * inet/htonl.c: Likewise.
20832         * inet/setipv4sourcefilter.c: Likewise.
20833         * inet/setsourcefilter.c: Likewise.
20834         * inet/test-inet6_opt.c: Likewise.
20835         * inet/tst-network.c: Likewise.
20836         * locale/C-collate.c: Likewise.
20837         * locale/C-ctype.c: Likewise.
20838         * locale/C-time.c: Likewise.
20839         * locale/C-translit.h: Likewise.
20840         * locale/loadarchive.c: Likewise.
20841         * locale/programs/3level.h: Likewise.
20842         * locale/programs/charmap.c: Likewise.
20843         * locale/programs/charmap.h: Likewise.
20844         * locale/programs/ld-address.c: Likewise.
20845         * locale/programs/ld-collate.c: Likewise.
20846         * locale/programs/ld-ctype.c: Likewise.
20847         * locale/programs/ld-identification.c: Likewise.
20848         * locale/programs/ld-measurement.c: Likewise.
20849         * locale/programs/ld-messages.c: Likewise.
20850         * locale/programs/ld-monetary.c: Likewise.
20851         * locale/programs/ld-name.c: Likewise.
20852         * locale/programs/ld-numeric.c: Likewise.
20853         * locale/programs/ld-paper.c: Likewise.
20854         * locale/programs/ld-telephone.c: Likewise.
20855         * locale/programs/ld-time.c: Likewise.
20856         * locale/programs/linereader.c: Likewise.
20857         * locale/programs/locale.c: Likewise.
20858         * locale/programs/locarchive.c: Likewise.
20859         * locale/programs/locfile.h: Likewise.
20860         * locale/programs/repertoire.c: Likewise.
20861         * locale/programs/simple-hash.c: Likewise.
20862         * locale/programs/simple-hash.h: Likewise.
20863         * malloc/memusage.c: Likewise.
20864         * malloc/memusagestat.c: Likewise.
20865         * nis/nis_defaults.c: Likewise.
20866         * nis/nis_hash.c: Likewise.
20867         * nis/nis_print.c: Likewise.
20868         * nis/nis_xdr.c: Likewise.
20869         * nscd/connections.c: Likewise.
20870         * nscd/hstcache.c: Likewise.
20871         * nscd/nscd_gethst_r.c: Likewise.
20872         * nscd/nscd_getserv_r.c: Likewise.
20873         * nscd/nscd_helper.c: Likewise.
20874         * nscd/servicescache.c: Likewise.
20875         * nss/makedb.c: Likewise.
20876         * nss/nss_db/db-XXX.c: Likewise.
20877         * nss/nss_db/db-initgroups.c: Likewise.
20878         * nss/nss_db/db-netgrp.c: Likewise.
20879         * nss/nss_files/files-network.c: Likewise.
20880         * nss/nss_files/files-parse.c: Likewise.
20881         * posix/bug-regex5.c: Likewise.
20882         * posix/fnmatch_loop.c: Likewise.
20883         * posix/regcomp.c: Likewise.
20884         * posix/regexec.c: Likewise.
20885         * posix/tst-rfc3484-2.c: Likewise.
20886         * posix/tst-rfc3484-3.c: Likewise.
20887         * posix/tst-rfc3484.c: Likewise.
20888         * resolv/nss_dns/dns-canon.c: Likewise.
20889         * resolv/nss_dns/dns-network.c: Likewise.
20890         * resolv/res_init.c: Likewise.
20891         * resolv/res_mkquery.c: Likewise.
20892         * resolv/tst-aton.c: Likewise.
20893         * stdlib/cxa_atexit.c: Likewise.
20894         * stdlib/cxa_finalize.c: Likewise.
20895         * stdlib/gen-fpioconst.c: Likewise.
20896         * stdlib/strtol_l.c: Likewise.
20897         * string/tst-endian.c: Likewise.
20898         * sunrpc/auth_des.c: Likewise.
20899         * sunrpc/clnt_udp.c: Likewise.
20900         * sunrpc/rtime.c: Likewise.
20901         * sunrpc/svcauth_des.c: Likewise.
20902         * sunrpc/xdr.c: Likewise.
20903         * sunrpc/xdr_intXX_t.c: Likewise.
20904         * sunrpc/xdr_rec.c: Likewise.
20905         * sysdeps/generic/ldconfig.h: Likewise.
20906         * sysdeps/generic/ldsodefs.h: Likewise.
20907         * sysdeps/generic/memusage.h: Likewise.
20908         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20909         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20910         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20911         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20912         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20913         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20914         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20915         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20916         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20917         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20918         * sysdeps/posix/getaddrinfo.c: Likewise.
20919         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20920         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20921         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20922         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20923         * sysdeps/powerpc/test-gettimebase.c: Likewise.
20924         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20925         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20926         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20927         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20928         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20929         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20930         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20931         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20932         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20933         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20934         * sysdeps/x86_64/dl-tls.h: Likewise.
20935         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20936         * time/alt_digit.c: Likewise.
20937         * time/era.c: Likewise.
20938         * wcsmbs/tst-c16c32-1.c: Likewise.
20939
20940 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20941
20942         * math/libm-test.inc (struct test_sincos_data): New type.
20943         (RUN_TEST_LOOP_sincos): New macro.
20944         (sincos_test_data): New variable.
20945         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20946
20947 2013-05-16  Richard Henderson  <rth@redhat.com>
20948
20949         * math/atest-exp2.c (LIMB64): New macro.
20950         (CONSTSZ): New macro.
20951         (mp_exp1, mp_exp_m1, mp_log2): New variables.
20952         (hexdig): Move ...
20953         (print_mpn_fp): ... to function scope.
20954         (read_mpn_hex): Remove.
20955         (get_log2): Remove.
20956         (exp2_mpn): Use mp_log2.
20957         (main): Use mp_exp1.
20958
20959 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20960
20961         * math/libm-test.inc: Remove comment about not testing "inexact"
20962         exceptions.
20963         (INEXACT_EXCEPTION): New macro.
20964         (NO_INEXACT_EXCEPTION): Likewise.
20965         (INVALID_EXCEPTION_OK): Update value.
20966         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20967         (OVERFLOW_EXCEPTION_OK): Likewise.
20968         (UNDERFLOW_EXCEPTION_OK): Likewise.
20969         (IGNORE_ZERO_INF_SIGN): Likewise.
20970         (ERRNO_UNCHANGED): Likewise.
20971         (ERRNO_EDOM): Likewise.
20972         (ERRNO_ERANGE): Likewise.
20973         (test_exceptions): Handle testing "inexact" exceptions.
20974         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20975         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20976         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20977         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20978         INEXACT_EXCEPTION.
20979         (rint_towardzero_test_data): Likewise.
20980         (rint_downward_test_data): Likewise.
20981         (rint_upward_test_data): Likewise.
20982
20983         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20984         with OVERFLOW_EXCEPTION.
20985         (exp10_test_data): Likewise.
20986         (exp2_test_data): Likewise.
20987         (expm1_test_data): Likewise.
20988         (lgamma_test_data): Likewise.
20989         (pow_test_data): Likewise.
20990         (tgamma_test_data): Likewise.
20991         (yn_test_data): Remove duplicate test of overflow.
20992
20993         * math/libm-test.inc (struct test_cc_c_data): New type.
20994         (RUN_TEST_LOOP_cc_c): New macro.
20995         (cpow_test_data): New variable.
20996         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20997
20998         * math/libm-test.inc (struct test_f_L_data): New type.
20999         (RUN_TEST_LOOP_f_L): New macro.
21000         (llrint_test_data): New variable.
21001         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21002         (llrint_tonearest_test_data): New variable.
21003         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21004         (llrint_towardzero_test_data): New variable.
21005         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21006         (llrint_downward_test_data): New variable.
21007         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21008         (llrint_upward_test_data): New variable.
21009         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21010         (llround_test_data): New variable.
21011         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21012
21013 2013-05-13  Peter Collingbourne  <pcc@google.com>
21014
21015         * math/atest-exp2.c (get_log2): Remove const attribute.
21016
21017 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21018
21019         * math/libm-test.inc (struct test_f_l_data): New type.
21020         (RUN_TEST_LOOP_f_l): New macro.
21021         (lrint_test_data): New variable.
21022         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21023         (lrint_tonearest_test_data): New variable.
21024         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21025         (lrint_towardzero_test_data): New variable.
21026         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21027         (lrint_downward_test_data): New variable.
21028         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21029         (lrint_upward_test_data): New variable.
21030         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21031         (lround_test_data): New variable.
21032         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21033
21034 2013-05-15  Peter Collingbourne  <pcc@google.com>
21035
21036         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21037         (EXTRACT_WORDS64) Use where appropriate.
21038         (INSERT_WORDS64) Likewise.
21039
21040         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21041         constraints with x constraints.
21042         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21043
21044         * malloc/obstack.c (_obstack_compat): Add initializer.
21045
21046 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21047
21048         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21049         si_trapno and add si_addr_lsb to _sifields.sigfault.
21050         (si_trapno): Remove macro.
21051         (si_addr_lsb): Define new macro.
21052         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21053
21054 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21055
21056         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21057         instead of TEST_f_l.
21058         (llrint_test_tonearest): Likewise.
21059         (llrint_test_towardzero): Likewise.
21060         (llrint_test_downward): Likewise.
21061         (llrint_test_upward): Likewise.
21062         (llround_test): Likewise.
21063
21064         * math/libm-test.inc (struct test_f_i_data): Add comment.
21065         (RUN_TEST_LOOP_f_b): New macro.
21066         (RUN_TEST_LOOP_f_b_tg): Likewise.
21067         (finite_test_data): New variable.
21068         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21069         (isfinite_test_data): New variable.
21070         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21071         (isinf_test_data): New variable.
21072         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21073         (isnan_test_data): New variable.
21074         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21075         (isnormal_test_data): New variable.
21076         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21077         (issignaling_test_data): New variable.
21078         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21079         (signbit_test_data): New variable.
21080         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21081
21082         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21083         with INVALID_EXCEPTION.
21084         (acosh_test_data): Likewise.
21085         (asin_test_data): Likewise.
21086         (atanh_test_data): Likewise.
21087         (fmod_test_data): Likewise.
21088         (log_test_data): Likewise.
21089         (log10_test_data): Likewise.
21090         (log2_test_data): Likewise.
21091         (pow_test_data): Likewise.
21092         (sqrt_test_data): Likewise.
21093         (y0_test_data): Likewise.
21094         (y1_test_data): Likewise.
21095         (yn_test_data): Likewise.
21096
21097         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21098         function contents.
21099
21100         * math/libm-test.inc (struct test_ff_i_data): New type.
21101         (RUN_TEST_LOOP_ff_i_tg): New macro.
21102         (isgreater_test_data): New variable.
21103         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21104         (isgreaterequal_test_data): New variable.
21105         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21106         (isless_test_data): New variable.
21107         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21108         (islessequal_test_data): New variable.
21109         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21110         (islessgreater_test_data): New variable.
21111         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21112         (isunordered_test_data): New variable.
21113         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21114
21115 2013-05-14  David S. Miller  <davem@davemloft.net>
21116
21117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21118
21119 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
21120
21121         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21122
21123         * math/libm-test.inc (struct test_fF_f1_data): Change type of
21124         extra_test to int.
21125         (struct test_f_i_data): Change type of max_ulp to int.
21126
21127         * math/libm-test.inc (test_ffI_f1_data): New type.
21128         (RUN_TEST_LOOP_ffI_f1): New macro.
21129         (remquo_test_data): New variable.
21130         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21131
21132         * setjmp/tst-setjmp-fp.c: New file.
21133         * setjmp/Makefile (tests): Add tst-setjmp-fp.
21134         (link-libm): New variable.
21135         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
21136
21137         * math/libm-test.inc (struct test_f_i_data): New type.
21138         (RUN_TEST_LOOP_f_i): New macro.
21139         (RUN_TEST_LOOP_f_i_tg): Likewise.
21140         (fpclassify_test_data): New variable.
21141         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
21142         (ilogb_test_data): New variable.
21143         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21144
21145         * math/libm-test.inc (scalbln_test): Correct function name in END
21146         call.
21147
21148         * math/libm-test.inc (struct test_f_f1_data): Add comment.
21149         (RUN_TEST_LOOP_fI_f1): New macro.
21150         (frexp_test_data): New variable.
21151         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
21152
21153         * math/libm-test.inc (struct test_fF_f1_data): New type.
21154         (RUN_TEST_LOOP_fF_f1): New macro.
21155         (modf_test_data): New variable.
21156         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
21157
21158         * math/libm-test.inc (struct test_f_f1_data): New type.
21159         (RUN_TEST_LOOP_f_f1): New macro.
21160         (gamma_test_data): New variable.
21161         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21162         (lgamma_test_data): New variable.
21163         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
21164
21165 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
21166
21167         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
21168         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
21169         (main): Comment "tls" pseudo-hwcap.
21170
21171 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
21172
21173         * math/libm-test.inc (struct test_fl_f_data): New type.
21174         (RUN_TEST_LOOP_fl_f): New variable.
21175         (scalbln_test_data): New variable.
21176         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
21177
21178         * math/libm-test.inc (struct test_fi_f_data): New type.
21179         (RUN_TEST_LOOP_fi_f): New macro.
21180         (ldexp_test_data): New variable.
21181         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
21182         (scalbn_test_data): New variable.
21183         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
21184
21185         * math/libm-test.inc (struct test_c_f_data): New type.
21186         (RUN_TEST_LOOP_c_f): New macro.
21187         (cabs_test_data): New variable.
21188         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
21189         (carg_test_data): New variable.
21190         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
21191         (cimag_test_data): New variable.
21192         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
21193         (creal_test_data): New variable.
21194         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21195
21196         * math/libm-test.inc (struct test_if_f_data): New type.
21197         (RUN_TEST_LOOP_if_f): New macro.
21198         (jn_test_data): New variable.
21199         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
21200         (yn_test_data): New variable.
21201         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21202
21203         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
21204
21205 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21206
21207         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
21208         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
21209
21210 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21211
21212         * benchtests/Makefile (CPPFLAGS-nonlib): Add
21213         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
21214         (bench-deps): Add bench-timing.h.
21215         * benchtests-bench-skeleton.c: Include bench-timing.h.
21216         (main): Use TIMING_* macros instead of clock_gettime.
21217         * benchtests/bench-timing.h: New file.
21218
21219         [BZ #14582]
21220         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
21221         Renamed from _LIB_VERSION.
21222         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
21223
21224 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
21225
21226         * math/libm-test.inc (struct test_fff_f_data): New type.
21227         (RUN_TEST_LOOP_fff_f): New macro.
21228         (fma_test_data): New variable.
21229         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
21230         (fma_towardzero_test_data): New variable.
21231         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
21232         (fma_downward_test_data): New variable.
21233         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
21234         (fma_upward_test_data): New variable.
21235         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
21236
21237         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
21238         (struct test_c_c_data): New type.
21239         (RUN_TEST_LOOP_c_c): New macro.
21240         (cacos_test_data): New variable.
21241         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
21242         (cacosh_test_data): New variable.
21243         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
21244         (casin_test_data): New variable.
21245         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
21246         (casinh_test_data): New variable.
21247         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
21248         (catan_test_data): New variable.
21249         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
21250         (catanh_test_data): New variable.
21251         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
21252         (ccos_test_data): New variable.
21253         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
21254         (ccosh_test_data): New variable.
21255         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
21256         (cexp_test_data): New variable.
21257         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
21258         (clog_test_data): New variable.
21259         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
21260         (clog10_test_data): New variable.
21261         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
21262         (conj_test_data): New variable.
21263         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
21264         (cproj_test_data): New variable.
21265         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
21266         (csin_test_data): New variable.
21267         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
21268         (csinh_test_data): New variable.
21269         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
21270         (csqrt_test_data): New variable.
21271         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
21272         (ctan_test_data): New variable.
21273         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
21274         (ctan_tonearest_test_data): New variable.
21275         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21276         (ctan_towardzero_test_data): New variable.
21277         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21278         (ctan_downward_test_data): New variable.
21279         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21280         (ctan_upward_test_data): New variable.
21281         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21282         (ctanh_test_data): New variable.
21283         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21284         (ctanh_tonearest_test_data): New variable.
21285         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21286         (ctanh_towardzero_test_data): New variable.
21287         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21288         (ctanh_downward_test_data): New variable.
21289         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21290         (ctanh_upward_test_data): New variable.
21291         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21292         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21293         of BUILD_COMPLEX.
21294
21295         * math/libm-test.inc (struct test_ff_f_data): New type.
21296         (struct test_ff_f_data_nexttoward): Likewise.
21297         (RUN_TEST_LOOP_2_f): New macro.
21298         (RUN_TEST_LOOP_ff_f): Likewise.
21299         (atan2_test_data): New variable.
21300         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21301         (copysign_test_data): New variable.
21302         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21303         (fdim_test_data): New variable.
21304         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21305         (fmax_test_data): New variable.
21306         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21307         (fmin_test_data): New variable.
21308         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21309         (fmod_test_data): New variable.
21310         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21311         (hypot_test_data): New variable.
21312         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21313         (nextafter_test_data): New variable.
21314         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21315         (nexttoward_test_data): New variable.
21316         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21317         (pow_test_data): New variable.
21318         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21319         (pow_tonearest_test_data): New variable.
21320         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21321         (pow_towardzero_test_data): New variable.
21322         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21323         (pow_downward_test_data): New variable.
21324         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21325         (pow_upward_test_data): New variable.
21326         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21327         (remainder_test_data): New variable.
21328         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21329         (scalb_test_data): New variable.
21330         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21331         * sysdeps/i386/fpu/libm-test-ulps: Update.
21332
21333 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
21334
21335         * math/libm-test.inc (fma_test): Use max_value instead of local
21336         variable fltmax.
21337         (nextafter_test): Likewise.
21338
21339         * math/libm-test.inc (acos_towardzero_test_data): New variable.
21340         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21341         (acos_downward_test_data): New variable.
21342         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21343         (acos_upward_test_data): New variable.
21344         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21345         (acosh_test_data): New variable.
21346         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21347         (asin_test_data): New variable.
21348         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21349         (asin_tonearest_test_data): New variable.
21350         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21351         (asin_towardzero_test_data): New variable.
21352         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21353         (asin_downward_test_data): New variable.
21354         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21355         (asin_upward_test_data): New variable.
21356         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21357         (asinh_test_data): New variable.
21358         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21359         (atan_test_data): New variable.
21360         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21361         (atanh_test_data): New variable.
21362         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21363         (cbrt_test_data): New variable.
21364         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21365         (ceil_test_data): New variable.
21366         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21367         (cos_test_data): New variable.
21368         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21369         (cos_tonearest_test_data): New variable.
21370         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21371         (cos_towardzero_test_data): New variable.
21372         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21373         (cos_downward_test_data): New variable.
21374         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21375         (cos_upward_test_data): New variable.
21376         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21377         (cosh_test_data): New variable.
21378         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21379         (cosh_tonearest_test_data): New variable.
21380         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21381         (cosh_towardzero_test_data): New variable.
21382         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21383         (cosh_downward_test_data): New variable.
21384         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21385         (cosh_upward_test_data): New variable.
21386         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21387         (erf_test_data): New variable.
21388         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21389         (erfc_test_data): New variable.
21390         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21391         (exp_test_data): New variable.
21392         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21393         (exp_tonearest_test_data): New variable.
21394         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21395         (exp_towardzero_test_data): New variable.
21396         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21397         (exp_downward_test_data): New variable.
21398         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21399         (exp_upward_test_data): New variable.
21400         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21401         (exp10_test_data): New variable.
21402         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21403         (exp2_test_data): New variable.
21404         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21405         (expm1_test_data): New variable.
21406         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21407         (fabs_test_data): New variable.
21408         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21409         (floor_test_data): New variable.
21410         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21411         (j0_test_data): New variable.
21412         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21413         (j1_test_data): New variable.
21414         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21415         (log_test_data): New variable.
21416         (log_test): Run tests with RUN_TEST_LOOP_f_f.
21417         (log10_test_data): New variable.
21418         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21419         (log1p_test_data): New variable.
21420         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21421         (log2_test_data): New variable.
21422         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21423         (logb_test_data): New variable.
21424         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21425         (logb_downward_test_data): New variable.
21426         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21427         (nearbyint_test_data): New variable.
21428         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21429         (rint_test_data): New variable.
21430         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21431         (rint_tonearest_test_data): New variable.
21432         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21433         (rint_towardzero_test_data): New variable.
21434         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21435         (rint_downward_test_data): New variable.
21436         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21437         (rint_upward_test_data): New variable.
21438         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21439         (round_test_data): New variable.
21440         (round_test): Run tests with RUN_TEST_LOOP_f_f.
21441         (sin_test_data): New variable.
21442         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21443         (sin_tonearest_test_data): New variable.
21444         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21445         (sin_towardzero_test_data): New variable.
21446         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21447         (sin_downward_test_data): New variable.
21448         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21449         (sin_upward_test_data): New variable.
21450         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21451         (sinh_test_data): New variable.
21452         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21453         (sinh_tonearest_test_data): New variable.
21454         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21455         (sinh_towardzero_test_data): New variable.
21456         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21457         (sinh_downward_test_data): New variable.
21458         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21459         (sinh_upward_test_data): New variable.
21460         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21461         (sqrt_test_data): New variable.
21462         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21463         (tan_test_data): New variable.
21464         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21465         (tan_tonearest_test_data): New variable.
21466         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21467         (tan_towardzero_test_data): New variable.
21468         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21469         (tan_downward_test_data): New variable.
21470         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21471         (tan_upward_test_data): New variable.
21472         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21473         (tanh_test_data): New variable.
21474         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21475         (tgamma_test_data): New variable.
21476         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21477         (trunc_test_data): New variable.
21478         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21479         (y0_test_data): New variable.
21480         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21481         (y1_test_data): New variable.
21482         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21483         (significand_test_data): New variable.
21484         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21485
21486 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
21487
21488         [BZ #12387]
21489         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21490
21491 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21492
21493         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21494
21495 2013-05-10  Andreas Jaeger  <aj@suse.de>
21496
21497         [BZ #15448]
21498         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21499         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21500
21501 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21502
21503         * math/gen-libm-test.pl (adjust_arg): New function.
21504         (special_functions): Handle generating output in both functions
21505         and arrays.
21506         (parse_args): Likewise.
21507         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
21508         $in_func argument to parse_args.
21509         * math/libm-test.inc (struct test_f_f_data): New type.
21510         (IF_ROUND_INIT_): New macro.
21511         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21512         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21513         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21514         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21515         (ROUND_RESTORE_): Likewise.
21516         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21517         (ROUND_RESTORE_FE_TONEAREST): Likewise.
21518         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21519         (ROUND_RESTORE_FE_UPWARD): Likewise.
21520         (RUN_TEST_LOOP_f_f): New macro.
21521         (acos_test_data): New variable.
21522         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21523         (acos_tonearest_test_data): New variable.
21524         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21525
21526 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21527
21528         * benchtests/bench-skeleton.c (startup): Fix coding style.
21529
21530 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21531
21532         [BZ #6809]
21533         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21534         negative infinity argument.
21535         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21536         negative infinity argument.
21537         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21538         negative infinity argument.
21539         * math/libm-test.inc (tgamma_test): Expect errno to be set for
21540         domain errors.
21541
21542 2013-05-10  Florian Weimer  <fweimer@redhat.com>
21543
21544         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21545         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21546         * iconv/iconv_prog.c (main): Likewise.
21547         * locale/programs/charmap-dir.c (charmap_readdir)
21548         (fopen_uncompressed): Likewise.
21549         * locale/programs/locfile.c (siblings_uncached)
21550         (write_locale_data): Use lstat64 instead of lstat.
21551         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21552         stat.
21553
21554 2013-05-10  Andreas Jaeger  <aj@suse.de>
21555
21556         [BZ #15395]
21557         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21558         localization.
21559         Include <locale.h>.
21560
21561 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
21562
21563         * elf/dl-close.c (_dl_close_worker): Add comments.
21564
21565 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
21566
21567         [BZ #15359]
21568         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21569         high part of pi/2.
21570         (__ieee754_rem_pio2l): Update comments.
21571
21572         [BZ #15429]
21573         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21574         high part of pi/2.
21575         (__ieee754_rem_pio2l): Update comments.
21576
21577         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21578         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21579
21580         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21581         M_PI_4l.
21582
21583         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21584         (M_PI_34_LOG10El): Likewise.
21585         (M_PI2_LOG10El): Likewise.
21586         (M_PI4_LOG10El): Likewise.
21587         (M_PI_LOG10El): Likewise.
21588
21589 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21590
21591         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21592
21593 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
21594
21595         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21596         (MINUS_ZERO_INIT): Likewise.
21597         (PLUS_INFTY_INIT): Likewise.
21598         (MINUS_INFTY_INIT): Likewise.
21599         (QNAN_VALUE_INIT): Likewise.
21600         (MAX_VALUE_INIT): Likewise.
21601         (MIN_VALUE_INIT): Likewise.
21602         (MIN_SUBNORM_VALUE_INIT): Likewise.
21603         (plus_zero): Initialize with PLUS_ZERO_INIT.
21604         (minus_zero): Initialize with MINUS_ZERO_INIT.
21605         (plus_infty): Initialize with PLUS_INFTY_INIT.
21606         (minus_infty): Initialize with MINUS_INFTY_INIT.
21607         (qnan_value): Initialize with QNAN_VALUE_INIT.
21608         (max_value): Initialize with MAX_VALUE_INIT.
21609         (min_value): Initialize with MIN_VALUE_INIT.
21610         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21611
21612         * math/libm-test.inc (RUN_TEST_if_f): New macro.
21613         (jn_test): Use TEST_if_f instead of TEST_ff_f.
21614         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21615         (yn_test): Use TEST_if_f instead of TEST_ff_f.
21616
21617         * math/libm-test.inc (RUN_TEST_f_f): New macro.
21618         (RUN_TEST_2_f): Likewise.
21619         (RUN_TEST_ff_f): Likewise.
21620         (RUN_TEST_fi_f): Likewise.
21621         (RUN_TEST_fl_f): Likewise.
21622         (RUN_TEST_fff_f): Likewise.
21623         (RUN_TEST_c_f): Likewise.
21624         (RUN_TEST_f_f1): Likewise.
21625         (RUN_TEST_fF_f1): Likewise.
21626         (RUN_TEST_fI_f1): Likewise.
21627         (RUN_TEST_ffI_f1): Likewise.
21628         (RUN_TEST_c_c): Likewise.
21629         (RUN_TEST_cc_c): Likewise.
21630         (RUN_TEST_f_i): Likewise.
21631         (RUN_TEST_f_i_tg): Likewise.
21632         (RUN_TEST_ff_i_tg): Likewise.
21633         (RUN_TEST_f_b): Likewise.
21634         (RUN_TEST_f_b_tg): Likewise.
21635         (RUN_TEST_f_l): Likewise.
21636         (RUN_TEST_f_L): Likewise.
21637         (RUN_TEST_sincos): Likewise.
21638         * math/gen-libm-test.pl (new_test): Take new argument to indicate
21639         whether to show exceptions.  Do not include ");\n" in return
21640         value.
21641         (special_functions): Output call to RUN_TEST_sincos instead of
21642         check_float calls.  Update calls to new_test.
21643         (parse_args): Output call to single RUN_TEST_* macro instead of
21644         check_* calls and other assignments.  Update calls to new_test.
21645
21646         [BZ #2546]
21647         [BZ #2560]
21648         [BZ #5159]
21649         [BZ #15426]
21650         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21651         input to result for tgamma overflow.
21652         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21653         (gamma_coeff): New variable.
21654         (NCOEFF): New macro.
21655         (gamma_positive): New function.
21656         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21657         underflow here.  Use gamma_positive instead of exp (lgamma) for
21658         other arguments.
21659         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21660         (gamma_coeff): New variable.
21661         (NCOEFF): New macro.
21662         (gammaf_positive): New function.
21663         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21664         underflow here.  Use gamma_positive instead of exp (lgamma) for
21665         other arguments.
21666         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21667         (gamma_coeff): New variable.
21668         (NCOEFF): New macro.
21669         (gammal_positive): New function.
21670         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21671         underflow here.  Use gamma_positive instead of exp (lgamma) for
21672         other arguments.
21673         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21674         (gamma_coeff): New variable.
21675         (NCOEFF): New macro.
21676         (gammal_positive): New function.
21677         (__ieee754_gammal_r): Handle positive infinity, overflow and
21678         underflow here.  Handle NaN the same as positive infinity.  Remove
21679         check x < 0xffffffff for negative integers.  Use gamma_positive
21680         instead of exp (lgamma) for other arguments.
21681         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21682         (gamma_coeff): New variable.
21683         (NCOEFF): New macro.
21684         (gammal_positive): New function.
21685         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21686         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21687         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21688         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21689         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21690         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21691         * sysdeps/generic/math_private.h (__gamma_productf): New
21692         prototype.
21693         (__gamma_product): Likewise.
21694         (__gamma_productl): Likewise.
21695         * math/Makefile (libm-calls): Add gamma_product.
21696         * math/libm-test.inc (tgamma_test): Add more tests.
21697         * sysdeps/i386/fpu/libm-test-ulps: Update.
21698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21699
21700 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
21701
21702         * benchtests/bench-skeleton.c (main): Preheat CPU.
21703
21704 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
21705
21706         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21707
21708 2013-05-07  Roland McGrath  <roland@hack.frob.com>
21709
21710         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21711         and _dl_skip_args_internal.
21712
21713 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
21714
21715         * manual/message.texi (Message Translation): Talk about users.
21716         Message to key mapping impacts design.
21717
21718 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21719
21720         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21721
21722         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21723
21724         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21725         * sysdeps/wordsize-64/glob64.c: ... here.
21726
21727         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21728         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21729         New macros.
21730
21731         * debug/getlogin_r_chk.c: Moved to ...
21732         * login/getlogin_r_chk.c: ... here.
21733         * debug/Makefile (routines): Move getlogin_r_chk to ...
21734         * login/Makefile (routines): ... here.
21735         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21736         * login/Versions (libc: GLIBC_2.4): ... here.
21737
21738         * io/poll.c (__poll): Renamed from poll.
21739         Add libc_hidden_def.
21740         (poll): Define as weak alias.
21741
21742         * debug/ptsname_r_chk.c: Moved to ...
21743         * login/ptsname_r_chk.c: ... here.
21744         * debug/Makefile (routines): Move ptsname_r_chk to ...
21745         * login/Makefile (routines): ... here.
21746         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21747         * login/Versions (libc: GLIBC_2.4): ... here.
21748
21749         * posix/getlogin.c: Moved to ...
21750         * login/getlogin.c: ... here.
21751         * posix/getlogin_r.c: Moved to ...
21752         * login/getlogin_r.c: ... here.
21753         * posix/getlogin_r.c: Moved to ...
21754         * login/getlogin_r.c: ... here.
21755         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21756         * login/Makefile (routines): ... here.
21757         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21758         * login/Versions (libc: GLIBC_2.0): ... here.
21759
21760         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21761         (setrlimit): Define as weak alias.
21762
21763         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21764         Call __ names for open, ftruncate, and close.
21765         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21766         (truncate): Define as weak alias.
21767
21768 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
21769
21770         * math/gen-libm-test.pl (parse_args): Initialize x before each
21771         test of frexp, modf and remquo.
21772
21773         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21774         test signgam value.
21775
21776 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21777
21778         [BZ #15418]
21779         [BZ #15419]
21780         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21781         internal tests.
21782         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21783
21784 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21785
21786         * elf/dl-writev.h: New file.
21787         * elf/dl-misc.c: Include it.
21788         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21789         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21790
21791 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
21792
21793         * math/libm-test.inc (noXFails): Remove variable.
21794         (noXPasses): Likewise.
21795         (BUILD_COMPLEX_INT): Remove macro.
21796         (print_screen): Remove xfail argument.
21797         (print_screen_max_error): Likewise.
21798         (update_stats): Likewise.
21799         (print_max_error): Likewise.  Update calls to other affected
21800         functions.
21801         (print_complex_max_error): Likewise.
21802         (test_single_exception): Update calls to print_screen.
21803         (test_single_errno): Likewise.
21804         (check_float_internal): Remove xfail argument.  Update calls to
21805         other affected functions.
21806         (check_float): Likewise.
21807         (check_complex): Likewise.
21808         (check_int): Likewise.
21809         (check_long): Likewise.
21810         (check_bool): Likewise.
21811         (check_longlong): Likewise.
21812         (main): Don't print noXFails and noXPasses.
21813         * math/gen-libm-test.pl (top level): Don't mention expected
21814         failure handling in comment.
21815         (new_test): Don't handle expected failures.
21816         (parse_args): Don't mention expected failure handling in comment.
21817         (generate_testfile): Don't handle expected failures.
21818         (parse_ulps): Likewise.
21819         (print_ulps_file): Likewise.
21820         (get_failure): Remove function.
21821         (output_test): Don't handle expected failures.
21822         * make/README.libm-test: Don't mention expected failure handling.
21823
21824         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
21825         (minus_zero): Likewise.
21826         (plus_infty): Likewise.
21827         (minus_infty): Likewise.
21828         (qnan_value): Likewise.
21829         (max_value): Likewise.
21830         (min_value): Likewise.
21831         (min_subnorm_value): Likewise.
21832         (initialize): Do not initialize those variables dynamically.
21833
21834 2013-05-03  Roland McGrath  <roland@hack.frob.com>
21835
21836         * io/open.c (__open_2): Moved to ...
21837         * io/open_2.c: ... this new file.
21838         * io/open64.c (__open64_2): Moved to ...
21839         * io/open64_2.c: ... this new file.
21840         * io/openat.c (__openat_2): Moved to ...
21841         * io/openat_2.c: ... this new file.
21842         * io/openat64.c (__openat64_2): Moved to ...
21843         * io/openat64_2.c: ... this new file.
21844         * io/Makefile (routines): Add them.
21845         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21846         * sysdeps/unix/sysv/linux/open_2.c: File removed.
21847         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21848         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21849         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21850         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21851         (__openat64): Add hidden_ver.
21852         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21853         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21854
21855         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21856         Separately conditionalize setting of GLRO(dl_sysinfo) so
21857         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21858         as well, but the actual setting is only under [NEED_DL_SYSINFO].
21859
21860 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21861
21862         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21863         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21864         definition.
21865         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21866         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21867         (_libc_vdso_platform_setup): Add __vdso_time initialization.
21868         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21869         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21870
21871 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
21872
21873         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21874         test signgam value.
21875
21876         * math/libm-test.inc (hypot_test): Do not use
21877         IGNORE_ZERO_INF_SIGN.
21878
21879 2013-05-03  Andreas Jaeger  <aj@suse.de>
21880
21881         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21882         Linux 3.9.
21883         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21884         (PF_MAX): Adjust for VSOCK change.
21885
21886 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21887
21888         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21889
21890 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
21891
21892         [BZ #15264]
21893         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21894         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21895         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21896
21897 2013-05-02  David S. Miller  <davem@davemloft.net>
21898
21899         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21900
21901 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
21902
21903         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21904
21905 2013-05-01  Roland McGrath  <roland@hack.frob.com>
21906
21907         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21908
21909 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
21910
21911         [BZ #14952]
21912         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21913         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21914         Use __attribute__ ((__gnu_inline__)).
21915         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21916         Don't use __attribute__ ((__gnu_inline__)).
21917
21918 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
21919
21920         [BZ #15423]
21921         * math/s_catan.c (__catan): Handle small real or imaginary part of
21922         input specially to avoid spurious underflow.
21923         * math/s_catanf.c (__catanf): Likewise.
21924         * math/s_catanh.c (__catanh): Likewise.
21925         * math/s_catanhf.c (__catanhf): Likewise.
21926         * math/s_catanhl.c (__catanhl): Likewise.
21927         * math/s_catanl.c (__catanl): Likewise.
21928         * math/libm-test.inc (catan_test): Add more tests.
21929         (catanh_test): Likewise.
21930         * sysdeps/i386/fpu/libm-test-ulps: Update.
21931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21932
21933 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21934
21935         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21936
21937 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
21938
21939         [BZ #15416]
21940         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21941         accurately for denominator in atan2.
21942         * math/s_catanf.c (__catanf): Likewise.
21943         * math/s_catanh.c (__catanh): Likewise.
21944         * math/s_catanhf.c (__catanhf): Likewise.
21945         * math/s_catanhl.c (__catanhl): Likewise.
21946         * math/s_catanl.c (__catanl): Likewise.
21947         * math/libm-test.inc (catan_test): Add more tests.
21948         (catanh_test): Likewise.
21949         * sysdeps/i386/fpu/libm-test-ulps: Update.
21950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21951
21952 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21953
21954         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21955
21956         * benchtests/Makefile (bench): Remove slow benchmarks.
21957         * benchtests/atan-inputs: Add slow benchmark inputs.
21958         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21959         (BENCH_FUNC): Accept variant offset.
21960         (VARIANT): Define.
21961         * benchtests/bench-skeleton.c (main): Run benchmark for each
21962         variant.
21963         * benchtests/cos-inputs: Add slow benchmark inputs.
21964         * benchtests/exp-inputs: Likewise.
21965         * benchtests/pow-inputs: Likewise.
21966         * benchtests/sin-inputs: Likewise.
21967         * benchtests/slowatan-inputs: Remove.
21968         * benchtests/slowatan.c: Remove.
21969         * benchtests/slowcos-inputs: Remove.
21970         * benchtests/slowcos.c: Remove.
21971         * benchtests/slowexp-inputs: Remove.
21972         * benchtests/slowexp.c: Remove.
21973         * benchtests/slowpow-inputs: Remove.
21974         * benchtests/slowpow.c: Remove.
21975         * benchtests/slowsin-inputs: Remove.
21976         * benchtests/slowsin.c: Remove.
21977         * benchtests/slowtan-inputs: Remove.
21978         * benchtests/slowtan.c: Remove.
21979         * benchtests/tan-inputs: Add slow benchmark inputs.
21980         * scripts/bench.pl: Parse comments and directives.
21981
21982         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
21983         in CPPFLAGS.
21984         ($(objpfx)bench-%.c): Remove *-ITER.
21985         * benchtests/bench-modf.c: Remove definition of ITER.
21986         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21987         (main): Loop for DURATION seconds instead of fixed number of
21988         iterations.
21989         * scripts/bench.pl: Don't expect iterations in parameters.
21990
21991 2013-04-29  Roland McGrath  <roland@hack.frob.com>
21992
21993         * io/fchdir.c (__fchdir): Renamed from fchdir.
21994         (fchdir): Define as weak alias.
21995
21996 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21997
21998         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21999         (ERRNO_EDOM): Likewise.
22000         (ERRNO_ERANGE): Likewise.
22001         (noErrnoTests): New variable.
22002         (init_max_error): Set errno to 0.
22003         (test_single_errno): New function.
22004         (test_errno): Likewise.
22005         (check_float_internal): Call test_errno.  Set errno to 0.
22006         (check_complex): Refer to errno tests in comment.
22007         (check_int): Call test_errno.  Set errno to 0.
22008         (check_long): Likewise.
22009         (check_bool): Likewise.
22010         (check_longlong): Likewise.
22011         (cos_test): Use ERRNO_* flags for errno tests instead of
22012         check_int.
22013         (expm1_test): Likewise.
22014         (fmod_test): Likewise.
22015         (ilogb_test): Likewise.
22016         (lgamma_test): Likewise.
22017         (pow_test): Likewise.
22018         (remainder_test): Likewise.
22019         (sin_test): Likewise.
22020         (tan_test): Likewise.
22021         (yn_test): Likewise.
22022         (initialize): Set errno to 0.
22023         (main): Print number of errno tests.
22024         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22025
22026 2013-04-29  Andreas Jaeger  <aj@suse.de>
22027
22028         [BZ #15084]
22029         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22030         and RES_USEVC.
22031
22032         [BZ #15085]
22033         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22034         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22035         unimplemented.
22036
22037         [BZ #15380]
22038         * stdlib/random.c (__initstate): Return NULL if
22039         __initstate fails.
22040
22041         [BZ #15086]
22042         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22043         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22044         RES_SNGLKUPREOP.
22045
22046 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22047
22048         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22049
22050 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22051
22052         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22053         of individual tests.
22054         (casin_test): Likewise.
22055         (casinh_test): Likewise.
22056
22057 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
22058
22059         [BZ #15409]
22060         * math/s_catan.c (__catan): Handle arguments with large real or
22061         imaginary part separately without squaring.
22062         * math/s_catanf.c (__catanf): Likewise.
22063         * math/s_catanh.c (__catanh): Likewise.
22064         * math/s_catanhf.c (__catanhf): Likewise.
22065         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22066         and redefine.
22067         (__catanhl): Handle arguments with large real or imaginary part
22068         separately without squaring.
22069         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22070         and redefine.
22071         (__catanl): Handle arguments with large real or imaginary part
22072         separately without squaring.
22073         * math/libm-test.inc (catan_test): Add more tests.
22074         (catanh_test): Likewise.
22075         * sysdeps/i386/fpu/libm-test-ulps: Update.
22076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22077
22078 2013-04-27  Andreas Jaeger  <aj@suse.de>
22079
22080         [BZ #15007]
22081         * stdlib/stdlib.h: Update guards for qecvt.
22082         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22083         <stdlib.h>.
22084
22085 2013-04-27  Allan McRae  <allan@archlinux.org>
22086
22087         * sysdeps/i386/fpu/libm-test-ulps: Update.
22088
22089 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
22090
22091         [BZ #15406]
22092         * math/s_catan.c: Include <float.h>.
22093         (__catan): Ensure underflow exception occurs for underflowed
22094         result.
22095         * math/s_catanf.c: Include <float.h>.
22096         (__catanf): Ensure underflow exception occurs for underflowed
22097         result.
22098         * math/s_catanh.c: Include <float.h>.
22099         (__catanh): Ensure underflow exception occurs for underflowed
22100         result.
22101         * math/s_catanhf.c: Include <float.h>.
22102         (__catanhf): Ensure underflow exception occurs for underflowed
22103         result.
22104         * math/s_catanhl.c: Include <float.h>.
22105         (__catanhl): Ensure underflow exception occurs for underflowed
22106         result.
22107         * math/s_catanl.c: Include <float.h>.
22108         (__catanl): Ensure underflow exception occurs for underflowed
22109         result.
22110         * math/libm-test.inc (catan_test): Add more tests.
22111         (catanh_test): Likewise.
22112
22113         [BZ #15405]
22114         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22115         underflowed result.
22116         * math/s_ccoshf.c (__ccoshf): Likewise.
22117         * math/s_ccoshl.c (__ccoshl): Likewise.
22118         * math/s_csin.c (__csin): Likewise.
22119         * math/s_csinf.c (__csinf): Likewise.
22120         * math/s_csinh.c (__csinh): Likewise.
22121         * math/s_csinhf.c (__csinhf): Likewise.
22122         * math/s_csinhl.c (__csinhl): Likewise.
22123         * math/s_csinl.c (__csinl): Likewise.
22124         * math/libm-test.inc (ccos_test): Add more tests.
22125         (ccosh_test): Likewise.
22126         (csin_test): Likewise.
22127         (csinh_test): Likewise.
22128
22129 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22130
22131         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22132         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22133         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22134         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22135         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22136         powerpc/power5+/fpu folders.
22137         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
22138
22139
22140 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22141
22142         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22143
22144 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
22145
22146         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
22147         additions to variable.
22148         [$(config-machine) = x86_64] (modules-names): Likewise.
22149         ($(objpfx)tst-audit3): Remove dependency.
22150         ($(objpfx)tst-audit3.out): Likewise.
22151         ($(objpfx)tst-audit4): Likewise.
22152         ($(objpfx)tst-audit4.out): Likewise.
22153         ($(objpfx)tst-audit5): Likewise.
22154         ($(objpfx)tst-audit5.out): Likewise.
22155         ($(objpfx)tst-audit6): Likewise.
22156         ($(objpfx)tst-audit6.out): Likewise.
22157         ($(objpfx)tst-audit7): Likewise.
22158         ($(objpfx)tst-audit7.out): Likewise.
22159         (tst-audit3-ENV): Remove variable.
22160         (tst-audit4-ENV): Likewise.
22161         (tst-audit5-ENV): Likewise.
22162         (tst-audit6-ENV): Likewise.
22163         (tst-audit7-ENV): Likewise.
22164         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
22165         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
22166         addition to variable.
22167         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
22168         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
22169         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
22170         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
22171         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
22172         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
22173         tst-audit3, tst-audit4 and tst-audit5.
22174         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
22175         tst-audit6 and tst-audit7.
22176         [$(subdir) = elf] (modules-names): Add audit modules for those
22177         tests.
22178         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
22179         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
22180         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
22181         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
22182         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
22183         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
22184         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
22185         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
22186         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
22187         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
22188         [$(subdir) = elf] (tst-audit3-ENV): New variable.
22189         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
22190         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
22191         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
22192         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
22193         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
22194         Likewise.
22195         [$(subdir) = elf && $(config-cflags-avx) = yes]
22196         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
22197         [$(subdir) = elf && $(config-cflags-avx) = yes]
22198         (CFLAGS-tst-auditmod4a.c): Likewise.
22199         [$(subdir) = elf && $(config-cflags-avx) = yes]
22200         (CFLAGS-tst-auditmod4b.c): Likewise.
22201         [$(subdir) = elf && $(config-cflags-avx) = yes]
22202         (CFLAGS-tst-auditmod6b.c): Likewise.
22203         [$(subdir) = elf && $(config-cflags-avx) = yes]
22204         (CFLAGS-tst-auditmod6c.c): Likewise.
22205         [$(subdir) = elf && $(config-cflags-avx) = yes]
22206         (CFLAGS-tst-auditmod7b.c): Likewise.
22207         * elf/tst-audit3.c: Move to ...
22208         * sysdeps/x86_64/tst-audit3.c: ... here.
22209         * elf/tst-audit4.c: Move to ...
22210         * sysdeps/x86_64/tst-audit4.c: ... here.
22211         * elf/tst-audit5.c: Move to ...
22212         * sysdeps/x86_64/tst-audit5.c: ... here.
22213         * elf/tst-audit6.c: Move to ...
22214         * sysdeps/x86_64/tst-audit6.c: ... here.
22215         * elf/tst-audit7.c: Move to ...
22216         * sysdeps/x86_64/tst-audit7.c: ... here.
22217         * elf/tst-auditmod3a.c: Move to ...
22218         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
22219         * elf/tst-auditmod3b.c: Move to ...
22220         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
22221         * elf/tst-auditmod4a.c: Move to ...
22222         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
22223         * elf/tst-auditmod4b.c: Move to ...
22224         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
22225         * elf/tst-auditmod5a.c: Move to ...
22226         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
22227         * elf/tst-auditmod5b.c: Move to ...
22228         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
22229         * elf/tst-auditmod6a.c: Move to ...
22230         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
22231         * elf/tst-auditmod6b.c: Move to ...
22232         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
22233         * elf/tst-auditmod6c.c: Move to ...
22234         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
22235         * elf/tst-auditmod7a.c: Move to ...
22236         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
22237         * elf/tst-auditmod7b.c: Move to ...
22238         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
22239
22240 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
22241
22242         [BZ #15366]
22243         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
22244         define unconditionally.
22245         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
22246         define unconditionally.
22247         (INT8_C, INT16_C, etc.): Likewise.
22248
22249 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
22250
22251         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
22252         __ehdr_start with hidden visibility.
22253
22254         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
22255
22256 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
22257
22258         * math/libm-test.inc (cos_test): Use accurate hex constants.
22259         (sincost_test): Likewise.
22260
22261 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
22262
22263         * math/libm-test.inc (catan_test): Add more tests.
22264         (catanh_test): Likewise.
22265
22266         * math/s_catanf.c (__catanf): Use suffixed floating-point
22267         constants.
22268         * math/s_catanhf.c (__catanhf): Likewise.
22269         * math/s_catanhl.c (__catanhl): Likewise.
22270         * math/s_catanl.c (__catanl): Likewise.
22271
22272         [BZ #15394]
22273         * math/s_catan.c (__catan): Calculate imaginary part of result
22274         with log1p not log unless computing log of number close to 0.
22275         * math/s_catanf.c (__catanf): Likewise.
22276         * math/s_catanl.c (__catanl): Likewise.
22277         * math/s_catanh.c (__catanh): Calculate real part of result with
22278         log1p not log unless computing log of number close to 0.
22279         * math/s_catanhf.c (__catanhf): Likewise.
22280         * math/s_catanhl.c (__catanhl): Likewise.
22281         * math/libm-test.inc (catan_test): Add more tests.
22282         (catanh_test): Likewise.
22283         * sysdeps/i386/fpu/libm-test-ulps: Update.
22284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22285
22286 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22287
22288         * benchtests/Makefile: Mention files in which fast and slow
22289         paths of math functions are implemented.
22290
22291 2013-04-23  Roland McGrath  <roland@hack.frob.com>
22292
22293         * sysdeps/posix/timespec_get.c: New file.
22294
22295 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22296
22297         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22298         POWER.
22299         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22300         for POWER.
22301         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22302         powerpc/power5/fpu folders.
22303         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22304         * benchtests/Makefile: Add modf testcase.
22305         * benchtests/bench-modf.c: New file: Benchmark test for mo
22306
22307 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22308
22309         [BZ #14888]
22310         * time/Makefile (tests): Add tst-strptime-whitespace.
22311         * time/strptime_l.c (get_number): Use ISSPACE.
22312         (__strptime_internal): Likewise.
22313         * time/tst-strptime-whitespace.c: New test case.
22314
22315 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
22316
22317         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22318         member.
22319         (_nss_files_init): Set it here.
22320
22321 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
22322
22323         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22324         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22325         unsigned.
22326
22327 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
22328
22329         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22330
22331 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22332
22333         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22334         size just once.
22335
22336 2013-04-21  David S. Miller  <davem@davemloft.net>
22337
22338         * po/ru.po: Update Russion translation from translation project.
22339
22340 2013-04-17  Adam Conrad  <adconrad@0c3.net>
22341
22342         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22343         and setfsgid.
22344
22345 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
22346
22347         * configure.in: Remove i386 configure warning. Remove i386 case.
22348         * configure: Regenerate.
22349         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
22350         Add example to error message.
22351         * sysdeps/i386/configure: Regenerate.
22352
22353 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22354
22355         * benchtests/Makefile (bench): Add cos, tan, slowcos and
22356         slowtan.
22357         * benchtests/cos-inputs: New file.
22358         * benchtests/slowcos-inputs: New file.
22359         * benchtests/slowcos.c: New file.
22360         * benchtests/slowtan-inputs: New file.
22361         * benchtests/slowtan.c: New file.
22362         * benchtests/tan-inputs: New file.
22363
22364 2013-04-16  Roland McGrath  <roland@hack.frob.com>
22365
22366         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22367         considered kosher.
22368
22369 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22370
22371         * benchtests/Makefile: Include cppflags-iterator.mk to add
22372         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22373
22374         * Makefile.in (bench-clean): New target.
22375         * benchtests/Makefile (bench-clean): Likewise.
22376
22377 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
22378
22379         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22380
22381 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
22382
22383         * stdio-common/tstdiomisc.c: Fix coding-style violation.
22384
22385 2013-04-15  Andreas Schwab  <schwab@suse.de>
22386
22387         * nscd/grpcache.c (cache_addgr): Properly check for short write.
22388         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22389         * nscd/pwdcache.c (cache_addpw): Likewise.
22390         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
22391         more than recsize.
22392
22393 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22394
22395         * benchtests/Makefile (bench): Write all output to
22396         bench-out.tmp together.
22397
22398 2013-04-15  Andreas Schwab  <schwab@suse.de>
22399
22400         * nscd/nscd.c (main): Don't fork again after closing files.
22401
22402 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22403
22404         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22405
22406         * benchtests/Rules (bench-deps): Collect dependencies into a
22407         single variable.  Add Makefile to dependencies.
22408         ($(objpfx)bench-%.c): Depend on bench-deps.
22409
22410 2013-04-12  Roland McGrath  <roland@hack.frob.com>
22411             Xavier Roche  <roche+kml2@exalead.com>
22412
22413         [BZ #15361]
22414         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22415         just that it's a file descriptor.
22416         * manual/llio.texi (Synchronizing AIO Operations): Update description
22417         for EBADF error from aio_fsync.
22418
22419 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22420
22421         * Rules (bench): Move target definition...
22422         * benchtests/Makefile: ... here.
22423
22424 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
22425
22426         * math/libm-test.inc (cos_test): Fix PI/2 test.
22427         (sincos_test): Likewise.
22428         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22429         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22430
22431 2013-04-11  Andreas Schwab  <schwab@suse.de>
22432
22433         [BZ #13988]
22434         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22435         accept exponent character only when digits were seen.
22436         * stdio-common/Makefile (tests): Add bug26.
22437         * stdio-common/bug26.c: New file.
22438
22439         [BZ #14293]
22440         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22441         non-freeable.
22442
22443 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22444
22445         * Makeconfig (rtld-prefix): Define built linker prefix.
22446         * Rules (run-bench): Use it.
22447         * math/Makefile (run-regen-ulps): Likewise.
22448
22449         * Rules (bench): Remove eval.
22450
22451 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22452             Roland McGrath  <roland@hack.frob.com>
22453             Ondrej Bilka  <neleai@seznam.cz>
22454
22455         [BZ #15346]
22456         * time/getdate.c: Include ctype.h and alloca.h.
22457         (__getdate_r): Trim leading and trailing spaces of input.
22458         * time/tst-getdate.c (tests): Add tests with leading and
22459         trailing spaces.
22460
22461 2013-04-08  Roland McGrath  <roland@hack.frob.com>
22462
22463         [BZ #14280]
22464         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22465         when computing value.
22466
22467 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22468
22469         * math/README.libm-test (How can I generate "libm-test-ulps"?):
22470         Use testrun.sh to run libm tests.
22471
22472         [BZ #15309]
22473         * elf/dl-open.c (dl_open_worker): memset all of seen array.
22474
22475 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
22476
22477         [BZ #15264]
22478         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22479
22480 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22481
22482         * Makefile.in (regen-ulps): New target.
22483         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22484         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22485         [ifneq (no,$(PERL)] (regen-ulps): New target.
22486         [ifeq (no,$(PERL)] (regen-ulps): New target.
22487         * math/libm-test.inc (ulps_file_name): Define.
22488         (output_dir): New variable.
22489         (options): Add "output-dir" option.
22490         (parse_opt): Handle 'o' case.
22491         (main): If output_dir is non-NULL use it as a prefix
22492         otherwise use "".
22493         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22494
22495 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22496
22497         [BZ #10060, #10062]
22498         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22499         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22500         fail configure if __sync_val_compare_and_swap is not inlined.
22501         * sysdeps/i386/configure: Regenerate.
22502         * configure.in: Build for i686 when configured for i386.
22503         * configure: Regenerate.
22504         * README: Remove i386 reference.
22505
22506 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22507
22508         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22509         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22510
22511 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22512
22513         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22514         (lmsnanval): New variables.
22515         (F): Add conversion tests.
22516         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22517         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22518
22519         * stdio-common/tstdiomisc.c (F): Properly collect individual
22520         tests' results.
22521
22522         [BZ #14686, #15336]
22523         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22524         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22525         Instead, use input NaN values or generate a qNaN by arithmetic
22526         operation.  Also fix bugs to comply with the standard.
22527         * math/libm-test.inc (remainder_test): Add more tests.
22528
22529         [BZ #15335, #15342]
22530         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22531         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22532         input NaN values or generate a qNaN by arithmetic operation.
22533
22534         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22535         unreachable code.
22536
22537         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22538         definitions.
22539
22540 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
22541
22542         [BZ #14478]
22543         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22544         underflowed result.
22545         * math/s_cexpf.c (__cexpf): Likewise.
22546         * math/s_cexpl.c (__cexpl): Likewise.
22547         * math/libm-test.inc (cexp_test): Add more tests.
22548
22549 2013-04-03  Andreas Schwab  <schwab@suse.de>
22550
22551         [BZ #15330]
22552         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22553         order arrays from heap if bigger than alloca cutoff.
22554
22555 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
22556
22557         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22558         (SNAN_TESTS_double): Refer to GCC PR56831.
22559         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22560         GCC PR56828.
22561
22562 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22563
22564         * Rules (bench): Move bench.out after the run is complete.
22565
22566         * Rules (bench): Echo currently running benchmark.
22567
22568         * benchtests/Makefile (bench): Add atan and slowatan.
22569         * benchtests/atan-inputs: New file.
22570         * benchtests/slowatan-inputs: New file.
22571         * benchtests/slowatan.c: New file.
22572
22573         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22574         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22575         its value.
22576
22577         [BZ #15305]
22578         * sysdeps/unix/sysv/linux/kernel-features.h
22579         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22580         __ASSUME_XFS_RESTRICTED_CHOWN.
22581         * sysdeps/unix/sysv/linux/pathconf.c
22582         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22583         Save and restore errno.
22584
22585 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
22586
22587         [BZ #15327]
22588         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22589         arguments using __kernel_casinh.
22590         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22591         arguments using __kernel_casinhf.
22592         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22593         arguments using __kernel_casinhl.
22594         * math/libm-test.inc (cacosh_test): Add more tests.
22595         * sysdeps/i386/fpu/libm-test-ulps: Update.
22596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22597
22598 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22599
22600         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22601         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22602
22603         * bench/Makefile (bench): Add sin and slowsin.
22604         * benchtests/sin-inputs: New file.
22605         * benchtests/slowsin-inputs: New file.
22606         * benchtests/slowsin.c: New file.
22607
22608         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22609         (bench): Add slowexp and slowpow.
22610         (exp-ITER): Increase iterations.
22611         (pow-ITER): Likewise.
22612         * benchtests/exp-inputs: Change input.
22613         * benchtests/pow-inputs: Likewise.
22614         * benchtests/slowexp-inputs: New file.
22615         * benchtests/slowexp.c: New file.
22616         * benchtests/slowpow-inputs: New file.
22617         * benchtests/slowpow.c: New file.
22618
22619 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22620
22621         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22622         instructions.
22623         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22624         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22625         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22626         * benchtests/Makefile: Add rint benchtest.
22627         * benchtests/rint-inputs: Input for rint benchtest.
22628
22629 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22630
22631         * Versions.def (libm): Add GLIBC_2.18.
22632         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22633         hidden libm prototypes.
22634         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22635         * math/Makefile (libm-calls): Add s_issignaling.
22636         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22637         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
22638         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22639         declaration.
22640         * math/math.h [__USE_GNU] (issignaling): New macro.
22641         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22642         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22643         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22644         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22645         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22646         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22647         * manual/arith.texi (issignaling): New section.
22648         * manual/libm-err-tab.pl (@all_functions): Update comment.
22649         * math/gen-libm-test.pl (parse_args): Apply special handling for
22650         issignaling.
22651         * math/libm-test.inc (print_float, issignaling_test): New
22652         functions.
22653         (check_float_internal): Add issignaling checks.
22654         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22655         default definition.
22656         * sysdeps/powerpc/math-tests.h: New file.
22657         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22658         tests.
22659         * math/test-snan.c (TEST_FUNC): Likewise.
22660
22661 2013-03-30  David S. Miller  <davem@davemloft.net>
22662
22663         * po/de.po: Update from translation team.
22664
22665 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
22666
22667         [BZ #10357]
22668         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22669         imaginary part less than 1.0 and real part less than 0.5
22670         specially.
22671         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22672         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22673         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22674         (cacos_test): Add more tests.
22675         (casin_test): Likewise.
22676         (casinh_test): Likewise.
22677         * sysdeps/i386/fpu/libm-test-ulps: Update.
22678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22679
22680 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22681
22682         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22683         ONE with its value.
22684
22685         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22686         (__pow_mp): Replace ONE and MONE with their values.
22687         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22688         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22689         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22690         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22691         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22692         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22693
22694         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22695
22696         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22697         (__pow_mp): Replace ZERO and MZERO with their values.
22698         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22699         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22700         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22701         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22702         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22703         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22704         (__sqr): Likewise.
22705
22706         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22707
22708         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22709
22710 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22711
22712         * include/stdlib.h [!SHARED] (__call_tls_dtors):
22713         Declare with __attribute__ ((weak)).
22714         * stdlib/exit.c (__libc_atexit) [!SHARED]:
22715         Call __call_tls_dtors only if it's not NULL.
22716
22717 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22718
22719         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22720         didn't do it already, then set _dl_phdr and _dl_phnum based on the
22721         magic __ehdr_start linker symbol if it's defined.
22722         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22723         them up here if it was already done.
22724
22725         * elf/dl-support.c (_dl_phdr): Make pointer to const.
22726         (_dl_aux_init): Use const in cast when setting it.
22727         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22728         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22729         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22730
22731         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22732         Declare them here.
22733         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22734         * csu/libc-tls.c: Nor here.
22735         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22736
22737         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22738         (__libc_message): Never call vsyslog.
22739
22740 2013-03-28  Alan Modra  <amodra@gmail.com>
22741
22742         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22743         Define as empty.
22744         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22745         Likewise.
22746
22747 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22748
22749         [BZ #15214]
22750         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22751         underflow.
22752         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22753
22754 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22755
22756         [BZ #15304]
22757         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22758         Don't add gid passed as argument.
22759
22760         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22761
22762 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
22763
22764         [BZ #15307]
22765         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22766         imaginary part between 1.0 and 1.5 and real part less than 0.5
22767         specially.
22768         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22769         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22770         * math/libm-test.inc (cacos_test): Add more tests.
22771         (casin_test): Likewise.
22772         (casinh_test): Likewise.
22773         * sysdeps/i386/fpu/libm-test-ulps: Update.
22774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22775
22776 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22777
22778         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22779         constants.
22780         (norm): Likewise.
22781         (denorm): Likewise.
22782         (__dbl_mp): Likewise.
22783         (add_magnitudes): Likewise.
22784         (sub_magnitudes): Likewise.
22785         (__add): Likewise.
22786         (__sub): Likewise.
22787         (__mul): Likewise.
22788         (__sqr): Likewise.
22789         (__inv): Likewise.
22790         (__dvd): Likewise.
22791
22792         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22793         commented code.
22794         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22795         (__dubcos): Likewise.
22796         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22797         (__ieee754_acos): Likewise.
22798         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22799         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22800         (__exp1): Likewise.
22801         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22802         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22803         (log1): Likewise.
22804         (my_log2): Likewise.
22805         (checkint): Likewise.
22806         * sysdeps/ieee754/dbl-64/e_remainder.c
22807         (__ieee754_remainder): Likewise.
22808         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22809         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22810         (bsloww): Likewise.
22811         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22812
22813         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22814         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22815         MANTISSA_STORE_T to store computations on mantissa.  Use
22816         macros for rounding and division.
22817         (denorm): Likewise.
22818         (__dbl_mp): Likewise.
22819         (add_magnitudes): Likewise.
22820         (sub_magnitudes): Likewise.
22821         (__mul): Likewise.
22822         (__sqr): Likewise.
22823         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22824         powers of two in terms of TWOPOW macro.
22825         (mp_no): Make type of mantissa as MANTISSA_T.
22826         [!RADIXI]: Define RADIXI.
22827         [!TWO52]: Define TWO52.
22828         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22829
22830 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22831
22832         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22833         llroundl symbol when building for PPC32.
22834
22835 2013-03-24  Mark H Weaver  <mhw@netris.org>
22836
22837         * manual/arith.texi (Normalization Functions): Fix prototypes for
22838         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22839
22840 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22841
22842         [BZ #13889]
22843         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22844         high value to check if expl overflow.
22845         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22846         to check for underflow and overflow.
22847         * math/libm-test.inc: Add exp test.
22848
22849 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
22850
22851         [BZ #11120]
22852         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22853         with NOT_IN_libc.
22854
22855 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22856
22857         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22858         symbol.
22859
22860 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22861
22862         * math/gen-libm-test.pl (parse_args, special_functions): Properly
22863         wrap blocks consisting of several statements.
22864
22865         * sysdeps/generic/math-tests.h: New file.
22866         * sysdeps/i386/fpu/math-tests.h: Likewise.
22867         * math/test-snan.c: Include it.
22868         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22869
22870 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22871
22872         [BZ #15285]
22873         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22874         (__ieee754_j0l): Do not improve calculations using cos of twice
22875         input for inputs above LDBL_MAX / 2.0L.
22876         (__ieee754_y0l): Likewise.
22877         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22878         (__ieee754_j1l): Do not improve calculations using cos of twice
22879         input for inputs above LDBL_MAX / 2.0L.
22880         (__ieee754_y1l): Likewise.
22881         * math/libm-test.inc (j0_test): Add another test.
22882         (j1_test): Likewise.
22883         (y0_test): Likewise.
22884         (y1_test): Likewise.
22885         * sysdeps/i386/fpu/libm-test-ulps: Update.
22886
22887 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22888
22889         * Rules ($(objpfx)bench-%.c): Include code from a C source
22890         file.
22891
22892 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22893
22894         [BZ #15287]
22895         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22896         imaginary part 1.0 and real part less than 0.5 specially.
22897         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22898         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22899         * math/libm-test.inc (cacos_test): Add more tests.
22900         (casin_test): Likewise.
22901         (casinh_test): Likewise.
22902         * sysdeps/i386/fpu/libm-test-ulps: Update.
22903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22904
22905 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22906
22907         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22908         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22909
22910 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
22911
22912         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22913         * config.make.in (config-cflags-sse4): Remove variable.
22914         (config-cflags-avx): Likewise.
22915         (config-cflags-sse2avx): Likewise.
22916         (config-cflags-novzeroupper): Likewise.
22917         (config-asflags-i686): Likewise.
22918         (have-mfma4): Likewise.
22919         (have-as-vis3): Likewise.
22920         (MIG): Likewise.
22921         * configure.in (MIG): Do not AC_SUBST.
22922         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22923         (libc_cv_cc_sse4): Do not AC_SUBST.
22924         (libc_cv_cc_avx): Likewise.
22925         (libc_cv_cc_sse2avx): Likewise.
22926         (libc_cv_cc_novzeroupper): Likewise.
22927         (libc_cv_cc_fma4): Likewise.
22928         (libc_cv_as_i686): Likewise.
22929         (libc_cv_sparc_as_vis3): Likewise.
22930         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22931         LIBC_CONFIG_VAR.
22932         (config-asflags-i686): Likewise.
22933         (config-cflags-avx): Likewise.
22934         (config-cflags-sse2avx): Likewise.
22935         (have-mfma4): Likewise.
22936         (config-cflags-novzeroupper): Likewise.
22937         * sysdeps/mach/configure.in (MIG): Likewise.
22938         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22939         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22940         LIBC_CONFIG_VAR.
22941         (config-cflags-avx): Likewise.
22942         (config-cflags-sse2avx): Likewise.
22943         (have-mfma4): Likewise.
22944         (config-cflags-novzeroupper): Likewise.
22945         * configure: Regenerated.
22946         * sysdeps/i386/configure: Likewise.
22947         * sysdeps/mach/configure: Likewise.
22948         * sysdeps/sparc/configure: Likewise.
22949         * sysdeps/x86_64/configure: Likewise.
22950
22951 2013-03-20  Roland McGrath  <roland@hack.frob.com>
22952
22953         [BZ #14812]
22954         * locale/programs/localedef.c (options): Put N_ translation marker
22955         on argument names, not just descriptions.
22956
22957 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22958
22959         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22960
22961 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
22962
22963         [BZ #14176]
22964         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22965
22966 2013-03-19  Roland McGrath  <roland@hack.frob.com>
22967
22968         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22969         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22970         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22971         [!BEFORE_ABORT] (before_abort): New function.
22972         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22973         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22974         (writev_for_fatal): New function.
22975         (WRITEV_FOR_FATAL): New macro; call that.
22976         (backtrace_and_maps): New function.
22977         (BEFORE_ABORT): New macro; call that.
22978         (struct str_list): Type removed.
22979         (__libc_message, __libc_fatal): Functions removed.
22980         Include <sysdeps/posix/libc_fatal.c> instead.
22981
22982 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
22983
22984         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22985         constants.
22986         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22987         double constants.
22988
22989 2013-03-19  Andreas Schwab  <schwab@suse.de>
22990
22991         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22992         * sysdeps/gnu/configure: Regenerate.
22993
22994         * configure.in: Substitute libc_cv_rtlddir.
22995         * configure: Regenerate.
22996         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22997         * Makeconfig (rtlddir, inst_rtlddir): New variables.
22998         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22999         * elf/Makefile (install-others, CFLAGS-interp.c)
23000         (ldso_install, common-ldd-rewrite): Likewise.
23001         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23002         $(inst_slibdir)/$(rtld-installed-name).
23003         * scripts/rellns-sh: Add -p option.
23004         * Makerules (make-shlib-link): Use rellns-sh to get relative name
23005         for source.
23006
23007 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23008
23009         * manual/nptl.texi: Renamed to ...
23010         * manual/threads.texi: ... this.
23011         * manual/Makefile (chapters): Update.
23012
23013 2013-03-18  Roland McGrath  <roland@hack.frob.com>
23014
23015         [BZ #14812]
23016         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23017         on argument names, not just descriptions.
23018         * malloc/memusagestat.c (options): Likewise.
23019         * nss/getent.c (options): Likewise.
23020
23021 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
23022
23023         [BZ #14812]
23024         * iconv/iconv_prog.c (options): Put N_ translation marker
23025         on argument names, not just descriptions.
23026         * iconv/iconvconfig.c (options): Likewise.
23027
23028 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
23029
23030         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23031         implementation which is faster on all x86_64 architectures.
23032         Tested on AMD, Intel Nehalem, SNB, IVB.
23033         * sysdeps/x86_64/strnlen.S: Likewise.
23034
23035         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23036         Remove all multiarch strlen and strnlen versions.
23037         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23038         Remove strlen and strnlen related parts.
23039
23040         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23041         Inline strlen part.
23042         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23043
23044         * sysdeps/x86_64/multiarch/strlen.S: Remove.
23045         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23046         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23047         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23048         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23049         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23050
23051 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
23052
23053         * manual/memory.texi (Malloc Tunable Parameters):
23054         Sort parameters alphabetically. Add comments for missing entries.
23055
23056 2013-03-17  David S. Miller  <davem@davemloft.net>
23057
23058         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23059
23060 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
23061
23062         [BZ #15283]
23063         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23064         for arguments at most half maximum finite value.
23065         * math/libm-test.inc (j0_test): Add more tests.
23066         (j1_test): Likewise.
23067         (y0_test): Likewise.
23068         (y1_test): Likewise.
23069         * sysdeps/i386/fpu/libm-test-ulps: Update.
23070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23071
23072         [BZ #14155]
23073         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23074         1 / x and functions P and Q for arguments above 0x1p256L.
23075         (__ieee754_y0l): Likewise.
23076         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23077         (__ieee754_y1l): Likewise.
23078         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23079         (j1_test): Likewise.
23080         (y0_test): Likewise.
23081         (y1_test): Likewise.
23082
23083 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
23084
23085         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23086         variable.
23087
23088 2013-03-15  Roland McGrath  <roland@hack.frob.com>
23089
23090         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23091         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23092         zero since it's initialized to EXEC_PAGESIZE.
23093
23094         * sysdeps/unix/sysv/linux/ldsodefs.h
23095         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23096         * sysdeps/generic/ldsodefs.h: ... here.
23097
23098 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
23099
23100         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23101
23102         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23103         math/test-snan.c.
23104         * math/test-snan.c: Renamed from
23105         sysdeps/powerpc/fpu/test-powerpc-snan.c.
23106         * math/Makefile (tests): Add test-snan.
23107         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23108         test-powerpc-snan.
23109
23110         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23111         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
23112         functions.
23113         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
23114         __builtin_nan family of functions.
23115         * math/libm-test.inc (initialize): Initialize qnan_value with
23116         __builtin_nan family of functions.
23117         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23118         Remove variables.
23119         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23120         Remove functions.
23121         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
23122         storage class.  Initialize qNaN_var and sNaN_var with
23123         __builtin_nan and __builtin_nans families of functions,
23124         respectively.
23125
23126         * math/libm-test.inc (acosh_test): Also test with qNaN input.
23127         (sqrt_test): Remove duplicate test with qNaN input.
23128         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23129         (round_test, signbit_test, significand_test): Note missing +/-Inf
23130         as well as qNaN tests.
23131
23132         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23133         qNaN_var.  Fix a few strings, too.
23134         * math/libm-test.inc (nan_value): Rename to qnan_value.
23135         * math/gen-libm-test.pl (%beautify): Adjust to that.
23136         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
23137         * math/test-misc.c (main): Likewise.
23138         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
23139         to __qnan_bytes, and __qnan_union, respectively.
23140         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
23141         Likewise.
23142         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
23143         and lqnanval, respectively.
23144         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
23145         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
23146         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
23147         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
23148
23149         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
23150         * math/test-misc.c (main) [__x86_64__]: Enable test for long
23151         doubles.
23152
23153         * math/test-misc.c (main): Fix copy'n'pastos.
23154         * misc/tst-efgcvt.c (special): Likewise.
23155
23156         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
23157         Remove declarations.
23158
23159 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23160
23161         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
23162         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
23163         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
23164         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
23165
23166 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23167
23168         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
23169         macro to return vdso values correctly in IFUNC implementations.
23170         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23171         Optimization by using IFUNC.
23172
23173 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23174             Richard Henderson  <rth@redhat.com>
23175             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23176
23177         * Makefile.in (bench): New target.
23178         * NEWS: Mention the benchmark framework.
23179         * Rules (bench): Likewise.
23180         (binaries-bench): Generate binaries for functions to
23181         benchmark.
23182         * benchtests/Makefile: New makefile for benchmark tests.
23183         * benchtests/bench-skeleton.c: New skeleton file for benchmark
23184         programs.
23185         * benchtests/exp-inputs: New input file for EXP function.
23186         * benchtests/pow-inputs: New input file for POW function.
23187         * scripts/bench.pl: New script to generate source files for
23188         benchmark programs.
23189
23190 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23191
23192         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23193         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
23194         computations on mantissa.  Use macros for rounding and
23195         division.
23196         (denorm): Likewise.
23197         (__dbl_mp): Likewise.
23198         (add_magnitudes): Likewise.
23199         (sub_magnitudes): Likewise.
23200         (__mul): Likewise.
23201         (__sqr): Likewise.
23202         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23203         powers of two in terms of TWOPOW macro.
23204         (mp_no): Make type of mantissa as MANTISSA_T.
23205         [!RADIXI]: Define RADIXI.
23206         [!TWO52]: Define TWO52.
23207         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23208
23209         * manual/nptl.texi (cindex): Modify threads to pthreads.
23210
23211 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
23212
23213         * sysdeps/x86_64/preconfigure: Regenerated.
23214
23215 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
23216
23217         [BZ #14155]
23218         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
23219         0x1p28 and above.
23220         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
23221         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
23222         0x1p28 and above.
23223         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
23224         * math/libm-test.inc (j0_test): Do not allow one spurious
23225         underflow exception.
23226         (y1_test): Likewise.
23227
23228 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23229
23230         * manual/Makefile (chapters): Add nptl.
23231         * manual/debug.texi (Debugging Support): Add link to Threads
23232         chapter.
23233         * manual/nptl.texi: New file.
23234
23235         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
23236
23237 2013-03-14  Petr Baudis  <pasky@ucw.cz>
23238
23239         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
23240         for non-NULL pointer before the memory validity test. Pointed
23241         out by Holger Brunck <holger.brunck@keymile.com>.
23242
23243 2013-03-13  Andreas Schwab  <schwab@suse.de>
23244
23245         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
23246         instead of .os.
23247
23248 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
23249
23250         * timezone/zic.c: Update from tzcode 2013b.
23251
23252 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
23253
23254         * manual/install.texi (Configuring and compiling):
23255         Mention i686 and i586.
23256         * INSTALL: Regenerate.
23257
23258 2013-03-12  Roland McGrath  <roland@hack.frob.com>
23259
23260         * sysdeps/init_array/elf-init.c: New file.
23261         * csu/elf-init.c
23262         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
23263         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
23264
23265         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
23266         __gmon_start__ as global, but as static with a .preinit_array pointer.
23267         * sysdeps/init_array/gmon-start.c: New file.  Use that.
23268         * sysdeps/init_array/crti.S: New file, empty except for comments.
23269         * sysdeps/init_array/crtn.S: Likewise.
23270
23271 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
23272
23273         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
23274         definining bcopy.
23275         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23276         Remove Prefer_SSE_for_memop.
23277         * sysdeps/x86_64/multiarch/init-arch.h: Remove
23278         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23279         HAS_PREFER_SSE_FOR_MEMOP.
23280         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23281         memset-x86-64.
23282         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23283         Remove bzero, memset ifunc support.
23284         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23285         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23286         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23287         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23288
23289 2013-03-11  Andreas Schwab  <schwab@suse.de>
23290
23291         [BZ #15234]
23292         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23293         by SHLIB_COMPAT.
23294         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23295         (GLIBC_2.16): Remove pthread_atfork.
23296
23297 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23298
23299         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23300         (ptestcases.h): Likewise.
23301
23302 2013-03-08  Roland McGrath  <roland@hack.frob.com>
23303
23304         * Makeconfig ($(common-objpfx)config.status): Depend on
23305         sysdeps/*/preconfigure{,.in} too.
23306
23307 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
23308
23309         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23310         (__free_hook): Use void * instead of __malloc_ptr_t.
23311         (__malloc_hook): Likewise.
23312         (__realloc_hook): Likewise.
23313         (__memalign_hook): Likewise.
23314         (__after_morecore_hook): Likewise.
23315         * malloc/arena.c (save_malloc_hook): Likewise.
23316         (save_free_hook): Likewise.
23317         * malloc/hooks.c (malloc_hook_ini): Likewise.
23318         (realloc_hook_ini): Likewise.
23319         (memalign_hook_ini): Likewise.
23320         * malloc/malloc.c (malloc_hook_ini): Likewise.
23321         (realloc_hook_ini): Likewise.
23322         (memalign_hook_ini): Likewise.
23323         (__free_hook): Likewise.
23324         (__malloc_hook): Likewise.
23325         (__realloc_hook): Likewise.
23326         (__memalign_hook): Likewise.
23327         (__libc_malloc): Likewise.
23328         (__libc_free): Likewise.
23329         (__libc_realloc): Likewise.
23330         (__libc_memalign): Likewise.
23331         (__libc_valloc): Likewise.
23332         (__libc_pvalloc): Likewise.
23333         (__libc_calloc): Likewise.
23334         (__posix_memalign): Likewise.
23335         * malloc/morecore.c (__sbrk): Likewise.
23336         (__default_morecore): Likewise.
23337
23338         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23339
23340         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23341         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23342         __malloc_ptrdiff_t.
23343
23344         * malloc/malloc.h (__malloc_size_t): Remove macro.
23345         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23346         __malloc_size_t.
23347         (old_memalign_hook): Likewise.
23348         (old_realloc_hook): Likewise.
23349         (struct hdr): Likewise.
23350         (flood): Likewise.
23351         (mallochook): Likewise.
23352         (memalignhook): Likewise.
23353         (reallochook): Likewise.
23354         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23355         (tr_old_realloc_hook): Likewise.
23356         (tr_old_memalign_hook): Likewise.
23357         (tr_mallochook): Likewise.
23358         (tr_reallochook): Likewise.
23359         (tr_memalignhook): Likewise.
23360
23361 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23362
23363         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23364         default_ldbl_pack and using as default implementation.
23365         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23366         implementation.
23367         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23368         redundant definition.
23369         (ldbl_insert_mantissa): Likewise.
23370         (ldbl_canonicalize): Likewise.
23371         (ldbl_nearbyint): Likewise.
23372         (ldbl_pack): Rename to ldbl_pack_ppc.
23373         (ldbl_unpack): Rename to ldbl_unpack_ppc.
23374         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23375         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23376
23377 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23378
23379         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23380         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23381         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23382         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23383         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23384         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23385         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23386         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23387
23388 2013-03-07  Andreas Jaeger  <aj@suse.de>
23389
23390         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23391         bits/mman-linux.h.
23392
23393 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23394
23395         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23396         Include mpa.h and declare __MPEXP.
23397         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23398         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23399         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23400         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23401         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23402         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23403         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23404
23405         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23406         (__slowpow): Use long double EXPL and LOGL functions to
23407         compute POW.
23408         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23409         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23410         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23411         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23412         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23413         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23414
23415         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23416         intermediate variable to calculate exponent.
23417         (__sqr): Likewise.
23418         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23419         Likewise.
23420         (__sqr): Likewise.
23421
23422         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23423         [!NO__SQR]: Define __sqr.
23424         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23425         and NO__SQR.  Remove all code except __mul and __sqr.  Include
23426         sysdeps/ieee754/dbl-64/mpa.c.
23427         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23428
23429         [BZ #12723]
23430         * posix/Makefile (tests): Add tst-pathconf.
23431         * posix/tst-pathconf.c: New test case.
23432         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23433         _PC_PIPE_BUF.
23434         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23435
23436 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23437
23438         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23439
23440 2013-03-06  Andreas Jaeger  <aj@suse.de>
23441
23442         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23443         definition via __MAP_ANONYMOUS.
23444
23445         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23446         it's not part of Linux headers.
23447
23448         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23449         (MAP_HUGE_MASK): Define.
23450
23451         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23452         Define.
23453         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23454         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23455         Define.
23456         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23457         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23458         Define.
23459         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23460         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23461         Define.
23462         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23463
23464         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23465         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23466         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23467         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23468         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23469         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23470
23471         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23472         Handle f2fs.
23473
23474         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23475         Handle f2fs and efivarfs.
23476
23477         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23478         f2fs.
23479
23480         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23481         (EFIVARFS_MAGIC): Add.
23482         (F2FS_LINK_MAX): Add.
23483
23484 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23485
23486         * stdio-common/vfprintf.c: Replace __builtin_expect with
23487         __glibc_unlikely.
23488
23489 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
23490
23491         [BZ #13550]
23492         * sysdeps/generic/bp-sym.h: Remove file.
23493         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23494         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23495         <bp-sym.h> and <bp-asm.h>.
23496         (__longjmp): Don't use BP_SYM.
23497         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23498         and <bp-asm.h>.
23499         (memcpy): Don't use BP_SYM.
23500         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23501         <bp-sym.h> and <bp-asm.h>.
23502         (memcpy): Don't use BP_SYM.
23503         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23504         <bp-asm.h>.
23505         (memcpy): Don't use BP_SYM.
23506         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23507         <bp-asm.h>.
23508         (memset): Don't use BP_SYM.
23509         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23510         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23511         (__bzero): Don't use BP_SYM.
23512         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23513         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23514         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23515         <bp-sym.h> and <bp-asm.h>.
23516         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23517         pointers.
23518         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23519         <bp-sym.h> and <bp-asm.h>.
23520         (memcpy): Don't use BP_SYM.
23521         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23522         <bp-sym.h> and <bp-asm.h>.
23523         (memset): Don't use BP_SYM.
23524         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23525         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23526         (__bzero): Don't use BP_SYM.
23527         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23528         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23529         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23530         <bp-sym.h> and <bp-asm.h>.
23531         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23532         pointers.
23533         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23534         <bp-sym.h> and <bp-asm.h>.
23535         (memcpy): Don't use BP_SYM.
23536         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23537         <bp-sym.h> and <bp-asm.h>.
23538         (memset): Don't use BP_SYM.
23539         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23540         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23541         (__bzero): Don't use BP_SYM.
23542         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23543         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23544         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23545         <bp-sym.h> and <bp-asm.h>.
23546         (__memchr): Don't use BP_SYM.
23547         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23548         <bp-sym.h> and <bp-asm.h>.
23549         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23550         pointers.
23551         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23552         <bp-sym.h> and <bp-asm.h>.
23553         (memcpy): Don't use BP_SYM.
23554         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23555         <bp-sym.h> and <bp-asm.h>.
23556         (__mempcpy): Don't use BP_SYM.
23557         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23558         <bp-sym.h> and <bp-asm.h>.
23559         (__memrchr): Don't use BP_SYM.
23560         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23561         <bp-sym.h> and <bp-asm.h>.
23562         (memset): Don't use BP_SYM.
23563         (__bzero): Likewise.
23564         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23565         <bp-sym.h> and <bp-asm.h>.
23566         (__rawmemchr): Don't use BP_SYM.
23567         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23568         <bp-sym.h> and <bp-asm.h>.
23569         (__STRCMP): Don't use BP_SYM.
23570         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23571         <bp-sym.h> and <bp-asm.h>.
23572         (strchr): Don't use BP_SYM.
23573         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23574         <bp-sym.h> and <bp-asm.h>.
23575         (__strchrnul): Don't use BP_SYM.
23576         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23577         <bp-sym.h> and <bp-asm.h>.
23578         (strlen): Don't use BP_SYM.
23579         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23580         <bp-sym.h> and <bp-asm.h>.
23581         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23582         pointers.
23583         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23584         <bp-sym.h> and <bp-asm.h>.
23585         (__strnlen): Don't use BP_SYM.
23586         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23587         <bp-sym.h> and <bp-asm.h>.
23588         (__GI__setjmp): Don't use BP_SYM.
23589         (_setjmp): Likewise.
23590         (__sigsetjmp): Likewise.
23591         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23592         (L(start_addresses)): Don't use BP_SYM.
23593         (_start): Likewise.
23594         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23595         <bp-asm.h>.
23596         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23597         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23598         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23599         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23600         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23601         <bp-asm.h>.
23602         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23603         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
23604         about bounded pointers.
23605         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23606         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23607         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23608         <bp-asm.h>.
23609         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23610         about bounded pointers.  Remove GKM FIXME comments.
23611         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23612         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23613         <bp-asm.h>.
23614         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23615         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
23616         Remove GKM FIXME comments.
23617         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23618         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23619         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23620         <bp-asm.h>.
23621         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23622         about bounded pointers.  Remove GKM FIXME comment.
23623         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23624         and <bp-asm.h>.
23625         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23626         pointers.
23627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23628         <bp-sym.h> and <bp-asm.h>.
23629         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23631         <bp-sym.h> and <bp-asm.h>.
23632         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23633         comment.
23634
23635 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23636
23637         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23638         call free(NULL).
23639
23640 2013-03-05  David S. Miller  <davem@davemloft.net>
23641
23642         * po/es.po: Update from translation team.
23643
23644 2013-03-05  Andreas Jaeger  <aj@suse.de>
23645
23646         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23647         <bits/mman-linux.h>.
23648         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23649         is fine.
23650         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23651         <bits/mman-linux.h> to end of file.
23652         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23653         is fine.
23654         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23655         <bits/mman-linux.h> to end of file.
23656         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23657         is fine.
23658         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23659         <bits/mman-linux.h> to end of file.
23660
23661         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23662         (MCL_CURRENT, MCL_FUTURE): Define here.
23663
23664 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23665
23666         [BZ #15232]
23667         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23668         attribute_hidden.
23669         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23670
23671 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23672
23673         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23674         fourth parameter needed for rt_sigprocmask syscall.
23675         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23676         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23677         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23678         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23679         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23680         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23681
23682 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
23683
23684         [BZ #13550]
23685         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23686         comment about bounded pointers.
23687         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23688         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23689
23690 2013-03-04  Andreas Jaeger  <aj@suse.de>
23691
23692         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23693         common definitions.
23694
23695         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23696         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23697         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23698         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23699         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23700         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23701
23702 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23703
23704         [BZ #15055]
23705         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23706         __ieee754_sqrl instead of __sqrl.
23707
23708 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
23709
23710         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23711         * sysdeps/powerpc/fpu_control.h: ... here.
23712         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23713         * sysdeps/powerpc/bits/fenvinline.h: ... here.
23714         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23715         * sysdeps/powerpc/bits/mathinline.h: ... here.
23716
23717 2013-03-01  Roland McGrath  <roland@hack.frob.com>
23718
23719         * elf/dl-hwcaps.c (_dl_important_hwcaps):
23720         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23721         to just [NEED_DL_SYSINFO_DSO].
23722         * elf/dl-support.c: Likewise.
23723         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23724         * elf/rtld.c (dl_main): Likewise.
23725         * elf/setup-vdso.h (setup_vdso): Likewise.
23726         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23727         * sysdeps/unix/sysv/linux/dl-sysdep.c
23728         (_dl_discover_osversion): Likewise.
23729
23730 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
23731
23732         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23733         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23734
23735 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23736
23737         * NEWS: Mention libm performance improvements and non-x86 PI
23738         futex support.
23739
23740         * csu/libc-start.c (__pthread_initialize_minimal): Change
23741         function arguments.
23742         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23743
23744 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
23745
23746         [BZ #13550]
23747         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23748         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23749         <bp-sym.h> and <bp-asm.h>.
23750         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23751         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23752         and <bp-asm.h>.
23753         (memcpy): Don't use BP_SYM.
23754         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23755         <bp-asm.h>.
23756         (__mpn_add_n): Don't use BP_SYM.
23757         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23758         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23759         and <bp-asm.h>.
23760         (__mpn_addmul_1): Don't use BP_SYM.
23761         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23762         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23763         <bp-sym.h>.
23764         (_setjmp): Don't use BP_SYM.
23765         (__novmx_setjmp): Likewise.
23766         (__GI__setjmp): Likewise.
23767         (__vmx_setjmp): Likewise.
23768         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23769         <bp-sym.h>.
23770         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23771         (__bzero): Don't use BP_SYM.
23772         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23773         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23774         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23775         <bp-sym.h> and <bp-asm.h>.
23776         (memcpy): Don't use BP_SYM.
23777         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23778         <bp-sym.h> and <bp-asm.h>.
23779         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23780         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23781         <bp-sym.h> and <bp-asm.h>.
23782         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23783         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23784         <bp-asm.h>.
23785         (__mpn_lshift): Don't use BP_SYM.
23786         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23787         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23788         <bp-asm.h>.
23789         (memset): Don't use BP_SYM.
23790         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23791         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23792         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23793         <bp-asm.h>.
23794         (__mpn_mul_1): Don't use BP_SYM.
23795         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23796         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23797         <bp-sym.h> and <bp-asm.h>.
23798         (memcmp): Don't use BP_SYM.
23799         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23800         <bp-sym.h> and <bp-asm.h>.
23801         (memcpy): Don't use BP_SYM.
23802         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23803         <bp-sym.h> and <bp-asm.h>.
23804         (memset): Don't use BP_SYM.
23805         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23806         <bp-sym.h> and <bp-asm.h>.
23807         (strncmp): Don't use BP_SYM.
23808         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23809         <bp-sym.h> and <bp-asm.h>.
23810         (memcpy): Don't use BP_SYM.
23811         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23812         <bp-sym.h> and <bp-asm.h>.
23813         (memset): Don't use BP_SYM.
23814         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23815         <bp-sym.h> and <bp-asm.h>.
23816         (__memchr): Don't use BP_SYM.
23817         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23818         <bp-sym.h> and <bp-asm.h>.
23819         (memcmp): Don't use BP_SYM.
23820         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23821         <bp-sym.h> and <bp-asm.h>.
23822         (memcpy): Don't use BP_SYM.
23823         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23824         <bp-sym.h> and <bp-asm.h>.
23825         (__mempcpy): Don't use BP_SYM.
23826         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23827         <bp-sym.h> and <bp-asm.h>.
23828         (__memrchr): Don't use BP_SYM.
23829         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23830         <bp-sym.h> and <bp-asm.h>.
23831         (memset): Don't use BP_SYM.
23832         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23833         <bp-sym.h> and <bp-asm.h>.
23834         (__rawmemchr): Don't use BP_SYM.
23835         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23836         <bp-sym.h> and <bp-asm.h>.
23837         (__STRCMP): Don't use BP_SYM.
23838         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23839         <bp-sym.h> and <bp-asm.h>.
23840         (strchr): Don't use BP_SYM.
23841         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23842         <bp-sym.h> and <bp-asm.h>.
23843         (__strchrnul): Don't use BP_SYM.
23844         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23845         <bp-sym.h> and <bp-asm.h>.
23846         (strlen): Don't use BP_SYM.
23847         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23848         <bp-sym.h> and <bp-asm.h>.
23849         (strncmp): Don't use BP_SYM.
23850         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23851         <bp-sym.h> and <bp-asm.h>.
23852         (__strnlen): Don't use BP_SYM.
23853         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23854         <bp-asm.h>.
23855         (__mpn_rshift): Don't use BP_SYM.
23856         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23857         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23858         <bp-sym.h> and <bp-asm.h>.
23859         (__sigsetjmp): Don't use BP_SYM.
23860         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23861         (L(start_addresses)): Don't use BP_SYM.
23862         (_start): Likewise.
23863         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23864         <bp-asm.h>.
23865         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23866         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23867         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23868         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23869         <bp-asm.h>.
23870         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23871         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23872         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23873         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23874         <bp-asm.h>.
23875         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23876         comments.
23877         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23878         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23879         <bp-asm.h>.
23880         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
23881         FIXME comments.
23882         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23883         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23884         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23885         <bp-asm.h>.
23886         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23887         comment.
23888         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23889         and <bp-asm.h>.
23890         (strncmp): Don't use BP_SYM,
23891         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23892         <bp-asm.h>.
23893         (__mpn_sub_n): Don't use BP_SYM.
23894         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23895         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23896         and <bp-asm.h>.
23897         (__mpn_submul_1): Don't use BP_SYM.
23898         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23900         <bp-sym.h> and <bp-asm.h>.
23901         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23903         <bp-sym.h> and <bp-asm.h>.
23904         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23905         comment.
23906
23907 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23908
23909         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23910         Use ZK to minimize writes to Z.
23911         (sub_magnitudes): Simplify code a bit.
23912         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23913         Use ZK to minimize writes to Z.
23914         (sub_magnitudes): Simplify code a bit.
23915
23916 2013-02-27  Roland McGrath  <roland@hack.frob.com>
23917
23918         * csu/gmon-start.c: Add special exception to license text.
23919
23920 2013-02-27  Richard Henderson  <rth@redhat.com>
23921
23922         * scripts/config.guess: Update from config.git.
23923         * scripts/config.sub: Likewise.
23924
23925 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23926
23927         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23928
23929         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23930
23931         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23932
23933         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23934
23935         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23936
23937 2013-02-26  Roland McGrath  <roland@hack.frob.com>
23938
23939         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23940         [$(build-shared = yes].
23941
23942 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23943
23944         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23945         (__mul): Reduce iterations for calculating mantissa.
23946
23947         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23948         MPTWO.
23949         (__mpranred): Likewise.
23950
23951         [BZ #15160]
23952         * malloc/memusagestat.c (main): Draw graphs for heap and stack
23953         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23954
23955 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
23956
23957         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23958         Define __attribute__.
23959
23960 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23961
23962         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23963         unused.
23964         * posix/regex_internal.h (__attribute): Remove.
23965         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23966         (re_string_context_at): Likewise.
23967         (bitset_not): Use __attribute__ and mark function as possibly
23968         unused.
23969         (bitset_merge): Likewise.
23970         (bitset_mask): Likewise.
23971         (re_string_char_size_at): Likewise.
23972         (re_string_wchar_at): Likewise.
23973         (re_string_elem_size_at): Likewise.
23974
23975 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23976
23977         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23978         code.
23979         (cc32): Likewise.
23980
23981         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23982         (__acr): Likewise.
23983         (__cpy): Likewise.
23984         (norm): Likewise.
23985         (denorm): Likewise.
23986         (__dbl_mp): Likewise.
23987         (add_magnitudes): Likewise.
23988         (sub_magnitudes): Likewise.
23989         (__mul): Likewise.
23990         (__inv): Likewise.
23991
23992         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23993         style.
23994
23995         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23996         style.
23997
23998         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23999         code.
24000
24001         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24002         up changes with default code.
24003         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24004         Likewise.
24005
24006 2013-02-24  Allan McRae  <allan@archlinux.org>
24007
24008         * manual/socket.texi (The Internet Namespace): Order menu items
24009         to match that in the file.
24010
24011         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24012         node listing of the info page menu.
24013
24014 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
24015
24016         [BZ #13550]
24017         * sysdeps/i386/bp-asm.h: Remove file.
24018         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24019         (PARMS): Do not use macros from bp-asm.h.
24020         (S1): Likewise.
24021         (S2): Likewise.
24022         (SIZE): Likewise.
24023         (__mpn_add_n): Do not use BP_SYM
24024         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24025         "bp-asm.h".
24026         (PARMS): Do not use macros from bp-asm.h.
24027         (S1): Likewise.
24028         (SIZE): Likewise.
24029         (__mpn_addmul_1): Do not use BP_SYM
24030         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24031         "bp-asm.h".
24032         (PARMS): Do not use macros from bp-asm.h.
24033         (SIGMSK): Likewise.
24034         (_setjmp): Likewise.  Do not use BP_SYM.
24035         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24036         "bp-asm.h".
24037         (PARMS): Do not use macros from bp-asm.h.
24038         (SIGMSK): Likewise.
24039         (setjmp): Likewise.  Do not use BP_SYM.
24040         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24041         "bp-asm.h".
24042         (PARMS): Do not use macros from bp-asm.h.
24043         (__frexp): Do not use BP_SYM.
24044         (frexp): Likewise.
24045         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24046         "bp-asm.h".
24047         (PARMS): Do not use macros from bp-asm.h.
24048         (__frexpf): Do not use BP_SYM.
24049         (frexpf): Likewise.
24050         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24051         "bp-asm.h".
24052         (PARMS): Do not use macros from bp-asm.h.
24053         (__frexpl): Do not use BP_SYM.
24054         (frexpl): Likewise.
24055         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24056         "bp-asm.h".
24057         (PARMS): Do not use macros from bp-asm.h.
24058         (__remquo): Do not use BP_SYM.
24059         (remquo): Likewise.
24060         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24061         "bp-asm.h".
24062         (PARMS): Do not use macros from bp-asm.h.
24063         (__remquof): Do not use BP_SYM.
24064         (remquof): Likewise.
24065         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24066         "bp-asm.h".
24067         (PARMS): Do not use macros from bp-asm.h.
24068         (__remquol): Do not use BP_SYM.
24069         (remquol): Likewise.
24070         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24071         "bp-asm.h".
24072         (PARMS): Do not use macros from bp-asm.h.
24073         (DEST): Likewise.
24074         (SRC): Likewise.
24075         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
24076         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24077         "bp-asm.h".
24078         (PARMS): Do not use macros from bp-asm.h.
24079         (strlen): Do not use BP_SYM.
24080         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24081         "bp-asm.h".
24082         (PARMS): Do not use macros from bp-asm.h.
24083         (S1): Likewise.
24084         (S2): Likewise.
24085         (SIZE): Likewise.
24086         (__mpn_add_n): Do not use BP_SYM.
24087         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24088         "bp-asm.h".
24089         (PARMS): Do not use macros from bp-asm.h.
24090         (S1): Likewise.
24091         (SIZE): Likewise.
24092         (__mpn_addmul_1): Do not use BP_SYM.
24093         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24094         weak_alias.
24095         (bzero): Likewise.
24096         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24097         "bp-asm.h".
24098         (PARMS): Do not use macros from bp-asm.h.
24099         (S): Likewise.
24100         (SIZE): Likewise.
24101         (__mpn_lshift): Do not use BP_SYM.
24102         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24103         "bp-asm.h".
24104         (PARMS): Do not use macros from bp-asm.h.
24105         (DEST): Likewise.
24106         (SRC): Likewise.
24107         (LEN): Likewise.
24108         (memcpy): Likewise.  Do not use BP_SYM.
24109         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24110         libc_hidden_def and weak_alias.
24111         (mempcpy): Do not use BP_SYM in weak_alias.
24112         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24113         "bp-asm.h".
24114         (PARMS): Do not use macros from bp-asm.h.
24115         (DEST): Likewise.
24116         (LEN): Likewise.
24117         [!BZERO_P] (CHR): Likewise.
24118         (memset): Likewise.  Do not use BP_SYM.
24119         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24120         "bp-asm.h".
24121         (PARMS): Do not use macros from bp-asm.h.
24122         (S1): Likewise.
24123         (SIZE): Likewise.
24124         (__mpn_mul_1): Do not use BP_SYM.
24125         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24126         "bp-asm.h".
24127         (PARMS): Do not use macros from bp-asm.h.
24128         (S): Likewise.
24129         (SIZE): Likewise.
24130         (__mpn_rshift): Do not use BP_SYM.
24131         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24132         "bp-asm.h".
24133         (PARMS): Do not use macros from bp-asm.h.
24134         (STR): Likewise.
24135         (CHR): Likewise.
24136         (strchr): Likewise.  Do not use BP_SYM.
24137         (index): Do not use BP_SYM in weak_alias.
24138         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
24139         "bp-asm.h".
24140         (PARMS): Do not use macros from bp-asm.h.
24141         (DEST): Likewise.
24142         (SRC): Likewise.
24143         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
24144         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
24145         "bp-asm.h".
24146         (PARMS): Do not use macros from bp-asm.h.
24147         (strlen): Do not use BP_SYM.
24148         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
24149         "bp-asm.h".
24150         (PARMS): Do not use macros from bp-asm.h.
24151         (S1): Likewise.
24152         (S2): Likewise.
24153         (SIZE): Likewise.
24154         (__mpn_sub_n): Do not use BP_SYM.
24155         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
24156         "bp-asm.h".
24157         (PARMS): Do not use macros from bp-asm.h.
24158         (S1): Likewise.
24159         (SIZE): Likewise.
24160         (__mpn_submul_1): Do not use BP_SYM.
24161         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
24162         "bp-asm.h".
24163         (PARMS): Do not use macros from bp-asm.h.
24164         (S1): Likewise.
24165         (S2): Likewise.
24166         (SIZE): Likewise.
24167         (__mpn_add_n): Do not use BP_SYM.
24168         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
24169         weak_alias.
24170         (bzero): Likewise.
24171         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
24172         "bp-asm.h".
24173         (PARMS): Do not use macros from bp-asm.h.
24174         (BLK2): Likewise.
24175         (LEN): Likewise.
24176         (memcmp): Do not use BP_SYM.
24177         (bcmp): Do not use BP_SYM in weak_alias.
24178         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
24179         "bp-asm.h".
24180         (PARMS): Do not use macros from bp-asm.h.
24181         (DEST): Likewise.
24182         (SRC): Likewise.
24183         (LEN): Likewise.
24184         (memcpy): Likewise.  Do not use BP_SYM.
24185         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
24186         "bp-asm.h".
24187         (PARMS): Do not use macros from bp-asm.h.
24188         (DEST): Likewise.
24189         (SRC): Likewise.
24190         (LEN): Likewise.
24191         (memmove): Likewise.  Do not use BP_SYM.
24192         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
24193         "bp-asm.h".
24194         (PARMS): Do not use macros from bp-asm.h.
24195         (DEST): Likewise.
24196         (SRC): Likewise.
24197         (LEN): Likewise.
24198         (__mempcpy): Likewise.  Do not use BP_SYM.
24199         (mempcpy): Do not use BP_SYM in weak_alias.
24200         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
24201         "bp-asm.h".
24202         (PARMS): Do not use macros from bp-asm.h.
24203         (DEST): Likewise.
24204         (LEN): Likewise.
24205         [!BZERO_P] (CHR): Likewise.
24206         (memset): Likewise.  Do not use BP_SYM.
24207         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
24208         "bp-asm.h".
24209         (PARMS): Do not use macros from bp-asm.h.
24210         (STR2): Likewise.
24211         (strcmp): Do not use BP_SYM.
24212         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
24213         "bp-asm.h".
24214         (PARMS): Do not use macros from bp-asm.h.
24215         (STR): Likewise.
24216         (DELIM): Likewise.
24217         [USE_AS_STRTOK_R] (SAVE): Likewise.
24218         (FUNCTION): Likewise.  Do not use BP_SYM.
24219         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
24220         aliases.
24221         (strtok_r): Likewise.
24222         (__GI___strtok_r): Likewise.
24223         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24224         (PARMS): Do not use macros from bp-asm.h.
24225         (S): Likewise.
24226         (SIZE): Likewise.
24227         (__mpn_lshift): Do not use BP_SYM.
24228         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24229         (PARMS): Do not use macros from bp-asm.h.
24230         (STR): Likewise.
24231         (CHR): Likewise.
24232         (__memchr): Do not use BP_SYM.
24233         (memchr): Do not use BP_SYM in weak_alias.
24234         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24235         (PARMS): Do not use macros from bp-asm.h.
24236         (BLK2): Likewise.
24237         (LEN): Likewise.
24238         (memcmp): Do not use BP_SYM.
24239         (bcmp): Do not use BP_SYM in weak_alias.
24240         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
24241         (PARMS): Do not use macros from bp-asm.h.
24242         (S1): Likewise.
24243         (SIZE): Likewise.
24244         (__mpn_mul_1): Do not use BP_SYM.
24245         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
24246         "bp-asm.h".
24247         (PARMS): Do not use macros from bp-asm.h.
24248         (STR): Likewise.
24249         (CHR): Likewise.
24250         (__rawmemchr): Do not use BP_SYM.
24251         (rawmemchr): Do not use BP_SYM in weak_alias.
24252         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
24253         (PARMS): Do not use macros from bp-asm.h.
24254         (S): Likewise.
24255         (SIZE): Likewise.
24256         (__mpn_rshift): Do not use BP_SYM.
24257         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
24258         (PARMS): Do not use macros from bp-asm.h.
24259         (SIGMSK): Likewise.
24260         (__sigsetjmp): Likewise.  Do not use BP_SYM.
24261         * sysdeps/i386/start.S: Do not include "bp-sym.h".
24262         (_start): Do not use BP_SYM.
24263         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
24264         (PARMS): Do not use macros from bp-asm.h.
24265         (DEST): Likewise.
24266         (SRC): Likewise.
24267         (__stpcpy): Likewise.  Do not use BP_SYM.
24268         (stpcpy): Do not use BP_SYM in weak_alias.
24269         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
24270         "bp-asm.h".
24271         (PARMS): Do not use macros from bp-asm.h.
24272         (DEST): Likewise.
24273         (SRC): Likewise.
24274         (LEN): Likewise.
24275         (__stpncpy): Likewise.  Do not use BP_SYM.
24276         (stpncpy): Do not use BP_SYM in weak_alias.
24277         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
24278         (PARMS): Do not use macros from bp-asm.h.
24279         (STR): Likewise.
24280         (CHR): Likewise.
24281         (strchr): Likewise.  Do not use BP_SYM.
24282         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24283         "bp-asm.h".
24284         (PARMS): Do not use macros from bp-asm.h.
24285         (STR): Likewise.
24286         (CHR): Likewise.
24287         (__strchrnul): Likewise.  Do not use BP_SYM.
24288         (strchrnul): Do not use BP_SYM in weak_alias.
24289         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24290         "bp-asm.h".
24291         (PARMS): Do not use macros from bp-asm.h.
24292         (STOP): Likewise.
24293         (strcspn): Do not use BP_SYM.
24294         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24295         "bp-asm.h".
24296         (PARMS): Do not use macros from bp-asm.h.
24297         (STR): Likewise.
24298         (STOP): Likewise.
24299         (strpbrk): Likewise.  Do not use BP_SYM.
24300         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24301         "bp-asm.h".
24302         (PARMS): Do not use macros from bp-asm.h.
24303         (STR): Likewise.
24304         (CHR): Likewise.
24305         (strrchr): Likewise.  Do not use BP_SYM.
24306         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24307         (PARMS): Do not use macros from bp-asm.h.
24308         (SKIP): Likewise.
24309         (strspn): Do not use BP_SYM.
24310         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24311         (PARMS): Do not use macros from bp-asm.h.
24312         (STR): Likewise.
24313         (DELIM): Likewise.
24314         (SAVE): Likewise.
24315         (FUNCTION): Likewise.  Do not use BP_SYM.
24316         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24317         aliases.
24318         (strtok_r): Likewise.
24319         (__GI___strtok_r): Likewise.
24320         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24321         (PARMS): Do not use macros from bp-asm.h.
24322         (S1): Likewise.
24323         (S2): Likewise.
24324         (SIZE): Likewise.
24325         (__mpn_sub_n): Do not use BP_SYM.
24326         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24327         "bp-asm.h".
24328         (PARMS): Do not use macros from bp-asm.h.
24329         (S1): Likewise.
24330         (SIZE): Likewise.
24331         (__mpn_submul_1): Do not use BP_SYM.
24332         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24333         <bp-sym.h>.
24334         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24335         and <bp-asm.h>.
24336         (PARMS): Do not use macros from bp-asm.h.
24337         (FLAGS): Likewise.
24338         (PTID): Likewise.
24339         (TLS): Likewise.
24340         (CTID): Likewise.
24341         (__clone): Do not use BP_SYM.
24342         (clone): Do not use BP_SYM in weak_alias.
24343         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24344         and <bp-asm.h>.
24345         (PARMS): Do not use macros from bp-asm.h.
24346         (LEN): Likewise.
24347         (__mmap64): Do not use BP_SYM.
24348         (mmap64): Do not use BP_SYM in weak_alias.
24349         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24350         <bp-sym.h> and <bp-asm.h>.
24351         (PARMS): Do not use macros from bp-asm.h.
24352         (__posix_fadvise64_l64): Do not use BP_SYM.
24353         * sysdeps/unix/sysv/linux/i386/semtimedop.S
24354         (PARMS): Do not use macros from bp-asm.h.
24355         (NSOPS): Likewise.
24356         (semtimedop): Do not use BP_SYM.
24357         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24358         and <bp-asm.h>.
24359
24360 2013-02-21  Allan McRae  <allan@archlinux.org>
24361
24362         * manual/message.texi (Charset conversion in gettext):
24363         Move @end statement to beginning of line.
24364
24365 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24366
24367         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24368         static.
24369         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24370         Likewise.
24371
24372         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24373         (denorm): Likewise.
24374         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24375         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24376
24377 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24378
24379         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24380         tail-call to the resolved function if pltexit isn't needed.
24381
24382 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24383
24384         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24385         or Y being zero as being unlikely.
24386         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24387         Likewise.
24388
24389 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
24390
24391         * manual/nss.texi (System Databases and Name Service Switch):
24392         Remove frobnicate @pxref.
24393
24394 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24395
24396         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24397         __attribute__ ((unused)) to __attribute__ ((__unused__)).
24398
24399 2013-02-20  Petr Machata  <pmachata@redhat.com>
24400
24401         * elf/elf.h (R_ARM_TARGET1): New macro.
24402         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24403         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24404         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24405         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24406         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24407         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24408         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24409         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24410         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24411         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24412         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24413         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24414         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24415         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24416         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24417         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24418         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24419         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24420         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24421         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24422         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24423         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24424         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24425         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24426         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24427         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24428         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24429         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24430         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24431         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24432         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24433         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24434         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24435         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24436         (R_ARM_THM_GOT_BREL12): Likewise.
24437         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24438         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24439         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24440         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24441         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24442         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24443         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24444         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24445         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24446
24447 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24448
24449         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24450         __attribute_used__ to __attribute__ ((unused)).
24451
24452 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24453
24454         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24455         powerpc mpa.c.
24456         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24457         comment formatting.
24458         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24459
24460 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
24461
24462         [BZ #13550]
24463         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24464         Remove macro.
24465         (ENTER): Remove both macro definitions.
24466         (LEAVE): Likewise.
24467         (CHECK_BOUNDS_LOW): Likewise.
24468         (CHECK_BOUNDS_HIGH): Likewise.
24469         (CHECK_BOUNDS_BOTH): Likewise.
24470         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24471         (RETURN_BOUNDED_POINTER): Likewise.
24472         (RETURN_NULL_BOUNDED_POINTER): Likewise.
24473         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24474         (POP_ERRNO_LOCATION_RETURN): Likewise.
24475         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24476         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24477         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24478         macros.
24479         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24480         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24481         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24482         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24483         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24484         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24485         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24486         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24487         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24488         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24489         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24490         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24491         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24492         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24493         removed macros.
24494         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24495         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24496         macros.
24497         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24498         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24499         * sysdeps/i386/i586/memset.S (memset): Likewise.
24500         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24501         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24502         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24503         macros.
24504         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24505         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24506         Change uses of L(2) to L(out).
24507         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24508         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24509         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24510         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24511         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24512         removed macros.
24513         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24514         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24515         macros.
24516         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24517         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24518         (RETURN): Do not use macro LEAVE.
24519         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24520         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24521         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24522         * sysdeps/i386/i686/memset.S (memset): Likewise.
24523         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24524         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24525         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24526         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24527         Likewise.
24528         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24529         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
24530         L(1_2) and L(1_3) into L(1).
24531         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24532         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24533         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24534         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24535         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24536         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24537         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24538         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24539         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24540         macros.
24541         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24542         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24543         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24544         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24545         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24546         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24547         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24548         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24549         * sysdeps/i386/strcspn.S (strcspn): Likewise.
24550         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24551         * sysdeps/i386/strrchr.S (strrchr): Likewise.
24552         * sysdeps/i386/strspn.S (strspn): Likewise.
24553         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24554         conditional code.
24555         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24556         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24557         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24558         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
24559         L(1_3) into L(1_1).
24560         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24561         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24562         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24563         macros.
24564         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24565
24566 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
24567
24568         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24569         macro.
24570
24571 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24572
24573         * math/atest-exp.c (exp_mpn): Remove ROUND.
24574         * math/atest-exp2.c (exp_mpn): Likewise.
24575         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24576
24577         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24578         * stdlib/tst-tls-atexit-lib.c: Likewise.
24579         * stdlib/tst-tls-atexit.c: Likewise.
24580
24581 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24582
24583         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24584         and __attribute_alloc_size__.
24585
24586 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24587
24588         * include/programs/xmalloc.h: Change __attribute_alloc_size to
24589         __attribute_alloc_size__.
24590         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24591         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24592
24593 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24594
24595         * include/programs/xmalloc.h: New file.
24596         * catgets/gencat.c: Include it.
24597         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24598         * elf/pldd.c: Likewise.
24599         * iconv/iconv_charmap.c: Likewise.
24600         * iconv/iconvconfig.c: Likewise.
24601         * iconv/strtab.c: Likewise.
24602         * locale/programs/locale.c: Likewise.
24603         * locale/programs/localedef.h: Likewise.
24604         * locale/programs/simple-hash.c: Likewise.
24605         * nscd/nscd.h: Likewise.
24606         * nss/makedb.c: Likewise.
24607         * sysdeps/generic/ldconfig.h: Likewise.
24608
24609 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24610
24611         * Versions.def: Add GLIBC_2.18.
24612         * include/link.h (struct link_map): New member l_tls_dtor_count.
24613         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24614         (__call_tls_dtors): Likewise.
24615         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24616         __cxa_thread_atexit_impl.
24617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24618         Likewise.
24619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24620         Likewise.
24621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24622         Likewise.
24623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24624         Likewise.
24625         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24626         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24627         Likewise.
24628         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24629         Likewise.
24630         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24631         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24632         Likewise.
24633         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24634         (tests): Add test case tst-tls-atexit.
24635         (modules-names): Add shared library for tst-tls-atexit.
24636         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24637         (GLIBC_PRIVATE): Add __call_tls_dtors.
24638         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24639         for libstdc++.
24640         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24641         * stdlib/tst-tls-atexit.c: New test case.
24642         * stdlib/tst-tls-atexit-lib.c: New test case.
24643
24644         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24645
24646         * elf/Versions (ld): Add _dl_find_dso_for_object.
24647         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24648         * elf/dl-open.c (_dl_find_dso_for_object): New function.
24649         (dl_open_worker): Use _dl_find_dso_for_object.
24650         * elf/dl-sym.c (do_sym): Likewise.
24651         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24652
24653 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24654
24655         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24656         Syntactic changes only.
24657         (_dl_runtime_profile): Do a tail-call to the resolved function.
24658
24659 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
24660
24661         [BZ #13550]
24662         * sysdeps/x86_64/bp-asm.h: Remove file.
24663         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24664         <bp-sym.h> and <bp-asm.h>.
24665         (__clone): Do not use BP_SYM.
24666         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24667         <bp-sym.h> and <bp-asm.h>.
24668         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24669         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24670         "bp-asm.h".
24671         (_setjmp): Do not use BP_SYM.
24672         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24673         "bp-asm.h".
24674         (setjmp): Do not use BP_SYM.
24675         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24676         libc_hidden_def.
24677         (mempcpy): Do not use BP_SYM in weak_alias.
24678         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24679         "bp-asm.h".
24680         (strchr): Do not use BP_SYM.
24681         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24682         "bp-asm.h".
24683         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24684         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24685         (_start): Do not use BP_SYM.
24686         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24687         "bp-asm.h".
24688         (strcat): Do not use BP_SYM.
24689         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24690         "bp-asm.h".
24691         (STRCMP): Do not use BP_SYM.
24692         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24693         "bp-asm.h".
24694         (STRCPY): Do not use BP_SYM.
24695         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24696         "bp-asm.h".
24697         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24698         "bp-asm.h".
24699         (FUNCTION): Do not use BP_SYM.
24700         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24701         weak_alias.
24702         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24703
24704 2013-02-17  Andreas Jaeger  <aj@suse.de>
24705
24706         * time/Versions: Sort entries.
24707         * string/Versions: Likewise.
24708         * resolv/Versions: Likewise.
24709         * posix/Versions: Likewise.
24710         * iconv/Versions: Likewise.
24711         * elf/Versions: Likewise.
24712         * wcsmbs/Versions: Likewise.
24713
24714 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24715
24716         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24717         loop termination condition.
24718
24719         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24720         variable to calculate EZ.
24721         (__sqr): Likewise.
24722
24723         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24724         the lower precision input.
24725
24726 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
24727
24728         [BZ #13550]
24729         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24730         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24731         (run-via-rtld-prefix): Do not handle %-bp tests.
24732         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24733         (all-object-suffixes): Remove .ob.
24734         (bppfx): Remove variable.
24735         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24736         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24737         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24738         [$(build-bounded) = yes] (libtype.ob): Likewise.
24739         * Makerules (elide-routines.ob): Remove variable.
24740         (do-tests-clean): Do not handle *-bp.out.
24741         (common-mostlyclean): Do not handle *-bp and *-bp.out.
24742         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24743         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24744         (tests): Do not include $(tests-bp.out).
24745         (xtests): Do not include $(xtests-bp.out).
24746         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24747         [$(build-bounded) = yes] ($(addprefix
24748         $(objpfx),$(binaries-bounded))): Remove rule.
24749         ($(objpfx)%-bp.out): Remove rule.
24750         * config.make.in (build-bounded): Remove variable.
24751         * crypt/Makefile [$(build-bounded) = yes]
24752         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24753         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24754         append to variable.
24755         [$(build-bounded) = yes] (install-lib): Likewise.
24756         [$(build-bounded) = yes] (generated): Likewise.
24757         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24758         Remove rule.
24759         * intl/Makefile [$(build-bounded) = yes]
24760         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24761         * math/Makefile [$(build-bounded) = yes]
24762         ($(tests:%=$(objpfx)%-bp): Likewise.
24763         * misc/Makefile [$(build-bounded) = yes]
24764         ($(objpfx)tst-tsearch-bp): Likewise.
24765         * nptl/Makeconfig (bounded-thread-library): Remove variable.
24766         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24767         Remove dependency.
24768         * string/Makefile (o-objects.ob): Remove variable.
24769         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24770         (CFLAGS-.ob): Remove variable.
24771         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24772         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24773         both definitions of variable.
24774         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24775         (ASFLAGS-.ob): Remove variable.
24776
24777 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
24778
24779         [BZ #13550]
24780         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24781         Remove __BOUNDED_POINTERS__ from condition.
24782         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24783         * string/bits/string2.h [!__NO_STRING_INLINES &&
24784         !__BOUNDED_POINTERS__]: Likewise.
24785         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24786         Likewise.
24787         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24788         Remove conditional code.
24789         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24790         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24791         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24792         condition.
24793
24794         [BZ #13550]
24795         * csu/libc-start.c: Do not include <bp-sym.h>.
24796         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24797         * elf/dl-open.c: Do not include <bp-sym.h>.
24798         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24799         * math/fegetenv.c: Do not include <bp-sym.h>.
24800         (fegetenv): Do not use BP_SYM in versioned symbols.
24801         * nptl/sysdeps/pthread/bits/libc-lockP.h
24802         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24803         <bp-sym.h>.
24804         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24805         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24806         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24807         (__pthread_mutex_destroy): Likewise.
24808         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24809         (__pthread_mutex_lock): Likewise.
24810         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24811         (__pthread_mutex_trylock): Likewise.
24812         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24813         (__pthread_mutex_unlock): Likewise.
24814         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24815         (__pthread_mutexattr_init): Likewise.
24816         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24817         (__pthread_mutexattr_destroy): Likewise.
24818         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24819         (__pthread_mutexattr_settype): Likewise.
24820         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24821         (__pthread_rwlock_init): Likewise.
24822         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24823         (__pthread_rwlock_destroy): Likewise.
24824         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24825         (__pthread_rwlock_rdlock): Likewise.
24826         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24827         (__pthread_rwlock_tryrdlock): Likewise.
24828         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24829         (__pthread_rwlock_wrlock): Likewise.
24830         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24831         (__pthread_rwlock_trywrlock): Likewise.
24832         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24833         (__pthread_rwlock_unlock): Likewise.
24834         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24835         (__pthread_key_create): Likewise.
24836         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24837         (__pthread_setspecific): Likewise.
24838         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24839         (__pthread_getspecific): Likewise.
24840         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24841         Likewise.
24842         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24843         (_pthread_cleanup_push_defer): Likewise.
24844         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24845         (_pthread_cleanup_pop_restore): Likewise.
24846         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24847         (pthread_setcancelstate): Likewise.
24848         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24849         <bp-sym.h>.
24850         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24851         (memchr): Do not use BP_SYM in weak_alias.
24852         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24853         (fegetenv): Do not use BP_SYM in versioned symbols.
24854         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24855         (fesetenv): Do not use BP_SYM in versioned symbols.
24856         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24857         (feupdateenv): Do not use BP_SYM in versioned symbols.
24858         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24859         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24860         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24861         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24862         (open64): Do not use BP_SYM in weak_alias.
24863         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24864         (fegetenv): Do not use BP_SYM in versioned symbols.
24865         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24866         (fesetenv): Do not use BP_SYM in versioned symbols.
24867         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24868         (feupdateenv): Do not use BP_SYM in versioned symbols.
24869         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24870         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24871         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24872         (feraiseexcept): Do not use BP_SYM in versioned symbols.
24873         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24874         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24875         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24876         <bp-sym.h>.
24877         (__libc_start_main): Do not use BP_SYM.
24878
24879 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24880
24881         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24882         redundant return line.
24883         (norm): Likewise.
24884         (denorm): Likewise.
24885         (dbl_mp): Likewise.
24886         (sub_magnitudes): Likewise.
24887         (__add): Likewise.
24888         (__sub): Likewise.
24889         (__mul): Likewise.
24890         (__inv): Likewise.
24891         (__dvd): Likewise.
24892         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24893         (norm): Likewise.
24894         (denorm): Likewise.
24895         (dbl_mp): Likewise.
24896         (sub_magnitudes): Likewise.
24897         (__add): Likewise.
24898         (__sub): Likewise.
24899         (__mul): Likewise.
24900         (__inv): Likewise.
24901         (__dvd): Likewise.
24902
24903         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24904         instead of __mul.
24905         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24906         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24907         (cc32): Likewise.
24908
24909         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24910         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24911         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24912         of __mul for squares.
24913         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24914         function
24915         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24916         Likewise.
24917         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24918         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24919
24920 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
24921
24922         [BZ #13550]
24923         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24924         code.
24925         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24926         prototype or function definition.  Rename ubp_* variables and
24927         parameters.  Remove argv definitions conditional on
24928         [__BOUNDED_POINTERS__].
24929         * debug/backtrace.c (__backtrace): Do not use __unbounded.
24930         * elf/dl-runtime.c (_dl_fixup): Likewise.
24931         * include/set-hooks.h (RUN_HOOK): Likewise.
24932         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24933         definition.
24934         * string/strcpy.c (strcpy): Do not use __unbounded.
24935         * sysdeps/generic/frame.h (struct layout): Likewise.
24936         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24937         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24938         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24939         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24940         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24941         (__backtrace): Likewise.
24942         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24943         use __ptrvalue.
24944         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24945         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24946         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24947         Likewise.
24948         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24949         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24950         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24951         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24952         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24953         Do not use __unbounded.
24954         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24955         Rename __unboundedrlimits parameter to rlimits in prototype.
24956         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24957         Do not use __unbounded.
24958         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24959         not use __ptrvalue.
24960         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24961         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24962         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24963         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24964         __ptrvalue or __unbounded.
24965         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24966         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24967         use __unbounded.
24968         (__new_msgctl): Do not use __ptrvalue.
24969         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24970         __unbounded.
24971         (__libc_msgrcv): Do not use __ptrvalue.
24972         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24973         startup_info): Do not use __unbounded.
24974         (__libc_start_main): Likewise.  Rename ubp_* variables and
24975         parameters.  Remove argv definitions conditional on
24976         [__BOUNDED_POINTERS__].
24977         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24978         __ptrvalue.
24979         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24980         use __unbounded.
24981         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24982         or __ptrvalue.
24983         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24984         use __unbounded.
24985         (__new_shmctl): Do not use __ptrvalue.
24986         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24987         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24988         Likewise.
24989         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24990         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24991         (__libc_sigaction): Likewise.
24992         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24993         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24994         Likewise.
24995         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24996
24997 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
24998
24999         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25000
25001         * string/mempcpy.c: Implement by calling memcpy.
25002
25003 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25004
25005         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25006
25007         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25008         evaluation.
25009
25010         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25011         values in the mantissa.
25012
25013         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25014         minimize writes to Z.
25015         (sub_magnitudes): Simplify code a bit.
25016
25017 2013-02-12  Roland McGrath  <roland@hack.frob.com>
25018
25019         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25020         from the message.  The linker prefixes all warnings with that already.
25021
25022 2013-02-12  Andreas Schwab  <schwab@suse.de>
25023
25024         [BZ #15078]
25025         * posix/regexec.c (extend_buffers): Add parameter min_len.
25026         (check_matching): Pass minimum needed length.
25027         (clean_state_log_if_needed): Likewise.
25028         (get_subexp): Likewise.
25029         * posix/Makefile (tests): Add bug-regex34.
25030         (bug-regex34-ENV): Define.
25031         * posix/bug-regex34.c: New file.
25032
25033         [BZ #11561]
25034         * posix/regcomp.c (parse_bracket_exp): When looking up collating
25035         elements compare against the byte sequence of it, not its name.
25036         * posix/Makefile (tests): Add bug-regex35.
25037         (bug-regex35-ENV): Define.
25038         * posix/bug-regex35.c: New file.
25039
25040 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25041
25042         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
25043         comment.
25044         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25045         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25046         (CHECK_EOL): Add undef.
25047
25048 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
25049
25050         * bits/stdlib-bsearch.h: New file.
25051         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25052         * stdlib/stdlib.h: Likewise.
25053
25054 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25055
25056         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25057         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25058         declaration.
25059         * manual/search.texi (Array Search Function): Add missing const in
25060         lfind prototype.
25061         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25062         declaration to use rlim_t.
25063         (Basic Scheduling Functions): Remove erroneous const from
25064         sched_getparam prototype.  Remove erroneous * from
25065         sched_get_priority_max and sched_get_priority_min prototypes.
25066         (Resource Usage): Fix summary @comment on vtimes to refer to
25067         sys/vtimes.h rather than vtimes.h.
25068         Add missing *s in vtimes prototype.
25069         (Limits on Resources): Fix ulimit prototype to return long int.
25070         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25071         prototypes to use long int rather than double.
25072         (BSD Random): Fix initstate and setstate to use char *, not void *.
25073         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25074         prototype to make second argument 'struct aiocb64 *const[]'.
25075         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25076         (Status of AIO Operations): Remove erroneous const in aio_return and
25077         aio_return64 prototypes.
25078         (Synchronizing I/O): Fix sync prototype to return void.
25079         * manual/startup.texi (Suboptions): Remove an erroneous const in
25080         getsubopt prototype.
25081         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25082         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25083         use size_t rather than int.
25084         (Scanning All Users): Likewise for getpwent_r.
25085         (Setting Groups): Add missing const to setgroups prototype.
25086         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25087         * manual/socket.texi (Host Names): Fix gethostbyaddr and
25088         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25089         'const void *' rather than 'const char *'.
25090         (Host Address Functions): Likewise for inet_ntop.
25091         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25092         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25093         ssize_t for return value.
25094         (Sending Data): Likewise for send, sendto, sendmsg.
25095         (Socket Option Functions): Add a missing const in setsockopt prototype.
25096         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25097         use wchar_t for the argument.
25098         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25099         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25100         take no arguments.
25101         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25102         double/float/long double for second argument.
25103         Fix return types of significand, significandf, significandl.
25104         * manual/filesys.texi (Setting Permissions): Use mode_t for second
25105         argument in fchmod prototype.
25106         (File Owner): Use uid_t and gid_t in fchown prototype.
25107         (File Times): Add const to utimes, futimes, and lutimes prototypes.
25108         (Making Special Files): Use mode_t and dev_t in mknod prototype.
25109         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25110         use 'const struct dirent **' as argument types to CMP function pointer
25111         argument.
25112         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25113         (File Times): Fix summary magic @comment for struct utimbuf and utime
25114         to refer to utime.h, not time.h.
25115         * manual/string.texi (Argz Functions): Add missing const in
25116         argz_extract and argz_next prototypes.
25117         (Finding Tokens in a String): Likewise for basename.
25118         (String/Array Comparison): Fix typo in wcscasecmp prototype.
25119         (Copying and Concatenation): Fix typo in wmemmove prototype.
25120         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25121         (Signal Stack): Remove erroneous const in sigstack prototype.
25122         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25123         prototype.
25124         (Simple Calendar Time): Likewise for stime.
25125         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25126         prototype.
25127         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25128         say sys/sysctl.h instead.
25129         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25130         and vsyslog prototypes.
25131
25132 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25133
25134         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25135         Remove.
25136
25137 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25138
25139         * misc/sys/mman.h: Fix typo in mremap comment.
25140
25141 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25142
25143         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
25144         the '\0' terminator.
25145
25146 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25147
25148         [BZ #13550]
25149         * debug/segfault.c: Don't include <bp-checks.h>.
25150         * sysdeps/generic/bp-checks.h: Remove file.
25151         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
25152         (__GETDENTS): Don't use CHECK_N.
25153         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
25154         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
25155         (__getgroups): Don't use CHECK_N.
25156         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
25157         (setgroups): Don't use CHECK_N.
25158         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
25159         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
25160         (__libc_msgrcv): Don't use CHECK_N.
25161         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
25162         (__libc_msgsnd): Don't use CHECK_N.
25163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
25164         <bp-checks.h>.
25165         (__libc_pread): Don't use CHECK_N.
25166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
25167         include <bp-checks.h>.
25168         (__libc_pread64): Don't use CHECK_N.
25169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
25170         include <bp-checks.h>.
25171         (__libc_pwrite): Don't use CHECK_N.
25172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
25173         include <bp-checks.h>.
25174         (__libc_pwrite64): Don't use CHECK_N.
25175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
25176         <bp-checks.h>.
25177         (__libc_pread): Don't use CHECK_N.
25178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
25179         include <bp-checks.h>.
25180         (__libc_pread64): Don't use CHECK_N.
25181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
25182         include <bp-checks.h>.
25183         (__libc_pwrite): Don't use CHECK_N.
25184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
25185         include <bp-checks.h>.
25186         (__libc_pwrite64): Don't use CHECK_N.
25187         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
25188         (do_pread): Don't use CHECK_N.
25189         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
25190         (do_pread64): Don't use CHECK_N.
25191         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
25192         (do_pwrite): Don't use CHECK_N.
25193         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
25194         (do_pwrite64): Don't use CHECK_N.
25195         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
25196         (__libc_readv): Don't use CHECK_N.
25197         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
25198         (semop): Don't use CHECK_N.
25199         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
25200         <bp-checks.h>.
25201         (semtimedop): Don't use CHECK_N.
25202         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
25203         (__libc_pread): Don't use CHECK_N.
25204         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
25205         <bp-checks.h>.
25206         (__libc_pread64): Don't use CHECK_N.
25207         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
25208         <bp-checks.h>.
25209         (__libc_pwrite): Don't use CHECK_N.
25210         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
25211         <bp-checks.h>.
25212         (__libc_pwrite64): Don't use CHECK_N.
25213         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
25214         <bp-checks.h>.
25215         (__libc_msgrcv): Don't use CHECK_N.
25216         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
25217         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
25218         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
25219         (__libc_writev): Don't use CHECK_N.
25220
25221 2013-02-08  Roland McGrath  <roland@hack.frob.com>
25222
25223         * string/strcpy.c: Removed unused variable.
25224
25225         * Makeconfig (+sysdep-includes): Define with := rather than =.
25226         Use an existing include/ subdir of each sysdeps dir before it.
25227
25228 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25229
25230         * nscd/connection.c (register_traced_file): Comment function.
25231         [HAVE_INOTIFY] (union __inev): Define.
25232         [HAVE_INOTIFY] (inotify_check_files): New function.
25233         [HAVE_INOTIFY] (clear_db_cache): Likewise.
25234         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
25235         clear_db_cache.
25236         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
25237
25238 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25239
25240         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
25241         loaded if not already and that a failure is permanent.
25242
25243 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
25244
25245         [BZ #15006]
25246         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
25247         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
25248
25249 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
25250
25251         [BZ #13550]
25252         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
25253         (CHECK_1_NULL_OK): Likewise.
25254         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
25255         (__fxstat): Do not use CHECK_1.
25256         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
25257         <bp-checks.h>.
25258         (___fxstat64): Do not use CHECK_1.
25259         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25260         <bp-checks.h>.
25261         (__fxstatat): Do not use CHECK_1.
25262         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25263         <bp-checks.h>.
25264         (__fxstatat64): Do not use CHECK_1.
25265         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
25266         <bp-checks.h>.
25267         (__fxstat): Do not use CHECK_1.
25268         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25269         <bp-checks.h>.
25270         (__fxstatat): Do not use CHECK_1.
25271         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
25272         <bp-checks.h>.
25273         (__getresgid): Do not use CHECK_1.
25274         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
25275         <bp-checks.h>.
25276         (__getresuid): Do not use CHECK_1.
25277         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
25278         <bp-checks.h>.
25279         (__lxstat): Do not use CHECK_1.
25280         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25281         <bp-checks.h>.
25282         (__old_msgctl): Do not use CHECK_1.
25283         (__new_msgctl): Likewise.
25284         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25285         <bp-checks.h>.
25286         (__new_setrlimit): Do not use CHECK_1.
25287         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25288         <bp-checks.h>.
25289         (__old_shmctl): Do not use CHECK_1.
25290         (__new_shmctl): Likewise.
25291         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25292         <bp-checks.h>.
25293         (__xstat): Do not use CHECK_1.
25294         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25295         (__lxstat): Do not use CHECK_1.
25296         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25297         <bp-checks.h>.
25298         (___lxstat64): Do not use CHECK_1.
25299         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25300         (__old_msgctl): Do not use CHECK_1.
25301         (__new_msgctl): Likewise.
25302         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25303         <bp-checks.h>.
25304         (__gettimeofday): Do not use CHECK_1.
25305         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25306         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25307         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25308         <bp-checks.h>.
25309         (__gettimeofday): Do not use CHECK_1.
25310         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25311         (__old_shmctl): Do not use CHECK_1_NULL_OK.
25312         (__new_shmctl): Do not use CHECK_1.
25313         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25314         <bp-checks.h>.
25315         (do_sigtimedwait): Do not use CHECK_1.
25316         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25317         <bp-checks.h>.
25318         (do_sigwaitinfo): Do not use CHECK_1.
25319         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25320         <bp-checks.h>.
25321         (msgctl): Do not use CHECK_1.
25322         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25323         <bp-checks.h>.
25324         (shmctl): Do not use CHECK_1.
25325         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25326         (ustat): Do not use CHECK_1.
25327         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25328         <bp-checks.h>.
25329         (__fxstat): Do not use CHECK_1.
25330         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25331         <bp-checks.h>.
25332         (__fxstatat): Do not use CHECK_1.
25333         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25334         <bp-checks.h>.
25335         (__lxstat): Do not use CHECK_1.
25336         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25337         <bp-checks.h>.
25338         (__xstat): Do not use CHECK_1.
25339         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25340         (__xstat): Do not use CHECK_1.
25341         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25342         (___xstat64): Do not use CHECK_1.
25343
25344         [BZ #13550]
25345         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25346         definitions.
25347         (CHECK_BOUNDS_HIGH): Likewise.
25348         * string/strcpy.c: Do not include <bp-checks.h>.
25349         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25350
25351 2013-02-07  Roland McGrath  <roland@hack.frob.com>
25352
25353         * nscd/nscd-client.h (__nscd_drop_map_ref):
25354         Add __attribute__ ((unused)).
25355         * nis/nss-nisplus.h (niserr2nss): Likewise.
25356
25357         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25358         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25359
25360         * csu/libc-tls.c (init_static_tls, init_slotinfo):
25361         Remove inline keyword.
25362         * include/rounding-mode.h (round_away): Likewise.
25363         * libio/wfileops.c (adjust_wide_data): Likewise.
25364         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25365         (__m128i_strloadu_tolower): Likewise.
25366         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25367         (__m128i_strloadu_tolower): Likewise.
25368         * time/mktime.c (ydhms_diff): Likewise.
25369         * locale/elem-hash.h (elem_hash): Likewise.
25370         * locale/setlocale.c (setdata): Likewise.
25371         * posix/regex_internal.h (re_string_char_size_at): Likewise.
25372         (re_string_wchar_at): Likewise.
25373         (bitset_not, bitset_merge, bitset_mask): Likewise.
25374         [!(__GNUC__ > 3)] (inline): Remove macro.
25375         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25376         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25377         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25378         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25379         * string/memcmp.c (memcmp_bytes): Likewise.
25380         * locale/programs/locarchive.c (compute_hashval): Likewise.
25381         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25382         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25383         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25384         * nss/getent.c (print_rpc, print_protocols): Likewise.
25385         (print_passwd, print_group, print_aliases): Likewise.
25386         * nis/nss-nisplus.h (niserr2nss): Likewise.
25387         * nscd/connections.c (restart_p): Likewise.
25388         Change return type to bool.
25389
25390 2013-02-05  Roland McGrath  <roland@hack.frob.com>
25391
25392         * Makeconfig (all-Depend-files): Add existing
25393         $(sorted-subdirs:=/Depend) files.
25394         (all-subdirs): Remove nss.
25395         * sysdeps/unix/inet/Subdirs: Add it here instead.
25396         * hesiod/Depend: New file.
25397
25398         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25399         instead of calling alloca.
25400
25401         * io/lseek.c (__lseek): Rename to __libc_lseek.
25402         Define __lseek as an alias.
25403
25404         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25405
25406 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
25407
25408         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25409         else clause and remove check for non-standard endianness.
25410
25411 2013-02-04  David S. Miller  <davem@davemloft.net>
25412
25413         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25414
25415 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
25416
25417         [BZ #13550]
25418         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25419         (__ubp_memchr): Remove prototype.
25420         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25421         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25422         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25423         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25424         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25425         Remove alias.
25426         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25427         (__ubp_memchr): Likewise.
25428         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25429         (__ubp_memchr): Likewise.
25430         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25431         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25432         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25433         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25434         CHECK_STRING.
25435         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25436         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25437         (__getcwd): Do not use CHECK_STRING.
25438         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25439         <bp-checks.h>.
25440         (__real_chown): Do not use CHECK_STRING.
25441         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25442         <bp-checks.h>.
25443         (fchownat): Do not use CHECK_STRING.
25444         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25445         CHECK_STRING.
25446         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25447         <bp-checks.h>.
25448         (__lchown): Do not use CHECK_STRING.
25449         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25450         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25451         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25452         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25454         include <bp-checks.h>.
25455         (truncate64): Do not use CHECK_STRING.
25456         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25457         <bp-checks.h>.
25458         (__real_chown): Do not use CHECK_STRING.
25459         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25460         <bp-checks.h>.
25461         (__lchown): Do not use CHECK_STRING.
25462         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25463         <bp-checks.h>.
25464         (__chown): Do not use CHECK_STRING.
25465         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25466         <bp-checks.h>.
25467         (truncate64): Do not use CHECK_STRING.
25468         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25469         Likewise.
25470         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25471         (__xmknod): Do not use CHECK_STRING.
25472         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25473         <bp-checks.h>.
25474         (__xmknodat): Do not use CHECK_STRING.
25475         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25476         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25477
25478 2013-02-04  Andreas Schwab  <schwab@suse.de>
25479
25480         [BZ #14142]
25481         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25482         * include/netdb.h: Likewise for h_errno.
25483         * elf/tst-stackguard1.c: Include <tls.h>.
25484
25485 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
25486
25487         * elf/link.h (struct link_map): Extend the l_addr comment.
25488         * include/link.h (struct link_map): Likewise.
25489
25490 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
25491
25492         [BZ #13550]
25493         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25494         (BOUNDED_1): Remove macro.
25495         * debug/backtrace.c: Don't include <bp-checks.h>.
25496         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25497         (__backtrace): Likewise.
25498         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25499         <bp-checks.h>.
25500         (__backtrace): Don't use BOUNDED_1.
25501         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25502         <bp-checks.h>.
25503         (__backtrace): Don't use BOUNDED_1.
25504         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25505         (__backtrace): Don't use BOUNDED_1.
25506         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25507         (shmat): Don't use BOUNDED_N.
25508
25509 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
25510
25511         [BZ #13550]
25512         * sysdeps/generic/bp-start.h: Remove file.
25513         * csu/libc-start.c: Don't include <bp-start.h>.
25514         (LIBC_START_MAIN): Set up __environ directly instead of using
25515         INIT_ARGV_and_ENVIRON.
25516         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25517         <bp-start.h>.
25518
25519         [BZ #13550]
25520         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25521         definitions.
25522         (CHECK_FCNTL): Likewise.
25523         (CHECK_N_PAGES): Likewise.
25524
25525         [BZ #13550]
25526         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25527         definitions.
25528         (CHECK_SIGSET_NULL_OK): Likewise.
25529         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25530         <bp-checks.h>.
25531         (sigpending): Don't use CHECK_SIGSET.
25532         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25533         <bp-checks.h>.
25534         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25535         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25536         <bp-checks.h>.
25537         (do_sigsuspend): Don't use CHECK_SIGSET.
25538         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25539         use CHECK_SIGSET.
25540         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25541         (do_sigwait): Don't use CHECK_SIGSET.
25542         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25543         use CHECK_SIGSET.
25544         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25545         include <bp-checks.h>.
25546         (sigpending): Don't use CHECK_SIGSET.
25547         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25548         include <bp-checks.h>.
25549         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25550         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25551         <bp-checks.h>.
25552         (sigpending): Don't use CHECK_SIGSET.
25553         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25554         <bp-checks.h>.
25555         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25556
25557         [BZ #13550]
25558         * sysdeps/generic/bp-semctl.h: Remove file.
25559         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25560         <bp-checks.h> and <bp-semctl.h>.
25561         (__old_semctl): Don't use CHECK_SEMCTL.
25562         (__new_semctl): Likewise.
25563         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25564         and <bp-semctl.h>.
25565         (__old_semctl): Don't use CHECK_SEMCTL.
25566         (__new_semctl): Likewise.
25567         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25568         <bp-checks.h> and <bp-semctl.h>.
25569         (__old_semctl): Don't use CHECK_SEMCTL.
25570         (__new_semctl): Likewise.
25571         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25572         <bp-checks.h> and <bp-semctl.h>.
25573         (semctl): Don't use CHECK_SEMCTL.
25574
25575         [BZ #13550]
25576         * Makerules (elide-bp-thunks): Remove variable.
25577         (elide-routines.oS): Don't use $(elide-bp-thunks).
25578         (elide-routines.os): Likewise.
25579         (elide-routines.o): Likewise.
25580         (elide-routines.op): Likewise.
25581         (elide-routines.og): Likewise.
25582         (objects): Don't use $(bp-thunks).
25583         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25584         include.
25585         (common-generated): Do not add s-proto-bp.d.
25586         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25587         (int): Likewise.
25588         (typ): Likewise.
25589         Do not generate makefile rules for bounded-pointer thunks.
25590         * sysdeps/generic/bp-thunks.h: Remove file.
25591         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25592         * sysdeps/unix/s-proto-bp.S: Likewise.
25593
25594         [BZ #15062]
25595         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25596         parts of result separately when argument is not close to line from
25597         -i to i and one part of argument is small.
25598         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25599         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25600         * math/libm-test.inc (cacos_test): Add more tests.
25601         (casin_test): Likewise.
25602         (casinh_test): Likewise.
25603         * sysdeps/i386/fpu/libm-test-ulps: Update.
25604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25605
25606 2013-01-31  David S. Miller  <davem@davemloft.net>
25607
25608         * po/de.po: Update from translation team.
25609
25610 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
25611
25612         * time/tzfile.c: Include stdint.h for SIZE_MAX.
25613
25614 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
25615
25616         * configure.in (_AC_PROG_CC_C89): New definition.
25617         * configure: Regenerate.
25618
25619         * configure.in (AC_PROG_CPP): New definition.
25620         * configure: Regenerate.
25621
25622 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25623
25624         * debug/tst-backtrace.h: New file.
25625         * debug/tst-backtrace2.c: Include tst-backtrace.h.
25626         (ret): Remove variable.
25627         (x): Likewise.
25628         (FAIL): Remove macro.
25629         (NO_INLINE): Likewise.
25630         (fn1): Use match function instead of strstr.
25631         * debug/tst-backtrace3.c: Include tst-backtrace.h.
25632         (ret): Remove variable.
25633         (x): Likewise.
25634         (FAIL): Remove macro.
25635         (NO_INLINE): Likewise.
25636         (fn): Use match function instead of strstr.
25637         * debug/tst-backtrace4.c: Include tst-backtrace.h.
25638         (ret): Remove variable.
25639         (x): Likewise.
25640         (FAIL): Remove macro.
25641         (NO_INLINE): Likewise.
25642         (handle_signal): Use match function instead of strstr.
25643         * debug/tst-backtrace5.c: Include tst-backtrace.h.
25644         (ret): Remove variable.
25645         (x): Likewise.
25646         (FAIL): Remove macro.
25647         (NO_INLINE): Likewise.
25648         (handle_signal): Use match function instead of strstr.
25649
25650 2013-01-23  Roland McGrath  <roland@hack.frob.com>
25651
25652         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25653
25654 2013-01-23  David S. Miller  <davem@davemloft.net>
25655
25656         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25657         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25658         argument of CAS if possible.
25659         * sysdeps/sparc/sparc64/bits/atomic.h
25660         (__arch_compare_and_exchange_val_32_acq): Likewise.
25661         (__arch_compare_and_exchange_val_64_acq): Likewise.
25662
25663 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
25664
25665         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25666         * sysdeps/posix/ulimit.c: ... this.
25667         Include <limits.h>.
25668         * sysdeps/unix/bsd/ulimit.c: Remove file.
25669
25670 2013-01-23  Adam Conrad  <adconrad@0c3.net>
25671
25672         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25673         (LDFLAGS-tst-array5): Likewise.
25674
25675 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25676
25677         [BZ #15036]
25678         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25679         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25680         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25681         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25682
25683 2013-01-21  David S. Miller  <davem@davemloft.net>
25684
25685         * sysdeps/sparc/backtrace.c: New file.
25686         * sysdeps/sparc/sparc32/backtrace.h: New file.
25687         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25688         * sysdeps/sparc/sparc64/backtrace.h: New file.
25689         * sysdeps/sparc/sparc64/backtrace.c: Delete.
25690         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25691         -funwind-tables.
25692
25693 2013-01-21  Andreas Schwab  <schwab@suse.de>
25694
25695         [BZ #15020]
25696         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25697         closed its stdout.
25698
25699 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
25700
25701         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25702         "mpa2.h".
25703         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25704
25705 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
25706             Mark Mitchell  <mark@codesourcery.com>
25707             Tom de Vries  <tom@codesourcery.com>
25708             Paul Pluzhnikov  <ppluzhnikov@google.com>
25709
25710         * debug/tst-backtrace2.c: New file.
25711         * debug/tst-backtrace3.c: Likewise.
25712         * debug/tst-backtrace4.c: Likewise.
25713         * debug/tst-backtrace5.c: Likewise.
25714         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25715         (CFLAGS-tst-backtrace3.c): Likewise.
25716         (CFLAGS-tst-backtrace4.c): Likewise.
25717         (CFLAGS-tst-backtrace5.c): Likewise.
25718         (LDFLAGS-tst-backtrace2): Likewise.
25719         (LDFLAGS-tst-backtrace3): Likewise.
25720         (LDFLAGS-tst-backtrace4): Likewise.
25721         (LDFLAGS-tst-backtrace5): Likewise.
25722         (tests): Add new tests tst-backtrace2, tst-backtrace3,
25723         tst-backtrace4 and tst-backtrace5.
25724
25725 2013-01-18  Anton Blanchard  <anton@samba.org>
25726             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25727
25728         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25729         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25730         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25731         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25733         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25734         "+r" and remove output regs list as redundant.  Add explicit inline
25735         asm to specify register of return val to work around compiler codegen
25736         bug.  Remove (int) cast on return value.  Add return type parameter to
25737         use in macro so that this macro does not truncate return value for
25738         64-bit values.
25739         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25740         pass to INTERNAL_VSYSCALL_NCS.
25741         (INLINE_VSYSCALL): Add 'long int' as return type to
25742         INTERNAL_VSYSCALL_NCS macro invocation.
25743         (INTERNAL_VSYSCALL): Add 'long int' as return type to
25744         INTERNAL_VSYSCALL_NCS macro invocation.
25745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25746
25747 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25748
25749         [BZ #14496]
25750         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25751         Fix application of SIMD FP exception mask.
25752
25753         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25754         mp_no from a power of two.
25755         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25756         __mpexp_twomm1.  Use __pow_mp.
25757
25758         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25759         multiplication.
25760
25761 2013-01-17  David S. Miller  <davem@davemloft.net>
25762
25763         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25764
25765 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25766
25767         [BZ #15023]
25768         * include/complex.h: Condition contents on [!_COMPLEX_H].
25769         (__kernel_casinhf): New prototype.
25770         (__kernel_casinh): Likewise.
25771         (__kernel_casinhl): Likewise.
25772         * math/Makefile (libm_calls): Add k_casinh.
25773         * math/k_casinh.c: New file.
25774         * math/k_casinhf.c: Likewise.
25775         * math/k_casinhl.c: Likewise.
25776         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25777         finite nonzero arguments.
25778         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25779         finite nonzero arguments.
25780         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25781         finite nonzero arguments.
25782         * math/s_casinh.c: Do not include <float.h>.
25783         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25784         * math/s_casinhf.c: Do not include <float.h>.
25785         (__casinhf): Move code for finite nonzero arguments to
25786         k_casinhf.c.
25787         * math/s_casinhl.c: Do not include <float.h>.
25788         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25789         redefine.
25790         (__casinhl): Move code for finite nonzero arguments to
25791         k_casinhl.c.
25792         * math/libm-test.inc (cacos_test): Add more tests.
25793         * sysdeps/i386/fpu/libm-test-ulps: Update.
25794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25795
25796 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
25797
25798         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25799         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25800         [!HAVE_MREMAP]: Remove [defined linux] case.
25801         * malloc/arena.c: Do not include <malloc-sysdep.h>.
25802
25803 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25804
25805         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25806
25807 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
25808
25809         * elf/elf.h (R_386_SIZE32): New relocation.
25810         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25811         R_386_SIZE32.
25812         (elf_machine_rela): Likewise.
25813         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25814         R_X86_64_SIZE64 and R_X86_64_SIZE32.
25815
25816 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25817
25818         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25819         (FP_FAST_FMA): Do not define.
25820         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25821         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25822         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25823         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25824         !_SOFT_FLOAT]: Likewise.
25825         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25826         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25827         value.
25828         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25829         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25830         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25831         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25832         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25833         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25834         file.
25835
25836 2013-01-16  Andreas Schwab  <schwab@suse.de>
25837
25838         [BZ #14327]
25839         * include/stdlib.h (__mktemp): Add declaration.
25840         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25841         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25842
25843 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25844
25845         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25846         definitions.
25847         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25848         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25849         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25850         definitions here.
25851         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25852         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25853         definitions.
25854         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25855         and ONE.
25856         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25857         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25858         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25859         definitions.
25860         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25861         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25862         definitions.
25863         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25864
25865         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25866
25867 2013-01-15  David S. Miller  <davem@davemloft.net>
25868
25869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25870         trunc{,f} to libm-sysdep_routes.
25871         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25873         file.
25874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25876         file.
25877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25878         file.
25879         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25881         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25882         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25883         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25884         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25885         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25886         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25887
25888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25889         nearbyint{,f} to libm-sysdep_routes.
25890         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25892         New file.
25893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25894         file.
25895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25896         New file.
25897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25898         file.
25899         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25900         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25901         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25902         file.
25903         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25904         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25905         file.
25906         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25907         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25908         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25909
25910         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25911         libc_feholdexcept and libc_fesetenv.
25912
25913 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
25914
25915         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25916
25917 2013-01-14  David S. Miller  <davem@davemloft.net>
25918
25919         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25920         (SPARC_ASM_VIS2_IFUNC): Likewise.
25921         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25923         use of 'siam' instruction.
25924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25925         Likewise.
25926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25927         Likewise.
25928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25929         Likewise.
25930         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25931         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25932         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25933         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25935         file.
25936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25937         file.
25938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25939         file.
25940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25941         file.
25942         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25943         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25944         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25945         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25947         new VIS2 routines.
25948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25951         Likewise.
25952         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25953         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25954         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25955         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25957         routines to libm-sysdep_routines.
25958         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25959
25960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25961         fdim/fdimf to libm-sysdep_routines.
25962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25963         file.
25964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25966         file.
25967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25969         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25970         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25971         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25972         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25973         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25974
25975 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25976
25977         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25978         to optimize copies.
25979
25980         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25981         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25982         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25983
25984         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25985         local variable MPTWO.
25986         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25987         Likewise.
25988
25989 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25990
25991         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25992         GLOB_NOESCAPE.
25993
25994 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25995
25996         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25997
25998 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25999
26000         * manual/pattern.texi (glob_t): Document gl_flags.
26001         (glob64_t): Likewise.
26002
26003 2013-01-11  David S. Miller  <davem@davemloft.net>
26004
26005         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26006         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26007         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
26008         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26009         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26010         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26011         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26012         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26013         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26014         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26015         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26016         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26017         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26018
26019         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26020         sparc V9 rather than using V8 code.
26021         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26022         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26023
26024         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26025         Move to...
26026         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26027         Here.
26028
26029 2013-01-11  Roland McGrath  <roland@hack.frob.com>
26030
26031         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26032         not in the main loop.
26033         * configure: Regenerated.
26034
26035 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
26036
26037         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26038         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26039         to just #else.
26040         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
26041         [!__GLIBC_HAVE_LONG_LONG] case.
26042         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26043         condition to just #else.
26044         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26045         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26046         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26047         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26048         unconditional.
26049         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26050         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26051         #elif condition to just #else.
26052         * sysdeps/unix/sysv/linux/sys/sysmacros.h
26053         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26054         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26055         #elif condition to just #else.
26056
26057 2013-01-11  Steve Ellcey  <sellcey@mips.com>
26058
26059         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26060         (EF_MIPS_ARCH_64): Fix value.
26061         (EF_MIPS_ARCH_32R2): New.
26062         (EF_MIPS_ARCH_64R2): New.
26063
26064 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
26065
26066         * Makeconfig (+link-pie-before-libc): New.
26067         (+link-pie-after-libc): Likewise.
26068         (+link-pie-tests): Likewise.
26069         (+link-pie): Rewritten.
26070         (link-before-libc): Remove $(config-LDFLAGS).
26071         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26072         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26073         (config-LDFLAGS): Renamed to ...
26074         (rtld-LDFLAGS): This.
26075         (rtld-tests-LDFLAGS): New macro.
26076         (link-libc-rpath-link): Likewise.
26077         (link-libc-tests-rpath-link): Likewise.
26078         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26079         (link-libc): Prepand $(link-libc-rpath-link).
26080         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26081         (test-program-prefix): New macro.
26082         (test-via-rtld-prefix): Likewise.
26083         (test-program-cmd): Likewise.
26084         (host-test-program-cmd): Likewise.
26085         * Makefile ($(common-objpfx)testrun.sh): Replace
26086         $(run-program-prefix) with $(test-program-prefix).
26087         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26088         $(rtld-LDFLAGS).
26089         ($(common-objpfx)shlib.lds): Likewise.
26090         (build-module-helper): Likewise.
26091         ($(common-objpfx)format.lds): Likewise.
26092         * Rules (binaries-pie-tests): New.
26093         (binaries-pie-notests): Likewise.
26094         (binaries-pie): Rewritten.
26095         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26096         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26097         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26098         (make-test-out): Replace $(host-built-program-cmd) with
26099         $(host-test-program-cmd).
26100         * config.make.in (build-hardcoded-path-in-tests): New variable.
26101         * configure.in (--enable-hardcoded-path-in-tests): New configure
26102         option.
26103         (hardcoded_path_in_tests): New AC_SUBST.
26104         * configure: Regenerated.
26105         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26106         $(built-program-cmd) with $(test-program-cmd).
26107         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26108         (test_program_cmd): This.
26109         * elf/Makefile ($(objpfx)order.out): Run test with
26110         $(test-program-prefix).
26111         ($(objpfx)order2.out): Likewise.
26112         ($(objpfx)tst-initorder.out): Likewise.
26113         ($(objpfx)tst-initorder2.out): Likewise.
26114         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26115         $(test-program-cmd).
26116         ($(objpfx)tst-array1-static.out): Likewise.
26117         ($(objpfx)tst-array2.out): Likewise.
26118         ($(objpfx)tst-array3.out): Likewise.
26119         ($(objpfx)tst-array4.out): Likewise.
26120         ($(objpfx)tst-array5.out): Likewise.
26121         ($(objpfx)tst-array5-static.out): Likewise.
26122         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26123         $(test-program-cmd).
26124         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26125         $(run-program-prefix) with $(test-program-prefix).
26126         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26127         (test_program_prefix): This.
26128         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26129         $(run-program-prefix) with $(test-program-prefix).
26130         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26131         (test_program_prefix): This.
26132         * iconvdata/tst-tables.sh: Likewise.
26133         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26134         $(run-program-prefix) with $(test-program-prefix).
26135         ($(objpfx)tst-translit.out): Likewise.
26136         ($(objpfx)tst-gettext2.out): Likewise.
26137         ($(objpfx)tst-gettext4.out): Likewise.
26138         ($(objpfx)tst-gettext6.out): Likewise.
26139         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
26140         (test_program_prefix): This.
26141         * intl/tst-gettext2.sh: Likewise.
26142         * intl/tst-gettext4.sh  Likewise.
26143         * intl/tst-gettext6.sh: Likewise.
26144         * intl/tst-translit.sh: Likewise.
26145         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
26146         with $(test-program-cmd).
26147         * libio/Makefile ($(objpfx)test-freopen.out): Replace
26148         $(run-program-prefix) with $(test-program-prefix).
26149         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
26150         (test_program_prefix): This.
26151         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
26152         $(run-program-prefix) with $(test-program-prefix).
26153         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
26154         (test_program_prefix): This.
26155         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
26156         * posix/Makefile ($(objpfx)globtest.out): Replace
26157         $(run-via-rtld-prefix) and $(test-wrapper) with
26158         $(test-program-prefix) and $(test-via-rtld-prefix).
26159         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
26160         $(test-program-prefix).
26161         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
26162         $(host-test-program-cmd).
26163         (tst-spawn-ARGS): Likewise.
26164         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
26165         $(test-program-prefix).
26166         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
26167         (test_via_rtld_prefix): This.
26168         (test_wrapper): Renamed to ...
26169         (test_program_prefix): This.
26170         (run_program_prefix): Replaced by test_program_prefix.
26171         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
26172         (test_program_prefix): This.
26173         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
26174         with $(host-test-program-cmd).
26175         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
26176         $(run-program-prefix) with $(test-program-prefix).
26177         ($(objpfx)tst-printf.out): Likewise.
26178         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
26179         $(test-program-cmd).
26180         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
26181         (test_program_prefix): This.
26182         * stdio-common/tst-unbputc.sh: Likewise.
26183         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
26184         $(run-program-prefix) with $(test-program-prefix).
26185         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
26186         (test_program_prefix): This.
26187         * string/Makefile ($(objpfx)tst-svc.out):  Replace
26188         $(built-program-cmd) with $(test-program-cmd).
26189
26190 2013-01-11  Andreas Jaeger  <aj@suse.de>
26191
26192         [BZ #15003]
26193         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
26194         value. Sync with Linux 3.7.
26195
26196 2013-01-10  David S. Miller  <davem@davemloft.net>
26197
26198         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
26199         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26200         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26201
26202 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26203
26204         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
26205         never set.
26206         * configure: Regenerated.
26207
26208 2013-01-10  David S. Miller  <davem@davemloft.net>
26209
26210         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26211         sparc V9 rather than using V8 code.
26212         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26213         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26214
26215 2013-01-10  Roland McGrath  <roland@hack.frob.com>
26216
26217         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
26218         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
26219         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
26220         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
26221         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
26222         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
26223         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
26224         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
26225         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
26226         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
26227         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
26228         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
26229         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
26230         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
26231         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
26232         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
26233         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
26234         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
26235         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
26236         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
26237         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
26238         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
26239         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26240         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
26241         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
26242         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
26243         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
26244
26245 2013-01-10  David S. Miller  <davem@davemloft.net>
26246
26247         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26248
26249 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26250
26251         * posix/Makefile (tests-static): New variable.
26252         (tests): Add $(tests-static).
26253         (tst-exec-static-ARGS): New variable.
26254         (tst-spawn-static-ARGS): Likewise.
26255         * posix/tst-exec-static.c: New file.
26256         * posix/tst-spawn-static.c: Likewise.
26257         * posix/tst-exec.c: Support run directly.
26258         * posix/tst-spawn.c: Likewise.
26259
26260 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
26261
26262         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
26263         long.
26264         * math/bits/mathcalls.h (llrint): Likewise.
26265         (llround): Likewise.
26266         * stdlib/stdlib.h (struct drand48_data): Likewise.
26267         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
26268         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
26269         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
26270         Likewise.
26271         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
26272         Likewise.
26273         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
26274         (elf_greg_t): Likewise.
26275         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
26276         (__jmp_buf): Likewise.
26277         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
26278         definitions.
26279         (llrint): Likewise, for all definitions.
26280         (llrintl): Likewise.
26281
26282         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26283         Remove [__GNUC__] condition.
26284         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26285         condition to just [__USE_ISOC99].
26286         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26287
26288 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
26289
26290         [BZ #14200]
26291         * sysdeps/unix/sysv/linux/x86/bits/environments.h
26292         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26293         defined.
26294         (_POSIX_V6_ILP32_OFF32): Likewise.
26295         (_XBS5_ILP32_OFF32): Likewise.
26296         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26297         (__ILP32_OFFBIG_LDFLAGS): Likewise.
26298
26299 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26300
26301         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26302
26303         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26304         doubles __mpexp_twomm1.  Adjust usage.
26305         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26306         Remove.
26307
26308 2013-01-10  Andreas Schwab  <schwab@suse.de>
26309
26310         [BZ #14964]
26311         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26312         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26313
26314 2013-01-09  David S. Miller  <davem@davemloft.net>
26315
26316         [BZ #15003]
26317         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26318         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26319         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26320         (TCP_FASTOPEN): Define.
26321         (tcp_repair_opt): New structure.
26322         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26323         enum values.
26324         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26325         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26326         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
26327         (tcp_cookie_transactions): New structure.
26328
26329 2013-01-09  Anton Blanchard  <anton@samba.org>
26330
26331         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26332         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26333         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26334         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26335
26336 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
26337
26338         * include/features.h (__USE_ANSI): Remove.
26339
26340 2013-01-09  Roland McGrath  <roland@hack.frob.com>
26341
26342         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26343
26344         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26345
26346 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26347
26348         * sysdeps/s390/fpu/libm-test-ulps: Update.
26349
26350         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26351
26352         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26353         (__acr): Likewise.
26354         (__cpy): Likewise.
26355         (norm): Likewise.
26356         (denorm): Likewise.
26357         (__mp_dbl): Likewise.
26358         (__dbl_mp): Likewise.
26359         (add_magnitudes): Likewise.
26360         (sub_magnitudes): Likewise.
26361         (__add): Likewise.
26362         (__sub): Likewise.
26363         (__mul): Likewise.
26364         (__inv): Likewise.
26365         (__dvd): Likewise.
26366         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26367         (__acr): Likewise.
26368         (__cpy): Likewise.
26369         (norm): Likewise.
26370         (denorm): Likewise.
26371         (__mp_dbl): Likewise.
26372         (__dbl_mp): Likewise.
26373         (add_magnitudes): Likewise.
26374         (sub_magnitudes): Likewise.
26375         (__add): Likewise.
26376         (__sub): Likewise.
26377         (__mul): Likewise.
26378         (__inv): Likewise.
26379         (__dvd): Likewise.
26380         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26381         (__acr): Likewise.
26382         (__cpy): Likewise.
26383         (norm): Likewise.
26384         (denorm): Likewise.
26385         (__mp_dbl): Likewise.
26386         (__dbl_mp): Likewise.
26387         (add_magnitudes): Likewise.
26388         (sub_magnitudes): Likewise.
26389         (__add): Likewise.
26390         (__sub): Likewise.
26391         (__mul): Likewise.
26392         (__inv): Likewise.
26393         (__dvd): Likewise.
26394
26395 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
26396
26397         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26398         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26399         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26400         2 && __USE_EXTERN_INLINES]: Likewise.
26401
26402 2013-01-08  Andreas Jaeger  <aj@suse.de>
26403
26404         [BZ# 14985]
26405         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26406         Remove.
26407         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26408         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26409
26410 2013-01-07  Anton Blanchard  <anton@samba.org>
26411
26412         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26413         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26414         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26415         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26416         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26417         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26418         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26419         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26420         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26421         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26422         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26423         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26424         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26425         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26426         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26427         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26428         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26429         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26430         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26431         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26432         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26433         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26434         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26435         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26436         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26437         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26438         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26439         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26440         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26441         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26442         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26443         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26444         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26445         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26446         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26447         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26448         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26449         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26450         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26451         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26452         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26453         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26454         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26455
26456 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
26457
26458         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26459         (__MALLOC_PMT): Likewise.
26460         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26461         [__GNUC__], only on [_LIBC].
26462         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26463         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26464         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26465         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26466         forward declaration.
26467         (realloc_hook_ini): Likewise.
26468         (memalign_hook_ini): Likewise.
26469         (__libc_memalign): Do not use __MALLOC_PMT in variable
26470         declaration.
26471         (__libc_valloc): Likewise.
26472         (__libc_pvalloc): Likewise.
26473         (__libc_calloc): Likewise.
26474         (__posix_memalign): Likewise.
26475
26476         [BZ #14996]
26477         * math/s_casinh.c: Include <float.h>.
26478         (__casinh): Do not do computation with squaring and square root
26479         for large arguments.
26480         * math/s_casinhf.c: Include <float.h>.
26481         (__casinhf): Do not do computation with squaring and square root
26482         for large arguments.
26483         * math/s_casinhl.c: Include <float.h>.
26484         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26485         (__casinhl): Do not do computation with squaring and square root
26486         for large arguments.
26487         * math/libm-test.inc (casin_test): Add more tests.
26488         (casinh_test): Likewise.
26489         * sysdeps/i386/fpu/libm-test-ulps: Update.
26490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26491
26492 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
26493
26494         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26495         (__x86_64_raw_data_cache_size): Likewise.
26496         (__x86_64_data_cache_size_half): Likewise.
26497         (__x86_64_raw_data_cache_size_half): Likewise.
26498         (__x86_64_shared_cache_size): Likewise.
26499         (__x86_64_raw_shared_cache_size): Likewise.
26500         (__x86_64_shared_cache_size_half): Likewise.
26501         (__x86_64_raw_shared_cache_size_half): Likewise.
26502         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26503         to ...
26504         (__x86_data_cache_size): This.
26505         (__x86_64_raw_data_cache_size): Renamed to ...
26506         (__x86_raw_data_cache_size): This.
26507         (__x86_64_data_cache_size_half): Renamed to ...
26508         (__x86_data_cache_size_half): This.
26509         (__x86_64_raw_data_cache_size_half): Renamed to ...
26510         (__x86_raw_data_cache_size_half): This.
26511         (__x86_64_shared_cache_size): Renamed to ...
26512         (__x86_shared_cache_size): This.
26513         (__x86_64_raw_shared_cache_size): Renamed to ...
26514         (__x86_raw_shared_cache_size): This.
26515         (__x86_64_shared_cache_size_half): Renamed to ...
26516         (__x86_shared_cache_size_half): This.
26517         (__x86_64_raw_shared_cache_size_half): Renamed to ...
26518         (__x86_raw_shared_cache_size_half): This.
26519         * sysdeps/x86_64/memcpy.S: Updated.
26520         * sysdeps/x86_64/memset.S: Likewise.
26521         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26522         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26523         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26524
26525 2013-01-04  David S. Miller  <davem@davemloft.net>
26526
26527         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26528
26529 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
26530
26531         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26532         1 to avoid redefinition warning.
26533         (__USE_GNU): Don't define.
26534         (init_signaling_nan): Protoize.
26535
26536         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26537
26538 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26539
26540         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26541         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26542         (__cpymn): Likewise.
26543         (norm): Remove commented code.
26544         (denorm): Likewise.
26545         (__mp_dbl): Likewise.
26546         (__inv): Likewise.
26547         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26548         (__cpymn): Likewise.
26549         (norm): Remove commented code.
26550         (denorm): Likewise.
26551         (__mp_dbl): Likewise.
26552         (__inv): Likewise.
26553
26554         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26555         mp_no value for 1.0 and 2.0.
26556         (norm): Use RADIXI instead of radixi.d.
26557         (denorm): Likewise.
26558         (__mul): Use 0.0 instead of zero.d.
26559         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26560         mp_no value for 1.0 and 2.0.
26561         (norm): Use RADIXI instead of radixi.d.
26562         (denorm): Likewise.
26563         (__mul): Use 0.0 instead of zero.d.
26564
26565 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
26566
26567         [BZ #14994]
26568         * math/s_casinh.c (__casinh): Reduce finite argument to first
26569         quadrant then set signs of results at the end.
26570         * math/s_casinhf.c (__casinhf): Likewise.
26571         * math/s_casinhl.c (__casinhl): Likewise.
26572         * math/libm-test.inc (casin_test): Add more tests.
26573         (casinh_test): Likewise.
26574         * sysdeps/i386/fpu/libm-test-ulps: Update.
26575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26576
26577 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26578
26579         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26580
26581         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26582
26583         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26584         declarations.
26585         (denorm): Likewise.
26586         (__mp_dbl): Likewise.
26587         (__inv): Likewise.
26588
26589         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26590         and adjust the header comment.
26591
26592         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26593         variable name from declaration.
26594
26595 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
26596
26597         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26598         Initialize COMMON_CPUID_INDEX_7 element.
26599         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26600         (CPUID_RTM): Likewise.
26601         (HAS_RTM): Likewise.
26602         (COMMON_CPUID_INDEX_7): New enum.
26603
26604 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
26605
26606         [BZ #14981]
26607         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26608         size is zero, record memory as freed.
26609
26610 2013-01-03  Andreas Jaeger  <aj@suse.de>
26611
26612         * po/ia.po: Add new Interlingua translation.
26613
26614 2012-01-03  Allan McRae  <allan@archlinux.org>
26615
26616         * locale/programs/localedef.c: Fix description of '--posix' flag.
26617
26618 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
26619
26620         * NEWS: Update dates in second copyright notice.
26621         * README: Update copyright dates in example.
26622         * manual/libc.texinfo: Update copyright dates.
26623         * scripts/test-installation.pl: Update copyright date in --version
26624         output.
26625
26626         * hurd/ctty-input.c: Fix copyright notice formatting.
26627         * hurd/ctty-output.c: Likewise.
26628         * hurd/dtable.c: Likewise.
26629         * hurd/hurd-raise.c: Likewise.
26630         * hurd/hurdprio.c: Likewise.
26631         * hurd/msgportdemux.c: Likewise.
26632         * misc/sys/file.h: Likewise.
26633         * misc/sys/ioctl.h: Likewise.
26634         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26635         * sysdeps/mach/hurd/chdir.c: Likewise.
26636         * sysdeps/mach/hurd/fchdir.c: Likewise.
26637         * sysdeps/mach/hurd/rename.c: Likewise.
26638         * sysdeps/mach/hurd/rmdir.c: Likewise.
26639         * sysdeps/mach/hurd/seekdir.c: Likewise.
26640         * sysdeps/mach/hurd/setsid.c: Likewise.
26641         * sysdeps/posix/wait3.c: Likewise.
26642
26643         * All files with FSF copyright notices: Update copyright dates
26644         using scripts/update-copyrights.
26645         * intl/plural.c: Regenerated.
26646         * locale/programs/charmap-kw.h: Likewise.
26647         * locale/programs/locfile-kw.h: Likewise.
26648
26649 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26650
26651         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26652         four values.
26653
26654         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26655         calculation loop and add branch prediction.
26656
26657         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26658         check access beyond bounds of m1np.
26659
26660         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26661         MPTWO.
26662         (__inv): Remove local variable MPTWO to use the global
26663         constant.
26664         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26665         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26666         variable MPTWO.
26667         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26668         MP3HALFS static const.
26669
26670 2013-01-01  David S. Miller  <davem@davemloft.net>
26671
26672         * po/ca.po: Update from translation team.
26673
26674 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
26675
26676         * scripts/update-copyrights: New file.
26677         * Makeconfig: Reformat copyright notice.
26678         * ctype/ctype.h: Likewise.
26679         * debug/swprintf_chk.c: Likewise.
26680         * elf/dl-cache.c: Likewise.
26681         * elf/dl-debug.c: Likewise.
26682         * elf/dl-object.c: Likewise.
26683         * grp/initgroups.c: Likewise.
26684         * hurd/Makefile: Likewise.
26685         * hurd/hurd/signal.h: Likewise.
26686         * hurd/hurdfault.c: Likewise.
26687         * hurd/hurdioctl.c: Likewise.
26688         * hurd/hurdlookup.c: Likewise.
26689         * hurd/intr-msg.c: Likewise.
26690         * iconv/gconv_open.c: Likewise.
26691         * libio/swprintf.c: Likewise.
26692         * locale/lc-ctype.c: Likewise.
26693         * locale/nl_langinfo.c: Likewise.
26694         * mach/Machrules: Likewise.
26695         * mach/Makefile: Likewise.
26696         * malloc/obstack.h: Likewise.
26697         * manual/Makefile: Likewise.
26698         * manual/tsort.awk: Likewise.
26699         * misc/bits/stab.def: Likewise.
26700         * nis/nis_print_group_entry.c: Likewise.
26701         * nis/nis_table.c: Likewise.
26702         * nis/nss_compat/compat-pwd.c: Likewise.
26703         * nis/nss_compat/compat-spwd.c: Likewise.
26704         * po/Makefile: Likewise.
26705         * posix/fnmatch.c: Likewise.
26706         * posix/regex.h: Likewise.
26707         * resolv/Makefile: Likewise.
26708         * resolv/nss_dns/dns-network.c: Likewise.
26709         * resolv/res_hconf.c: Likewise.
26710         * scripts/gen-sorted.awk: Likewise.
26711         * soft-fp/soft-fp.h: Likewise.
26712         * stdio-common/printf.h: Likewise.
26713         * stdlib/monetary.h: Likewise.
26714         * stdlib/random.c: Likewise.
26715         * stdlib/random_r.c: Likewise.
26716         * sysdeps/generic/Makefile: Likewise.
26717         * sysdeps/gnu/Makefile: Likewise.
26718         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26719         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26720         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26721         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26722         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26723         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26724         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26725         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26726         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26727         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26728         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26729         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26730         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26731         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26732         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26733         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26734         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26735         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26736         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26737         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26738         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26739         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26740         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26741         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26742         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26743         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26744         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26745         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26746         * sysdeps/mach/hurd/errnos.awk: Likewise.
26747         * sysdeps/mach/hurd/fork.c: Likewise.
26748         * sysdeps/mach/hurd/getcwd.c: Likewise.
26749         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26750         * sysdeps/mach/hurd/mmap.c: Likewise.
26751         * sysdeps/mach/hurd/utimes.c: Likewise.
26752         * sysdeps/mach/hurd/xmknod.c: Likewise.
26753         * sysdeps/posix/profil.c: Likewise.
26754         * sysdeps/posix/readdir_r.c: Likewise.
26755         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26756         * sysdeps/powerpc/bits/setjmp.h: Likewise.
26757         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26758         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26759         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26760         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26761         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26762         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26763         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26764         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26765         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26766         * sysdeps/pthread/lio_listio.c: Likewise.
26767         * sysdeps/sparc/dl-procinfo.h: Likewise.
26768         * sysdeps/unix/i386/sysdep.S: Likewise.
26769         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26770         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26771         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26772         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26774         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26775         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26776         * sysdeps/unix/sysv/linux/speed.c: Likewise.
26777         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26778         * sysdeps/wordsize-32/divdi3.c: Likewise.
26779         * time/sys/time.h: Likewise.
26780         * wcsmbs/Makefile: Likewise.
26781
26782 2013-01-01  David S. Miller  <davem@davemloft.net>
26783
26784         * po/fr.po: Update from translation team.
26785
26786         * catgets/gencat.c: Update copyright year.
26787         * csu/version.c: Likewise.
26788         * debug/catchsegv.sh: Likewise.
26789         * debug/pcprofiledump.c: Likewise.
26790         * debug/xtrace.sh: Likewise.
26791         * elf/ldconfig.c: Likewise.
26792         * elf/ldd.bash.in: Likewise.
26793         * elf/pldd.c: Likewise.
26794         * elf/sotruss.ksh: Likewise.
26795         * elf/sprof.c: Likewise.
26796         * iconv/iconv_prog.c: Likewise.
26797         * iconv/iconvconfig.c: Likewise.
26798         * locale/programs/locale.c: Likewise.
26799         * locale/programs/localedef.c: Likewise.
26800         * login/programs/pt_chown.c: Likewise.
26801         * malloc/memusage.sh: Likewise.
26802         * malloc/memusagestat.c: Likewise.
26803         * malloc/mtrace.pl: Likewise.
26804         * nscd/nscd.c: Likewise.
26805         * nss/getent.c: Likewise.
26806         * nss/makedb.c: Likewise.
26807         * posix/getconf.c: Likewise.
26808
26809 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26810
26811         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26812         numbers.
26813
26814 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
26815
26816         * math/bits/mathcalls.h (modf): Use __nonnull.
26817
26818 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26819
26820         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26821         (split): Use macro CN instead of the bare value.
26822         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26823         could be used.
26824         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26825         instead of the bare value.
26826         (power1): Likewise.
26827
26828 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26829
26830         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26831         __ATAN_TWOM.
26832         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26833
26834         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26835         their values.
26836         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26837         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26838         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26839         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26840
26841 2012-12-28  Andreas Jaeger  <aj@suse.de>
26842
26843         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
26844         values are from Linux 3.7.
26845
26846         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26847         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
26848
26849 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26850
26851         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26852         TRUE case.
26853
26854         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26855         (norm): Likewise.
26856         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26857         variables with preprocessor constants.
26858         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26859         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26860         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26861
26862 2012-12-27  Bruno Haible  <bruno@clisp.org>
26863
26864         [BZ #14317]
26865         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26866         only if needed.
26867
26868 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26869
26870         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26871         and use variable directly.
26872         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26873
26874         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26875         MPONE.
26876         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26877         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26878         variable MPONE.
26879         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26880         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26881         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26882         include directive.  Remove local variable MPONE.
26883         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26884         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26885         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26886
26887 2012-12-25  David S. Miller  <davem@davemloft.net>
26888
26889         * version.h (RELEASE): Set to "development".
26890         (VERSION): Set to "2.17.90".
26891         * NEWS: Add 2.18 section.
26892
26893 2012-12-21  David S. Miller  <davem@davemloft.net>
26894
26895         * po/hr.po: Update from translation team.
26896
26897 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26898
26899         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26900
26901 2012-12-19  Steve Ellcey  <sellcey@mips.com>
26902
26903         * NEWS:  Mention new memcpy for MIPS.
26904
26905 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26906
26907         * manual/contrib.texi (Contributors): Spelling correction.
26908
26909 2012-12-15  David S. Miller  <davem@davemloft.net>
26910
26911         * po/ru.po: Update from translation team.
26912
26913 2012-12-13  David S. Miller  <davem@davemloft.net>
26914
26915         * NEWS: Mention IFUNC testsuite enhancements.
26916
26917         * po/pl.po: Update from translation team.
26918         * po/bg.po: Likewise.
26919
26920         * manual/contrib.texi (Contributors): Update entries for Hongjiu
26921         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
26922
26923 2012-12-11  David S. Miller  <davem@davemloft.net>
26924
26925         * po/sv.po: Update from translation team.
26926
26927         * po/vi.po: Update from translation team.
26928
26929         * po/cs.po: Update from translation team.
26930
26931         * po/de.po: Update from translation team.
26932         * po/eo.po: Likewise.
26933         * po/nl.po: Likewise.
26934
26935 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26936
26937         [BZ #14246]
26938         * manual/argp.texi (Argp Helper Functions): Move node to follow
26939         Argp Parsing State.
26940
26941         [BZ #14872]
26942         * manual/conf.texi (Limits on File System Capacity): Mention if
26943         terminating null is included in the max size.
26944
26945 2012-12-10  Andreas Jaeger  <aj@suse.de>
26946
26947         * po/cs.po: Update from translation team.
26948
26949 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26950
26951         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26952         void pointer and cast to uintptr_t.
26953         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26954         path.
26955         * sysdeps/s390/s390-64/memcpy.S: Likewise.
26956         * sysdeps/s390/s390-64/memset.S: Likewise.
26957
26958 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
26959
26960         [BZ #14833]
26961         * menual/message.texi (Message Translation): Fix typos.
26962         (Helper programs for gettext): Likewise.
26963
26964 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
26965
26966         [BZ #14898]
26967         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26968         Change to -1.
26969
26970 2012-12-07  David S. Miller  <davem@davemloft.net>
26971
26972         * po/libc.pot: Update.
26973
26974 2012-12-07  Richard Henderson  <rth@redhat.com>
26975
26976         [BZ #10114]
26977         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26978         normal/normal case to before the switch.
26979         (_FP_DIV): Likewise.
26980
26981 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
26982             Mike Frysinger  <vapier@gentoo.org>
26983
26984         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26985         check for __NR_fadvise64_64.
26986
26987 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
26988
26989         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26990         0, not just to plain "0" as a statement.
26991         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26992         with cw.
26993
26994 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
26995
26996         * NEWS: Use sourceware.org in Bugzilla URL.
26997
26998 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26999
27000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27001         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27002
27003         * stdio-common/tst-put-error.c (do_test): Add newline to the
27004         padded test to ensure flush.
27005
27006 2012-12-05  Jeff Law  <law@redhat.com>
27007
27008         * sunrpc/etc.rpc (fedfs_admin): Add entry.
27009
27010 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
27011
27012         * README: Don't refer to ports add-on as distributed separately.
27013         Mention AArch64 in list of systems supported in the ports add-on.
27014
27015         * LICENSES: Add more non-FSF copyright and license notices.
27016
27017         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27018         ((unused)).
27019
27020         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27021
27022         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27023         10000 as width of padded output.
27024
27025 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27026
27027         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27028
27029         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27030         variable LX with __attribute__ ((unused)).
27031         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27032         Likewise.
27033         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27034         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27035         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27036         with __attribute__ ((unused)).
27037
27038 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
27039
27040         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27041
27042 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27043
27044         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27045         (CFLAGS-nldbl-acos.c): New variable.
27046         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27047         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27048         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27049         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27050         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27051         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27052         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27053         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27054         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27055         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27056         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27057         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27058         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27059         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27060         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27061         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27062         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27063         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27064         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27065         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27066         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27067         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27068         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27069         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27070         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27071         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27072         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27073         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27074         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27075         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27076         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27077         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27078         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27079         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27080         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27081         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27082         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27083         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27084         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27085         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27086         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27087         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27088         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27089         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27090         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27091         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27092         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27093         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27094         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27095         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27096         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27097         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27098         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27099         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27100         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27101         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27102         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27103         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27104         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27105         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27106         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27107         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27108         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27109         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27110         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27111         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27112         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27113         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27114         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27115         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27116         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27117         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27118         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27119         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27120         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27121         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27122         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27123         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27124         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27125         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27126         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27127         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27128         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27129         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27130         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27131         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27132         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27133         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27134         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27135         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27136         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
27137         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
27138         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
27139         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
27140         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
27141         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
27142         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
27143
27144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27145         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27146
27147         [BZ #14914]
27148         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
27149         whole low double instead of just low 47 bits when splitting values
27150         into two parts.
27151
27152 2012-12-03  Allan McRae  <allan@archlinux.org>
27153
27154         * manual/stdio.texi (Predefined Printf Handlers): Remove
27155         @hsep and @vsep usage.
27156
27157 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
27158
27159         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
27160         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
27161
27162 2012-12-03  Jeff Law  <law@redhat.com>
27163
27164         * time/sys/time.h (settimeofday): Do not mark TV argument
27165         as __nonnull.
27166
27167 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
27168
27169         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
27170         when currently writing and seek to current position when not.
27171         * libio/Makefile (tests): Remove bug-fclose1.
27172         * libio/bug-fclose1.c: Delete.
27173
27174 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
27175
27176         * manual/arith.texi (feenableexcept): Fix typo.
27177         (fedisableexcept): Likewise.
27178
27179 2012-11-30  Roland McGrath  <roland@hack.frob.com>
27180
27181         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
27182         second, differently-typed declaration, rather than a cast.
27183
27184 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27185
27186         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
27187         * include/rpc/svc.h: ... here.
27188
27189 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
27190
27191         [BZ #13013]
27192         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
27193         depending n and resplen2 to catch cases where answer
27194         equals answerp2.
27195
27196 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
27197
27198         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
27199         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
27200
27201 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
27202
27203         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
27204
27205 2012-11-29  Roland McGrath  <roland@hack.frob.com>
27206
27207         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
27208
27209 2012-11-28  Jeff Law  <law@redhat.com>
27210
27211         [BZ #13761]
27212         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
27213         dataset_temporary.  Track alloca usage into alloca_used.
27214         If dataset is large allocate and release it via malloc/free.
27215
27216 2012-06-04  Florian Weimer  <fweimer@redhat.com>
27217
27218         [BZ #14197]
27219         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
27220
27221 2012-11-28  David S. Miller  <davem@davemloft.net>
27222
27223         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27224
27225 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27226
27227         [BZ #14803]
27228         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
27229         of pi/2 rounded to nearest to 64 bits.
27230         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
27231         nearest to 64 bits.
27232         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
27233         bits.
27234
27235 2012-11-28  Jeff Law <law@redhat.com>
27236             Martin Osvald <mosvald@redhat.com>
27237
27238         [BZ #14889]
27239         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
27240         * sunrpc/svc.c: Include time.h.
27241         (__svc_accept_failed): New function.
27242         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
27243         any reason other than EINTR, call __svc_accept_failed.
27244         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
27245         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
27246
27247 2012-11-28  Andreas Schwab  <schwab@suse.de>
27248
27249         * scripts/abilist.awk: Also handle indirect functions in .opd
27250         section.
27251
27252 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
27253
27254         [BZ #13881]
27255         * sysdeps/x86/fpu/powl_helper.c: New file.
27256         * sysdeps/x86/fpu/Makefile: Likewise.
27257         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
27258         (p3): New object.
27259         (__ieee754_powl): Use __powl_helper for finite arguments except
27260         integer exponents below 8.
27261         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
27262         (p3): New object.
27263         (__ieee754_powl): Use __powl_helper for finite arguments except
27264         integer exponents below 8.
27265         * math/libm-test.inc (pow_test): Add more tests and enable some
27266         previously disabled tests.
27267         * sysdeps/i386/fpu/libm-test-ulps: Update.
27268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27269
27270 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27271             Carlos O'Donell  <carlos_odonell@mentor.com>
27272
27273         * nss/makedb.c (is_prime): Assert that input is odd and greater
27274         than 4.  Note that fact in a comment too.
27275         (next_prime): Add 4 to input.
27276
27277 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27278
27279         [BZ #11741]
27280         * libio/Makefile (tests): Add test case tst-fwrite-error.
27281         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27282         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27283         * libio/tst-fwrite-error.c: New test case.
27284
27285 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
27286
27287         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27288         before casting to void *.
27289         * include/libc-internal.h (__pointer_type): New macro.
27290         (__integer_if_pointer_type_sub): Likewise.
27291         (__integer_if_pointer_type): Likewise.
27292         (cast_to_integer): Likewise.
27293         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27294         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27295         before casting to atomic64_t.
27296         (atomic_exchange_acq): Likewise.
27297         (__arch_exchange_and_add_body): Likewise.
27298         (__arch_add_body): Likewise.
27299         (atomic_add_negative): Likewise.
27300         (atomic_add_zero): Likewise.
27301
27302 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
27303
27304         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27305         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27306         (add_fdes): Likewise.
27307         (linear_search_fdes): Likewise.
27308         (binary_search_unencoded_fdes): Likewise.
27309
27310 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
27311
27312         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27313
27314 2012-11-24  Adam Conrad  <adconrad@0c3.net>
27315
27316         * configure.in: Autodetect C++ header directories.
27317         * configure: Regenerated.
27318
27319 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
27320
27321         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27322
27323 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
27324
27325         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27326
27327 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
27328
27329         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27330         LDBL_MANT_DIG == 106]: Disable some tests.
27331         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27332         Likewise.
27333         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27334         Likewise.
27335
27336         [BZ #14871]
27337         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27338         input for small inputs.  Return +/- pi/2 for large inputs.
27339         * math/libm-test.inc (atan_test): Add more tests.
27340
27341         * sysdeps/generic/unwind-dw2-fde-glibc.c
27342         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27343         __attribute__ ((unused)).
27344
27345         [BZ #14645]
27346         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27347         x * y if x and y are nonzero and z is zero.
27348
27349         [BZ #14811]
27350         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27351         nonzero exponents with absolute value below 0x1p-117 to +/-
27352         0x1p-117.
27353
27354         [BZ #14869]
27355         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27356         up arguments below 2**-450, not just those below 2**-500.
27357         * math/libm-test.inc (hypot_test): Add another test.
27358
27359         [BZ #14868]
27360         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27361         Return a+b for ratio over 2**120, not 2**60.
27362         * math/libm-test.inc (hypot_test): Add another test.
27363
27364         * math/libm-test.inc (clog_test): Use
27365         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27366         (clog10_test): Likewise.
27367
27368         [BZ #6778]
27369         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27370
27371 2012-11-22  Andreas Schwab  <schwab@suse.de>
27372
27373         * sysdeps/i386/fpu/libm-test-ulps: Update.
27374
27375 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
27376
27377         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27378         printf output with newline.
27379
27380 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
27381
27382         [BZ #14865]
27383         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27384         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27385         -z nodlopen, -z initfirst and -z execstack support.
27386         * configure: Regenerated.
27387
27388         * elf/elf.h (DF_1_NODIRECT): New macro.
27389         (DF_1_IGNMULDEF): Likewise.
27390         (DF_1_NOKSYMS): Likewise.
27391         (DF_1_NOHDR): Likewise.
27392         (DF_1_EDITED): Likewise.
27393         (DF_1_NORELOC): Likewise.
27394         (DF_1_SYMINTPOSE): Likewise.
27395         (DF_1_GLOBAUDIT): Likewise.
27396         (DF_1_SINGLETON): Likewise.
27397         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27398         DT_1_SUPPORTED_MASK bits.
27399         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27400
27401 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
27402
27403         * sysdeps/unix/make-syscalls.sh: Document prefixes.
27404
27405 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
27406
27407         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27408         macro.
27409
27410         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27411         (sendmmsg): Move declarations...
27412         * socket/sys/socket.h: ... here.
27413         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27414         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27415         include it from...
27416         * socket/recvmmsg.c: ... this new file.
27417         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27418         (sendmmsg): Rename to __sendmmsg, create weak alias and make
27419         definition of __sendmmsg hidden.
27420         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27421         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27422         Move ENOSYS stub into and include it from...
27423         * socket/sendmmsg.c: ... this new file.
27424         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27425         (sysdep_routines): Move recvmmsg and sendmmsg...
27426         * socket/Makefile (routines): ... here.
27427         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27428         (GLIBC_PRIVATE): Add __sendmmsg.
27429         * include/sys/socket.h (__sendmmsg): Add declarations.
27430         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27431         sendmmsg.
27432
27433 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27434
27435         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27436         variable I1 with __attribute__ ((unused)).
27437         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27438
27439 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27440
27441         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27442         DUMMY variables with __attribute__ ((unused)).
27443
27444         * bits/byteswap.h: Include <bits/types.h>.
27445         (__bswap_64): Use __uint64_t instead of unsigned long long int.
27446
27447 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27448
27449         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27450         string_t.  Do not manually set errno.
27451         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27452         length with __strnlen.  Make sure to both set errno and return it on
27453         failure.
27454
27455 2012-11-19  David S. Miller  <davem@davemloft.net>
27456
27457         With help from Joseph Myers.
27458         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27459         very large arguments properly.
27460         * math/libm-test.inc (atan_test): New tests.
27461         (atan2_test): New tests.
27462         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27463         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27464
27465 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27466
27467         [BZ #14856]
27468         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27469         Define to 3.
27470
27471         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27472         [POSIX] (EADDRNOTAVAIL): Likewise.
27473         [POSIX] (EAFNOSUPPORT): Likewise.
27474         [POSIX] (EALREADY): Likewise.
27475         [POSIX] (ECONNABORTED): Likewise.
27476         [POSIX] (ECONNREFUSED): Likewise.
27477         [POSIX] (ECONNRESET): Likewise.
27478         [POSIX] (EDESTADDRREQ): Likewise.
27479         [POSIX] (EDQUOT): Likewise.
27480         [POSIX] (EHOSTUNREACH): Likewise.
27481         [POSIX] (EIDRM): Likewise.
27482         [POSIX] (EISCONN): Likewise.
27483         [POSIX] (ELOOP): Likewise.
27484         [POSIX] (EMULTIHOP): Likewise.
27485         [POSIX] (ENETDOWN): Likewise.
27486         [POSIX] (ENETUNREACH): Likewise.
27487         [POSIX] (ENOBUFS): Likewise.
27488         [POSIX] (ENODATA): Likewise.
27489         [POSIX] (ENOLINK): Likewise.
27490         [POSIX] (ENOMSG): Likewise.
27491         [POSIX] (ENOPROTOOPT): Likewise.
27492         [POSIX] (ENOSR): Likewise.
27493         [POSIX] (ENOSTR): Likewise.
27494         [POSIX] (ENOTCONN): Likewise.
27495         [POSIX] (ENOTSOCK): Likewise.
27496         [POSIX] (EOPNOTSUPP): Likewise.
27497         [POSIX] (EOVERFLOW): Likewise.
27498         [POSIX] (EPROTO): Likewise.
27499         [POSIX] (EPROTONOSUPPORT): Likewise.
27500         [POSIX] (EPROTOTYPE): Likewise.
27501         [POSIX] (ESTALE): Likewise.
27502         [POSIX] (ETIME): Likewise.
27503         [POSIX] (ETXTBSY): Likewise.
27504         [POSIX] (EWOULDBLOCK): Likewise.
27505         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27506         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27507         [POSIX] (SEEK_CUR): Likewise.
27508         [POSIX] (SEEK_END): Likewise.
27509         [POSIX || UNIX98] (mode_t): Do not require.
27510         [POSIX] (off_t): Likewise.
27511         [POSIX] (pid_t): Likewise.
27512         [POSIX] (sys/stat.h): Do not allow header.
27513         [POSIX] (unistd.h): Likewise.
27514         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27515         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27516         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27517         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27518         require.
27519         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27520         sigevent): Specify elements.
27521         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27522         entry.
27523         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27524         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27525
27526         * conform/data/cpio.h-data [POSIX]: Disable whole file.
27527         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27528         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27529         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27530         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27531         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27532         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27533         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27534         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27535         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27536         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27537         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27538         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27539         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27540         Likewise.
27541         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27542         Likewise.
27543         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27544         Likewise.
27545         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27546         Likewise.
27547         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27548         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27549         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27550         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27551         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27552         Specify lower bound on value.
27553         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27554         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27555         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27556         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27557         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27558         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27559         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27560         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27561         value.
27562         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27563         as optional.
27564         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27565         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27566         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27567         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27568         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27569         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27570         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27571         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27572         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27573         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27574         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27575         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27576         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27577         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27578         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27579         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27580         entry.
27581         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27582         optional.
27583         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27584         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27585         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27586         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27587         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27588         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27589         Likewise.
27590         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27591         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27592         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27593         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27594         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
27595         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27596         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27597         as optional.
27598         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27599         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27600         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27601         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27602         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27603         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27604         specify as optional.
27605         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27606         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27607         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27608         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27609         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27610         [XPG3] (NL_LANGMAX): Likewise.
27611         [POSIX || XPG3] (NL_MSGMAX): Likewise.
27612         [POSIX || XPG3] (NL_NMAX): Likewise.
27613         [POSIX || XPG3] (NL_SETMAX): Likewise.
27614         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27615         [XPG3] (NZERO): Likewise.
27616         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27617         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27618         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27619         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27620         (REG_ERANGE): Expect.
27621         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27622         optional-constant.
27623         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27624         Use (void) in prototype.
27625         [POSIX] (*_t): Allow.
27626         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27627         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27628         (WRDE_BADVAL): Expect.
27629
27630         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27631         expect.
27632         [XPG3 || XPG4] (O_RSYNC): Likewise.
27633         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27634         Likewise.
27635         [XPG3 || XPG4] (pthread_sigmask): Likewise.
27636         [XPG3 || XPG4] (sigqueue): Likewise.
27637         [XPG3 || XPG4] (sigtimedwait): Likewise.
27638         [XPG3 || XPG4] (sigwaitinfo): Likewise.
27639         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27640         [XPG3 || XPG4] (vsnprintf): Likewise.
27641         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27642         Likewise.
27643         [XPG3 || XPG4] (blksize_t): Likewise.
27644         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27645         Likewise.
27646         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27647         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27648         [XPG3 || XPG4] (struct itimerspec): Likewise.
27649         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27650         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27651         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27652         [XPG3 || XPG4] (clockid_t): Likewise.
27653         [XPG3 || XPG4] (timer_t): Likewise.
27654         [XPG3 || XPG4] (clock_getres): Likewise.
27655         [XPG3 || XPG4] (clock_gettime): Likewise.
27656         [XPG3 || XPG4] (clock_settime): Likewise.
27657         [XPG3 || XPG4] (nanosleep): Likewise.
27658         [XPG3 || XPG4] (timer_create): Likewise.
27659         [XPG3 || XPG4] (timer_delete): Likewise.
27660         [XPG3 || XPG4] (timer_gettime): Likewise.
27661         [XPG3 || XPG4] (timer_getoverrun): Likewise.
27662         [XPG3 || XPG4] (timer_settime): Likewise.
27663         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27664         [XPG3 || XPG4] (getlogin_r): Likewise.
27665         [XPG3 || XPG4] (pread): Likewise.
27666         [XPG3 || XPG4] (pthread_atfork): Likewise.
27667         [XPG3 || XPG4] (pwrite): Likewise.
27668
27669         [BZ #14835]
27670         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27671         <bits/siginfo.h>.
27672
27673 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27674
27675         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27676         finalizing MALLSTREAM.
27677
27678         * sysdeps/mach/hurd/syncfs.c: New file.
27679
27680 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27681
27682         [BZ #14719]
27683         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27684         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27685         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27686         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27687         (_nss_dns_gethostbyname4_r): Likewise.
27688         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27689         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27690
27691 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
27692
27693         [BZ #13763]
27694         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27695
27696 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
27697
27698         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27699         * elf/cache.c (print_entry): Print ",AArch64" for
27700         FLAG_AARCH64_LIB64
27701
27702         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27703         * elf/cache.c (print_entry): Print ",hard-float" for
27704         FLAG_ARM_LIBHF.
27705
27706 2012-11-18  David S. Miller  <davem@davemloft.net>
27707
27708         With help from Joseph Myers.
27709         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27710         cutoff to 2**-13.
27711         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27712         cutoff to 2**-25.
27713         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27714         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27715         small.
27716         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27717         * math/libm-test.inc (y0_test): New tests.
27718         (y1_test): New tests.
27719         * sysdeps/i386/fpu/libm-test-ulps: Update.
27720         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27721         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27722
27723 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
27724
27725         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27726         64-bit targets.
27727         * configure: Regenerated.
27728
27729 2012-11-17  David S. Miller  <davem@davemloft.net>
27730
27731         [BZ #14811]
27732         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27733         nonzero exponents with absolute value below 0x1p-128 to +/-
27734         0x1p-128.
27735
27736 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
27737
27738         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27739
27740         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27741
27742         * posix/getconf-speclist.c: New file.
27743         * posix/posix-envs.def: Likewise.
27744         * posix/confstr.c (START_ENV_GROUP): New macro.
27745         (END_ENV_GROUP): Likewise.
27746         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27747         (KNOWN_PRESENT_ENV_STRING): Likewise.
27748         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27749         (UNKNOWN_ENVIRONMENT): Likewise.
27750         (confstr): Include posix-envs.def instead of handling
27751         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27752         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27753         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27754         (END_ENV_GROUP): Likewise.
27755         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27756         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27757         (UNKNOWN_ENVIRONMENT): Likewise.
27758         (__sysconf): Include posix-envs.def instead of handling associated
27759         cases directly here.
27760         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27761         preprocessing getconf-speclist.c rather than running getconf or
27762         generating empty file.
27763
27764 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
27765
27766         * scripts/check-local-headers.sh: Ignore 'mach' headers.
27767
27768 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
27769
27770         [BZ #14672]
27771         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27772
27773 2012-11-16  David S. Miller  <davem@davemloft.net>
27774
27775         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27776         smaller than LDBL_EPSILON/2.0L, just return xm1.
27777
27778 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
27779
27780         * elf/tst-array1.c (init): Set constructor priority to 1000.
27781         (fini): Set destructor priority to 1000.
27782         * elf/tst-array2dep.c: Likewise.
27783
27784 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27785
27786         [BZ #11741]
27787         * libio/fileops.c (_IO_new_file_write): Correctly return error.
27788         (_IO_new_file_xsputn): Also return EOF if none of the input
27789         data was written when overflow failed.
27790         * libio/iopadn.c (_IO_padn): Likewise.
27791         * libio/iowpadn.c (_IO_wpadn): Likewise.
27792         * stdio-common/tst-put-error.c: Add copyright notice.
27793         (do_test): Add case for printing padded string.
27794         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27795         _IO_padn returned error.
27796         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27797         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27798         return EOF.
27799
27800 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27801
27802         * libio/libioP.h: Add comment note that the references to C++
27803         bits are now obsolete.
27804
27805 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27806
27807         * math/libm-test.inc (check_complex): Use asprintf.
27808
27809 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
27810
27811         * debug/pcprofiledump.c (print_version): Update copyright year.
27812         * malloc/memusagestat.c (print_version): Likewise.
27813
27814 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
27815
27816         [BZ #14831]
27817         * elf/Makefile (tests): Add tst-audit8.
27818         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27819         ($(objpfx)tst-audit8.out): New target.
27820         (tst-audit8-ENV): New variable.
27821         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27822         audit if l_reloc_result is NULL.
27823         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27824         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27825         * elf/tst-audit8.c: New file.
27826
27827 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27828
27829         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27830         * misc/Makefile (CFLAGS-select.c): Define.
27831         * posix/Makefile (CFLAGS-pause.c): Define.
27832
27833 2012-11-13  David S. Miller  <davem@davemloft.net>
27834
27835         * crypt/Makefile: Move test targets after toplevel Rules
27836         inclusion.  Grab any necessary sysdep routines when linking.
27837         * crypt/md5.c (md5_process_block): Remove define, we will always
27838         name it __md5_process_block.
27839         (md5_finish_ctx): Update md5_process_block call.
27840         (md5_stream): Likewise.
27841         (md5_process_bytes): Likewise.
27842         (md5_process_block): Rename to __md5_process_block and move to ...
27843         * crypt/md5-block.c: ... here.
27844         * crypt/sha256.c (sha256_process_block): Move to ...
27845         * crypt/sha256-block.c: ... here.
27846         * crypt/sha512.c (sha512_process_block): Move to ...
27847         * crypt/sha512-block.c: ... here.
27848         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27849         path.
27850         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27851         * sysdeps/sparc/sparc64/multiarch/Makefile
27852         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27853         crypt subdir.
27854         (localedef-aux): Add md5 crypto assembler when in locale subdir.
27855         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27856         multiarch changes.
27857         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27858         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27859         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27860         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27861         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27862         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27863         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27864         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27865         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27866         file.
27867         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27868         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27869         file.
27870         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27871
27872 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
27873
27874         * timezone/tzselect.ksh: Update from tzcode git revision
27875         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27876         * timezone/zdump.c: Likewise.
27877         * timezone/zic.c: Likewise.
27878         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27879         in TZVERSION setting, not $(PKGVERSION).
27880         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
27881         REPORT_BUGS_TO settings.
27882
27883         [BZ #14838]
27884         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27885         macro.
27886
27887 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27888
27889         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27890         detection to immediately after _FP_ROUND().
27891         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27892         bits are 0.
27893
27894 2012-11-11  David S. Miller  <davem@davemloft.net>
27895
27896         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27897         inttypes.h
27898         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27899         __close rather than their public counterparts.
27900
27901 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
27902
27903         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27904         file.
27905         [UNIX98] (sem_timedwait): Do not expect.
27906         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27907         [XPG4 || UNIX98] (sockatmark): Do not expect.
27908         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27909         (clock_getcpuclockid): Do not expect.
27910         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27911         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27912         Do not expect.
27913         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27914         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27915         [UNIX98] (vwscanf): Likewise.
27916         [UNIX98] (vswscanf): Likewise.
27917
27918 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
27919
27920         * timezone/version.h: Remove file.
27921         * timezone/README: Do not refer to version.h.
27922         * timezone/Makefile ($(objpfx)zic.o): New dependency on
27923         $(objpfx)version.h.
27924         ($(objpfx)zdump.o): Likewise.
27925         ($(objpfx)version.h): New target.
27926
27927         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27928         2012i.
27929         * timezone/README: Don't mention modification to tzselect.ksh.
27930         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27931         work on unmodified tzselect.ksh.  Substitute version numbers in
27932         tzselect.ksh.
27933
27934         * Makefile (format-me): Remove.
27935         (INSTALL): Adjust indentation.  Use commands directly instead of
27936         using $(format-me).
27937
27938         * aclocal.m4 (ACX_PKGVERSION): New macro.
27939         (ACX_BUGURL): Likewise.
27940         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27941         (PKGVERSION): New AC_DEFINE_UNQUOTED.
27942         (REPORT_BUGS_TO): Likewise.
27943         * configure: Regenerated.
27944         * config.h.in (PKGVERSION): New macro.
27945         (REPORT_BUGS_TO): Likewise.
27946         * config.make.in (PKGVERSION): New variable.
27947         (PKGVERSION_TEXI): Likewise.
27948         (REPORT_BUGS_TO): Likewise.
27949         (REPORT_BUGS_TEXI): Likewise.
27950         * Makefile (format-me): Use -I$(common-objpfx)manual.
27951         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27952         ($(common-objpfx)manual/%): New target.
27953         (manual/%): Remove target.
27954         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27955         (print_version): Use PKGVERSION.
27956         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27957         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27958         and REPORT_BUGS_TO.
27959         ($(objpfx)xtrace): Likewise.
27960         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27961         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27962         (print_version): Use PKGVERSION.
27963         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27964         (do_version): Use PKGVERSION.
27965         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27966         REPORT_BUGS_TO.
27967         (common-ldd-rewrite): Likewise.
27968         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27969         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27970         (print_version): Use PKGVERSION.
27971         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27972         * elf/pldd.c (argp_program_bug_address): Remove variable.
27973         (more_help): New function.
27974         (argp): Use more_help.
27975         (print_version): Use PKGVERSION.
27976         * elf/sln.c (main): Use PKGVERSION.
27977         (usage): Use REPORT_BUGS_TO.
27978         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27979         (top level): Use PKGVERSION.
27980         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27981         (print_version): Use PKGVERSION.
27982         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27983         (print_version): Use PKGVERSION.
27984         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27985         (print_version): Use PKGVERSION.
27986         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27987         (print_version): Use PKGVERSION.
27988         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27989         (print_version): Use PKGVERSION.
27990         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27991         (print_version): Use PKGVERSION.
27992         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27993         and BUGURL.
27994         ($(objpfx)memusage): Likewise.
27995         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27996         (do_version): Use PKGVERSION.
27997         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27998         (print_version): Use PKGVERSION.
27999         * malloc/mtrace.pl ($PACKAGE): Remove variable.
28000         ($PKGVERSION): New variable.
28001         ($REPORT_BUGS_TO): Likewise.
28002         (usage): Use $REPORT_BUGS_TO.
28003         (top level): Use $PKGVERSION.
28004         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28005         ($(objpfx)pkgvers.texi): New rule.
28006         ($(objpfx)stamp-pkgvers): Likewise.
28007         * manual/install.texi: Include pkgvers.texi.
28008         (--with-pkgversion): Document new configure option.
28009         (--with-bugurl): Likewise.
28010         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28011         than necessarily for this particular distribution.  Use
28012         REPORT_BUGS_TO for where to report bugs.
28013         * INSTALL: Regenerated.
28014         * manual/libc.texinfo: Include pkgvers.texi.
28015         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28016         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28017         (print_version): Use PKGVERSION.
28018         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28019         (print_version): Use PKGVERSION.
28020         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28021         (print_version): Use PKGVERSION.
28022         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28023         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28024         macro.
28025         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28026         (print_version): Use PKGVERSION.
28027         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28028         (print_version): Use PKGVERSION.
28029         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28030         and PKGVERSION.
28031
28032         * timezone/checktab.awk: Update from tzcode 2012i.
28033         * timezone/ialloc.c: Likewise.
28034         * timezone/private.h: Likewise.
28035         * timezone/scheck.c: Likewise.
28036         * timezone/tzfile.h: Likewise.
28037         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28038         (TZVERSION): Hardcode tzcode version number.
28039         * timezone/zdump.c: Update from tzcode 2012i.
28040         * timezone/zic.c: Likewise.
28041         * timezone/version.h: New file.
28042         * timezone/README: Describe version.h.  Update upstream location.
28043
28044         [BZ #14824]
28045         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28046         (mktemp): Enable declaration.
28047         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28048         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28049         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28050         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28051         Likewise.
28052         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28053         Likewise.
28054         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28055         Likewise.
28056         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28057         Likewise.
28058         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28059         Likewise.
28060         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28061         Likewise.
28062
28063         [BZ #14821]
28064         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28065         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
28066         for copies of such integer values.
28067         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28068         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28069
28070 2012-11-09  Andreas Jaeger  <aj@suse.de>
28071
28072         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28073         definitions and declarations that are provided by
28074         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28075
28076 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28077
28078         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28079         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28080         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28081         definition.
28082
28083 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28084
28085         * elf/elf.h: Update comment before AArch64 relocations.
28086
28087 2012-11-07  David S. Miller  <davem@davemloft.net>
28088
28089         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28090         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28091         (__start_context): Declare.
28092         (__makecontext_ret): Delete.
28093         (__makecontext): Hook up __start_context instead of
28094         __makecontext_ret.
28095         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28096         (sysdep_routines): Add __start_context when in stdlib.
28097
28098 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28099
28100         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28101         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28102         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
28103         hardcoded "nm".
28104         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
28105         (READELF): New variable.  Use it instead of hardcoded "readelf".
28106
28107 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
28108
28109         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28110         * sysdeps/x86/Makefile: Here.
28111         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28112         * sysdeps/x86/tst-xmmymm.sh: This.
28113
28114 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28115
28116         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28117         expectations.
28118         [UNIX98] (pthread_barrier_t): Do not expect.
28119         [UNIX98] (pthread_barrierattr_t): Likewise.
28120         [UNIX98] (pthread_spinlock_t): Likewise.
28121         [UNIX98] (pthread_barrier_destroy): Likewise.
28122         [UNIX98] (pthread_barrier_init): Likewise.
28123         [UNIX98] (pthread_barrier_wait): Likewise.
28124         [UNIX98] (pthread_barrierattr_destroy): Likewise.
28125         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28126         [UNIX98] (pthread_barrierattr_init): Likewise.
28127         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28128         [UNIX98] (pthread_getcpuclockid): Likewise.
28129         [UNIX98] (pthread_mutex_timedlock): Likewise.
28130         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28131         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28132         [UNIX98] (pthread_sigmask): Likewise.
28133         [UNIX98] (pthread_spin_destroy): Likewise.
28134         [UNIX98] (pthread_spin_init): Likewise.
28135         [UNIX98] (pthread_spin_lock): Likewise.
28136         [UNIX98] (pthread_spin_trylock): Likewise.
28137         [UNIX98] (pthread_spin_unlock): Likewise.
28138         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
28139         Do not expect.
28140         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
28141         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
28142         [XPG3 || XPG4] (pthread_cond_t): Likewise.
28143         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
28144         [XPG3 || XPG4] (pthread_key_t): Likewise.
28145         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
28146         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
28147         [XPG3 || XPG4] (pthread_once_t): Likewise.
28148         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
28149         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
28150         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
28151         [XPG3 || XPG4] (pthread_t): Likewise.
28152
28153         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
28154         not expect.
28155         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
28156
28157         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
28158         Change function return type to int.
28159
28160         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
28161         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
28162         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
28163         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
28164         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
28165         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
28166         [!POSIX] (posix_madvise): Likewise.
28167         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
28168         && !UNIX98].
28169         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
28170         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
28171         (mode_t): Likewise.
28172         (posix_mem_offset): Likewise.
28173         (posix_typed_mem_get_info): Likewise.
28174         (posix_typed_mem_open): Likewise.
28175
28176         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
28177         Change condition to [XOPEN2K8].
28178
28179         * conform/conformtest.pl: Preprocess allow-header data with -x c
28180         instead of from stdin.
28181         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
28182         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
28183         [C99-based standards] (cerfc): Likewise.
28184         [C99-based standards] (cexp2): Likewise.
28185         [C99-based standards] (cexpm1): Likewise.
28186         [C99-based standards] (clog10): Likewise.
28187         [C99-based standards] (clog1p): Likewise.
28188         [C99-based standards] (clog2): Likewise.
28189         [C99-based standards] (clgamma): Likewise.
28190         [C99-based standards] (ctgamma): Likewise.
28191         [C99-based standards] (cerff): Likewise.
28192         [C99-based standards] (cerfcf): Likewise.
28193         [C99-based standards] (cexp2f): Likewise.
28194         [C99-based standards] (cexpm1f): Likewise.
28195         [C99-based standards] (clog10f): Likewise.
28196         [C99-based standards] (clog1pf): Likewise.
28197         [C99-based standards] (clog2f): Likewise.
28198         [C99-based standards] (clgammaf): Likewise.
28199         [C99-based standards] (ctgammaf): Likewise.
28200         [C99-based standards] (cerfl): Likewise.
28201         [C99-based standards] (cerfcl): Likewise.
28202         [C99-based standards] (cexp2l): Likewise.
28203         [C99-based standards] (cexpm1l): Likewise.
28204         [C99-based standards] (clog10l): Likewise.
28205         [C99-based standards] (clog1pl): Likewise.
28206         [C99-based standards] (clog2l): Likewise.
28207         [C99-based standards] (clgammal): Likewise.
28208         [C99-based standards] (ctgammal): Likewise.
28209         * conform/data/inttypes.h-data [C99-based standards]: Include
28210         stdint.h-data.  Remove all expectations for stdint.h contents.
28211         [C99-based standards] (PRI*): Do not allow.
28212         [C99-based standards] (SCN*): Likewise.
28213         [C99-based standards] (*_t): Likewise.
28214         [C99-based-standards] (PRId8): Expect macro.
28215         [C99-based-standards] (PRIi8): Likewise.
28216         [C99-based-standards] (PRIo8): Likewise.
28217         [C99-based-standards] (PRIu8): Likewise.
28218         [C99-based-standards] (PRIx8): Likewise.
28219         [C99-based-standards] (PRIX8): Likewise.
28220         [C99-based-standards] (SCNd8): Likewise.
28221         [C99-based-standards] (SCNi8): Likewise.
28222         [C99-based-standards] (SCNo8): Likewise.
28223         [C99-based-standards] (SCNu8): Likewise.
28224         [C99-based-standards] (SCNx8): Likewise.
28225         [C99-based-standards] (PRIdLEAST8): Likewise.
28226         [C99-based-standards] (PRIiLEAST8): Likewise.
28227         [C99-based-standards] (PRIoLEAST8): Likewise.
28228         [C99-based-standards] (PRIuLEAST8): Likewise.
28229         [C99-based-standards] (PRIxLEAST8): Likewise.
28230         [C99-based-standards] (PRIXLEAST8): Likewise.
28231         [C99-based-standards] (SCNdLEAST8): Likewise.
28232         [C99-based-standards] (SCNiLEAST8): Likewise.
28233         [C99-based-standards] (SCNoLEAST8): Likewise.
28234         [C99-based-standards] (SCNuLEAST8): Likewise.
28235         [C99-based-standards] (SCNxLEAST8): Likewise.
28236         [C99-based-standards] (PRIdFAST8): Likewise.
28237         [C99-based-standards] (PRIiFAST8): Likewise.
28238         [C99-based-standards] (PRIoFAST8): Likewise.
28239         [C99-based-standards] (PRIuFAST8): Likewise.
28240         [C99-based-standards] (PRIxFAST8): Likewise.
28241         [C99-based-standards] (PRIXFAST8): Likewise.
28242         [C99-based-standards] (SCNdFAST8): Likewise.
28243         [C99-based-standards] (SCNiFAST8): Likewise.
28244         [C99-based-standards] (SCNoFAST8): Likewise.
28245         [C99-based-standards] (SCNuFAST8): Likewise.
28246         [C99-based-standards] (SCNxFAST8): Likewise.
28247         [C99-based-standards] (PRId16): Likewise.
28248         [C99-based-standards] (PRIi16): Likewise.
28249         [C99-based-standards] (PRIo16): Likewise.
28250         [C99-based-standards] (PRIu16): Likewise.
28251         [C99-based-standards] (PRIx16): Likewise.
28252         [C99-based-standards] (PRIX16): Likewise.
28253         [C99-based-standards] (SCNd16): Likewise.
28254         [C99-based-standards] (SCNi16): Likewise.
28255         [C99-based-standards] (SCNo16): Likewise.
28256         [C99-based-standards] (SCNu16): Likewise.
28257         [C99-based-standards] (SCNx16): Likewise.
28258         [C99-based-standards] (PRIdLEAST16): Likewise.
28259         [C99-based-standards] (PRIiLEAST16): Likewise.
28260         [C99-based-standards] (PRIoLEAST16): Likewise.
28261         [C99-based-standards] (PRIuLEAST16): Likewise.
28262         [C99-based-standards] (PRIxLEAST16): Likewise.
28263         [C99-based-standards] (PRIXLEAST16): Likewise.
28264         [C99-based-standards] (SCNdLEAST16): Likewise.
28265         [C99-based-standards] (SCNiLEAST16): Likewise.
28266         [C99-based-standards] (SCNoLEAST16): Likewise.
28267         [C99-based-standards] (SCNuLEAST16): Likewise.
28268         [C99-based-standards] (SCNxLEAST16): Likewise.
28269         [C99-based-standards] (PRIdFAST16): Likewise.
28270         [C99-based-standards] (PRIiFAST16): Likewise.
28271         [C99-based-standards] (PRIoFAST16): Likewise.
28272         [C99-based-standards] (PRIuFAST16): Likewise.
28273         [C99-based-standards] (PRIxFAST16): Likewise.
28274         [C99-based-standards] (PRIXFAST16): Likewise.
28275         [C99-based-standards] (SCNdFAST16): Likewise.
28276         [C99-based-standards] (SCNiFAST16): Likewise.
28277         [C99-based-standards] (SCNoFAST16): Likewise.
28278         [C99-based-standards] (SCNuFAST16): Likewise.
28279         [C99-based-standards] (SCNxFAST16): Likewise.
28280         [C99-based-standards] (PRId32): Likewise.
28281         [C99-based-standards] (PRIi32): Likewise.
28282         [C99-based-standards] (PRIo32): Likewise.
28283         [C99-based-standards] (PRIu32): Likewise.
28284         [C99-based-standards] (PRIx32): Likewise.
28285         [C99-based-standards] (PRIX32): Likewise.
28286         [C99-based-standards] (SCNd32): Likewise.
28287         [C99-based-standards] (SCNi32): Likewise.
28288         [C99-based-standards] (SCNo32): Likewise.
28289         [C99-based-standards] (SCNu32): Likewise.
28290         [C99-based-standards] (SCNx32): Likewise.
28291         [C99-based-standards] (PRIdLEAST32): Likewise.
28292         [C99-based-standards] (PRIiLEAST32): Likewise.
28293         [C99-based-standards] (PRIoLEAST32): Likewise.
28294         [C99-based-standards] (PRIuLEAST32): Likewise.
28295         [C99-based-standards] (PRIxLEAST32): Likewise.
28296         [C99-based-standards] (PRIXLEAST32): Likewise.
28297         [C99-based-standards] (SCNdLEAST32): Likewise.
28298         [C99-based-standards] (SCNiLEAST32): Likewise.
28299         [C99-based-standards] (SCNoLEAST32): Likewise.
28300         [C99-based-standards] (SCNuLEAST32): Likewise.
28301         [C99-based-standards] (SCNxLEAST32): Likewise.
28302         [C99-based-standards] (PRIdFAST32): Likewise.
28303         [C99-based-standards] (PRIiFAST32): Likewise.
28304         [C99-based-standards] (PRIoFAST32): Likewise.
28305         [C99-based-standards] (PRIuFAST32): Likewise.
28306         [C99-based-standards] (PRIxFAST32): Likewise.
28307         [C99-based-standards] (PRIXFAST32): Likewise.
28308         [C99-based-standards] (SCNdFAST32): Likewise.
28309         [C99-based-standards] (SCNiFAST32): Likewise.
28310         [C99-based-standards] (SCNoFAST32): Likewise.
28311         [C99-based-standards] (SCNuFAST32): Likewise.
28312         [C99-based-standards] (SCNxFAST32): Likewise.
28313         [C99-based-standards] (PRId64): Likewise.
28314         [C99-based-standards] (PRIi64): Likewise.
28315         [C99-based-standards] (PRIo64): Likewise.
28316         [C99-based-standards] (PRIu64): Likewise.
28317         [C99-based-standards] (PRIx64): Likewise.
28318         [C99-based-standards] (PRIX64): Likewise.
28319         [C99-based-standards] (SCNd64): Likewise.
28320         [C99-based-standards] (SCNi64): Likewise.
28321         [C99-based-standards] (SCNo64): Likewise.
28322         [C99-based-standards] (SCNu64): Likewise.
28323         [C99-based-standards] (SCNx64): Likewise.
28324         [C99-based-standards] (PRIdLEAST64): Likewise.
28325         [C99-based-standards] (PRIiLEAST64): Likewise.
28326         [C99-based-standards] (PRIoLEAST64): Likewise.
28327         [C99-based-standards] (PRIuLEAST64): Likewise.
28328         [C99-based-standards] (PRIxLEAST64): Likewise.
28329         [C99-based-standards] (PRIXLEAST64): Likewise.
28330         [C99-based-standards] (SCNdLEAST64): Likewise.
28331         [C99-based-standards] (SCNiLEAST64): Likewise.
28332         [C99-based-standards] (SCNoLEAST64): Likewise.
28333         [C99-based-standards] (SCNuLEAST64): Likewise.
28334         [C99-based-standards] (SCNxLEAST64): Likewise.
28335         [C99-based-standards] (PRIdFAST64): Likewise.
28336         [C99-based-standards] (PRIiFAST64): Likewise.
28337         [C99-based-standards] (PRIoFAST64): Likewise.
28338         [C99-based-standards] (PRIuFAST64): Likewise.
28339         [C99-based-standards] (PRIxFAST64): Likewise.
28340         [C99-based-standards] (PRIXFAST64): Likewise.
28341         [C99-based-standards] (SCNdFAST64): Likewise.
28342         [C99-based-standards] (SCNiFAST64): Likewise.
28343         [C99-based-standards] (SCNoFAST64): Likewise.
28344         [C99-based-standards] (SCNuFAST64): Likewise.
28345         [C99-based-standards] (SCNxFAST64): Likewise.
28346         [C99-based-standards] (PRIdMAX): Likewise.
28347         [C99-based-standards] (PRIiMAX): Likewise.
28348         [C99-based-standards] (PRIoMAX): Likewise.
28349         [C99-based-standards] (PRIuMAX): Likewise.
28350         [C99-based-standards] (PRIxMAX): Likewise.
28351         [C99-based-standards] (PRIXMAX): Likewise.
28352         [C99-based-standards] (SCNdMAX): Likewise.
28353         [C99-based-standards] (SCNiMAX): Likewise.
28354         [C99-based-standards] (SCNoMAX): Likewise.
28355         [C99-based-standards] (SCNuMAX): Likewise.
28356         [C99-based-standards] (SCNxMAX): Likewise.
28357         [C99-based-standards] (PRIdPTR): Likewise.
28358         [C99-based-standards] (PRIiPTR): Likewise.
28359         [C99-based-standards] (PRIoPTR): Likewise.
28360         [C99-based-standards] (PRIuPTR): Likewise.
28361         [C99-based-standards] (PRIxPTR): Likewise.
28362         [C99-based-standards] (PRIXPTR): Likewise.
28363         [C99-based-standards] (SCNdPTR): Likewise.
28364         [C99-based-standards] (SCNiPTR): Likewise.
28365         [C99-based-standards] (SCNoPTR): Likewise.
28366         [C99-based-standards] (SCNuPTR): Likewise.
28367         [C99-based-standards] (SCNxPTR): Likewise.
28368         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28369         allow.
28370         * conform/data/stdint.h-data: Update comments to clarify
28371         requirements.
28372         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
28373         type.
28374         [C99-based standards] (INT8_MAX): Likewise.
28375         [C99-based standards] (INT16_MIN): Likewise.
28376         [C99-based standards] (INT16_MAX): Likewise.
28377         [C99-based standards] (INT32_MIN): Likewise.
28378         [C99-based standards] (INT32_MAX): Likewise.
28379         [C99-based standards] (INT64_MIN): Likewise.
28380         [C99-based standards] (INT64_MAX): Likewise.
28381         [C99-based standards] (UINT8_MAX): Likewise.
28382         [C99-based standards] (UINT16_MAX): Likewise.
28383         [C99-based standards] (UINT32_MAX): Likewise.
28384         [C99-based standards] (UINT64_MAX): Likewise.
28385         [C99-based standards] (INT_LEAST8_MIN): Likewise.
28386         [C99-based standards] (INT_LEAST8_MAX): Likewise.
28387         [C99-based standards] (INT_LEAST16_MIN): Likewise.
28388         [C99-based standards] (INT_LEAST16_MAX): Likewise.
28389         [C99-based standards] (INT_LEAST32_MIN): Likewise.
28390         [C99-based standards] (INT_LEAST32_MAX): Likewise.
28391         [C99-based standards] (INT_LEAST64_MIN): Likewise.
28392         [C99-based standards] (INT_LEAST64_MAX): Likewise.
28393         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28394         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28395         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28396         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28397         [C99-based standards] (INT_FAST8_MIN): Likewise.
28398         [C99-based standards] (INT_FAST8_MAX): Likewise.
28399         [C99-based standards] (INT_FAST16_MIN): Likewise.
28400         [C99-based standards] (INT_FAST16_MAX): Likewise.
28401         [C99-based standards] (INT_FAST32_MIN): Likewise.
28402         [C99-based standards] (INT_FAST32_MAX): Likewise.
28403         [C99-based standards] (INT_FAST64_MIN): Likewise.
28404         [C99-based standards] (INT_FAST64_MAX): Likewise.
28405         [C99-based standards] (UINT_FAST8_MAX): Likewise.
28406         [C99-based standards] (UINT_FAST16_MAX): Likewise.
28407         [C99-based standards] (UINT_FAST32_MAX): Likewise.
28408         [C99-based standards] (UINT_FAST64_MAX): Likewise.
28409         [C99-based standards] (INTPTR_MIN): Likewise.
28410         [C99-based standards] (INTPTR_MAX): Likewise.
28411         [C99-based standards] (UINTPTR_MAX): Likewise.
28412         [C99-based standards] (INTMAX_MIN): Likewise.
28413         [C99-based standards] (INTMAX_MAX): Likewise.
28414         [C99-based standards] (UINTMAX_MAX): Likewise.
28415         [C99-based standards] (PTRDIFF_MIN): Likewise.
28416         [C99-based standards] (PTRDIFF_MAX): Likewise.
28417         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28418         [C99-based standards] (SIZE_MAX): Likewise.
28419         [C99-based standards] (WCHAR_MAX): Likewise.
28420         [C99-based standards] (WINT_MAX): Likewise.
28421         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
28422         constraint on value.
28423         [C99-based standards] (WCHAR_MIN): Likewise.
28424         [C99-based standards] (WINT_MIN): Likewise.
28425         [C99-based standards] (*_t): Allow.
28426         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28427         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28428         Include math.h-data and complex.h-data.  Remove all expectations
28429         of math.h and complex.h contents.
28430         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28431         at end of line.
28432         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28433         (struct tm): Expect tag.
28434         [C99-based-standards] (wcstof): Expect function.
28435         [C99-based-standards] (wcstold): Likewise.
28436         [C99-based-standards] (wcstoll): Likewise.
28437         [C99-based-standards] (wcstoull): Likewise.
28438         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28439         macro-int-constant.  Specify type.
28440         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
28441         constraint on value.
28442         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28443         Specify type.
28444         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28445         Specify value.
28446         [ISO C standards]: Do not allow headers.
28447         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28448         wcs[abcdefghijklmnopqrstuvwxyz]*.
28449         [ISO C standards] (*_t): Do not allow.
28450         * conform/data/wctype.h-data [C99-based standards] (iswblank):
28451         Expect function.
28452         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28453         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28454         Specify type.
28455         [ISO C standards]: Do not allow headers.
28456         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28457         is[abcdefghijklmnopqrstuvwxyz]*.
28458         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28459         to[abcdefghijklmnopqrstuvwxyz]*.
28460         [ISO C standards] (*_t): Do not allow.
28461         * conform/data/stdalign.h-data: New file.
28462         * conform/data/stdbool.h-data: Likewise.
28463         * conform/data/stdnoreturn.h-data: Likewise.
28464
28465 2012-11-07  Roland McGrath  <roland@hack.frob.com>
28466
28467         [BZ #14815]
28468         * manual/filesys.texi (Directory Entries): Typo fix.
28469         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28470
28471 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28472
28473         * elf/elf.h (EM_AARCH64): New macro.
28474         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28475         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28476         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28477         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28478         (R_AARCH64_TLSDESC): Likewise.
28479         (NT_ARM_TLS): Likewise.
28480         (NT_ARM_HW_BREAK): Likewise.
28481         (NT_ARM_HW_WATCH): Likewise.
28482
28483 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28484
28485         [BZ #14811]
28486         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28487         (__ieee754_powl): Saturate nonzero exponents with absolute value
28488         below 0x1p-79 to +/- 0x1p-79.
28489         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28490         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28491         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28492         nonzero exponents with absolute value below 0x1p-32 to +/-
28493         0x1p-32.
28494         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28495         (__ieee754_powl): Saturate nonzero exponents with absolute value
28496         below 0x1p-79 to +/- 0x1p-79.
28497         * math/libm-test.inc (pow_test): Add more tests.
28498
28499 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28500
28501         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28502         _dl_s390_cap_flags with kernel. Increase string length.
28503         (_dl_s390_platforms): Add z196 and zEC12.
28504
28505 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28506
28507         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28508         Change XOPEN21K to XOPEN2K.
28509
28510 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
28511
28512         * string/memmove.c: Use memcpy when possible.
28513
28514 2012-11-06  Andreas Jaeger  <aj@suse.de>
28515
28516         * po/eo.po: Update from translation team.
28517
28518 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
28519
28520         [BZ #14793]
28521         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28522         exponent and small x and y exponents, scale x or y up.  Increase
28523         by 2 the exponent used in scaling up.
28524         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28525         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28526         * math/libm-test.inc (fma_test): Add more tests.
28527         (fma_test_towardzero): Likewise.
28528         (fma_test_downward): Likewise.
28529         (fma_test_upward): Likewise.
28530
28531 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
28532
28533         [BZ #14805]
28534         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28535         fenv_t *.
28536
28537         [BZ #14801]
28538         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28539         namespace for names of struct fields.
28540         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28541         fenv_t fields.
28542         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28543         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28544
28545 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28546
28547         [BZ #3665]
28548         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28549
28550 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28551
28552         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28553         PTR_DEMANGLE.
28554
28555         [BZ #5246]
28556         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28557         PTR_DEMANGLE.
28558
28559 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
28560
28561         [BZ #14797]
28562         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28563         definitely overflow as x * y not x * y + z.
28564         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28565         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28566         * math/libm-test.inc (fma_test): Add more tests.
28567         (fma_test_towardzero): Likewise.
28568         (fma_test_downward): Likewise.
28569         (fma_test_upward): Likewise.
28570
28571 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28572
28573         [BZ #157]
28574
28575         * include/stub-tag.h: Remove file.
28576         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28577         '#include' of it.
28578         * manual/maint.texi (Porting): Don't reference it.
28579         * Makerules ($(objpfx)stubs): Likewise.
28580         * dirent/closedir.c: Don't include <stub-tag.h>.
28581         * dirent/dirfd.c: Likewise.
28582         * dirent/fdopendir.c: Likewise.
28583         * dirent/getdents.c: Likewise.
28584         * dirent/getdents64.c: Likewise.
28585         * dirent/opendir.c: Likewise.
28586         * dirent/readdir.c: Likewise.
28587         * dirent/readdir64.c: Likewise.
28588         * dirent/readdir64_r.c: Likewise.
28589         * dirent/readdir_r.c: Likewise.
28590         * dirent/rewinddir.c: Likewise.
28591         * dirent/seekdir.c: Likewise.
28592         * dirent/telldir.c: Likewise.
28593         * gmon/profil.c: Likewise.
28594         * grp/setgroups.c: Likewise.
28595         * inet/if_index.c: Likewise.
28596         * io/access.c: Likewise.
28597         * io/chdir.c: Likewise.
28598         * io/chmod.c: Likewise.
28599         * io/chown.c: Likewise.
28600         * io/close.c: Likewise.
28601         * io/dup.c: Likewise.
28602         * io/dup2.c: Likewise.
28603         * io/dup3.c: Likewise.
28604         * io/euidaccess.c: Likewise.
28605         * io/faccessat.c: Likewise.
28606         * io/fchdir.c: Likewise.
28607         * io/fchmod.c: Likewise.
28608         * io/fchmodat.c: Likewise.
28609         * io/fchown.c: Likewise.
28610         * io/fchownat.c: Likewise.
28611         * io/fcntl.c: Likewise.
28612         * io/flock.c: Likewise.
28613         * io/fstatfs.c: Likewise.
28614         * io/fstatfs64.c: Likewise.
28615         * io/fstatvfs.c: Likewise.
28616         * io/fstatvfs64.c: Likewise.
28617         * io/futimens.c: Likewise.
28618         * io/fxstat.c: Likewise.
28619         * io/fxstat64.c: Likewise.
28620         * io/fxstatat.c: Likewise.
28621         * io/fxstatat64.c: Likewise.
28622         * io/getcwd.c: Likewise.
28623         * io/isatty.c: Likewise.
28624         * io/lchmod.c: Likewise.
28625         * io/lchown.c: Likewise.
28626         * io/link.c: Likewise.
28627         * io/linkat.c: Likewise.
28628         * io/lseek.c: Likewise.
28629         * io/lseek64.c: Likewise.
28630         * io/lxstat64.c: Likewise.
28631         * io/mkdir.c: Likewise.
28632         * io/mkdirat.c: Likewise.
28633         * io/mkfifo.c: Likewise.
28634         * io/mkfifoat.c: Likewise.
28635         * io/open.c: Likewise.
28636         * io/open64.c: Likewise.
28637         * io/openat.c: Likewise.
28638         * io/openat64.c: Likewise.
28639         * io/pipe.c: Likewise.
28640         * io/pipe2.c: Likewise.
28641         * io/poll.c: Likewise.
28642         * io/posix_fadvise.c: Likewise.
28643         * io/posix_fadvise64.c: Likewise.
28644         * io/posix_fallocate.c: Likewise.
28645         * io/posix_fallocate64.c: Likewise.
28646         * io/read.c: Likewise.
28647         * io/readlink.c: Likewise.
28648         * io/readlinkat.c: Likewise.
28649         * io/rmdir.c: Likewise.
28650         * io/sendfile.c: Likewise.
28651         * io/sendfile64.c: Likewise.
28652         * io/statfs.c: Likewise.
28653         * io/statfs64.c: Likewise.
28654         * io/statvfs.c: Likewise.
28655         * io/statvfs64.c: Likewise.
28656         * io/symlink.c: Likewise.
28657         * io/symlinkat.c: Likewise.
28658         * io/ttyname.c: Likewise.
28659         * io/ttyname_r.c: Likewise.
28660         * io/umask.c: Likewise.
28661         * io/unlink.c: Likewise.
28662         * io/unlinkat.c: Likewise.
28663         * io/utime.c: Likewise.
28664         * io/utimensat.c: Likewise.
28665         * io/write.c: Likewise.
28666         * io/xmknod.c: Likewise.
28667         * io/xmknodat.c: Likewise.
28668         * io/xstat.c: Likewise.
28669         * io/xstat64.c: Likewise.
28670         * login/getpt.c: Likewise.
28671         * login/grantpt.c: Likewise.
28672         * login/unlockpt.c: Likewise.
28673         * math/e_acoshl.c: Likewise.
28674         * math/e_acosl.c: Likewise.
28675         * math/e_asinl.c: Likewise.
28676         * math/e_atan2l.c: Likewise.
28677         * math/e_atanhl.c: Likewise.
28678         * math/e_coshl.c: Likewise.
28679         * math/e_expl.c: Likewise.
28680         * math/e_fmodl.c: Likewise.
28681         * math/e_gammal_r.c: Likewise.
28682         * math/e_hypotl.c: Likewise.
28683         * math/e_j0l.c: Likewise.
28684         * math/e_j1l.c: Likewise.
28685         * math/e_jnl.c: Likewise.
28686         * math/e_lgammal_r.c: Likewise.
28687         * math/e_log10l.c: Likewise.
28688         * math/e_log2l.c: Likewise.
28689         * math/e_logl.c: Likewise.
28690         * math/e_powl.c: Likewise.
28691         * math/e_rem_pio2l.c: Likewise.
28692         * math/e_sinhl.c: Likewise.
28693         * math/e_sqrtl.c: Likewise.
28694         * math/fclrexcpt.c: Likewise.
28695         * math/fedisblxcpt.c: Likewise.
28696         * math/feenablxcpt.c: Likewise.
28697         * math/fegetenv.c: Likewise.
28698         * math/fegetexcept.c: Likewise.
28699         * math/fegetround.c: Likewise.
28700         * math/feholdexcpt.c: Likewise.
28701         * math/fesetenv.c: Likewise.
28702         * math/fesetround.c: Likewise.
28703         * math/feupdateenv.c: Likewise.
28704         * math/fgetexcptflg.c: Likewise.
28705         * math/fraiseexcpt.c: Likewise.
28706         * math/fsetexcptflg.c: Likewise.
28707         * math/ftestexcept.c: Likewise.
28708         * math/k_cosl.c: Likewise.
28709         * math/k_rem_pio2l.c: Likewise.
28710         * math/k_sinl.c: Likewise.
28711         * math/k_tanl.c: Likewise.
28712         * math/s_asinhl.c: Likewise.
28713         * math/s_atanl.c: Likewise.
28714         * math/s_cbrtl.c: Likewise.
28715         * math/s_erfl.c: Likewise.
28716         * math/s_expm1l.c: Likewise.
28717         * math/s_log1pl.c: Likewise.
28718         * math/s_tanhl.c: Likewise.
28719         * misc/acct.c: Likewise.
28720         * misc/brk.c: Likewise.
28721         * misc/chflags.c: Likewise.
28722         * misc/chroot.c: Likewise.
28723         * misc/fchflags.c: Likewise.
28724         * misc/fgetxattr.c: Likewise.
28725         * misc/flistxattr.c: Likewise.
28726         * misc/fremovexattr.c: Likewise.
28727         * misc/fsetxattr.c: Likewise.
28728         * misc/fsync.c: Likewise.
28729         * misc/ftruncate.c: Likewise.
28730         * misc/futimes.c: Likewise.
28731         * misc/futimesat.c: Likewise.
28732         * misc/getdomain.c: Likewise.
28733         * misc/getdtsz.c: Likewise.
28734         * misc/gethostid.c: Likewise.
28735         * misc/gethostname.c: Likewise.
28736         * misc/getloadavg.c: Likewise.
28737         * misc/getpagesize.c: Likewise.
28738         * misc/getsysstats.c: Likewise.
28739         * misc/getxattr.c: Likewise.
28740         * misc/gtty.c: Likewise.
28741         * misc/ioctl.c: Likewise.
28742         * misc/lgetxattr.c: Likewise.
28743         * misc/listxattr.c: Likewise.
28744         * misc/llistxattr.c: Likewise.
28745         * misc/lremovexattr.c: Likewise.
28746         * misc/lsetxattr.c: Likewise.
28747         * misc/lutimes.c: Likewise.
28748         * misc/madvise.c: Likewise.
28749         * misc/mincore.c: Likewise.
28750         * misc/mlock.c: Likewise.
28751         * misc/mlockall.c: Likewise.
28752         * misc/mmap.c: Likewise.
28753         * misc/mprotect.c: Likewise.
28754         * misc/msync.c: Likewise.
28755         * misc/munlock.c: Likewise.
28756         * misc/munlockall.c: Likewise.
28757         * misc/munmap.c: Likewise.
28758         * misc/preadv.c: Likewise.
28759         * misc/preadv64.c: Likewise.
28760         * misc/ptrace.c: Likewise.
28761         * misc/pwritev.c: Likewise.
28762         * misc/pwritev64.c: Likewise.
28763         * misc/readv.c: Likewise.
28764         * misc/reboot.c: Likewise.
28765         * misc/remap_file_pages.c: Likewise.
28766         * misc/removexattr.c: Likewise.
28767         * misc/revoke.c: Likewise.
28768         * misc/select.c: Likewise.
28769         * misc/setdomain.c: Likewise.
28770         * misc/setegid.c: Likewise.
28771         * misc/seteuid.c: Likewise.
28772         * misc/sethostid.c: Likewise.
28773         * misc/sethostname.c: Likewise.
28774         * misc/setregid.c: Likewise.
28775         * misc/setreuid.c: Likewise.
28776         * misc/setxattr.c: Likewise.
28777         * misc/sstk.c: Likewise.
28778         * misc/stty.c: Likewise.
28779         * misc/swapoff.c: Likewise.
28780         * misc/swapon.c: Likewise.
28781         * misc/sync.c: Likewise.
28782         * misc/syncfs.c: Likewise.
28783         * misc/syscall.c: Likewise.
28784         * misc/truncate.c: Likewise.
28785         * misc/ualarm.c: Likewise.
28786         * misc/usleep.c: Likewise.
28787         * misc/ustat.c: Likewise.
28788         * misc/utimes.c: Likewise.
28789         * misc/vhangup.c: Likewise.
28790         * misc/writev.c: Likewise.
28791         * posix/_exit.c: Likewise.
28792         * posix/alarm.c: Likewise.
28793         * posix/execve.c: Likewise.
28794         * posix/fexecve.c: Likewise.
28795         * posix/fork.c: Likewise.
28796         * posix/fpathconf.c: Likewise.
28797         * posix/getaddrinfo.c: Likewise.
28798         * posix/getegid.c: Likewise.
28799         * posix/geteuid.c: Likewise.
28800         * posix/getgid.c: Likewise.
28801         * posix/getgroups.c: Likewise.
28802         * posix/getlogin.c: Likewise.
28803         * posix/getlogin_r.c: Likewise.
28804         * posix/getpgid.c: Likewise.
28805         * posix/getpid.c: Likewise.
28806         * posix/getppid.c: Likewise.
28807         * posix/getresgid.c: Likewise.
28808         * posix/getresuid.c: Likewise.
28809         * posix/getsid.c: Likewise.
28810         * posix/getuid.c: Likewise.
28811         * posix/glob64.c: Likewise.
28812         * posix/nanosleep.c: Likewise.
28813         * posix/pathconf.c: Likewise.
28814         * posix/pause.c: Likewise.
28815         * posix/posix_madvise.c: Likewise.
28816         * posix/pread.c: Likewise.
28817         * posix/pread64.c: Likewise.
28818         * posix/pwrite.c: Likewise.
28819         * posix/pwrite64.c: Likewise.
28820         * posix/sched_getaffinity.c: Likewise.
28821         * posix/sched_getp.c: Likewise.
28822         * posix/sched_gets.c: Likewise.
28823         * posix/sched_primax.c: Likewise.
28824         * posix/sched_primin.c: Likewise.
28825         * posix/sched_rr_gi.c: Likewise.
28826         * posix/sched_setaffinity.c: Likewise.
28827         * posix/sched_setp.c: Likewise.
28828         * posix/sched_sets.c: Likewise.
28829         * posix/sched_yield.c: Likewise.
28830         * posix/setgid.c: Likewise.
28831         * posix/setlogin.c: Likewise.
28832         * posix/setpgid.c: Likewise.
28833         * posix/setresgid.c: Likewise.
28834         * posix/setresuid.c: Likewise.
28835         * posix/setsid.c: Likewise.
28836         * posix/setuid.c: Likewise.
28837         * posix/sleep.c: Likewise.
28838         * posix/spawni.c: Likewise.
28839         * posix/sysconf.c: Likewise.
28840         * posix/times.c: Likewise.
28841         * posix/wait.c: Likewise.
28842         * posix/wait3.c: Likewise.
28843         * posix/wait4.c: Likewise.
28844         * posix/waitpid.c: Likewise.
28845         * resolv/gai_sigqueue.c: Likewise.
28846         * resource/getpriority.c: Likewise.
28847         * resource/getrlimit.c: Likewise.
28848         * resource/getrusage.c: Likewise.
28849         * resource/nice.c: Likewise.
28850         * resource/setpriority.c: Likewise.
28851         * resource/setrlimit.c: Likewise.
28852         * resource/ulimit.c: Likewise.
28853         * rt/aio_cancel.c: Likewise.
28854         * rt/aio_fsync.c: Likewise.
28855         * rt/aio_read.c: Likewise.
28856         * rt/aio_sigqueue.c: Likewise.
28857         * rt/aio_suspend.c: Likewise.
28858         * rt/aio_write.c: Likewise.
28859         * rt/clock_getres.c: Likewise.
28860         * rt/clock_gettime.c: Likewise.
28861         * rt/clock_nanosleep.c: Likewise.
28862         * rt/clock_settime.c: Likewise.
28863         * rt/lio_listio.c: Likewise.
28864         * rt/mq_close.c: Likewise.
28865         * rt/mq_getattr.c: Likewise.
28866         * rt/mq_notify.c: Likewise.
28867         * rt/mq_open.c: Likewise.
28868         * rt/mq_receive.c: Likewise.
28869         * rt/mq_send.c: Likewise.
28870         * rt/mq_setattr.c: Likewise.
28871         * rt/mq_timedreceive.c: Likewise.
28872         * rt/mq_timedsend.c: Likewise.
28873         * rt/mq_unlink.c: Likewise.
28874         * rt/shm_open.c: Likewise.
28875         * rt/shm_unlink.c: Likewise.
28876         * rt/timer_create.c: Likewise.
28877         * rt/timer_delete.c: Likewise.
28878         * rt/timer_getoverr.c: Likewise.
28879         * rt/timer_gettime.c: Likewise.
28880         * rt/timer_settime.c: Likewise.
28881         * setjmp/__longjmp.c: Likewise.
28882         * setjmp/setjmp.c: Likewise.
28883         * signal/kill.c: Likewise.
28884         * signal/killpg.c: Likewise.
28885         * signal/raise.c: Likewise.
28886         * signal/sigaction.c: Likewise.
28887         * signal/sigaltstack.c: Likewise.
28888         * signal/sigblock.c: Likewise.
28889         * signal/sigignore.c: Likewise.
28890         * signal/sigintr.c: Likewise.
28891         * signal/signal.c: Likewise.
28892         * signal/sigpause.c: Likewise.
28893         * signal/sigpending.c: Likewise.
28894         * signal/sigqueue.c: Likewise.
28895         * signal/sigreturn.c: Likewise.
28896         * signal/sigset.c: Likewise.
28897         * signal/sigsetmask.c: Likewise.
28898         * signal/sigstack.c: Likewise.
28899         * signal/sigsuspend.c: Likewise.
28900         * signal/sigtimedwait.c: Likewise.
28901         * signal/sigvec.c: Likewise.
28902         * signal/sigwait.c: Likewise.
28903         * signal/sigwaitinfo.c: Likewise.
28904         * signal/sysv_signal.c: Likewise.
28905         * socket/accept.c: Likewise.
28906         * socket/accept4.c: Likewise.
28907         * socket/bind.c: Likewise.
28908         * socket/connect.c: Likewise.
28909         * socket/getpeername.c: Likewise.
28910         * socket/getsockname.c: Likewise.
28911         * socket/getsockopt.c: Likewise.
28912         * socket/isfdtype.c: Likewise.
28913         * socket/listen.c: Likewise.
28914         * socket/recv.c: Likewise.
28915         * socket/recvfrom.c: Likewise.
28916         * socket/recvmsg.c: Likewise.
28917         * socket/send.c: Likewise.
28918         * socket/sendmsg.c: Likewise.
28919         * socket/sendto.c: Likewise.
28920         * socket/setsockopt.c: Likewise.
28921         * socket/shutdown.c: Likewise.
28922         * socket/sockatmark.c: Likewise.
28923         * socket/socket.c: Likewise.
28924         * socket/socketpair.c: Likewise.
28925         * stdio-common/ctermid.c: Likewise.
28926         * stdio-common/cuserid.c: Likewise.
28927         * stdio-common/remove.c: Likewise.
28928         * stdio-common/rename.c: Likewise.
28929         * stdio-common/renameat.c: Likewise.
28930         * stdio-common/tempname.c: Likewise.
28931         * stdlib/getcontext.c: Likewise.
28932         * stdlib/makecontext.c: Likewise.
28933         * stdlib/setcontext.c: Likewise.
28934         * stdlib/swapcontext.c: Likewise.
28935         * stdlib/system.c: Likewise.
28936         * streams/fattach.c: Likewise.
28937         * streams/fdetach.c: Likewise.
28938         * streams/getmsg.c: Likewise.
28939         * streams/getpmsg.c: Likewise.
28940         * streams/putmsg.c: Likewise.
28941         * streams/putpmsg.c: Likewise.
28942         * sysdeps/unix/bsd/getpt.c: Likewise.
28943         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28944         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28945         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28947         Likewise.
28948         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28949         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28950         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28951         * sysvipc/msgctl.c: Likewise.
28952         * sysvipc/msgget.c: Likewise.
28953         * sysvipc/msgrcv.c: Likewise.
28954         * sysvipc/msgsnd.c: Likewise.
28955         * sysvipc/semctl.c: Likewise.
28956         * sysvipc/semget.c: Likewise.
28957         * sysvipc/semop.c: Likewise.
28958         * sysvipc/semtimedop.c: Likewise.
28959         * sysvipc/shmat.c: Likewise.
28960         * sysvipc/shmctl.c: Likewise.
28961         * sysvipc/shmdt.c: Likewise.
28962         * sysvipc/shmget.c: Likewise.
28963         * termios/tcdrain.c: Likewise.
28964         * termios/tcflow.c: Likewise.
28965         * termios/tcflush.c: Likewise.
28966         * termios/tcgetattr.c: Likewise.
28967         * termios/tcgetpgrp.c: Likewise.
28968         * termios/tcsendbrk.c: Likewise.
28969         * termios/tcsetattr.c: Likewise.
28970         * termios/tcsetpgrp.c: Likewise.
28971         * time/adjtime.c: Likewise.
28972         * time/clock.c: Likewise.
28973         * time/getitimer.c: Likewise.
28974         * time/gettimeofday.c: Likewise.
28975         * time/setitimer.c: Likewise.
28976         * time/settimeofday.c: Likewise.
28977         * time/stime.c: Likewise.
28978         * time/time.c: Likewise.
28979
28980 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
28981
28982         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28983         /usr/old/bin.
28984
28985         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28986         instead of spaces.
28987         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28988
28989 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
28990
28991         [BZ #14796]
28992         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28993         FE_TONEAREST before applying Dekker multiplication and Knuth
28994         addition.  Clear inexact exceptions and check for exact zero
28995         results afterwards.
28996         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28997         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28998         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28999         * math/libm-test.inc (fma_test): Add more tests.
29000         (fma_test_towardzero): Likewise.
29001         (fma_test_downward): Likewise.
29002         (fma_test_upward): Likewise.
29003         * sysdeps/generic/math_private.h (default_libc_fesetround): New
29004         function.
29005         (libc_fesetround): New macro.
29006         (libc_fesetroundf): Likewise.
29007         (libc_fesetroundl): Likewise.
29008         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29009         function.
29010         (libc_fesetround_387): Likewise.
29011         (libc_fesetroundf): New macro.
29012         (libc_fesetround): Likewise.
29013         (libc_fesetroundl): Likewise.
29014         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29015         function.
29016         (libc_fesetroundf): New macro.
29017         (libc_fesetround): Likewise.
29018         (libc_fesetroundl): Likewise.
29019         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29020         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29021         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29022         libm_hidden_ver.
29023         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29024         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29025         libm_hidden_def.
29026         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29027         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29028         libm_hidden_ver.
29029         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29030         libm_hidden_def.
29031
29032         [BZ #3439]
29033         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29034         integer constant usable in #if and use that to give value to enum
29035         constant.
29036         (FE_DIVBYZERO): Likewise.
29037         (FE_UNDERFLOW): Likewise.
29038         (FE_OVERFLOW): Likewise.
29039         (FE_INVALID): Likewise.
29040         (FE_INVALID_SNAN): Likewise.
29041         (FE_INVALID_ISI): Likewise.
29042         (FE_INVALID_IDI): Likewise.
29043         (FE_INVALID_ZDZ): Likewise.
29044         (FE_INVALID_IMZ): Likewise.
29045         (FE_INVALID_COMPARE): Likewise.
29046         (FE_INVALID_SOFTWARE): Likewise.
29047         (FE_INVALID_SQRT): Likewise.
29048         (FE_INVALID_INTEGER_CONVERSION): Likewise.
29049         (FE_TONEAREST): Likewise.
29050         (FE_TOWARDZERO): Likewise.
29051         (FE_UPWARD): Likewise.
29052         (FE_DOWNWARD): Likewise.
29053         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29054         (FE_DIVBYZERO): Likewise.
29055         (FE_OVERFLOW): Likewise.
29056         (FE_UNDERFLOW): Likewise.
29057         (FE_INEXACT): Likewise.
29058         (FE_TONEAREST): Likewise.
29059         (FE_DOWNWARD): Likewise.
29060         (FE_UPWARD): Likewise.
29061         (FE_TOWARDZERO): Likewise.
29062         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29063         (FE_UNDERFLOW): Likewise.
29064         (FE_OVERFLOW): Likewise.
29065         (FE_DIVBYZERO): Likewise.
29066         (FE_INVALID): Likewise.
29067         (FE_TONEAREST): Likewise.
29068         (FE_TOWARDZERO): Likewise.
29069         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29070         (FE_OVERFLOW): Likewise.
29071         (FE_UNDERFLOW): Likewise.
29072         (FE_DIVBYZERO): Likewise.
29073         (FE_INEXACT): Likewise.
29074         (FE_TONEAREST): Likewise.
29075         (FE_TOWARDZERO): Likewise.
29076         (FE_UPWARD): Likewise.
29077         (FE_DOWNWARD): Likewise.
29078         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29079         (FE_DIVBYZERO): Likewise.
29080         (FE_OVERFLOW): Likewise.
29081         (FE_UNDERFLOW): Likewise.
29082         (FE_INEXACT): Likewise.
29083         (FE_TONEAREST): Likewise.
29084         (FE_DOWNWARD): Likewise.
29085         (FE_UPWARD): Likewise.
29086         (FE_TOWARDZERO): Likewise.
29087
29088 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
29089
29090         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29091
29092 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
29093
29094         * scripts/cross-test-ssh.sh (command): Use newlines to separate
29095         commands.  Quote $PWD.
29096         (blacklist_exports): Don't use remove_newlines.  Replace "declare
29097         -x" by "export".
29098         (remove_newlines): Remove.
29099
29100 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
29101
29102         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29103         * stdlib/stdlib.h (atof): Moved to ...
29104         * include/bits/stdlib-float.h: Here.  New file.
29105         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29106         * stdlib/bits/stdlib-float.h: New file.
29107         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29108         -mno-sse -mno-mmx.
29109         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29110         <xmmintrin.h>.
29111
29112 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29113
29114         * conform/conformtest.pl (@headers): Add fenv.h.
29115         * conform/data/fenv.h-data: New file.
29116         * include/fenv.h [_ISOMAC]: Disable all contents of file except
29117         include of <math/fenv.h>.
29118
29119         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29120         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29121         && !UNIX98].  Enables tests for XOPEN2K8.
29122         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29123         POSIX2008]: Likewise.
29124
29125         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29126         (struct rusage): Do not expect type or its members.
29127
29128         [BZ #3439]
29129         * math/math.h (FP_NAN): Define macro to integer constant usable in
29130         #if and use that to give value to enum constant.
29131         (FP_INFINITE): Likewise.
29132         (FP_ZERO): Likewise.
29133         (FP_SUBNORMAL): Likewise.
29134         (FP_NORMAL): Likewise.
29135
29136 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
29137
29138         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
29139         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
29140         arguments.
29141
29142 2012-11-02  Roland McGrath  <roland@hack.frob.com>
29143
29144         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
29145         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
29146         autoconf-time if not.
29147         * configure.in: Remove AC_PREREQ.
29148
29149 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29150
29151         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
29152         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
29153         of the internal implementation.
29154
29155 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29156
29157         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
29158         except include of <misc/sys/syslog.h>.
29159
29160 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29161
29162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
29163         function returns with a NULL context exit with zero.
29164
29165 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29166
29167         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
29168
29169 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
29170
29171         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
29172         (run_program_cmd): This.
29173         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
29174         (tst_langinfo): New variable.  Use it.
29175
29176 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
29177
29178         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
29179         floating point opcodes.
29180
29181 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29182
29183         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
29184         variable.
29185
29186         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
29187
29188         * sysdeps/mach/hurd/powerpc: Remove directory.
29189         * sysdeps/mach/powerpc: Likewise.
29190
29191 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
29192
29193         * scripts/check-local-headers.sh: Ignore c++ headers.
29194
29195 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29196
29197         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
29198         __libc_cleanup_region_start argument.
29199
29200 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
29201
29202         [BZ #14784]
29203         [BZ #14785]
29204         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
29205         x * y using scaling, not as x * y + z.
29206         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29207         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29208         * math/libm-test.inc (fma_test): Add more tests.
29209         (fma_test_towardzero): Likewise.
29210         (fma_test_downward): Likewise.
29211         (fma_test_upward): Likewise.
29212
29213 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
29214
29215         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
29216
29217 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29218
29219         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
29220         New variable.
29221
29222 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
29223
29224         * rt/tst-shm.c (worker): Correct checking for mmap failure.
29225
29226 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29227
29228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29229         Fix sort order.
29230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29231         Likewise.
29232
29233 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29234
29235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29236         Fix the order of the list for glibc 2.17.
29237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29238         Likewise.
29239
29240 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
29241
29242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29243
29244 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
29245
29246         [BZ #14610]
29247         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
29248         for low part of x being zero before using __atanl (y).
29249         * math/libm-test.inc (atan2_test): Add another test.
29250
29251         * manual/install.texi (Configuring and compiling): Document
29252         general use of test-wrapper and test-wrapper-env.
29253         * INSTALL: Regenerated.
29254
29255         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
29256         (__fma): Do not extract and scale down low bits on after-rounding
29257         systems when result rounded to normal precision would have normal
29258         exponent.
29259         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
29260         (__fmal): Do not extract and scale down low bits on after-rounding
29261         systems when result rounded to normal precision would have normal
29262         exponent.
29263         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
29264         (__fmal): Do not extract and scale down low bits on after-rounding
29265         systems when result rounded to normal precision would have normal
29266         exponent.
29267         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
29268         macro.
29269         (fma_test): Add more tests.
29270         (fma_test_towardzero): Likewise.
29271         (fma_test_downward): Likewise.
29272         (fma_test_upward): Likewise.
29273
29274 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
29275
29276         * sysdeps/i386/tininess.h: Renamed to ...
29277         * sysdeps/x86/tininess.h: This.
29278         * sysdeps/x86_64/tininess.h: Removed.
29279
29280 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29281
29282         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29283         input.  Use $(build-program-cmd).
29284         ($(objpfx)tst-array1-static.out): Likewise.
29285         ($(objpfx)tst-array2.out): Likewise.
29286         ($(objpfx)tst-array3.out): Likewise.
29287         ($(objpfx)tst-array4.out): Likewise.
29288         ($(objpfx)tst-array5.out): Likewise.
29289         ($(objpfx)tst-array5-static.out): Likewise.
29290
29291 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
29292
29293         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29294         if defined.
29295
29296         * nss/nsswitch.h (nss_interface_function): Provide new
29297         macro for use with NSS functions.
29298         * grp/initgroups.c: Use new macro.
29299         * nss/getXXbyYY.c: Likewise.
29300         * nss/getXXbyYY_r.c: Likewise.
29301         * nss/getXXent.c: Likewise.
29302         * nss/getXXent_r.c: Likewise.
29303         * sysdeps/posix/getaddrinfo.c: Likewise.
29304
29305 2012-10-30  Andreas Jaeger  <aj@suse.de>
29306
29307         * po/ru.po: Update Russion translation from translation project.
29308
29309 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
29310
29311         [BZ #14152]
29312         [BZ #14783]
29313         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29314         result and shift together with sticky bit instead of replicating
29315         round-to-nearest rounding.
29316         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29317         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29318         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
29319         missing underflow exceptions.
29320         (fma_test_towardzero): Add more tests.
29321         (fma_test_downward): Likewise.
29322         (fma_test_upward): Likewise.
29323
29324         [BZ #14047]
29325         * sysdeps/generic/tininess.h: New file.
29326         * sysdeps/i386/tininess.h: Likewise.
29327         * sysdeps/sh/tininess.h: Likewise.
29328         * sysdeps/x86_64/tininess.h: Likewise.
29329         * stdlib/tst-strtod-underflow.c: Likewise.
29330         * stdlib/tst-tininess.c: Likewise.
29331         * stdlib/strtod_l.c: Include <tininess.h>.
29332         (round_and_return): Do not set errno for exact underflow cases.
29333         Force an underflow exception when setting errno for underflow.
29334         Determine underflow based on rounding to normal precision if
29335         TININESS_AFTER_ROUNDING.
29336         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29337         ERANGE for exact underflow cases.
29338         * stdlib/Makefile (tests): Add tst-tininess and
29339         tst-strtod-underflow.
29340         ($(objpfx)tst-tininess): Use $(link-libm).
29341         ($(objpfx)tst-strtod-underflow): Likewise.
29342
29343 2012-10-30  Andreas Jaeger  <aj@suse.de>
29344
29345         [BZ#14767]
29346         * elf/Makefile (tests): Remove conditional for have-initfini-array
29347         since this is now always required and the variable does not exist
29348         anymore.
29349         (tests-static): Likewise.
29350         (modules-names): Likewise.
29351
29352         * po/eo.po: Add Esperanto translation from translation project.
29353
29354         * elf/tst-array1.c (fini_array): Make writeable so that it can be
29355         merged with constructor/destructor.
29356         (init_array): Likewise.
29357         * elf/tst-array2dep.c (fini_array): Likewise.
29358         (init_array): Likewise.
29359
29360 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
29361
29362         * manual/message.texi: Delete @cartouche tags.
29363
29364 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
29365
29366         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29367         EOPNOTSUPP.
29368         * sysdeps/mach/hurd/fsync.c: Likewise.
29369
29370         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29371         [_POSIX_REALTIME_SIGNALS]: Change condition to
29372         [_POSIX_REALTIME_SIGNALS > 0].
29373
29374 2012-10-27  Andreas Jaeger  <aj@suse.de>
29375
29376         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29377         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29378         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29379         [__WORDSIZE != 64]: Likewise.
29380
29381 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
29382
29383         *  iconvdata/tst-table.sh: Remove ${SHELL}.
29384         *  iconvdata/tst-tables.sh: Likewise.
29385
29386 2012-10-25  David S. Miller  <davem@davemloft.net>
29387
29388         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29389         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29390         of strtoull.
29391
29392         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29393         ifunc-impl-list.c
29394         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29395         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29396         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29397         file.
29398
29399 2012-10-25  Roland McGrath  <roland@hack.frob.com>
29400
29401         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29402         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29403         __getdirentries.
29404
29405 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29406             Jim Blandy  <jimb@codesourcery.com>
29407
29408         * scripts/cross-test-ssh.sh: New file.
29409         * manual/install.texi (Configuring and compiling): Document use of
29410         cross-test-ssh.sh.
29411         * INSTALL: Regenerated.
29412
29413 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
29414
29415         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29416         EOPNOTSUPP.
29417
29418 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
29419
29420         * Makeconfig (run-program-prefix): Fix comment.
29421
29422 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29423             Jim Blandy  <jimb@codesourcery.com>
29424
29425         * Makeconfig (test-wrapper): New variable,
29426         (test-wrapper-env): Likewise.
29427         [$(cross-compiling) = yes && $(test-wrapper) != ""]
29428         (run-built-tests): Define to yes.
29429         (run-program-prefix): Use $(test-wrapper).
29430         (built-program-cmd): Likewise.
29431         * Rules (make-test-out): Use $(test-wrapper-env) and
29432         $(host-built-program-cmd).
29433         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29434         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29435         tst-pathopt.sh.
29436         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29437         $(test-wrapper-env) to tst-rtld-load-self.sh.
29438         ($(objpfx)order2.out): Use $(test-wrapper).
29439         ($(objpfx)tst-initorder.out): Likewise.
29440         ($(objpfx)tst-initorder2.out): Likewise.
29441         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29442         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29443         (test_wrapper_env): New variable.  Use it to run ld.so.
29444         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29445         Use it to run ld.so.
29446         (test_wrapper_env): Likewise.
29447         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29448         $(test-wrapper) to run-iconv-test.sh.
29449         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29450         (ICONV): Use $test_wrapper.
29451         * posix/Makefile ($(objpfx)globtest.out): Pass
29452         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29453         globtest.sh, not $(run-program-prefix).
29454         * posix/globtest.sh (run_via_rtld_prefix): New variable.
29455         (test_wrapper): Likewise.
29456         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
29457         set together with run_via_rtld_prefix.
29458         (run_program_prefix): Define in terms of test_wrapper and
29459         run_via_rtld_prefix.
29460
29461 2012-10-24  Roland McGrath  <roland@hack.frob.com>
29462
29463         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29464         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29465         Targets removed.
29466
29467         [BZ #14743]
29468         * include/time.h: Remove librt_hidden_proto (clock_gettime).
29469         Declare __clock_getres, __clock_gettime, __clock_settime,
29470         __clock_nanosleep, and __clock_getcpuclockid.
29471         * rt/clock_gettime.c: Define __clock_gettime as an alias.
29472         Remove librt_hidden_def (clock_gettime).
29473         * sysdeps/unix/clock_gettime.c: Likewise.
29474         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29475         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29476         * rt/clock_getres.c: Define __clock_getres as an alias.
29477         * sysdeps/posix/clock_getres.c: Likewise.
29478         * rt/clock_settime.c: Define __clock_settime as an alias.
29479         * sysdeps/unix/clock_settime.c: Likewise.
29480         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29481         * sysdeps/unix/clock_nanosleep.c: Likewise.
29482         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29483         * rt/clock-compat.c: New file.
29484         * rt/Makefile (librt-routines): Add clock-compat and move
29485         $(clock-routines) to ...
29486         (routines): ... here, new variable.
29487         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29488         Don't add get_clockfreq here.
29489         * rt/Versions (libc: GLIBC_2.17): New version set.
29490         Add clock_* symbols here.
29491         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
29492         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29493         (GLIBC_2.17): Add clock_* symbols.
29494         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29495         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29496         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29498         Likewise.
29499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29500         Likewise.
29501         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29502         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29503         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29504         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29505         * NEWS: Mention the move.
29506
29507         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29508         Use __open, __read, __close rather than their public counterparts.
29509         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29510         (__get_clockfreq_via_cpuinfo): Likewise.
29511         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29512         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29513
29514         * config.h.in (HAVE_IFUNC): New #undef.
29515         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29516         was successful.
29517         * configure: Regenerated.
29518
29519 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29520
29521         * configure.in: Move READELF check to start of file.
29522         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29523         libc_cv_asm_gnu_indirect_function in the process.
29524         * configure: Regenerated.
29525
29526 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29527
29528         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29529         send the output to /dev/null.
29530         (libc_cv_cc_with_libunwind): Likewise.
29531         (libc_cv_as_noexecstack): Likewise.
29532         * configure: Regenerate.
29533
29534 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29535
29536         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29537
29538         * posix/globtest.sh (TMPDIR): Do not set.
29539         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29540         (testout): Likewise.
29541
29542 2012-10-24  Andreas Jaeger  <aj@suse.de>
29543
29544         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29545         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29546         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29547         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29548         posix_fadvise64, posix_fallocate64.
29549
29550         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29551         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29552         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29553         Likewise.
29554         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29555         Likewise.
29556         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29557
29558         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29559         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29560         <bits/fcntl-linux.h>.
29561         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29562
29563         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29564         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29565         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29566         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29567         [__WORDSIZE != 64]: Likewise.
29568
29569 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29570
29571         * Makeconfig (run-built-tests): New variable.
29572         * Rules [$(cross-compiling) = yes]: Change condition to
29573         [$(run-built-tests) = no].
29574         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29575         to [$(run-built-tests) = yes].
29576         * elf/Makefile [$(cross-compiling) = no]: Likewise
29577         * grp/Makefile [$(cross-compiling) = no]: Likewise.
29578         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29579         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29580         * intl/Makefile [$(cross-compiling) = no]: Likewise.
29581         * io/Makefile [$(cross-compiling) = no]: Likewise.
29582         * libio/Makefile [$(cross-compiling) = no]: Likewise.
29583         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29584         * misc/Makefile [$(cross-compiling) = no]: Likewise.
29585         * posix/Makefile [$(cross-compiling) = no]: Likewise.
29586         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29587         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29588         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29589         * string/Makefile [$(cross-compiling) = no]: Likewise.
29590
29591         * posix/Makefile ($(objpfx)globtest.out): Pass
29592         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29593         $(rtld-installed-name).
29594         * posix/globtest.sh (elf_objpfx): Remove variable.
29595         (rtld_installed_name): Likewise.
29596         (library_path): Likewise.
29597         (run_program_prefix): New variable.  Use for running globtest
29598         binary.
29599
29600 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
29601             Joseph Myers  <joseph@codesourcery.com>
29602
29603         * Makeconfig (host-built-program-cmd): New variable.
29604         * elf/Makefile (tst-stackguard1-ARGS): Use
29605         $(host-built-program-cmd).
29606         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29607         (tst-spawn-ARGS): Likewise.
29608         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29609
29610 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29611             Jim Blandy  <jimb@codesourcery.com>
29612
29613         * Makeconfig (run-via-rtld-prefix): New variable.
29614         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29615         (built-program-cmd): Likewise.
29616
29617 2012-10-22  Andreas Jaeger  <aj@suse.de>
29618
29619         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29620         __O_RSYNC if it exists, otherwise to O_SYNC.
29621
29622 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
29623             Joseph Myers  <joseph@codesourcery.com>
29624
29625         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29626         /dev/null.
29627         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29628         from /dev/null
29629         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29630         /dev/null.
29631
29632 2012-10-22  Andreas Jaeger  <aj@suse.de>
29633
29634         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29635         Define always.
29636         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29637
29638         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29639         bits/fcntl-linux.h.
29640
29641         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29642         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29643
29644         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29645         to __O_LARGEFILE.
29646         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29647         to __O_LARGEFILE.
29648
29649 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
29650             Joseph Myers  <joseph@codesourcery.com>
29651
29652         * config.make.in (NM): New variable.
29653
29654 2012-10-21  Andreas Jaeger  <aj@suse.de>
29655
29656         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29657         definitions and declarations that are provided by
29658         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29659
29660 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29661
29662         [BZ #14683]
29663         * elf/Makefile (tests-static): Add tst-leaks1-static.
29664         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29665         ($(objpfx)tst-leaks1-static): New rule.
29666         ($(objpfx)tst-leaks1-static-mem): Likewise.
29667         (tst-leaks1-static-ENV): New macro.
29668         * elf/dl-open.c (dl_open_worker): Check the main application
29669         only if SHARED is defined.
29670         * elf/tst-leaks1-static.c: New file.
29671
29672 2012-10-20  Andreas Jaeger  <aj@suse.de>
29673
29674         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29675         generic values for Linux.
29676         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29677         and declarations that are provided by <bits/fcntl-linux.h> and
29678         include <bits/fcntl-linux.h>.
29679         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29680         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29681
29682 2012-10-20  Roland McGrath  <roland@hack.frob.com>
29683
29684         * io/fcntl.h: Move include of <bits/types.h> to the top and
29685         include it unconditionally.
29686
29687 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29688
29689         * wcsmbs/Makefile (tests-ifunc): New variable.
29690         (tests): Add $(tests-ifunc).
29691         * wcsmbs/test-wcschr-ifunc.c: New file.
29692         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29693         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29694         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29695         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29696         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29697
29698         * string/Makefile (tests-ifunc): New variable.
29699         (tests): Add $(tests-ifunc).
29700         * string/test-memccpy.c (TEST_NAME): New macro.
29701         * string/test-memchr.c (TEST_NAME): Likewise.
29702         * string/test-memcmp.c (TEST_NAME): Likewise.
29703         * string/test-memcpy.c (TEST_NAME): Likewise.
29704         * string/test-memmem.c (TEST_NAME): Likewise.
29705         * string/test-memmove.c (TEST_NAME): Likewise.
29706         * string/test-memset.c (TEST_NAME): Likewise.
29707         * string/test-rawmemchr.c (TEST_NAME): Likewise.
29708         * string/test-stpcpy.c (TEST_NAME): Likewise.
29709         * string/test-stpncpy.c (TEST_NAME): Likewise.
29710         * string/test-strcasecmp.c (TEST_NAME): Likewise.
29711         * string/test-strcasestr.c (TEST_NAME): Likewise.
29712         * string/test-strcat.c (TEST_NAME): Likewise.
29713         * string/test-strchr.c (TEST_NAME): Likewise.
29714         * string/test-strcmp.c(TEST_NAME): Likewise.
29715         * string/test-strcpy.c (TEST_NAME): Likewise.
29716         * string/test-strcspn.c (TEST_NAME): Likewise.
29717         * string/test-strlen.c (TEST_NAME): Likewise.
29718         * string/test-strncasecmp.c (TEST_NAME): Likewise.
29719         * string/test-strncmp.c (TEST_NAME): Likewise.
29720         * string/test-strncpy.c (TEST_NAME): Likewise.
29721         * string/test-strnlen.c (TEST_NAME): Likewise.
29722         * string/test-strpbrk.c (TEST_NAME): Likewise.
29723         * string/test-strrchr.c (TEST_NAME): Likewise.
29724         * string/test-strspn.c (TEST_NAME): Likewise.
29725         * string/test-strstr.c (TEST_NAME): Likewise.
29726         * string/test-bcopy-ifunc.c: New file.
29727         * string/test-bzero-ifunc.c: Likewise.
29728         * string/test-memccpy-ifunc.c: Likewise.
29729         * string/test-memchr-ifunc.c: Likewise.
29730         * string/test-memcmp-ifunc.c: Likewise.
29731         * string/test-memcpy-ifunc.c: Likewise.
29732         * string/test-memmem-ifunc.c: Likewise.
29733         * string/test-memmove-ifunc.c: Likewise.
29734         * string/test-mempcpy-ifunc.c: Likewise.
29735         * string/test-memset-ifunc.c: Likewise.
29736         * string/test-rawmemchr-ifunc.c: Likewise.
29737         * string/test-stpcpy-ifunc.c: Likewise.
29738         * string/test-stpncpy-ifunc.c: Likewise.
29739         * string/test-strcasecmp-ifunc.c: Likewise.
29740         * string/test-strcasestr-ifunc.c: Likewise.
29741         * string/test-strcat-ifunc.c: Likewise.
29742         * string/test-strchr-ifunc.c: Likewise.
29743         * string/test-strchrnul-ifunc.c: Likewise.
29744         * string/test-strcmp-ifunc.c: Likewise.
29745         * string/test-strcpy-ifunc.c: Likewise.
29746         * string/test-strcspn-ifunc.c: Likewise.
29747         * string/test-strlen-ifunc.c: Likewise.
29748         * string/test-strncasecmp-ifunc.c: Likewise.
29749         * string/test-strncat-ifunc.c: Likewise.
29750         * string/test-strncmp-ifunc.c: Likewise.
29751         * string/test-strncpy-ifunc.c: Likewise.
29752         * string/test-strnlen-ifunc.c: Likewise.
29753         * string/test-strpbrk-ifunc.c: Likewise.
29754         * string/test-strrchr-ifunc.c: Likewise.
29755         * string/test-strspn-ifunc.c: Likewise.
29756         * string/test-strstr-ifunc.c: Likewise.
29757
29758         * debug/Makefile (tests-ifunc): New variable.
29759         (tests): Add $(tests-ifunc).
29760         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29761         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29762         * debug/test-stpcpy_chk-ifunc.c: New file.
29763         * debug/test-strcpy_chk-ifunc.c: Likewise.
29764
29765 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29766
29767         [BZ #13601]
29768         * elf/dl-load.c (open_verify): Retry read if the entire ELF
29769         header is not read in.
29770
29771 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
29772
29773         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
29774         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
29775         directly.  Pass built executable to script as
29776         $(built-program-cmd).
29777         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
29778         $testprogram without using LD_LIBRARY_PATH and $ldso.
29779
29780         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29781         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29782         $(rtld-installed-name).
29783         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29784         (rtld_installed_name): Likewise.
29785         (library_path): Likewise.
29786         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
29787         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29788         $(run-program-prefix) to tst-tables.sh.
29789         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
29790         it to run tst-table-from and tst-table-to.
29791         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29792         Pass it to tst-table.sh.
29793         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29794         $(run-program-prefix) to tst-gettext.sh.
29795         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29796         tst-translit.sh.
29797         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29798         tst-gettext2.sh.
29799         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
29800         to run tst-gettext.
29801         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
29802         to run tst-gettext2.
29803         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
29804         to run tst-translit.
29805         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29806         $(run-program-prefix) to tst-mtrace.sh.
29807         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
29808         to run tst-mtrace.
29809         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29810         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29811         $(rtld-installed-name).
29812         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29813         (rtld_installed_name): Likewise.
29814         (run_program_prefix): New variable.  Use it to run wordexp-test.
29815
29816         * Makeconfig (ARCH): Remove all definitions.
29817         (machine): Likewise.
29818         [ARCH]: Remove conditional code.
29819         [!objdir]: Give error.
29820         [!objdir] (objpfx): Remove.
29821         [!objdir] (common-objpfx): Likewise.
29822         [!objdir] (common-objdir): Likewise.
29823         * configure.in (config_makefile): Remove.  Hardcode Makefile in
29824         AC_CONFIG_FILES call.
29825         * configure: Regenerated.
29826
29827         [BZ #13888]
29828         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29829         or TMPDIR.
29830         (testout): Likewise.
29831
29832         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29833         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29834         $(rtld-installed-name).
29835         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29836         (rtld_installed_name): Likwise.
29837         (runit): Remove function.
29838         (run_getconf): New variable,  Use it for running getconf binary.
29839
29840 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
29841
29842         [BZ #14716]
29843         * string/test-memmem.c (check_result): New function.
29844         (do_one_test): Use it.
29845         (check1): New function.
29846         (test_main): Use it.
29847
29848 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
29849
29850         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29851
29852 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
29853
29854         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29855         (_G_LSEEK64): Likewise.
29856         (_G_MMAP64): Likewise.
29857         (_G_FSTAT64): Likewise.
29858         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29859         (_G_LSEEK64): Likewise.
29860         (_G_MMAP64): Likewise.
29861         (_G_FSTAT64): Likewise.
29862         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29863         unconditional.  Call __mmap64 directly.
29864         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29865         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
29866         __lseek64 directly.
29867         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29868         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
29869         __mmap64 directly.
29870         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29871         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29872         __lseek64 directly.
29873         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29874         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29875         __lseek64 directly.
29876         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29877         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
29878         __lseek64 directly.
29879         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29880         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
29881         __fxstat64 directly.
29882         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29883         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29884         unconditional.
29885         (freopen64) [!_G_OPEN64]: Remove conditional code.
29886         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29887         unconditional.
29888         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29889         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29890         unconditional.
29891         (ftello64) [!_G_LSEEK64]: Remove conditional code.
29892         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29893         unconditional.
29894         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29895         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29896         unconditional.
29897         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29898         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29899         unconditional.
29900         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29901         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29902         unconditional.
29903         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29904         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29905         unconditional.
29906         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29907
29908 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29909
29910         [BZ #12140]
29911         * manual/memory.texi (Malloc Tunable Parameters): Add note
29912         about free list pointers overwriting some perturb bytes.
29913         Wording suggested by Roland McGrath.
29914
29915 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
29916
29917         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29918         (lgamma_test): Likewise.
29919         (tgamma_test): Likewise.
29920
29921 2012-10-16  Florian Weimer  <fweimer@redhat.com>
29922
29923         [BZ #14700]
29924         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29925         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29926
29927 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
29928
29929         * NEWS: Mention BZ #14716.
29930         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29931         when removing AVAILABLE1_USES_J macro.
29932
29933 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
29934
29935         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29936         (__bswap_64): __uint64_t for unsigned 64-bit int.
29937
29938 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
29939
29940         * include/string.h (memmem): Declare libc hidden alias.
29941         * string/memmem.c (memmem): Define libc hidden alias.
29942         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29943         __read, __close instead of open, read, close.
29944
29945 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
29946
29947         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29948         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29949         global and hidden.
29950         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29951         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29952         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29953         Likewise.
29954         (__rawmemchr_sse2): Likewise.
29955         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29956         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29957         (__strchr_sse2): Likewise.
29958         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29959         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29960         (__strcasecmp_sse2): Likewise.
29961         (__strncasecmp_sse2): Likewise.
29962         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29963         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29964         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29965         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29966         (__strrchr_sse2): Likewise.
29967         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29968         ifunc-impl-list.c.
29969         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29970         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29971         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29972         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29973         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29974         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29975         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29976         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29977         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29978         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29979         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29980         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29981         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29982         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29983         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29984         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29985         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29986         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29987         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29988         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29989         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29990         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29991         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29992         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29993         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29994         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29995         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29996         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29997         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29998         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29999
30000         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30001         global and hidden.
30002         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30003         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30004         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30005         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30006         Likewise.
30007         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30008         Likewise.
30009         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30010         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30011         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30012         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30013         ifunc-impl-list.c.
30014         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30015         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30016         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30017         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30018         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30019         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30020         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30021         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30022         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30023         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30024         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30025         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30026         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30027         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30028         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30029         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30030         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30031         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30032         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30033         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30034         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30035         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30036         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30037         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30038         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30039         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30040         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30041         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30042         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30043         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30044         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30045         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30046         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30047         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30048         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30049         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30050         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30051         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30052         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30053         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30054         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30055
30056         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30057         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30058         * include/ifunc-impl-list.h: New file.
30059         * misc/ifunc-impl-list.c: Likewise.
30060         * misc/Makefile (routines): Add ifunc-impl-list.
30061         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30062         * string/test-string.h: Include <ifunc-impl-list.h>.
30063         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30064         TEST_NAME]: New variables.
30065         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30066         are defined.
30067         (test_init): Call __libc_ifunc_impl_list to initialize
30068         func_list if TEST_IFUNC and TEST_NAME are defined.
30069
30070         * string/Makefile (strop-tests): Add bcopy and bzero.
30071         * string/test-bcopy.c: New file.
30072         * string/test-bzero.c: Likewise.
30073         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30074         defined.
30075         * string/test-memset.c: Support bzero test if TEST_BZERO is
30076         defined.
30077         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30078         __libc_memmove.
30079         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30080         __libc_memset.
30081         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30082         of memset.
30083
30084 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
30085
30086         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30087         * configure: Regenerated.
30088
30089         * Makeconfig (+link-static-before-libc): Don't include
30090         $(link-static-libc).
30091
30092         * libio/libio.h (_IO_pos_t): Remove.
30093
30094 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30095
30096         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
30097         McGrath.
30098
30099 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30100
30101         * crypt/crypt-entry.c: Include fips-private.h.
30102         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30103         * crypt/md5c-test.c (main): Tolerate disabled MD5.
30104         * sysdeps/unix/sysv/linux/fips-private.h: New file.
30105         * sysdeps/generic/fips-private.h: New file, dummy fallback.
30106
30107 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30108
30109         * crypt/crypt-private.h: Include stdbool.h.
30110         (_ufc_setup_salt_r): Return bool.
30111         * crypt/crypt-entry.c: Include errno.h.
30112         (__crypt_r): Return NULL with EINVAL for bad salt.
30113         * crypt/crypt_util.c (bad_for_salt): New.
30114         (_ufc_setup_salt_r): Check that salt is long enough and within
30115         the specified alphabet.
30116         * crypt/badsalttest.c: New file.
30117         * crypt/Makefile (tests): Add it.
30118         ($(objpfx)badsalttest): New.
30119
30120 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
30121
30122         * NEWS: Add entry for BZ #14602.
30123
30124 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30125
30126         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30127         type-generic.
30128         * math/libm-test.inc: Update comment listing what functions and
30129         macros are tested.
30130         (isgreater_test): New function.
30131         (isgreaterequal_test): Likewise.
30132         (isless_test): Likewise.
30133         (islessequal_test): Likewise.
30134         (islessgreater_test): Likewise.
30135         (isunordered_test): Likewise.
30136         (main): Call the new functions.
30137
30138 2012-10-09  Roland McGrath  <roland@hack.frob.com>
30139
30140         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
30141         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
30142         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
30143         * sysdeps/i386/configure: Regenerated.
30144         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
30145         * sysdeps/mach/configure: Regenerated.
30146         * sysdeps/mach/hurd/configure: Regenerated.
30147         * sysdeps/powerpc/configure: Regenerated.
30148         * sysdeps/powerpc/powerpc32/configure: Regenerated.
30149         * sysdeps/powerpc/powerpc64/configure: Regenerated.
30150         * sysdeps/s390/s390-32/configure: Regenerated.
30151         * sysdeps/s390/s390-64/configure: Regenerated.
30152         * sysdeps/sh/configure: Regenerated.
30153         * sysdeps/sparc/configure: Regenerated.
30154         * sysdeps/unix/sysv/linux/configure: Regenerated.
30155         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30156         * sysdeps/x86_64/configure: Regenerated.
30157
30158         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
30159         defined.  Don't check if MAP is NULL.
30160
30161 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30162
30163         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
30164         (_G_stat64): Likewise.
30165         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
30166         (_G_stat64): Likewise.
30167         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
30168         instead of struct _G_stat64.
30169         * libio/fileops.c (mmap_remap_check): Likewise.
30170         (decide_maybe_mmap): Likewise.
30171         (_IO_new_file_seekoff): Likewise.
30172         (_IO_file_stat): Likewise.
30173         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
30174         _G_off64_t.
30175         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
30176         instead of struct _G_stat64.
30177         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30178
30179 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
30180
30181         [BZ #14602]
30182         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30183         Replace with ...
30184         (CHECK_EOL): New macro.
30185         (two_way_short_needle): Check beginning of haystack for EOL.  Use
30186         CHECK_EOL.
30187         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30188         Replace with CHECK_EOL.
30189         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
30190         Replace with CHECK_EOL.
30191
30192 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
30193
30194         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
30195         type-generic.
30196         * math/libm-test.inc: Update comment listing what functions and
30197         macros are tested.
30198         (finite_test): New function.
30199         (isinf_test): Likewise.
30200         (isnan_test): Likewise.
30201         (fpclassify_test): Test subnormal input.
30202         (isfinite_test): Likewise.
30203         (isnormal_test): Likewise.
30204         (main): Call the new functions.
30205
30206 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
30207
30208         [BZ #14660]
30209         * Makerules (%.dynsym): Force C locale when running
30210         $(OBJDUMP) --dynamic-syms.
30211
30212 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
30213
30214         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
30215         <stdint.h>.
30216
30217 2012-10-06  David S. Miller  <davem@davemloft.net>
30218
30219         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
30220         upper 32-bits of the length value in %o2 since we use branch-on-register
30221         tests which consider the entire 64-bit register.
30222
30223 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
30224
30225         * string/test-strstr.c (check2): Add a test for page boundary.
30226
30227 2012-10-05  David S. Miller  <davem@davemloft.net>
30228
30229         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
30230         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
30231         file.
30232         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30233         sysdep_routines.
30234         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30235         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
30236         and bzero when HWCAP_SPARC_CRYPTO is present.
30237
30238 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
30239
30240         [BZ #14602]
30241         * string/test-strstr.c (check2): New function.
30242         (test_main): Call check2.
30243
30244         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
30245         and bug-strchr1.
30246         * string/bug-strcasestr1.c (do_test): Moved to ...
30247         * string/test-strcasestr.c (check1): Here.  New function.
30248         (do_one_test): Break out result checking code into ...
30249         (check_result): This.  New function.
30250         (do_one_test): Call check_result.
30251         (test_main): Call check1.
30252         * string/bug-strchr1.c (do_test): Moved to ...
30253         * string/test-strchr.c (check1): Here.  New function.
30254         (do_one_test): Break out result checking code into ...
30255         (check_result): This.  New function.
30256         (do_one_test): Call check_result.
30257         (test_main): Call check1.
30258         * string/bug-strstr1.c (main): Moved to ...
30259         * string/test-strstr.c (check1): Here.  New function.
30260         (do_one_test): Break out result checking code into ...
30261         (check_result): This.  New function.
30262         (do_one_test): Call check_result.
30263         (test_main): Call check1.
30264         * string/bug-strcasestr1.c: Removed.
30265         * string/bug-strchr1.c: Likewise.
30266         * string/bug-strstr1.c: Likewise.
30267
30268         * elf/Makefile (dl-routines): Add hwcaps.
30269         * elf/dl-support.c (_dl_important_hwcaps): Removed.
30270         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
30271         (_dl_important_hwcaps): Moved to ...
30272         * elf/dl-hwcaps.c: Here.  New file.
30273         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
30274
30275         [BZ #14557]
30276         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
30277         if IS_IN_rtld isn't defined.
30278
30279         * elf/dl-support.c (_dl_sysinfo_map): New.
30280         Include "get-dynamic-info.h" and "setup-vdso.h".
30281         (_dl_non_dynamic_init): Call setup_vdso.
30282         * elf/dynamic-link.h: Don't include <assert.h>.
30283         (elf_get_dynamic_info): Moved to ...
30284         * elf/get-dynamic-info.h: Here.  New file.
30285         * elf/dynamic-link.h: Include "get-dynamic-info.h".
30286         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30287         * elf/setup-vdso.h: Here.  New file.
30288         * elf/rtld.c: Include "setup-vdso.h".
30289         (dl_main): Call setup_vdso.
30290
30291 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
30292
30293         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30294         creal in comment listing functions tested.  List finite, isinf,
30295         isnan, isless, islessequal, isgreater, isgreaterequal,
30296         islessgreater, isunordered, lgamma_r and pow10 as functions and
30297         macros not tested.  Mention which functions not tested are aliases
30298         for other functions.  Fix typo.  Note that signs of NaNs are not
30299         tested.
30300
30301         * scripts/config.guess: Update from config.git.
30302         * scripts/config.sub: Likewise.
30303
30304 2012-10-04  Roland McGrath  <roland@hack.frob.com>
30305
30306         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30307         * misc/madvise.c (madvise): Renamed to __madvise.
30308         Make madvise a weak alias.
30309         * include/sys/mman.h: Declare __madvise.
30310         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30311         * sysdeps/unix/syscalls.list
30312         (madvise): Make __madvise the strong name, and madvise a weak alias.
30313         * sysdeps/unix/sysv/linux/syscalls.list
30314         (madvise, mmap): Remove redundant entries.
30315         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30316         * malloc/malloc.c (mtrim): Likewise.
30317         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30318
30319 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30320
30321         * sysdeps/mach/hurd/dl-cache.c: File removed.
30322         * config.h.in (USE_LDCONFIG): New #undef.
30323         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30324         * configure: Regenerated.
30325         * elf/Makefile (dl-routines): Add dl-cache only under
30326         [$(use-ldconfig) = yes].
30327         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30328         cache on [USE_LDCONFIG].
30329         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30330         [USE_LDCONFIG].
30331         * elf/rtld.c (dl_main): Likewise.
30332
30333 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
30334
30335         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30336         _SC_LEVEL4_CACHE_LINESIZE.
30337
30338 2012-10-03  Roland McGrath  <roland@hack.frob.com>
30339
30340         * sysdeps/unix/bsd/confstr.h: File removed.
30341
30342 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
30343
30344         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30345         sys/sdt-config.h.
30346
30347 2012-10-02  Roland McGrath  <roland@hack.frob.com>
30348
30349         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30350         Make 'mapoff' field ElfW(Off) rather than off_t.
30351
30352 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
30353
30354         * nscd/Makefile: Remove nscd-cflags and all its users.
30355         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30356         (CFLAGS-nonlib): Add compiler flags for nscd modules.
30357
30358         [BZ #10631]
30359         * malloc.c (malloc_printerr): Clarify error message.
30360
30361 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
30362
30363         [BZ #14648]
30364         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30365         Set bit_FMA_Usable if FMA is supported.
30366         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30367         macro.
30368         (bit_FMA4_Usable): Updated.
30369         (index_FMA_Usable): New macro.
30370         (CPUID_FMA): Likewise
30371         (HAS_FMA): Defined with bit_FMA_Usable.
30372
30373 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30374
30375         * bits/types.h (__swblk_t): Type removed.
30376         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30377         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30378         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30379         (__SWBLK_T_TYPE): Likewise.
30380         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30381         (__SWBLK_T_TYPE): Likewise.
30382         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30383         (__SWBLK_T_TYPE): Likewise.
30384         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30385         (__SWBLK_T_TYPE): Likewise.
30386
30387 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
30388             Honza Horak <hhorak@redhat.com>
30389
30390         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30391         (xdr_mapname): Use YPMAXMAP as maxsize.
30392         (xdr_peername): Use YPMAXPEER as maxsize.
30393         (xdr_keydat): Use YPAXRECORD as maxsize.
30394         (xdr_valdat): Use YPMAXRECORD as maxsize.
30395
30396 2012-10-01  Roland McGrath  <roland@hack.frob.com>
30397
30398         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30399
30400         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30401         * csu/init-first.c: ... here.
30402         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30403         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30404         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30405         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30406         * sysdeps/i386/init-first.c: File removed.
30407         * sysdeps/sh/init-first.c: File removed.
30408
30409 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
30410
30411         [BZ #14645]
30412         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30413         if x * y might underflow to zero and z is zero.
30414         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30415         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30416         * math/libm-test.inc (min_subnorm_value): New variable.
30417         (fma_test): Add more tests.
30418         (fma_test_towardzero): Likewise.
30419         (fma_test_downward): Likewise
30420         (fma_test_upward): Likewise.
30421         (initialize): Set min_subnorm_value.
30422
30423 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
30424
30425         [BZ #14638]
30426         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30427         0 + 0.
30428         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30429         mode for addition resulting in exact zero.
30430         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30431         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30432         exact 0 + 0.
30433         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30434         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30435         * math/libm-test.inc (fma_test): Add more tests.
30436         (fma_test_towardzero): New function.
30437         (fma_test_downward): Likewise.
30438         (fma_test_upward): Likewise.
30439         (main): Call the new functions.
30440
30441 2012-09-28  David S. Miller  <davem@davemloft.net>
30442
30443         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30444
30445 2012-09-28  Roland McGrath  <roland@hack.frob.com>
30446
30447         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30448         instead of SIGALRM.
30449
30450         * sysdeps/gnu/_G_config.h: Moved to ...
30451         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30452         * sysdeps/mach/hurd/_G_config.h: Moved to ...
30453         * sysdeps/generic/_G_config.h: ... here.
30454
30455         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
30456
30457         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30458
30459         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30460         Conditionalize target on [libnss_test1.so-version].
30461
30462         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30463
30464         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30465         (elfobjdir): Move out of conditionals.
30466
30467         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30468         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30469         (__nss_lookup_function): Conditionalize label remove_from_tree on
30470         [!DO_STATIC_NSS || SHARED], matching its only use.
30471
30472 2012-09-28  David S. Miller  <davem@davemloft.net>
30473
30474         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30475         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30476         file.
30477         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30478         sysdep_routines.
30479         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30480         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30481         when HWCAP_SPARC_CRYPTO is present.
30482
30483 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30484
30485         * io/tst-mknodat.c: Create a FIFO instead of a socket.
30486
30487 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
30488
30489         [BZ #6530]
30490         * stdio-common/vfprintf.c (process_string_arg): Revert
30491         2000-07-22 change.
30492
30493 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
30494
30495         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30496         for testcase.
30497         * stdio-common/tst-sprintf.c: Include <locale.h>
30498         (main): Test sprintf's handling of incomplete multibyte
30499         characters.
30500
30501 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
30502
30503         * elf/dl-runtime.c (VERSYMIDX): Removed.
30504         * elf/dl-version.c (VERSYMIDX): Likewise.
30505         * elf/do-rel.h (VERSYMIDX): Likewise.
30506         (VALIDX): Likewise.
30507         * elf/dynamic-link.h (VERSYMIDX): Likewise.
30508         * elf/rtld.c (VALIDX): Likewise.
30509         (ADDRIDX): Likewise.
30510         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30511         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30512         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30513         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30514         (VALIDX): Likewise.
30515         (ADDRIDX): Likewise.
30516
30517 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30518
30519         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30520
30521 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
30522
30523         [BZ #11438]
30524         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30525         to global scope.
30526         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30527         addresses are in the same scope as 192.0.2/24.
30528         * posix/gai.conf: Document new scope table defaults.
30529
30530 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30531
30532         [BZ #5298]
30533         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30534         for ftell.  Compute offsets from write pointers instead.
30535         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30536
30537 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30538
30539         [BZ #14543]
30540         * libio/Makefile (tests): New test case tst-fseek.
30541         * libio/tst-fseek.c: New test case to verify that fseek/ftell
30542         combination works in wide mode.
30543         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30544         state when the external buffer state changes.
30545
30546 2012-09-27  David S. Miller  <davem@davemloft.net>
30547
30548         [BZ #14376]
30549         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30550         pass reloc->r_addend in as the 'high' argument to
30551         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30552
30553         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30554
30555 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30556
30557         * rt/tst-aio2.c: Include <pthread.h>.
30558         * rt/tst-aio3.c: Likewise.
30559
30560 2012-09-27  Steve Ellcey  <sellcey@mips.com>
30561
30562         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30563
30564 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
30565
30566         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30567         contents on [SHARED].
30568
30569 2012-09-26  Marek Polacek  <polacek@redhat.com>
30570
30571         [BZ #14530]
30572         [BZ #13741]
30573         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30574         for C++ and GCC <4.3 as well as for non GCC compilers.
30575
30576 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30577
30578         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30579
30580 2012-09-25  Roland McGrath  <roland@hack.frob.com>
30581
30582         * Makefile.in (all, install): Declare with .PHONY.
30583         Reported by Michael Hope <michael.hope@linaro.org>.
30584
30585 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30586
30587         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30588         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30589         system header.
30590         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30591         Likewise.
30592         (sydep_routines): Add the new and the internal functions.
30593         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30594         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30596         (GLIBC_2.17): Add the new function.
30597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30598         (GLIBC_2.17): Likewise.
30599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30600         (GLIBC_2.17): Likewise.
30601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30602         (GLIBC_2.17): Likewise.
30603         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30604
30605 2012-09-25  Alan Modra  <amodra@gmail.com>
30606
30607         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30608         Add release barrier before setting once_control to say
30609         initialisation is done.  Add hints on lwarx.  Use macro in
30610         place of isync.
30611         (clear_once_control): Add release barrier.
30612
30613 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30614
30615         [BZ #13629]
30616         * math/s_clog.c (__clog): Handle more values close to |z| = 1
30617         specially.
30618         * math/s_clog10.c (__clog10): Likewise.
30619         * math/s_clog10f.c (__clog10f): Likewise.
30620         * math/s_clog10l.c (__clog10l): Likewise.
30621         * math/s_clogf.c (__clogf): Likewise.
30622         * math/s_clogl.c (__clogl): Likewise.
30623         * math/Makefile (libm-calls): Add x2y2m1.
30624         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30625         (__x2y2m1): Likewise.
30626         (__x2y2m1l): Likewise.
30627         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30628         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30629         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30630         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30631         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30632         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30633         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30634         * sysdeps/i386/fpu/libm-test-ulps: Update.
30635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30636
30637         [BZ #14621]
30638         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30639         int as type of variable DEPTH.
30640         (glob): Use size_t instead of int as type of variables NEWCOUNT
30641         and OLD_PATHC.
30642
30643 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30644
30645         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30646         Add s_sincosf-sse2.
30647         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30648         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30649         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30650         macros for using routine as __sincosf_ia32.
30651         Use macro for function declaration and weak_alias.
30652         * sysdeps/i386/fpu/libm-test-ulps: Update.
30653
30654         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30655         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30656
30657         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30658         subnormal argument.
30659         * math/s_cexpf.c (__cexpf): Likewise.
30660         * math/s_csinf.c (__csinf): Likewise.
30661         * math/s_csinhf.c (__csinhf): Likewise.
30662         * math/s_ctanf.c (__ctanf): Likewise.
30663         * math/s_ctanhf.c (__ctanhf): Likewise.
30664         * math/s_ccosh.c (__ccoshf): Likewise.
30665         * math/s_cexp.c (__cexpl): Likewise.
30666         * math/s_csin.c (__csin): Likewise.
30667         * math/s_csinh.c (__csinh): Likewise.
30668         * math/s_ctan.c (__ctan): Likewise.
30669         * math/s_ctanh.c (ctanh): Likewise.
30670         * math/s_ccoshl.c (__ccoshl): Likewise.
30671         * math/s_cexpl.c (__cexpl): Likewise.
30672         * math/s_csinl.c (__csinl): Likewise.
30673         * math/s_csinhl.c (__csinhl): Likewise.
30674         * math/s_ctanl.c (__ctanl): Likewise.
30675         * math/s_ctanhl.c (__ctanhl): Likewise.
30676
30677 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30678
30679         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30680         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30681         (_IO_off_t): Define to __off_t, not _G_off_t.
30682         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30683         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30684         (_IO_wint_t): Define to wint_t, not _G_wint_t.
30685         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30686         type of __dummy and __dummy2 fields.
30687         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30688         (_G_ssize_t): Likewise.
30689         (_G_off_t): Likewise.
30690         (_G_pid_t): Likewise.
30691         (_G_uid_t): Likewise.
30692         (_G_wchar_t): Likewise.
30693         (_G_wint_t): Likewise.
30694         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30695         (_G_ssize_t): Likewise.
30696         (_G_off_t): Likewise.
30697         (_G_pid_t): Likewise.
30698         (_G_uid_t): Likewise.
30699         (_G_wchar_t): Likewise.
30700         (_G_wint_t): Likewise.
30701         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30702         (_G_ssize_t): Likewise.
30703         (_G_off_t): Likewise.
30704         (_G_pid_t): Likewise.
30705         (_G_uid_t): Likewise.
30706         (_G_wchar_t): Likewise.
30707         (_G_wint_t): Likewise.
30708
30709 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30710
30711         * malloc/arena.c: Include malloc-sysdep.h.
30712         (shrink_heap): Use check_may_shrink_heap to decide if madvise
30713         is sufficient to shrink the heap or an unmap is needed.
30714         * sysdeps/generic/malloc-sysdep.h: New file.  Define
30715         new function check_may_shrink_heap.
30716         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
30717         new function check_may_shrink_heap.
30718
30719 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30720
30721         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30722         comments.
30723
30724 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
30725
30726         * catgets/test-gencat.sh: Add "set -e".
30727         * elf/tst-pathopt.sh: Likewise.
30728         * grp/tst_fgetgrent.sh: Likewise.
30729         * iconvdata/run-iconv-test.sh: Likewise.
30730         * intl/tst-gettext.sh: Likewise.
30731         * intl/tst-gettext2.sh: Likewise.
30732         * intl/tst-gettext4.sh: Likewise.
30733         * intl/tst-gettext6.sh: Likewise.
30734         * intl/tst-translit.sh: Likewise.
30735         * io/ftwtest-sh: Likewise.
30736         * libio/test-freopen.sh: Likewise.
30737         * malloc/tst-mtrace.sh: Likewise.
30738         * posix/globtest.sh: Likewise.
30739         * posix/tst-getconf.sh: Likewise.
30740         * posix/wordexp-tst.sh: Likewise.
30741         * stdio-common/tst-printf.sh: Likewise.
30742         * stdio-common/tst-unbputc.sh: Likewise.
30743         * stdlib/tst-fmtmsg.sh: Likewise.
30744         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30745         * catgets/Makefile: Do not specify -e option when running
30746         testsuite shell scripts.
30747         * elf/Makefile: Likewise.
30748         * grp/Makefile: Likewise.
30749         * iconvdata/Makefile: Likewise.
30750         * intl/Makefile: Likewise.
30751         * io/Makefile: Likewise.
30752         * libio/Makefile: Likewise.
30753         * malloc/Makefile: Likewise.
30754         * posix/Makefile: Likewise.
30755         * stdio-common/Makefile: Likewise.
30756         * stdlib/Makefile: Likewise.
30757         * sysdeps/x86_64/Makefile: Likewise.
30758
30759         * io/ftwtest-sh: Add copyright header.
30760         * posix/globtest.sh: Likewise.
30761         * posix/tst-getconf.sh: Likewise.
30762         * posix/wordexp-tst.sh: Likewise.
30763         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30764
30765 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
30766
30767         [BZ #13679]
30768         * Makeconfig (+link): Defined as $(+link-static) if
30769         $(build-shared) isn't yes.
30770         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30771         isn't yes.
30772         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30773
30774         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30775
30776         [BZ #14562]
30777         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30778         new chunk size with MALLOC_ALIGN_MASK.
30779
30780 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
30781
30782         [BZ #5044]
30783         * stdio-common/printf_fphex.c: Include <stdbool.h> and
30784         <rounding-mode.h>.
30785         (__printf_fphex): Determine rounding using get_rounding_mode and
30786         round_away.
30787         * stdio-common/tst-printf-round.c (struct hex_test): New
30788         structure.
30789         (hex_tests): New variable.
30790         (test_hex_in_one_mode): New function.
30791         (do_test): Also run tests for hex float output.
30792
30793 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
30794
30795         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30796         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30797         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30798         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30799         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30800         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30801         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30802         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30803
30804 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
30805
30806         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30807         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30808         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30809         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30810
30811 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
30812
30813         [BZ #14579]
30814         * elf/rtld.c (dl_main): Limit the check for self loading to normal
30815         mode only.
30816         * elf/tst-rtld-load-self.sh: New test.
30817         * elf/Makefile: Run it.
30818
30819 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
30820
30821         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30822         (tst-writev-ENV): Remove.
30823         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30824
30825 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
30826
30827         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30828
30829 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
30830
30831         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30832         unconditional.
30833         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30834         Likewise.
30835         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30836         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30837         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30838         Likewise.
30839
30840 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
30841
30842         [BZ #14587]
30843         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30844         * config.make.in (have-cpp-asm-debuginfo): Removed.
30845         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30846         * configure: Regenerated.
30847
30848 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
30849
30850         [BZ #5044]
30851         * stdio-common/printf_fp.c: Include <stdbool.h> and
30852         <rounding-mode.h>.
30853         (___printf_fp): Determine rounding using get_rounding_mode and
30854         round_away.
30855         * stdio-common/tst-printf-round.c: New file.
30856         * stdio-common/Makefile (tests): Add tst-printf-round.
30857         (link-libm): New variable.
30858         ($(objpfx)tst-printf-round): Depend in $(link-libm).
30859
30860 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
30861
30862         [BZ #14576]
30863         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30864         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30865         Likewise.
30866         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30867         Likewise.
30868
30869 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
30870
30871         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30872         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30873         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30874         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30875
30876 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
30877
30878         [BZ #14518]
30879         * include/rounding-mode.h: New file.
30880         * sysdeps/generic/get-rounding-mode.h: Likewise.
30881         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30882         * stdlib/strtod_l.c: Include <rounding-mode.h>.
30883         (MAX_VALUE): New macro.
30884         (MIN_VALUE): Likewise.
30885         (overflow_value): New function.
30886         (underflow_value): Likewise.
30887         (round_and_return): Use overflow_value and underflow_value to
30888         determine return values in overflow and underflow cases.  Use
30889         round_away to determine rounding depending on rounding mode.
30890         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30891         determine return values in overflow and underflow cases.
30892         * stdlib/tst-strtod-round.c: Include <fenv.h>.
30893         (struct test_results): New structure.
30894         (struct test): Use struct test_results to store expected results
30895         for all rounding modes.
30896         (TEST): Include expected results for all rounding modes.
30897         (test_in_one_mode): New function.
30898         (do_test): Use test_in_one_mode to compute and check results.
30899         Check results for all rounding modes.
30900         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30901         $(link-libm).
30902
30903 2012-12-09  Allan McRae  <allan@archlinux.org>
30904
30905         * sysdeps/i386/fpu/libm-test-ulps: Update
30906
30907 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
30908
30909         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30910         (_G_int32_t): Likewise.
30911         (_G_uint16_t): Likewise.
30912         (_G_uint32_t): Likewise.
30913         (_G_HAVE_BOOL): Likewise.
30914         (_G_HAVE_ATEXIT): Likewise.
30915         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30916         (_G_HAVE_IO_FILE_OPEN): Likewise.
30917         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30918         (_G_int32_t): Likewise.
30919         (_G_uint16_t): Likewise.
30920         (_G_uint32_t): Likewise.
30921         (_G_HAVE_BOOL): Likewise.
30922         (_G_HAVE_ATEXIT): Likewise.
30923         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30924         (_G_HAVE_IO_FILE_OPEN): Likewise.
30925         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30926         (_G_int32_t): Likewise.
30927         (_G_uint16_t): Likewise.
30928         (_G_uint32_t): Likewise.
30929         (_G_HAVE_BOOL): Likewise.
30930         (_G_HAVE_ATEXIT): Likewise.
30931         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30932         (_G_HAVE_IO_FILE_OPEN): Likewise.
30933
30934 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
30935
30936         * csu/libc-tls.c: Update copyright years.
30937
30938 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
30939
30940         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30941         [!_G_USING_THUNKS]: Remove conditional code.
30942         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30943         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30944
30945         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30946         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30947         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30948         (_G_VTABLE_LABEL_PREFIX): Likewise.
30949         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30950         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30951         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30952         (_G_VTABLE_LABEL_PREFIX): Likewise.
30953         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30954         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30955         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30956         (_G_VTABLE_LABEL_PREFIX): Likewise.
30957         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30958
30959 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
30960
30961         * libio/Makefile: Include ../Makeconfig before tests.
30962         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30963         only if $(build-shared) is yes.
30964
30965         * iconv/gconv_db.c: Update copyright years.
30966
30967 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30968
30969         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30970         unwind info if defined PIC. Fix special cases description.
30971         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30972
30973         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30974         DP_HI_MASK entry.
30975         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30976
30977 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
30978
30979         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30980
30981         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30982         is NULL.
30983
30984         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30985         (LDLIBS-tst-chk4): This.
30986         (LDFLAGS-tst-chk5): Renamed to ...
30987         (LDLIBS-tst-chk5): This.
30988         (LDFLAGS-tst-chk6): Renamed to ...
30989         (LDLIBS-tst-chk6): This.
30990         (LDFLAGS-tst-lfschk4): Renamed to ...
30991         (LDLIBS-tst-lfschk4): This.
30992         (LDFLAGS-tst-lfschk5): Renamed to ...
30993         (LDLIBS-tst-lfschk5): This.
30994         (LDFLAGS-tst-lfschk6): Renamed to ...
30995         (LDLIBS-tst-lfschk6): This.
30996
30997         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30998         on $(common-objpfx)soversions.mk.
30999
31000 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
31001
31002         [BZ #10014]
31003         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31004         example host name.
31005
31006 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31007
31008         * malloc/arena.c (arena_get_retry): New function that gets
31009         another arena for the caller to try its request on.
31010         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31011         current arena cannot fulfill the request.
31012         (__libc_memalign): Likewise.
31013         (__libc_memalign): Likewise.
31014         (__libc_pvalloc): Likewise.
31015         (__libc_calloc): Likewise.
31016
31017 2012-09-05  John Tobey  <john.tobey@gmail.com>
31018
31019         [BZ #13542]
31020         * manual/arith.texi (Operations on Complex): Fix description
31021         of carg branch cut.
31022
31023 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31024
31025         [BZ #10014]
31026         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31027         host name.
31028
31029         [BZ #10038]
31030         * manual/memory.texi (Memory): Make order of menu items match
31031         order of sections.
31032
31033 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31034
31035         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31036         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
31037         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31038
31039 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31040
31041         * csu/libc-tls.c (static_dtv): Renamed to ...
31042         (_dl_static_dtv): This.  Make it global.
31043         (_dl_initial_dtv): Removed.
31044         (__libc_setup_tls): Updated.
31045         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31046         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31047         DL_INITIAL_DTV.
31048
31049 2012-09-06  Petr Machata  <pmachata@redhat.com>
31050
31051         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31052         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31053         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31054         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31055
31056 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31057
31058         [BZ #14545]
31059         * csu/libc-tls.c (_dl_initial_dtv): New variable.
31060         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31061         freeing dtv[-1].
31062
31063 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31064
31065         [BZ #14544]
31066         * Makeconfig (link-static-before-libc): Replace $(+prector)
31067         with $(+prectorT).
31068         (link-static-after-libc): Replace $(+postctor) with
31069         $(+postctorT).
31070         (link-bounded): Replace $(+prector)/$(+postctor) with
31071         $(+prectorT)/$(+postctorT).
31072         (+prectorT): New macro.
31073         (+postctorT): Likewise.
31074
31075 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31076
31077         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31078         (round_str): Handle values above the maximum for IBM long double
31079         as inexact.
31080         * stdlib/tst-strtod-round.c (tests): Regenerated.
31081
31082 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31083
31084         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31085         assembler flag.
31086         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31087         zarch_nohighgprs around the zarch optimized routines.
31088         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31089         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31090         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31091         for zarch.
31092
31093 2012-09-05  David S. Miller  <davem@davemloft.net>
31094
31095         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31096
31097         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31098         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31099         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31100         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31101         entries.
31102
31103 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31104
31105         * malloc/arena.c: Fold copyright years.
31106         * malloc/mcheck.c, malloc/memusage.c: Likewise.
31107
31108 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31109
31110         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31111
31112 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31113
31114         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
31115
31116 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31117
31118         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31119         change internal state upon failure.
31120
31121 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31122
31123         * malloc/mcheck.c (mcheck_check_all): Fix typo.
31124         * malloc/memusage.c (mmap): Likewise.
31125         (mmap64, mremap): Likewise.  Adjust name in comment.
31126
31127 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31128
31129         * libio/fileops.c: Fix typos in comments.
31130         * libio/oldfileops.c: Likewise.
31131         * libio/wfileops.c: Likewise.
31132
31133 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31134
31135         [BZ #1349]
31136         * malloc/Makefile (tests): Add tst-malloc-usable test case.
31137         (tst-malloc-usable-ENV): Set environment for test case.
31138         * malloc/hooks.c (malloc_check_get_size): New function to get
31139         requested size.
31140         * malloc/malloc.c (musable): Use malloc_check_get_size.
31141         * malloc/tst-malloc-usable.c: New test case.
31142
31143 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31144
31145         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
31146
31147 2012-09-05  Allan McRae  <allan@archlinux.org>
31148
31149         [BZ #13966]
31150         * configure.in (CXX_SYSINCLUDES): Use compiler output to
31151         determine header location.
31152         * configure: Regenerated.
31153
31154 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31155
31156         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
31157         float format.
31158         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
31159         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
31160         format.
31161         (test): Regenerate.
31162
31163 2012-09-04  David S. Miller  <davem@davemloft.net>
31164
31165         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
31166         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
31167         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
31168
31169 2012-09-04  Florian Weimer  <fweimer@redhat.com>
31170
31171         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
31172         failures.
31173
31174         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
31175
31176 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
31177
31178         [BZ #9914]
31179         * libio/iogetdelim.c: Include <limits.h>.
31180         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
31181         + len + 1 would overflow.
31182
31183 2012-09-03  Andreas Jaeger  <aj@suse.de>
31184
31185         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31186         * sysdeps/i386/fpu/libm-test-ulps: Update.
31187
31188 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31189
31190         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31191         Add s_sinf-sse2, s_conf-sse2.
31192
31193         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
31194         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
31195         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
31196         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
31197
31198         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
31199         for using routine as __sinf_ia32.
31200         Use macro for function declaration and weak_alias.
31201         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
31202         for using routine as __cosf_ia32.
31203         Use macro for function declaration and weak_alias.
31204
31205         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
31206         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
31207
31208         * sysdeps/x86_64/fpu/s_sinf.S: New file.
31209         * sysdeps/x86_64/fpu/s_cosf.S: New file.
31210         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31211
31212         * math/libm-test.inc (cos_test): Add more test cases.
31213         (sin_test): Likewise.
31214         (sincos_test): Likewise.
31215
31216 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31217
31218         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
31219         (IFUNC_RESOLVE): Make pointers to the specialized implementations
31220         hidden.
31221         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31222
31223 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
31224
31225         [BZ #14538]
31226         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
31227         first element of the GOT.
31228         (elf_machine_load_address): Return the difference between
31229         the runtime address of _DYNAMIC and elf_machine_dynamic ().
31230
31231 2012-09-01  Allan McRae  <allan@archlinux.org>
31232
31233         [BZ #13412]
31234         * configure.in (AWK): Require gawk version 3.0 or later.
31235         * configure: Regenerated.
31236
31237 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
31238
31239         * sysdeps/unix/sysv/linux/kernel-features.h
31240         (__ASSUME_POSIX_CPU_TIMERS): Remove.
31241         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31242         [__NR_clock_getres]: Make code unconditional.
31243         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
31244         (clock_getcpuclockid): Remove code left unreachable by removal of
31245         conditionals.
31246         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
31247         code unconditional.
31248         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31249         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31250         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
31251         Make code unconditional.
31252         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
31253         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31254         * sysdeps/unix/sysv/linux/clock_settime.c
31255         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
31256         conditional code.
31257         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
31258         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
31259
31260 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
31261
31262         [BZ #14476]
31263         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
31264         scripts/test-installation.pl.
31265
31266         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
31267         and $ld_so_version if it is set.
31268
31269 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31270
31271         [BZ #14516]
31272         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
31273         failure if reading from procfs failed.
31274         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
31275
31276 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31277
31278         * sysdeps/unix/sysv/linux/kernel-features.h
31279         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31280         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31281         Remove conditional code.
31282         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31283         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31284         Remove conditional code.
31285         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31286         * sysdeps/unix/sysv/linux/i386/fxstat.c
31287         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31288         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31289         * sysdeps/unix/sysv/linux/i386/fxstatat.c
31290         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31291         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31292         * sysdeps/unix/sysv/linux/i386/lxstat.c
31293         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31294         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31295         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31296         Remove conditional code.
31297         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31298         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31299         Remove conditional code.
31300         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31301         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31302         <kernel-features.h>.
31303         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31304         Remove.
31305         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31306         Remove conditional code.
31307         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31308         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31309         Remove conditional.
31310
31311 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
31312
31313         [BZ #5400]
31314         * NEWS: Add fixed bug number.
31315
31316 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
31317
31318         [BZ #14519]
31319         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31320         underflowing exponent in case of negative sign.
31321         * stdlib/tst-strtod-round-data: Add more tests.
31322         * stdlib/tst-strtod-round.c (tests): Regenerated.
31323
31324         [BZ #3479]
31325         * stdlib/strtod_l.c (NDIG): Remove.
31326         (HEXNDIG): Likewise.
31327         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31328         smallest representable value.
31329         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31330         lie within an exact representation of 1/2 ulp of the result.
31331         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31332         unconditionally.
31333         (TENS_P9_IDX): Define unconditionally.
31334         (TENS_P9_SIZE): Likewise.
31335         (TENS_P10_IDX): Likewise.
31336         (TENS_P10_SIZE): Likewise.
31337         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31338         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31339         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31340         entries for 10^2^13 and 10^2^14.
31341         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31342         (TENS_P13_IDX): Define.
31343         (TENS_P13_SIZE): Likewise.
31344         (TENS_P14_IDX): Likewise.
31345         (TENS_P14_SIZE): Likewise.
31346         (_fpioconst_pow10): Change array size to
31347         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
31348         unconditional.
31349         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31350         1024]: Add entries for 10^2^13 and 10^2^14.
31351         [LAST_POW10 > _LAST_POW10]: Remove #error.
31352         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31353         (_fpioconst_pow10): Change array size to
31354         FPIOCONST_POW10_ARRAY_SIZE.
31355         * stdlib/gen-fpioconst.c: New file.
31356         * stdlib/gen-tst-strtod-round.c: Likewise.
31357         * stdlib/tst-strtod-round-data: Likewise.
31358         * stdlib/tst-strtod-round.c: Likewise.
31359         * stdlib/Makefile (tests): Add tst-strtod-round.
31360
31361         [BZ #14459]
31362         * stdlib/strtod_l.c: Include <stdint.h>.
31363         (NDEBUG): Do not define.
31364         (round_and_return): Change EXPONENT parameter to type intmax_t.
31365         Rearrange calculations to avoid internal overflow possibilities.
31366         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31367         Rearrange calculations to avoid internal overflow possibilities.
31368         Assert that number fits inside MPNSIZE limbs.
31369         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31370         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
31371         calculations and add assertions to avoid internal overflow
31372         possibilities.  Add casts to avoid signed/unsigned operations.
31373         * stdlib/tst-strtod-overflow.c: New file.
31374         * stdlib/Makefile (tests): Add tst-strtod-overflow.
31375
31376 2012-08-25  Marek Polacek  <polacek@redhat.com>
31377
31378         * time/time.h: Fix some typos in comments.
31379
31380 2012-08-23  Roland McGrath  <roland@hack.frob.com>
31381
31382         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31383         * posix/tst-rfc3484-2.c: Likewise.
31384         * posix/tst-rfc3484-3.c: Likewise.
31385
31386 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
31387
31388         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31389         (EF_ARM_ABI_FLOAT_HARD): Likewise.
31390
31391 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
31392
31393         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31394         #include of fxstatat64.c.
31395
31396 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31397
31398         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31399         * shadow/getspent_r.c: Likewise.
31400         * shadow/getspnam.c: Likewise.
31401         * shadow/getspnam_r.c: Likewise.
31402         * gshadow/getsgent.c: Likewise.
31403         * gshadow/getsgent_r.c: Likewise.
31404         * gshadow/getsgnam.c: Likewise.
31405         * gshadow/getsgnam_r.c: Likewise.
31406         * inet/getnetbyad.c: Likewise.
31407         * inet/getnetbyad_r.c: Likewise.
31408         * inet/getnetbynm.c: Likewise.
31409         * inet/getnetbynm_r.c: Likewise.
31410         * inet/getnetent.c: Likewise.
31411         * inet/getnetent_r.c: Likewise.
31412         * inet/getproto.c: Likewise.
31413         * inet/getproto_r.c: Likewise.
31414         * inet/getprtent.c: Likewise.
31415         * inet/getprtent_r.c: Likewise.
31416         * inet/getprtname.c: Likewise.
31417         * inet/getprtname_r.c: Likewise.
31418         * inet/getrpcbyname.c: Likewise.
31419         * inet/getrpcbyname_r.c: Likewise.
31420         * inet/getrpcbynumber.c: Likewise.
31421         * inet/getrpcbynumber_r.c: Likewise.
31422         * inet/getrpcent.c: Likewise.
31423         * inet/getrpcent_r.c: Likewise.
31424         * inet/getaliasent.c: Likewise.
31425         * inet/getaliasent_r.c: Likewise.
31426         * inet/getaliasname.c: Likewise.
31427         * inet/getaliasname_r.c: Likewise.
31428         * nscd/getgrgid_r.c: Likewise.
31429         * nscd/getgrnam_r.c: Likewise.
31430         * nscd/gethstbyad_r.c: Likewise.
31431         * nscd/gethstbynm3_r.c: Likewise.
31432         * nscd/getpwnam_r.c: Likewise.
31433         * nscd/getpwuid_r.c: Likewise.
31434         * nscd/getsrvbynm_r.c: Likewise.
31435         * nscd/getsrvbypt_r.c: Likewise.
31436         * nscd/gai.c: Likewise.
31437
31438         * configure.in (build_nscd): New substituted variable, set
31439         by --disable-build-nscd and defaults to $use_nscd.
31440         * configure: Regenerated.
31441         * config.make.in (build-nscd): New substituted variable.
31442         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31443         Change conditional to require [$(build-nscd) = yes] as well.
31444         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31445
31446         [BZ# 13696]
31447         * configure.in (use_nscd): New substituted variable, set by
31448         --disable-nscd.  If enabled, define USE_NSCD.
31449         * configure: Regenerated.
31450         * config.h.in: Add USE_NSCD.
31451         * config.make.in (use-nscd): New substituted variable.
31452         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31453         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31454         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31455         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31456         (CFLAGS-getgrnam_r.c): Likewise.
31457         (CFLAGS-initgroups.c): Likewise.
31458         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31459         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31460         Variables removed.
31461         * inet/getnetgrent_r.c
31462         (nscd_setnetgrent): New function, broken out of ...
31463         (setnetgrent): ... here.  Call it.
31464         (innetgr): Conditionalize nscd bits on [USE_NSCD].
31465         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31466         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31467         * nscd/Makefile (routines, aux): Move definitions after include of
31468         Makeconfig.  Conditionalize on [$(use-nscd) != no].
31469         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31470         Conditionalize on [USE_NSCD].
31471         (is_nscd, nscd_init_cb): Likewise.
31472         (nss_load_library): Conditionalize init callback on [USE_NSCD].
31473         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31474         * nss/nss_db/db-init.c: Likewise.
31475         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31476         [USE_NSCD].
31477         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31478         (make_request): Use it.
31479         (cache_valid_p): New function.
31480         (__check_pf): Use it.
31481         * NEWS: Add item for --disable-nscd.
31482
31483 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
31484
31485         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31486         to support sed >= 4.2.1-20-ga9bf076.
31487         * configure: Regenerated.
31488
31489 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31490
31491         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31492         Conditionalize whole body on [IREL].
31493
31494 2012-08-22  Jeff Law <law@redhat.com>
31495
31496         [BZ #14505]
31497         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31498         if the family is PF_UNSPEC.
31499
31500 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
31501
31502         * Makerules (lib-version): Rename from V.
31503         (install-lib-nosubdir): Change V to lib-version.
31504
31505 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
31506
31507         [BZ #14252]
31508         * powerpc32/power6/wcschr.c: New file.
31509         * powerpc32/power6/wcscpy.c: New file.
31510         * powerpc32/power6/wcsrchr.c: New file.
31511         * powerpc64/power6/wcschr.c: New file.
31512         * powerpc64/power6/wcscpy.c: New file.
31513         * powerpc64/power6/wcsrchr.c: New file.
31514
31515 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31516
31517         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31518         (two_way_short_needle): Use it.
31519         * string/strstr.c (AVAILABLE1_USES_J): Define.
31520         * string/strcasestr.c: Likewise.
31521
31522         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31523         array references.
31524         * string/strcasestr.c (TOLOWER): Make side-effect safe.
31525
31526         [BZ #11607]
31527         * NEWS: Add an entry.
31528         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31529         define their defaults.
31530         (two_way_short_needle): Detect end-of-string on-the-fly.
31531         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31532         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31533         * string/bug-strcasestr1.c: New test.
31534         * string/Makefile: Run it.
31535
31536 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31537
31538         [BZ #11607]
31539         * string/str-two-way.h (two_way_short_needle): Optimize matching of
31540         the first character.
31541
31542 2012-08-21  Roland McGrath  <roland@hack.frob.com>
31543
31544         * csu/elf-init.c (__libc_csu_irel): Function removed.
31545         * csu/libc-start.c (apply_irel): New function.
31546         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31547
31548 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
31549
31550         * sysdeps/unix/sysv/linux/kernel-features.h
31551         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31552         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31553         <kernel-features.h>.
31554         [__NR_fadvise64_64]: Make code unconditional.
31555         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31556         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31557         !__NR_fadvise64_64)]: Likewise.
31558         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31559         !__NR_fadvise64_64))]: Likewise.
31560         [__NR_fadvise64]: Make code unconditional.
31561         [!__NR_fadvise64]: Remove conditional code.
31562         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31563         <kernel-features.h>.
31564         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31565         unconditional.
31566         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31567         conditional code.
31568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31569         not include <kernel-features.h>.
31570         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31571         unconditional.
31572         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31573         conditional code.
31574         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31575         include <kernel-features.h>.
31576         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31577         unconditional.
31578         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31579         conditional code.
31580
31581 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31582
31583         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31584         slight instruction rearrangements per scrollpipe analysis.
31585         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31586
31587 2012-08-20  Roland McGrath  <roland@hack.frob.com>
31588
31589         * manual/syslog.texi (syslog; vsyslog, closelog):
31590         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31591         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31592
31593         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31594         DSOCAPS to match condition on defining it.
31595
31596 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
31597
31598         * sysdeps/unix/sysv/linux/kernel-features.h
31599         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31601         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31602         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31604         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31605         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31607         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31608         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31609
31610         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31611         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31612
31613         * sysdeps/unix/sysv/linux/kernel-features.h
31614         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31615         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31616         unconditional.
31617         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31618         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31619         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31620         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31621         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31622         Make code unconditional.
31623         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31624         (__mmap64) [!__NR_mmap2]: Likewise.
31625         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31626         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31627         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31628         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31629         [__NR_mmap2]: Make code unconditional.
31630         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31631         (__mmap64) [!__NR_mmap2]: Likewise.
31632
31633 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31634
31635         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31636
31637 2012-08-18  Andreas Jaeger  <aj@suse.de>
31638
31639         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31640
31641 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31642
31643         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31644         * include/unistd.h (__have_sock_cloexec): Likewise.
31645         (__have_pipe2): Likewise.
31646         (__have_dup3): Likewise.
31647
31648 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31649
31650         [BZ #9685]
31651         * include/unistd.h (__have_pipe2): Change define into an extern int.
31652         (__have_dup3): Likewise.
31653         * socket/have_sock_cloexec.c: Include fcntl.h.
31654         (__have_pipe2): New variable.
31655         (__have_dup3): Likewise.
31656
31657 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
31658
31659         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31660
31661 2012-08-17  Marek Polacek  <polacek@redhat.com>
31662
31663         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31664         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31665
31666 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31667
31668         * configure.in: Add AC_SUBST for sysheaders.
31669         * configure: Regenerated.
31670         * config.make.in (sysheaders): New substituted variable.
31671
31672         * sysdeps/unix/mkfifo.c: Moved ...
31673         * sysdeps/posix/mkfifo.c: ... here.
31674         * sysdeps/unix/mkfifoat.c: Moved ...
31675         * sysdeps/posix/mkfifoat.c: ... here.
31676
31677         * sysdeps/unix/utime.c: Moved ...
31678         * sysdeps/posix/utime.c: ... here.
31679
31680         * sysdeps/unix/time.c: Moved ...
31681         * sysdeps/posix/time.c: ... here.
31682         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31683         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31684
31685         * sysdeps/unix/nice.c: Moved ...
31686         * sysdeps/posix/nice.c: ... here.
31687
31688         * sysdeps/unix/alarm.c: Moved ...
31689         * sysdeps/posix/alarm.c: ... here.
31690
31691         * intl/Makefile ($(codeset_mo)): Depend on the input file.
31692
31693 2012-08-17  Jeff Law <law@redhat.com>
31694
31695         * intl/Makefile (codeset_mo): New variable.
31696         ($(codeset_mo)): New target.
31697         (tst-codeset.out): Depend on that.  Remove explicit rule.
31698         (tst-gettext3.out, tst-gettext5.out): Likewise.
31699         (LOCPATH-ENV, tst-codeset-ENV): New variables.
31700         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31701         * intl/tst-codeset.sh: Remove.
31702         * intl/tst-gettext3.sh: Likewise.
31703         * intl/tst-gettext5.sh: Likewise.
31704
31705 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31706
31707         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
31708         * sysdeps/unix/syscalls.list: ... here.
31709
31710         * sysdeps/posix/getaddrinfo.c
31711         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31712         (gaiconf_init, gaiconf_reload): Use them.
31713         [!_STATBUF_ST_NSEC]
31714         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31715         Define using time_t rather than struct timespec.
31716
31717         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31718         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31719         Macros removed.
31720         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31721         [!NO_THREADS].
31722         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31723         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31724         Likewise.
31725
31726         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31727         __libc_cleanup_push argument.
31728
31729         * bits/param.h: New file.
31730         * misc/sys/param.h: New file.
31731         * include/sys/param.h: New file.
31732         * misc/Makefile (headers): Add bits/param.h.
31733         * sysdeps/generic/sys/param.h: File removed.
31734         * sysdeps/unix/sysv/linux/bits/param.h: New file.
31735         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31736         * sysdeps/mach/hurd/bits/param.h: New file.
31737         * sysdeps/mach/hurd/sys/param.h: File removed.
31738
31739         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31740         last change.
31741
31742         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31743         [_IO_MTSAFE_IO].
31744         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31745         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31746         New macros.
31747
31748         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31749         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31750         rather than -D_IO_MTSAFE_IO conditionally.
31751         * stdio-common/Makefile (CPPFLAGS): Likewise.
31752         * wcsmbs/Makefile (CPPFLAGS): Likewise.
31753         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31754         Use $(libio-mtsafe).
31755         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31756         of -D_IO_MTSAFE_IO.
31757         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31758         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31759         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31760         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31761         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31762         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31763         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31764         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31765         (CFLAGS-fread_u_chk.c): Likewise.
31766         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31767         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31768         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31769         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31770         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31771         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31772         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31773         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31774         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31775
31776         * libio/Makefile: Test [$(libc-reentrant) = yes]
31777         instead of [$(filter %REENTRANT, $(defines)) nonempty].
31778
31779         * Makeconfig
31780         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31781         * sysdeps/pthread/configure: File removed.
31782         * sysdeps/pthread/Makeconfig: New file.
31783         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31784         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31785
31786 2012-08-16  Gary Benson  <gbenson@redhat.com>
31787
31788         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31789         unmapping the first object in a namespace.
31790
31791 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31792
31793         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31794         (__internal_setnetgrent): ... this.  Add internal_function to
31795         definition.  Add libc_hidden_def.
31796         (setnetgrent): Update caller.
31797         (internal_endnetgrent): Renamed to ...
31798         (__internal_endnetgrent): ... this.  Add internal_function to
31799         definition.  Add libc_hidden_def.
31800         (endnetgrent): Update caller.
31801         (internal_getnetgrent_r): Renamed to ...
31802         (__internal_getnetgrent_r): ... this.  Add internal_function to
31803         definition.  Add libc_hidden_def.
31804         (__getnetgrent_r): Update caller.
31805         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
31806
31807 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31808
31809         * stdlib/longlong.h: Update from GCC.
31810
31811 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31812
31813         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31814         on _QL, which is set by umul_ppmm but never used.
31815         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31816         variables, which are set by GMP macros but never used.
31817         * stdio-common/_itowa.c (_itowa): Likewise.
31818         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31819         * stdlib/mod_1.c (mpn_mod_1): Likewise.
31820
31821 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
31822
31823         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31824         struct La_sh_regs is not constant.
31825         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31826         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31827         and struct La_sparc64_regs are not constant.
31828
31829 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31830
31831         * sysdeps/unix/sysv/linux/kernel-features.h
31832         (__ASSUME_POSIX_TIMERS): Remove.
31833         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31834         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31835         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31836         Make code unconditional.
31837         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31838         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31839         Make code unconditional.
31840         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31841         * sysdeps/unix/sysv/linux/clock_nanosleep.c
31842         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31843         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31844         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31845         Make code unconditional.
31846         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31847         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31848         (__libc_missing_posix_timers): Remove.
31849
31850 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31851
31852         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31853         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31854
31855         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31856
31857         * elf/dl-sym.c: Include <stdlib.h>.
31858
31859         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31860         constants, which avoids warnings in 32-bit builds.
31861
31862         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31863         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31864
31865         * misc/lseek.c: File moved to ...
31866         * io/lseek.c: ... here.
31867
31868         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31869
31870         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31871         shifting LEN more than 31 bits at once.
31872
31873 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31874
31875         [BZ #14195]
31876         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31877         segmentation fault for a case of two empty input strings.
31878         * string/test-strncasecmp.c (check1): Renamed to...
31879         (bz12205): ...this.
31880         (bz14195): Add new testcase for two empty input strings and N > 0.
31881         (test_main): Call new testcase, adapt for renamed function.
31882
31883 2012-08-15  Andreas Jaeger  <aj@suse.de>
31884
31885         [BZ #14090]
31886         * crypt/md5test2.c: New test, based on test supplied by Serge
31887         Belyshev <belyshev@depni.sinp.msu.ru>.
31888         * crypt/Makefile (xtests): Add md5test-giant..
31889         * crypt/Makefile ($(objpfx)md5test-giant): Add.
31890
31891 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
31892
31893         [BZ #14090]
31894         * crypt/md5.c (md5_process_block): Don't assume the buffer
31895         length is less than 2**32.
31896         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31897         length is less than 2**64.
31898
31899 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31900
31901         * string/str-two-way.h: Include <sys/param.h>.
31902         (MAX): Macro removed.
31903
31904         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31905         Move #define and #undef of memmove to just before and after
31906         including <string.h>.
31907
31908         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31909         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31910         and after including <string.h>.  Move declarations of
31911         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31912         to before #include "string/memmove.c".
31913
31914         * include/dirent.h: Declare __getdirentries.
31915
31916         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31917         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31918
31919 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
31920
31921         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31922         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31923         * sysdeps/i386/configure: Regenerated.
31924         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31925         STABS_CURRENT_FILE, and STABS_FUN.
31926         (END): Remove call to STABS_FUN_END.
31927         (STABS_CURRENT_FILE1): Delete.
31928         (STABS_CURRENT_FILE): Likewise.
31929         (STABS_FUN): Likewise.
31930         (STABS_FUN_END): Likewise.
31931         (STABS_FUN2): Likewise.
31932         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31933         * sysdeps/x86_64/configure: Regenerated.
31934
31935 2012-08-14  Roland McGrath  <roland@hack.frob.com>
31936
31937         * elf/dl-open.c: Include <atomic.h>.
31938         * elf/dl-lookup.c: Likewise.
31939
31940 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
31941
31942         * sysdeps/unix/sysv/linux/kernel-features.h
31943         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31944         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31945         unconditionally.
31946         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31947         unconditionally.
31948         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31949         condition on __ASSUME_CLONE_THREAD_FLAGS.
31950
31951 2012-08-14  Andreas Jaeger  <aj@suse.de>
31952
31953         * sysdeps/i386/fpu/libm-test-ulps: Update.
31954
31955 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
31956
31957         * include/atomic.h (atomic_exchange_and_add): Split into ...
31958         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31959         New atomic macros.
31960
31961 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
31962
31963         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31964
31965 2012-08-13  Jeff Law <law@redhat.com>
31966
31967         * manual/stdio.texi (snprintf): Clarify handling of the trailing
31968         null byte in the output string.
31969
31970 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
31971
31972         * sysdeps/unix/sysv/linux/kernel-features.h
31973         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31974         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31975         (__ASSUME_ARG_MAX_STACK_BASED): Define.
31976         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31977         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31978         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
31979         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31980
31981 2012-08-09  Jeff Law <law@redhat.com>
31982
31983         [BZ #13939]
31984         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31985         When avoid_arena is set, don't retry in the that arena.  Pick the
31986         next one, whatever it might be.
31987         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31988         (arena_lock): Pass in new parameter to arena_get2.
31989         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31990         arena_get2.
31991         (__libc_malloc): Unify retrying after main arena failure with
31992         __libc_memalign version.
31993         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31994
31995 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31996
31997         [BZ #14166]
31998         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31999         to __redirect_strstr.
32000         (__strstr_sse42): Use typeof __redirect_strstr.
32001         (__strstr_ia32): Likewise.
32002         (__libc_strstr): New prototype.
32003         (strstr): Renamed to ...
32004         (__libc_strstr): This.
32005         (strstr): New strong alias of __libc_strstr.
32006         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32007         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32008         __redirect_time.
32009         Include <time.h>.
32010         (__libc_time): New prototype.
32011         (time_ifunc): Replace time with __libc_time.
32012         (time): New strong alias and hidden definition of __libc_time.
32013         (__GI_time): Remove strong alias.
32014         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32015         Include <stddef.h>.
32016         (memmove): Redefined to __redirect_memmove.
32017         (__memmove_sse2): Use typeof __redirect_memmove.
32018         (__memmove_ssse3): Likewise.
32019         (__memmove_ssse3_back): Likewise.
32020         (__libc_memmove): New prototype.
32021         (memmove): Renamed to ...
32022         (__libc_memmove): This.
32023         (memmove): New strong alias of __libc_memmove.
32024
32025 2012-08-08  Mark Salter  <msalter@redhat.com>
32026
32027         * elf/elf.h
32028         (R_MN10300_TLS_GD): Define.
32029         (R_MN10300_TLS_LD): Likewise.
32030         (R_MN10300_TLS_LDO): Likewise.
32031         (R_MN10300_TLS_GOTIE): Likewise.
32032         (R_MN10300_TLS_IE): Likewise.
32033         (R_MN10300_TLS_LE): Likewise.
32034         (R_MN10300_TLS_DTPMOD): Likewise.
32035         (R_MN10300_TLS_DTPOFF): Likewise.
32036         (R_MN10300_TLS_TPOFF): Likewise.
32037         (R_MN10300_SYM_DIFF): Likewise.
32038         (R_MN10300_ALIGN): Likewise.
32039         (R_MN10300_NUM): Update.
32040
32041 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
32042
32043         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32044         Remove.
32045
32046 2012-08-08  Roland McGrath  <roland@hack.frob.com>
32047
32048         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32049
32050         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32051         sysdeps/unix -> sysdeps/posix move.
32052         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32053
32054 2012-08-07      Allan McRae     <allan@archlinux.org>
32055
32056         [BZ #14303]
32057         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32058         (SUNOS_CPP): Likewise.
32059         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32060         not found.
32061         (open_input): Call CPP using execvp.
32062
32063 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32064
32065         * sysdeps/unix/sysv/linux/kernel-features.h
32066         (__ASSUME_PROT_GROWSUPDOWN): Remove.
32067         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32068         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32069         (__ASSUME_WAITID_SYSCALL): Likewise.
32070         * sysdeps/unix/sysv/linux/dl-execstack.c
32071         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32072         code unconditional.
32073         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32074         conditional code.
32075         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32076         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32077         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32078         code.
32079         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32080         unconditional.
32081         [__ASSUME_WAITID_SYSCALL]: Likewise.
32082         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32083
32084 2012-08-07  Roland McGrath  <roland@hack.frob.com>
32085
32086         * sysdeps/unix/closedir.c: Renamed to ...
32087         * sysdeps/posix/closedir.c: ... here.
32088         * sysdeps/unix/dirfd.c: Renamed to ...
32089         * sysdeps/posix/dirfd.c: ... here.
32090         * sysdeps/unix/dirstream.h: Renamed to ...
32091         * sysdeps/posix/dirstream.h: ... here.
32092         * sysdeps/unix/fdopendir.c: Renamed to ...
32093         * sysdeps/posix/fdopendir.c: ... here.
32094         * sysdeps/unix/opendir.c: Renamed to ...
32095         * sysdeps/posix/opendir.c: ... here.
32096         * sysdeps/unix/readdir.c: Renamed to ...
32097         * sysdeps/posix/readdir.c: ... here.
32098         * sysdeps/unix/readdir_r.c: Renamed to ...
32099         * sysdeps/posix/readdir_r.c: ... here.
32100         * sysdeps/unix/rewinddir.c: Renamed to ...
32101         * sysdeps/posix/rewinddir.c: ... here.
32102         * sysdeps/unix/seekdir.c: Renamed to ...
32103         * sysdeps/posix/seekdir.c: ... here.
32104         * sysdeps/unix/telldir.c: Renamed to ...
32105         * sysdeps/posix/telldir.c: ... here.
32106         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32107         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32108         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32109         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32110
32111         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32112         * bits/fcntl.h: ... here.
32113
32114         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32115         not 0.
32116         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32117         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32118         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32119         (struct flock): Move l_start, l_len to the beginning.
32120         Use __pid_t for l_pid.
32121         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32122         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32123         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32124         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32125         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32126         [__USE_LARGEFILE64] (struct flock64): New type.
32127         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32128
32129         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32130         * bits/dirent.h: ... here.
32131
32132         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32133         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32134
32135 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32136
32137         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32138         Change from 2.6.0 to 2.6.16.
32139         * sysdeps/unix/sysv/linux/configure: Regenerated.
32140         * sysdeps/unix/sysv/linux/kernel-features.h
32141         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
32142         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
32143         version.
32144         (__ASSUME_UTIMES): Likewise.
32145         (__ASSUME_CLONE_STOPPED): Remove.
32146         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
32147         architectures, not kernel version.
32148         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
32149         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32150         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32151         (__ASSUME_WAITID_SYSCALL): Likewise.
32152         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
32153         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
32154         * README: State 2.6.16 as minimum Linux kernel version.  Do not
32155         refer to older versions.
32156
32157 2012-08-06  Roland McGrath  <roland@hack.frob.com>
32158
32159         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
32160         Define alphasort64 as an alias.
32161         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
32162         Define versionsort64 as an alias.
32163         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
32164         Define scandir64 as an alias.
32165         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
32166         Define scandirat64 as an alias.
32167         * dirent/alphasort64.c (alphasort64):
32168         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
32169         * dirent/versionsort64.c: Likewise.
32170         * dirent/scandir64.c: Likewise.
32171         * dirent/scandirat64.c: Likewise.
32172         * sysdeps/wordsize-64/alphasort.c: File removed.
32173         * sysdeps/wordsize-64/alphasort64.c: File removed.
32174         * sysdeps/wordsize-64/scandir.c: File removed.
32175         * sysdeps/wordsize-64/scandir64.c: File removed.
32176         * sysdeps/wordsize-64/scandirat.c: File removed.
32177         * sysdeps/wordsize-64/scandirat64.c: File removed.
32178         * sysdeps/wordsize-64/versionsort.c: File removed.
32179         * sysdeps/wordsize-64/versionsort64.c: File removed.
32180         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
32181         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
32182         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
32183         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
32184         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
32185         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
32186         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
32187         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
32188
32189         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
32190         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32191         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
32192         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32193         [defined __arch64__ || defined __sparcv9]
32194         (__INO_T_MATCHES_INO64_T): New macro.
32195         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32196         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
32197         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
32198         * sysdeps/unix/sysv/linux/bits/dirent.h
32199         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
32200         (_DIRENT_MATCHES_DIRENT64): New macro.
32201
32202         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
32203         Define lockf64 as an alias.
32204         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
32205         Define fseeko64 as an alias.
32206         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
32207         Define ftello64 as an alias.
32208         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
32209         Define _IO_fgetpos64 and fgetpos64 as aliases.
32210         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
32211         Define _IO_fsetpos64 and fsetpos64 as aliases.
32212         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
32213         Conditionalize body on this.
32214         * libio/fseeko64.c: Likewise.
32215         * libio/ftello64.c: Likewise.
32216         * libio/iofgetpos64.c: Likewise.
32217         * libio/iofsetpos64.c: Likewise.
32218         * sysdeps/wordsize-64/lockf.c: File removed.
32219         * sysdeps/wordsize-64/lockf64.c: File removed.
32220         * sysdeps/wordsize-64/fseeko.c: File removed.
32221         * sysdeps/wordsize-64/fseeko64.c: File removed.
32222         * sysdeps/wordsize-64/ftello.c: File removed.
32223         * sysdeps/wordsize-64/ftello64.c: File removed.
32224         * sysdeps/wordsize-64/iofgetpos.c: File removed.
32225         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
32226         * sysdeps/wordsize-64/iofsetpos.c: File removed.
32227         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
32228         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
32229         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
32230         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
32231         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
32232         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
32233         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
32234         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
32235         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
32236         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
32237         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
32238
32239         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32240         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
32241         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
32242         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32243         [defined __arch64__ || defined __sparcv9]
32244         (__OFF_T_MATCHES_OFF64_T): New macro.
32245         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32246         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
32247         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32248         (__OFF_T_MATCHES_OFF64_T): New macro.
32249
32250 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32251
32252         * stdlib/secure-getenv.c (__secure_getenv): Replace
32253         GLIBC_2_16 with GLIBC_2_17.
32254
32255 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
32256
32257         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
32258         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32259
32260 2012-08-03  David S. Miller  <davem@davemloft.net>
32261
32262         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32263
32264 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32265
32266         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
32267         Remove.
32268         (__ASSUME_CORRECT_SI_PID): Likewise.
32269         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
32270         (__ASSUME_TMPFS_NAME): Likewise.
32271         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
32272         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
32273         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
32274         (HAVE_AUX_SECURE): Make definition unconditional.
32275         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
32276         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
32277
32278 2012-08-03  Roland McGrath  <roland@hack.frob.com>
32279
32280         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32281         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32282         * sysdeps/mach/hurd/eloop-threshold.h: New file.
32283         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32284         __eloop_threshold instead of SYMLOOP_MAX.
32285
32286         * sysdeps/generic/eloop-threshold.h: New file.
32287         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32288         of MAXSYMLINKS.
32289         * elf/chroot_canon.c (chroot_canon): Likewise.
32290
32291 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
32292
32293         [BZ #13717]
32294         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32295         Change to 2.6.0 everywhere.
32296         * sysdeps/unix/sysv/linux/configure: Regenerated.
32297         * sysdeps/unix/sysv/linux/kernel-features.h
32298         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32299         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32300         kernel versions.
32301         (__ASSUME_POSIX_TIMERS): Define unconditionally.
32302         (__ASSUME_FUTEX_REQUEUE): Remove.
32303         (__ASSUME_STATFS64): Define unconditionally.
32304         (__ASSUME_AT_SECURE): Likewise.
32305         (__ASSUME_CORRECT_SI_PID): Likewise.
32306         (__ASSUME_TGKILL): Define without depending on kernel version for
32307         i386.
32308         (__ASSUME_UTIMES): Likewise.
32309         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32310         kernel version.
32311         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32312         (__ASSUME_TMPFS_NAME): Likewise.
32313         * README: Update reference to Linux kernel versions.
32314
32315 2012-08-02  Marek Polacek  <polacek@redhat.com>
32316
32317         [BZ# 14150]
32318         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
32319         libc_cv_asm_type_prefix with %.
32320         * configure: Regenerated.
32321         * include/libc-symbols.h: Remove comment about
32322         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32323         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32324         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32325         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32326         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32327         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32328         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32329         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32330         * elf/tst-unique2mod1.c: Likewise.
32331         * elf/tst-unique1mod2.c: Likewise.
32332         * elf/tst-unique1mod1.c: Likewise.
32333         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32334         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32335         Replace ASM_TYPE_DIRECTIVE with .type.
32336         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32337         * sysdeps/i386/sysdep.h: Likewise.
32338         * sysdeps/x86_64/sysdep.h: Likewise.
32339         * sysdeps/sh/sysdep.h: Likewise.
32340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32341         Do not define ASM_TYPE_DIRECTIVE.
32342         * sysdeps/powerpc/sysdep.h: Likewise.
32343         * sysdeps/powerpc/powerpc32/sysdep.h:
32344         Replace ASM_TYPE_DIRECTIVE with .type.
32345         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32346         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32347         * sysdeps/i386/fpu/e_powf.S: Likewise.
32348         * sysdeps/i386/fpu/e_expl.S: Likewise.
32349         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32350         * sysdeps/i386/fpu/e_acosh.S: Likewise.
32351         * sysdeps/i386/fpu/e_pow.S: Likewise.
32352         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32353         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32354         * sysdeps/i386/fpu/s_expm1.S: Likewise.
32355         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32356         * sysdeps/i386/fpu/e_log2.S: Likewise.
32357         * sysdeps/i386/fpu/e_log2l.S: Likewise.
32358         * sysdeps/i386/fpu/e_scalb.S: Likewise.
32359         * sysdeps/i386/fpu/e_powl.S: Likewise.
32360         * sysdeps/i386/fpu/e_log10f.S: Likewise.
32361         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32362         * sysdeps/i386/fpu/e_logl.S: Likewise.
32363         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32364         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32365         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32366         * sysdeps/i386/fpu/e_log2f.S: Likewise.
32367         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32368         * sysdeps/i386/fpu/e_log.S: Likewise.
32369         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32370         * sysdeps/i386/fpu/e_logf.S: Likewise.
32371         * sysdeps/i386/fpu/e_log10l.S: Likewise.
32372         * sysdeps/i386/fpu/e_atanh.S: Likewise.
32373         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32374         * sysdeps/i386/fpu/e_log10.S: Likewise.
32375         * sysdeps/i386/fpu/s_frexp.S: Likewise.
32376         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32377         * sysdeps/i386/fpu/s_asinh.S: Likewise.
32378         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32379         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32380         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32381         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32382         * sysdeps/i386/i686/strtok.S: Likewise.
32383         * sysdeps/i386/i386-mcount.S: Likewise.
32384         * sysdeps/i386/strtok.S: Likewise.
32385         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32386         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32387         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32388         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32389         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32390         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32391         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32392         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32393         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32394         * sysdeps/x86_64/_mcount.S: Likewise.
32395         * sysdeps/x86_64/strtok.S: Likewise.
32396         * sysdeps/sh/_mcount.S: Likewise.
32397
32398 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32399
32400         * libio/iofopen.c: Include <fcntl.h>.
32401         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32402         (_IO_fopen64, fopen64): Define as aliases.
32403         * libio/iofopen64.c: Include <fcntl.h>.
32404         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32405         Conditionalize body on this.
32406         * sysdeps/wordsize-64/iofopen.c: File removed.
32407         * sysdeps/wordsize-64/iofopen64.c: File removed.
32408
32409 2012-08-01  Marek Polacek  <polacek@redhat.com>
32410
32411         * libc/Makeconfig: Use elf in place of binfmt-subdir.
32412         Use dlfcn directly instead of a variable.
32413         (binfmt-subdir): Do not define.
32414         (dlfcn): Likewise.
32415
32416 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
32417
32418         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32419         Remove all definitions.
32420         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32421         <kernel-features.h>.
32422         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32423         (miss_F_GETOWN_EX): Remove all definitions.
32424         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32425         macro definition.
32426         [!__ASSUME_FCNTL64]: Remove conditional code.
32427         [__ASSUME_FCNTL64]: Make code unconditional.
32428         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32429         <kernel-features.h>.
32430         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32431         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32432         (lockf64) [__NR_fcntl64]: Make code unconditional.
32433         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32434
32435         * sysdeps/unix/sysv/linux/kernel-features.h
32436         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32437         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32438         Make code unconditional.
32439         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32440         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32442         [__NR_vfork]: Make code unconditional.
32443         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32444         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32446         [__NR_vfork]: Make code unconditional.
32447         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32448         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32449
32450 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32451
32452         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32453         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32454
32455         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32456         Define mkstemp64 as an alias.
32457         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32458         Define mkstemps64 as an alias.
32459         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32460         Define mkostemp64 as an alias.
32461         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32462         Define mkostemps64 as an alias.
32463         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32464         Conditionalize body on this.
32465         * misc/mkostemp64.c: Likewise.
32466         * misc/mkostemps64.c: Likewise.
32467         * misc/mkstemps64.c: Likewise.
32468         * sysdeps/wordsize-64/mkstemp64.c: File removed.
32469         * sysdeps/wordsize-64/mkostemp64.c: File removed.
32470         * sysdeps/wordsize-64/mkostemp.c: File removed.
32471         * sysdeps/wordsize-64/mkstemp.c: File removed.
32472         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32473         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32474         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32475         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32476
32477         [BZ #14138]
32478         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32479         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32480         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32481         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32482
32483         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32484         compat_symbol macros from <shlib-compat.h> rather than the underlying
32485         default_symbol_version and symbol_version macros, so that DEFAULT
32486         lines in shlib-versions are respected.
32487         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32488
32489 2012-08-01  Florian Weimer  <fweimer@redhat.com>
32490
32491         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32492         Declare with warn_unused_result.
32493         (setgid, setregid, setegid, setresgid): Likewise.
32494         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32495         Likewise.
32496         * WUR-REPORT: Remove set*id functions.
32497
32498 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
32499
32500         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32501
32502 2012-07-31  Roland McGrath  <roland@hack.frob.com>
32503
32504         [BZ #10191]
32505         * include/sys/socket.h (__libc_accept, __libc_accept4):
32506         Add attribute_hidden.
32507         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32508
32509         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32510         use of PTR_MANGLE.
32511         * inet/getnetgrent_r.c (setup): Likewise.
32512
32513         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32514
32515 2012-07-31  David S. Miller  <davem@davemloft.net>
32516
32517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32518
32519 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
32520
32521         [BZ #13629]
32522         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32523         value between 1.0 and 2.0 and smaller part has absolute value less
32524         than 1.0.
32525         * math/s_clog10.c (__clog10): Likewise.
32526         * math/s_clog10f.c (__clog10f): Likewise.
32527         * math/s_clog10l.c (__clog10l): Likewise.
32528         * math/s_clogf.c (__clogf): Likewise.
32529         * math/s_clogl.c (__clogl): Likewise.
32530         * math/libm-test.inc (clog_test): Add more tests.
32531         (clog10_test): Likewise.
32532         * sysdeps/i386/fpu/libm-test-ulps: Update.
32533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32534
32535 2012-07-31  Florian Weimer  <fweimer@redhat.com>
32536
32537         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32538         Exit with zero in case no suitable GID is found, and write a
32539         message to standard error.
32540
32541 2012-07-30  Roland McGrath  <roland@hack.frob.com>
32542
32543         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32544         rather than to 1.
32545         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32546         (MAXPATHLEN): Removed.
32547         (NOGROUP, NODEV): New macros.
32548         (setbit, clrbit, isset, isclr): New macros.
32549         (howmany, roundup, powerof2): New macros.
32550         (DEV_BSIZE): New macro.
32551
32552         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32553         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32554
32555         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32556         definition on [!__NO_LONG_DOUBLE_MATH].
32557
32558         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32559         PTR_MANGLE and PTR_DEMANGLE.
32560
32561         * socket/accept4.c (accept4): Rename to __libc_accept4.
32562         Define accept4 as a weak alias.
32563
32564         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32565         on [_DIRENT_HAVE_D_TYPE].
32566         * io/ftw.c (ftw_dir): Likewise.
32567
32568         * io/xmknod.c (__xmknod): Don't check PATH for being null.
32569
32570         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32571
32572         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32573         Use the BSD numbers rather than the arbitrary ones we had.
32574         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32575         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32576         (SIGXCPU, SIGXFSZ): New macros.
32577         (_NSIG): Now 32.
32578
32579         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32580         initializer on [_LIBC_REENTRANT].
32581
32582         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32583         definitions inside [_POSIX_MAPPED_FILES].
32584
32585         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32586
32587         * dirent/opendir.c: Include <fcntl.h>.
32588
32589         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32590         (__libc_getspecific): Likewise.
32591         (__libc_key_create): Likewise.
32592
32593         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32594         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32595         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32596         (tmpfile64): Define as alias.
32597         * sysdeps/wordsize-64/tmpfile.c: File removed.
32598         * sysdeps/wordsize-64/tmpfile64.c: File removed.
32599         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32600         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32601
32602         * stdio-common/vfscanf.c: Include <stdbool.h>.
32603         * nss/makedb.c: Likewise.
32604         * stdio-common/_i18n_number.h: Likewise.
32605         * argp/argp-help.c: Likewise.
32606         * posix/wordexp.c: Likewise.
32607         * sysdeps/posix/spawni.c: Likewise.
32608         * nss/nss_files/files-initgroups.c: Likewise.
32609         * stdio-common/reg-modifier.c: Include <stdlib.h>.
32610         * nss/nss_files/files-initgroups.c: Likewise.
32611         * nss/nss_db/db-netgrp.c: Likewise.
32612         * nss/nss_db/db-initgroups.c: Likewise.
32613         * io/fchmodat.c: Include <sys/stat.h>.
32614
32615         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32616         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32617
32618         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32619         [HAVE_MMAP].
32620
32621         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32622         Add multiple inclusion protection.
32623
32624 2012-07-27  David S. Miller  <davem@davemloft.net>
32625
32626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32627
32628 2012-07-27  Gary Benson  <gbenson@redhat.com>
32629
32630         [BZ #14298]
32631         * elf/rtld.c: Include <stap-probe.h>.
32632         (dl_main): Added static probes "init_start" and "init_complete".
32633         * elf/dl-load.c: Include <stap-probe.h>.
32634         (lose): Take new parameter "nsid".
32635         Added static probe "map_failed".
32636         (_dl_map_object_from_fd): Pass namespace id to lose.
32637         Added static probe "map_start".
32638         (open_verify): Pass namespace id to lose.
32639         * elf/dl-open.c: Include <stap-probe.h>.
32640         (dl_open_worker) Added static probes "map_complete", "reloc_start"
32641         and "reloc_complete".
32642         * elf/dl-close.c: Include <stap-probe.h>.
32643         (_dl_close_worker): Added static probes "unmap_start" and
32644         "unmap_complete".
32645         * elf/rtld-debugger-interface.txt: New file documenting the above.
32646
32647 2012-07-26  Roland McGrath  <roland@hack.frob.com>
32648
32649         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32650         rather than a string variable.
32651         * sunrpc/rpc_main.c (h_output): Likewise.
32652         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32653
32654 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
32655
32656         * inet/check_native.c: New file.
32657
32658 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
32659
32660         [BZ #13629]
32661         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32662         if larger part has absolute value 1.0.
32663         * math/s_clog10.c (__clog10): Likewise.
32664         * math/s_clog10f.c (__clog10f): Likewise.
32665         * math/s_clog10l.c (__clog10l): Likewise.
32666         * math/s_clogf.c (__clogf): Likewise.
32667         * math/s_clogl.c (__clogl): Likewise.
32668         * math/libm-test.inc (clog_test): Add more tests.
32669         (clog10_test): Likewise.
32670         * sysdeps/i386/fpu/libm-test-ulps: Update.
32671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32672
32673         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32674         (pltexit): Likewise.
32675         (La_regs): Likewise.
32676         (La_retval): Likewise.
32677         (int_retval): Likewise.
32678         Update #error for removed macros to refer only to definitions in
32679         tst-audit.h.
32680         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32681         macro.
32682         (pltexit): Likewise.
32683         (La_regs): Likewise.
32684         (La_retval): Likewise.
32685         (int_retval): Likewise.
32686         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32687         macro.
32688         (pltexit): Likewise.
32689         (La_regs): Likewise.
32690         (La_retval): Likewise.
32691         (int_retval): Likewise.
32692         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32693         macro.
32694         (pltexit): Likewise.
32695         (La_regs): Likewise.
32696         (La_retval): Likewise.
32697         (int_retval): Likewise.
32698         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32699         macro.
32700         (pltexit): Likewise.
32701         (La_regs): Likewise.
32702         (La_retval): Likewise.
32703         (int_retval): Likewise.
32704         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32705         macro.
32706         (pltexit): Likewise.
32707         (La_regs): Likewise.
32708         (La_retval): Likewise.
32709         (int_retval): Likewise.
32710         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32711         macro.
32712         (pltexit): Likewise.
32713         (La_regs): Likewise.
32714         (La_retval): Likewise.
32715         (int_retval): Likewise.
32716         * sysdeps/generic/tst-audit.h: Update comment to refer only to
32717         macro definitions in tst-audit.h.
32718         * sysdeps/i386/tst-audit.h: New file.
32719         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32720         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32721         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32722         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32723         * sysdeps/sh/tst-audit.h: Likewise.
32724         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32725         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32726         * sysdeps/x86_64/tst-audit.h: Likewise.
32727
32728 2012-07-26  Andreas Jaeger  <aj@suse.de>
32729
32730         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32731         ptrace.
32732
32733         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32734         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32735         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32736         PTRACE_O_MASK.
32737         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32738         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32739         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32740
32741         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32742         value.
32743
32744         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32745         _sigsys.
32746         (si_call_addr, si_syscall, si_arch): Define new macro.
32747         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32748         _sigsys.
32749         (si_call_addr, si_syscall, si_arch): Define new marcro.
32750         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32751         _sigsys.
32752         (si_call_addr, si_syscall, si_arch): Define new macro.
32753         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32754         _sigsys.
32755         (si_call_addr, si_syscall, si_arch): Define new macro.
32756
32757 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32758
32759         [BZ #13717]
32760         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32761         Change to 2.4.21 where previously 2.4.1.
32762         * sysdeps/unix/sysv/linux/configure: Regenerated.
32763         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32764         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32765         Linux kernel version.
32766         (__ASSUME_STD_AUXV): Remove.
32767         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32768         kernel version.
32769         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32770         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32771         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32772         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32773         (__ASSUME_NETLINK_SUPPORT): Likewise.
32774         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32775         (__no_netlink_support): Remove conditional definition.
32776         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32777         Remove.
32778         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32779         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32780         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32781         (if_nameindex_ioctl): Remove.
32782         (if_nameindex_netlink): Do not handle __no_netlink_support.
32783         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32784         code.
32785         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32786         Remove conditional code.
32787         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32788         code.
32789         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32790         unconditional.
32791         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32792         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32793         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32794         Remove.
32795         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32796         [!__ASSUME_STD_AUXV]: Remove conditional code.
32797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32798         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32799         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32801         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32802         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32803         code.
32804         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32806         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32807         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32808         conditional code.
32809         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32811         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32812         code.
32813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32814         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32815         conditional code.
32816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32817         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32818         code unconditional.
32819         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32820         conditional code.
32821         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32822         unconditional.
32823         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32824         conditional code.
32825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32826         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32827         unconditional.
32828         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32829         conditional code.
32830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32831         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32832         code unconditional.
32833         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32834         conditional code.
32835         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32836         unconditional.
32837         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32838         conditional code.
32839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32840         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32841         code unconditional.
32842         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32843         conditional code.
32844         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32845         unconditional.
32846         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32847         conditional code.
32848
32849 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
32850
32851         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32852         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32853         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32854         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32855         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32856         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32857         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32858         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32859         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32860         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32861         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32862         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32863         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32864         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32865         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32866         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32867         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32868         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32869         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32870         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32871         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32872         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32873         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32874
32875 2012-07-25  Florian Weimer  <fweimer@redhat.com>
32876
32877         * Versions.def: Add GLIBC_2.17.
32878         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32879         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32880         Introduce __libc_secure_getenv.
32881         * stdlib/Versions (2.17): Add secure_getenv
32882         (GLIBC_PRIVATE): Add __libc_secure_getenv.
32883         * stdlib/secure-getenv.c: Rename __secure_getenv to
32884         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
32885         symbol __secure_getenv for GLIBC_2.0.
32886         * stdlib/tst-secure-getenv.c: New.
32887         * stdlib/Makefile (tests): Add testcase.
32888         * manual/startup.texi (Environment Access): Document
32889         secure_getenv.
32890         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32891         __libc_secure_getenv.
32892         * inet/ruserpass.c (ruserpass): Likewise.
32893         * malloc/mtrace.c (mtrace): Likewise.
32894         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32895         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32896         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32897         * sysdeps/posix/tempname.c: Likewise.  Evaluate
32898         HAVE_SECURE_GETENV.
32899         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32900         __secure_getenv to __libc_secure_getenv.
32901         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32903         Likewise.
32904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32905         Likewise.
32906         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32907         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32908         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32909         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32910         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32911         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32912         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32913
32914 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32915
32916         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32917         (struct La_i86_retval): Likewise.
32918         (struct La_x86_64_regs): Likewise.
32919         (struct La_x86_64_retval): Likewise.
32920         (struct La_x32_regs): Likewise.
32921         (struct La_x32_retval): Likewise.
32922         (struct La_ppc32_regs): Likewise.
32923         (struct La_ppc32_retval): Likewise.
32924         (struct La_ppc64_regs): Likewise.
32925         (struct La_ppc64_retval): Likewise.
32926         (struct La_sh_regs): Likewise.
32927         (struct La_sh_retval): Likewise.
32928         (struct La_s390_32_regs): Likewise.
32929         (struct La_s390_32_retval): Likewise.
32930         (struct La_s390_64_regs): Likewise.
32931         (struct La_s390_64_retval): Likewise.
32932         (struct La_sparc32_regs): Likewise.
32933         (struct La_sparc32_retval): Likewise.
32934         (struct La_sparc64_regs): Likewise.
32935         (struct La_sparc64_retval): Likewise.
32936         (struct audit_ifaces): Remove architecture-specific pltenter and
32937         pltexit members.
32938         * sysdeps/i386/ldsodefs.h: New file.
32939         * sysdeps/powerpc/ldsodefs.h: Likewise.
32940         * sysdeps/s390/ldsodefs.h: Likewise.
32941         * sysdeps/sh/ldsodefs.h: Likewise.
32942         * sysdeps/sparc/ldsodefs.h: Likewise.
32943         * sysdeps/x86_64/ldsodefs.h: Likewise.
32944
32945 2012-07-25  Marek Polacek  <polacek@redhat.com>
32946
32947         [BZ #6808]
32948         * math/libm-test.inc (yn_test): Add another test.
32949         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32950         to ERANGE when the result is +-Inf.
32951         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32952         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32953         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32954         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32955
32956 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
32957
32958         * conform/data/time.h-data (NULL): Use macro-constant.  Require
32959         equal to 0.
32960         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
32961         clock_t.
32962         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
32963
32964 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
32965
32966         * configure.in <sysdeps resolving>: Correct printing
32967         Implies_before.
32968         * configure: Regenerate.
32969
32970 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
32971
32972         * math/w_ilogb.c: Include <limits.h>.
32973         * math/w_ilogbl.c: Likewise.
32974
32975 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32976
32977         * manual/lang.texi (__va_copy): Document primarily as ISO C99
32978         va_copy.  Document allowing for unavailable va_copy only as
32979         pre-C99 compatibility.
32980         * manual/string.texi (Copying and Concatenation): Use va_copy
32981         instead of __va_copy in concat example.
32982
32983 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
32984
32985         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32986         (__sendto): Use create_address_port.  Initialize APORT and deallocate
32987         it if not null.
32988
32989         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32990         with O_NOLINK passed to __file_name_lookup.
32991
32992         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32993         with O_NOLINK passed to __file_name_lookup.
32994
32995         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32996         negative N or less than NGIDS.
32997
32998         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32999         type to string_t.  Set ERANGE as errno and return it if NAME is not big
33000         enough.  Use memcpy instead of strncpy.
33001
33002 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33003
33004         * elf/Makefile (check-data): Remove.
33005         (localplt.data): New vpath directive.
33006         ($(objpfx)check-localplt.out): Use localplt.data from vpath
33007         instead of $(check-data).
33008         * scripts/data/localplt-generic.data: Move to ...
33009         * sysdeps/generic/localplt.data: ... here.
33010         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33011         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33012         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33014         ... here.
33015         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33017         ... here.
33018         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33019         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33020         ... here.
33021         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33022         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33023         ... here.
33024         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33025         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33026         ... here.
33027         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33028         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33029         ... here.
33030
33031 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33032
33033         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33034         PPC32 and PPC64 files.
33035         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33036         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33037
33038 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33039
33040         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33041         __makecontext_ret to ...
33042         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33043         ... here and call exit if uc_link is NULL.  New file.
33044         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33045         __makecontext_ret.S.
33046         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33047         __makecontext_ret to ...
33048         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33049         ... here and call exit if uc_link is NULL.  New file.
33050         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33051         __makecontext_ret.S.
33052
33053 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33054
33055         * elf/elf.h (R_390_IRELATIVE): New definition.
33056         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33057         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
33058         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33059         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33060         (elf_machine_lazy_rel): Likewise.
33061         * sysdeps/s390/dl-irel.h: New file.
33062         * sysdeps/s390/s390-64/memcpy.S: New asm code.
33063         * sysdeps/s390/s390-64/memset.S: New asm code.
33064         * sysdeps/s390/s390-64/memcmp.S: New asm code.
33065         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33066         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33067         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33068         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33069         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33070         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33071         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33072         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33073         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33074         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33075         * sysdeps/s390/s390-32/memcpy.S: New asm code.
33076         * sysdeps/s390/s390-32/memset.S: New asm code.
33077         * sysdeps/s390/s390-32/memcmp.S: New asm code.
33078
33079 2012-07-17  Marek Polacek  <polacek@redhat.com>
33080
33081         [BZ #14349]
33082         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33083         * sysdeps/s390/s390-64/configure.in: Likewise.
33084         * sysdeps/sparc/configure.in: Likewise.
33085         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33086         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33087         * sysdeps/i386/configure.in: Likewise.
33088         * sysdeps/x86_64/configure.in: Likewise.
33089         * sysdeps/sh/configure.in: Likewise.
33090         * sysdeps/s390/s390-32/configure: Regenerated.
33091         * sysdeps/s390/s390-64/configure: Likewise.
33092         * sysdeps/x86_64/configure: Likewise.
33093         * sysdeps/sh/configure: Likewise.
33094         * sysdeps/powerpc/powerpc64/configure: Likewise.
33095         * sysdeps/powerpc/powerpc32/configure: Likewise.
33096         * sysdeps/sparc/configure: Likwise.
33097         * sysdeps/i386/configure: Likewise.
33098
33099         * elf/dl-open.c: Comment fixes.
33100
33101 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
33102
33103         * Makefile [CXX] (check-data): Remove.
33104         [CXX] (c++-types.data): New vpath directive.
33105         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33106         vpath.  Do not allow for C++ type data being missing.
33107         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33108         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33109         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33110         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33111         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33112         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33113         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33115         ... here.
33116         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33118         ... here.
33119         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33121         ... here.
33122         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33124         ... here.
33125         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33126         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33127         ... here.
33128         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33129         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33130         ... here.
33131         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33132         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33133         ... here.
33134         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33135         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
33136
33137         * elf/tls-macros.h (TLS_LE): Move architecture-specific
33138         definitions to architecture-specific files.
33139         (TLS_IE): Likewise.
33140         (TLS_LD): Likewise.
33141         (TLS_GD): Likewise.
33142         * sysdeps/i386/tls-macros.h: New file.
33143         * sysdeps/powerpc/tls-macros.h: Likewise.
33144         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
33145         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
33146         * sysdeps/sh/tls-macros.h: Likewise.
33147         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
33148         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
33149         * sysdeps/x86_64/tls-macros.h: Likewise.
33150
33151 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33152
33153         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
33154         zero value for regular exit case.
33155
33156         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33157         (__start_context): Preserve zero value for regular exit case.
33158
33159 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
33160             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33161
33162         * manual/setjmp.texi (setcontext): Clarify normal process
33163         termination when uc_link is the null pointer.
33164         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
33165         exit call.
33166
33167 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
33168
33169         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
33170         preprocessor.  Test for each exception mask separately.
33171
33172 2012-07-16  Andreas Jaeger  <aj@suse.de>
33173
33174         * po/ru.po: Update from translation team.
33175
33176 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
33177
33178         * conform/data/string.h-data (NULL): Use macro-constant.  Require
33179         equal to 0.
33180         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33181         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33182         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
33183         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
33184         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33185
33186 2012-07-13  Andreas Jaeger  <aj@suse.de>
33187
33188         * po/fr.po: Update from translation team.
33189
33190 2012-07-12  Marek Polacek  <polacek@redhat.com>
33191
33192         [BZ #14173]
33193         * math/libm-test.inc (yn_test): Add test for BZ #14173.
33194         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
33195         loop condition.
33196
33197 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
33198
33199         [BZ #13717]
33200         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33201         Change to 2.4.1 where previously 2.4.0.
33202         * sysdeps/unix/sysv/linux/configure: Regenerated.
33203         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
33204         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
33205         version.
33206         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
33207         (__ASSUME_AT_CLKTCK): Remove.
33208         (__ASSUME_AT_PAGESIZE): Likewise.
33209         (__ASSUME_AT_XID): Likewise.
33210         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
33211         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
33212         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
33213         unconditionally.
33214         (HAVE_AUX_PAGESIZE): Likewise.
33215         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
33216         [__ASSUME_AT_CLKTCK]: Make code unconditional.
33217         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
33218
33219 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
33220
33221         [BZ #14307]
33222         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
33223         the temporary buffer used to invoke __gethostbyname2_r,
33224         __gethostbyaddr_r and gethostbyname4_r to make room for struct
33225         host_data / struct gaih_addrtuple.
33226         * resolv/nss_dns/dns-host.c (global scope): Move definition of
33227         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
33228         header file nss/nsswitch.h.
33229         * nss/nsswitch.h (global scope): Add definition of implementation
33230         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
33231         resolv/nss_dns/dns-host.c).
33232
33233 2012-07-11  Andreas Jaeger  <aj@suse.de>
33234
33235         * po/fr.po: Update from translation team.
33236
33237         * po/sv.po: Update from translation team
33238         * po/fr.po: Another update from translation team.
33239
33240 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33241
33242         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
33243         for subnormals or multiply small sinh result by itself.
33244         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33246
33247 2012-07-11  David S. Miller  <davem@davemloft.net>
33248
33249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33250
33251 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
33252
33253         [BZ #14347]
33254         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
33255         (INTERNAL_MARK): Shift it here.
33256
33257 2012-07-10  Marek Polacek  <polacek@redhat.com>
33258
33259         [BZ #14151]
33260         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
33261         libc_cv_asm_global_directive with .globl.
33262         * configure: Regenerated.
33263         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
33264         with .globl.
33265         * sysdeps/i386/configure: Regenerated.
33266         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
33267         with .globl.
33268         * sysdeps/x86_64/configure: Regenerated.
33269         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
33270         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
33271         * elf/tst-unique2mod2.c: Likewise.
33272         * elf/tst-unique2mod1.c: Likewise.
33273         * elf/tst-unique1mod2.c: Likewise.
33274         * elf/tst-unique1mod1.c: Likewise.
33275         * sysdeps/s390/s390-32/sysdep.h: Likewise.
33276         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33277         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33278         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33279         * sysdeps/mach/sysdep.h: Likewise.
33280         * sysdeps/i386/sysdep.h: Likewise.
33281         * sysdeps/i386/i386-mcount.S: Likewise.
33282         * sysdeps/x86_64/_mcount.S: Likewise.
33283         * sysdeps/x86_64/sysdep.h: Likewise.
33284         * sysdeps/sh/_mcount.S: Likewise.
33285         * sysdeps/sh/sysdep.h: Likewise.
33286         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33287         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33288         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33289         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33290         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33291         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33292         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33293         * locale/localeinfo.h: Likewise.
33294         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33295         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33296
33297 2012-07-09  Roland McGrath  <roland@hack.frob.com>
33298
33299         [BZ #14336]
33300         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33301         system".
33302         * manual/message.texi (The Uniforum approach): Likewise.
33303         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33304         (glibc iconv Implementation): Likewise.
33305
33306 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
33307
33308         [BZ #14337]
33309         * math/s_clog.c (__clog): Avoid scaling a value down where that
33310         could result in underflow.
33311         * math/s_clog10.c (__clog10): Likewise.
33312         * math/s_clog10f.c (__clog10f): Likewise.
33313         * math/s_clog10l.c (__clog10l): Likewise.
33314         * math/s_clogf.c (__clogf): Likewise.
33315         * math/s_clogl.c (__clogl): Likewise.
33316         * math/libm-test.inc (clog_test): Add more tests.
33317         (clog10_test): Likewise.
33318         * sysdeps/i386/fpu/libm-test-ulps: Update.
33319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33320
33321 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
33322
33323         [BZ #14283]
33324         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33325         by 7 not 8 to examine high bit of fractional part.
33326
33327         [BZ #14042]
33328         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33329         for call to __mcount_internal.
33330         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33331         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33332         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33333
33334 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
33335
33336         [BZ #14154]
33337         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33338         approximation for values within 0x1p-13f of an odd multiple of
33339         pi/4.
33340         * math/libm-test.inc (tan_test): Do not allow spurious underflow
33341         exception.  Add more tests.
33342         * sysdeps/i386/fpu/libm-test-ulps: Update.
33343
33344         [BZ #6778]
33345         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33346         inputs and return -1 for them.  Do not check for +Inf in case not
33347         reachable for +Inf.
33348         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33349         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33350         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33351         and return -1 for them.  Do not check for +Inf in case not
33352         reachable for +Inf.
33353         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33354         define.
33355         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33356         and return -1 for them.  Do not check for +Inf in case not
33357         reachable for +Inf.
33358         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
33359         spurious underflow.
33360         * sysdeps/i386/fpu/libm-test-ulps: Update.
33361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33362
33363 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
33364
33365         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33366
33367 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
33368
33369         [BZ #14157]
33370         [BZ #14331]
33371         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33372         could result in spurious underflow.  Scale down values above
33373         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33374         * math/s_csqrtf.c (__csqrtf): Likewise.
33375         * math/s_csqrtl.c (__csqrtl): Likewise.
33376         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
33377         spurious underflow.
33378         * sysdeps/i386/fpu/libm-test-ulps: Update.
33379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33380
33381 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
33382
33383         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33384         xopen-msg.sed.
33385         * catgets/xopen-msg.awk: New file.
33386         * catgets/xopen-msg.sed: Removed.
33387
33388         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33389         po2text.sed.
33390         * intl/po2test.awk: New file.
33391         * intl/po2test.sed: Removed.
33392
33393 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
33394
33395         [BZ #14328]
33396         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33397         or multiply small sinh result by itself.
33398         * math/s_ctanf.c (__ctanf): Likewise.
33399         * math/s_ctanh.c (__ctanh): Likewise.
33400         * math/s_ctanhf.c (__ctanhf): Likewise.
33401         * math/s_ctanhl.c (__ctanhl): Likewise.
33402         * math/s_ctanl.c (__ctanl): Likewise.
33403         * math/libm-test.inc (ctan_test_tonearest): New function.
33404         (ctan_test_towardzero): Likewise.
33405         (ctan_test_downward): Likewise.
33406         (ctan_test_upward): Likewise.
33407         (ctanh_test_tonearest): Likewise.
33408         (ctanh_test_towardzero): Likewise.
33409         (ctanh_test_downward): Likewise.
33410         (ctanh_test_upward): Likewise.
33411         (main): Call these new functions.
33412         * sysdeps/i386/fpu/libm-test-ulps: Update.
33413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33414
33415 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
33416
33417         * .gitignore: Delete /ports entry.
33418
33419 2012-07-03  Andreas Jaeger  <aj@suse.de>
33420
33421         * po/bg.po: Update from translation team.
33422         * po/cs.po: Likewise.
33423         * po/de.po: Likewise.
33424         * po/hr.po: Likewise.
33425         * po/nl.pl: Likewise.
33426         * po/pl.po: Likewise.
33427         * po/vi.po: Likewise.
33428
33429 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
33430
33431         * Makeconfig [!+link] (+link-before-libc): New variable.
33432         [!+link] (+link-after-libc): Likewise.
33433         [!+link] (+link-tests): Likewise.
33434         [!+link] (+link): Define in terms of $(+link-before-libc) and
33435         $(+link-after-libc).
33436         [!+link-static] (+link-static-before-libc): New variable.
33437         [!+link-static] (+link-static-after-libc): Likewise.
33438         [!+link-static] (+link-static-tests): Likewise.
33439         [!+link-static] (+link-static): Define in terms of
33440         $(+link-static-before-libc) and $(+link-static-after-libc).
33441         [build-shared] (link-libc-before-gnulib): New variable.
33442         [build-shared] (link-libc-tests): Likewise.
33443         [build-shared] (link-libc): Define in terms of
33444         $(link-libc-before-gnulib).
33445         [!build-shared] (link-libc-tests): New variable.
33446         (link-libc-static-tests): New variable.
33447         [!gnulib] (gnulib-arch): New variable.
33448         [!gnulib] (gnulib-tests): Likewise.
33449         [!gnulib] (static-gnulib-arch): Likewise.
33450         [!gnulib] (static-gnulib-tests): Likewise.
33451         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
33452         Define with "=" instead of ":=".
33453         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
33454         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
33455         * Rules (binaries-all-notests): New variable.
33456         (binaries-all-tests): Likewise.
33457         (binaries-static-notests): Likewise.
33458         (binaries-static-tests): Likewise.
33459         (binaries-all): Define using $(binaries-all-notests) and
33460         $(binaries-all-tests).
33461         (binaries-static): Define using $(binaries-static-notests) and
33462         $(binaries-static-tests).
33463         (binaries-shared-tests): New variable.
33464         (binaries-shared-notests): Likewise.
33465         (binaries-shared): Remove variable.
33466         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33467         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33468         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33469         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33470         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33471         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33472         * elf/Makefile (sln-modules): New variable.
33473         (extra-objs): Add $(sln-modules:=.o).
33474         (ldconfig-modules): Add static-stubs.
33475         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33476         * elf/static-stubs.c: New file.
33477
33478         [BZ #14283]
33479         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33480         by 7 not 8 to examine high bit of fractional part.  Use volatile
33481         variables when splitting into final array of floats if
33482         __FLT_EVAL_METHOD__ != 0.
33483         * math/libm-test.inc (cos_test): Add another test.
33484         (sin_test): Likewise.
33485         * sysdeps/i386/fpu/libm-test-ulps: Update.
33486
33487         [BZ #14273]
33488         * math/libm-test.inc (cosh_test): Add more tests.
33489
33490         * version.h (RELEASE): Set to "development".
33491         (VERSION): Set to "2.16.90".
33492
33493 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
33494
33495         * NEWS: Update copyright. Remove last-updated date.
33496         Mention math library bug fixes and timezone data changes.
33497         * README: Mention GNU/Hurd, x32, and HPPA support status.
33498
33499 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
33500
33501         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33502
33503 2012-06-27  Andreas Jaeger  <aj@suse.de>
33504
33505         * manual/contrib.texi (Contributors): Add Samuel Thibault.
33506
33507 2012-06-25  Andreas Jaeger  <aj@suse.de>
33508
33509         * sysdeps/s390/fpu/libm-test-ulps: Update.
33510
33511 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
33512             Thomas Schwinge  <thomas@codesourcery.com>
33513
33514         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33515         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33516         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33517         fanotify_mark.
33518
33519 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
33520
33521         * sysdeps/mach/start.c: Remove file.
33522         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33523         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33524         * sysdeps/sh/init-first.c: Likewise.
33525
33526         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33527         registers for frame unwinding purposes, add CFI directives.
33528         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33529         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33530         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33531         Likewise.
33532
33533         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33534         __fortify_fail returning.
33535         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33536
33537         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33538         sysdeps/sh/____longjmp_chk.S.
33539         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33540         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33541         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33542         (gen-as-const-headers): Append sigaltstack-offsets.sym.
33543
33544         * sysdeps/sh/abort-instr.h: New file.
33545         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33546         process in case exit returns.
33547
33548         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33549         initialize the GOT register before use.
33550
33551         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33552         calculation of ARGC > 4.
33553
33554         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33555         meaningful names to some local labels.
33556
33557 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33558             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33559
33560         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33561         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33562         (__arch_compare_and_exchange_val_16_acq): Likewise.
33563         (__arch_compare_and_exchange_val_32_acq): Likewise.
33564         (atomic_exchange_and_add): Fix gUSA sequence.
33565         (atomic_add): Likewise.
33566         (atomic_add_negative): Likewise.
33567         (atomic_add_zero): Likewise.
33568         (atomic_bit_test_set): Likewise.
33569
33570 2012-06-22  Andreas Schwab  <schwab@redhat.com>
33571
33572         [BZ #13579]
33573         * include/link.h (struct link_map): Add l_free_initfini.
33574         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33575         l_initfini.
33576         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33577         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33578         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33579         set.
33580
33581 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
33582
33583         * configure.in: Use AC_LANG_SOURCE.
33584         * configure: Regenerate.
33585
33586 2012-06-22  Roland McGrath  <roland@hack.frob.com>
33587
33588         * configure.in (libc_cv_localstatedir): New substituted variable.
33589         * configure: Regenerated.
33590         * config.make.in (localstatedir): New variable, substituted from
33591         libc_cv_localstatedir.
33592         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33593         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33594         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33595         * sysdeps/gnu/configure: Regenerated.
33596
33597 2012-06-21  Jeff Law  <law@redhat.com>
33598
33599         [BZ #14277]
33600         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33601         free.  Simplify list management for _LIBC case.
33602
33603 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
33604
33605         [BZ #14273]
33606         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33607         Clear sign bit of 64-bit integer value before comparing against
33608         overflow value.
33609
33610         * sysdeps/mach/configure: Regenerated.
33611
33612 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
33613
33614         [BZ #14278]
33615         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33616
33617 2012-06-21  Jeff Law  <law@redhat.com>
33618
33619         [BZ #13882]
33620         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
33621         uint16_t for elements in the "seen" array to avoid char overflows.
33622         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33623         * elf/dl-open.c (dl_open_worker): Likewise.
33624
33625 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
33626
33627         * scripts/list-sources.sh: Scan PORTS for translations.
33628         * po/libc.pot: Regenerated.
33629
33630 2012-06-21  Andreas Jaeger  <aj@suse.de>
33631
33632         [BZ #12194]
33633         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33634         warning.
33635         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33636         * bits/byteswap-16.h (__bswap_16): Likewise.
33637         * bits/byteswap.h (__bswap_constant_16): Likewise.
33638
33639 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
33640
33641         [BZ #14117]
33642         * sysdeps/i386/fpu_control.h: Removed.
33643         * sysdeps/x86_64/fpu_control.h: Moved to ...
33644         * sysdeps/x86/fpu_control.h: Here.
33645
33646         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33647         (_FPU_SETCW): Likewise.
33648
33649 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
33650
33651         [BZ #14117]
33652         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33653         * sysdeps/x86/fpu/bits/mathinline.h: This.
33654         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33655
33656         [BZ #14050]
33657         [BZ #14117]
33658         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33659         functions if __x86_64__ is defined.
33660
33661 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
33662
33663         * string/endian.h: Add !__ASSEMBLER__ condition for including
33664         conversion interfaces.
33665
33666 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
33667
33668         [BZ #14241]
33669         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33670         of ABS(x) in calculating zero to negative powers other than odd
33671         integers.
33672         * math/libm-test.inc (pow_test): Add more tests.
33673
33674 2012-06-15  Andreas Jaeger  <aj@suse.de>
33675
33676         * manual/contrib.texi (Contributors): Update entry of Liubov
33677         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33678         Machado Filho.
33679
33680 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
33681
33682         * string/string.h: Add __wur to GNU version of strerror_r.
33683
33684 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
33685
33686         [BZ #14229]
33687         * string/Makefile (tests): Add tst-strtok_r.
33688         * string/tst-strtok_r.c: New file.
33689         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33690         RAX_LP/RDX_LP on SAVE_PTR.
33691
33692 2012-06-14  Roland McGrath  <roland@hack.frob.com>
33693
33694         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33695
33696 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
33697
33698         * libm_test.inc (csqrt_test): Allow more spurious underflow
33699         exceptions.
33700         (j0_test): Likewise.
33701         (j1_test): Likewise.
33702         (y0_test): Likewise.
33703         (y1_test): Likewise.
33704
33705 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
33706
33707         * po/Makefile (libc.pot): Use UTF-8 charset.
33708
33709 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
33710
33711         [BZ #14210]
33712         Suppress sign-conversion warning from FD_SET.
33713         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33714         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33715         not unsigned long int.
33716         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33717
33718 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
33719
33720         [BZ #14050]
33721         [BZ #14117]
33722         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33723         __extern_always_inline instead of __extern_inline.
33724         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33725         (__signbit): Likewise.
33726         (__signbitl): Support C++ namespace.
33727         (lrintf): New inline function.
33728         (lrint): Likewise.
33729         (llrintf): Likewise.
33730         (llrint): Likewise.
33731         (fmaxf): Likewise.
33732         (fmax): Likewise.
33733         (fminf): Likewise.
33734         (fmin): Likewise.
33735         (rint): Likewise.
33736         (rintf): Likewise.
33737         (ceil): Likewise.
33738         (ceilf): Likewise.
33739         (floor): Likewise.
33740         (floorf): Likewise.
33741         (nearbyint): Likewise.
33742         (nearbyintf): Likewise.
33743
33744 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
33745
33746         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33747         non-default versions.
33748
33749 2012-06-11  Roland McGrath  <roland@hack.frob.com>
33750
33751         [BZ #14218]
33752         * manual/argp.texi (Argp): Reword argp_parse description slightly.
33753
33754 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
33755
33756         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33757         (FE_UPWARD, FE_DOWNWARD): Don't define.
33758         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33759         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33760
33761         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33762         reading it.
33763         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33764         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33765
33766 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33767
33768         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33769         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33770         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33771         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33772
33773 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
33774
33775         [BZ #14117]
33776         * sysdeps/i386/fpu/bits/fenv.h: Removed.
33777         * sysdeps/i386/fpu/Implies: New file.
33778         * sysdeps/x86_64/fpu/Implies: Likewise.
33779         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33780         * sysdeps/x86/fpu/bits/fenv.h: This.
33781
33782         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33783         __SSE_MATH__.
33784
33785 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33786
33787         [BZ #14134]
33788         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33789         character 0xffff that matches the last element of the
33790         conversion table.
33791
33792 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33793
33794         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33795         fmodl commit.
33796
33797 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33798
33799         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33800         values higher than 25.6283.
33801
33802 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33803
33804         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33805         subnormal exponent extraction and add some __builtin_expect.
33806         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33807         Fix for subnormal mantissa calculation.
33808
33809 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
33810
33811         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33812         cpu2 is -1 and errno is not ENOSYS.
33813
33814 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
33815
33816         [BZ #14117]
33817         * sysdeps/i386/i486/bits/string.h: Renamed to ...
33818         * sysdeps/x86/bits/string.h: This.
33819         * sysdeps/x86_64/bits/string.h: Removed.
33820
33821         * sysdeps/i386/i486/bits/string.h: Define inline functions only
33822         if not compiling for x86-64, but compiling for >= i486.
33823
33824         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33825         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33826
33827         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33828         New macro from Linux kernel 3.4.0.
33829         (FP_XSTATE_MAGIC2): Likewise.
33830         (FP_XSTATE_MAGIC2_SIZE): Likewise.
33831         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33832         (struct _fpx_sw_bytes): New struct.
33833         (struct _xsave_hdr): Likewise.
33834         (struct _ymmh_state): Likewise.
33835         (struct _xstate): Likewise.
33836
33837         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33838         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33839         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33840         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33841         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33842         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33843
33844         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33845         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33846         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33847         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33848         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33849         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33850
33851 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33852
33853         [BZ #13743]
33854         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33855         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33856         (sysdep_headers): Include sys/platform/ppc.h.
33857         * sysdeps/powerpc/test-gettimebase.c: Test for
33858         __ppc_get_timebase() to catch future ISA opcode/insn changes.
33859         * manual/Makefile (appendices): Include platform.texi.
33860         * manual/contrib.texi (Contributors): Update @node pointers.
33861         * manual/maint.texi (Maintenance): Likewise.
33862         (Platform): New node.
33863         * manual/platform.texi: New file.  Document the new features.
33864
33865 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33866             Jakub Jelinek  <jakub@redhat.com>
33867
33868         [BZ #14188]
33869         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33870         where __builtin_expect is unavailable.
33871
33872 2012-06-03  David S. Miller  <davem@davemloft.net>
33873
33874         * stdlib/longlong.h: Updated from GCC.
33875
33876 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
33877
33878         [BZ #14042]
33879         * sysdeps/powerpc/powerpc32/mcount.c: New file.
33880         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33881         __mcount_internal.
33882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33883         (GLIBC_2.16): Likewise.
33884
33885 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33886
33887         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33888
33889 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33890
33891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33892         (default-abi): New variable.
33893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33894         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33895         variable.
33896         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33897         Likewise.
33898         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33899         Likewise.
33900         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33901         Likewise.
33902
33903         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33904         definition.  Document in comment.
33905
33906 2012-06-01  David S. Miller  <davem@davemloft.net>
33907
33908         * stdlib/longlong.h: Updated from GCC.
33909
33910 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33911
33912         [BZ #14117]
33913         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33914         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33915         sys/debugreg.h sys/io.h here.
33916         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33917         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33918         sys/io.h.
33919         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33920         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33921         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33922         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33923         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33924         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33925
33926         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33927         Define only if __x86_64__ is defined.
33928
33929 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33930
33931         [BZ #14048]
33932         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33933         Use int64_t for variable i.
33934         * math/libm-test.inc (fmod_test): Add more tests.
33935
33936         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33937         z computation is not scheduled after fetestexcept.
33938         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33939         Use math_force_eval instead of asm to ensure calculation scheduled
33940         before exception test.
33941         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33942         Ensure a1 + u.d computation is not scheduled after fetestexcept.
33943
33944 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
33945
33946         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33947         computation is not scheduled after fetestexcept.
33948
33949 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33950
33951         [BZ #14117]
33952         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33953         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33954
33955 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33956
33957         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33958         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33959
33960 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33961
33962         [BZ #14117]
33963         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33964         <bits/wordsize.h>.
33965         (__WCHAR_MIN): Support __WORDSIZE == 64.
33966         (__WCHAR_MAX): Likewise.
33967
33968         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33969         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33970
33971         [BZ #14183]
33972         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33973         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33974
33975         [BZ #14117]
33976         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33977         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33978
33979         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33980         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33981
33982         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33983         Defined to 1 if __x86_64__ isn't defined.
33984         (_STAT_VER_LINUX_OLD): New.
33985         (st_atime): Remove duplicate.
33986         (st_mtime): Likewise.
33987         (st_ctime): Likewise.
33988
33989 2012-05-31  David S. Miller  <davem@davemloft.net>
33990
33991         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33992         entries.
33993
33994 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
33995
33996         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33997         gen-libm-test.pl.
33998
33999         [BZ #14132]
34000         * elf/dl-reloc.c: Include <_itoa.h>.
34001         (_dl_reloc_bad_type): Remove use of INTUSE.
34002         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34003         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34004         * stdio-common/psiginfo.c (psiginfo): Likewise.
34005         * stdio-common/psignal.c (psignal): Likewise.
34006         * string/strsignal.c (strsignal): Likewise.
34007         * include/signal.h (_sys_siglist): Declare hidden proto.
34008         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
34009         INTVARDEF with libc_hidden_data_def.
34010         * stdio-common/itoa-udigits.c: Likewise.
34011         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34012         (_itoa_lower_digits_internal): Remove declaration.
34013         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34014         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34015         (_sys_sigabbrev_internal): Remove aliases.
34016         (_sys_siglist): Define hidden alias.
34017
34018 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
34019
34020         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34021         bits/sysctl.h.
34022
34023 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34024
34025         [BZ #14117]
34026         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34027         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34028
34029         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34030         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34031         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34032         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34033         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34034         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34035
34036         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34037         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34038         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34039
34040         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34041         with __addr.
34042         (insw): Likewise.
34043         (insl): Likewise.
34044         (outsb): Likewise.
34045         (outsw): Likewise.
34046         (outsl): Likewise.
34047
34048         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34049         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34050         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34051
34052         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34053         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34054         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34055         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34056         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34057         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34058
34059         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34060         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34061
34062         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34063         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34064
34065         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34066         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34067         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34068
34069         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34070         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34071         to ...
34072         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34073
34074         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34075         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34076         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34077
34078         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34079         for x86-64.
34080         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34081
34082 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
34083
34084         * math/math.h (M_El): Use two more decimal places.
34085         (M_LOG2El): Likewise.
34086         (M_LOG10El): Likewise.
34087         (M_LN2l): Likewise.
34088         (M_LN10l): Likewise.
34089         (M_PIl): Likewise.
34090         (M_PI_2l): Likewise.
34091         (M_PI_4l): Likewise.
34092         (M_1_PIl): Likewise.
34093         (M_2_PIl): Likewise.
34094         (M_2_SQRTPIl): Likewise.
34095         (M_SQRT2l): Likewise.
34096         (M_SQRT1_2l): Likewise.
34097
34098 2012-05-31  David S. Miller  <davem@davemloft.net>
34099
34100         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34101         values between float registers.
34102         * sysdeps/sparc/sparc64/memset.S: Likewise.
34103         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34104
34105 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
34106
34107         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34108         -D_FORTIFY_SOURCE=1.
34109         (CPPFLAGS-tst-longjmp_chk.c): Define.
34110         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34111         (CPPFLAGS-tst-longjmp_chk2.c): Define.
34112         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34113         CFLAGS-tst-wchar-h.c.
34114
34115 2012-05-31  Marek Polacek  <polacek@redhat.com>
34116
34117         [BZ #14132]
34118         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34119         __endmntent_internal): Remove declaration.
34120         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34121         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34122         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34123
34124 2012-05-30  David S. Miller  <davem@davemloft.net>
34125
34126         * sysdeps/sparc/sparc32/soft-fp/q_util.c
34127         (___Q_simulate_exceptions): Use real FP ops rather than writing
34128         into the %fsr.
34129         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34130         Likewise.
34131
34132 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34133
34134         [BZ #14117]
34135         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34136         * sysdeps/x86/bits/xtitypes.h: This.
34137
34138         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
34139         * sysdeps/x86/bits/wordsize.h: This.
34140
34141         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
34142         * sysdeps/x86/bits/huge_vall.h: This.
34143
34144         * sysdeps/i386/bits/select.h: Removed.
34145         * sysdeps/x86_64/bits/select.h: Renamed to ...
34146         * sysdeps/x86/bits/select.h: This.
34147
34148         * sysdeps/i386/bits/setjmp.h: Removed.
34149         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
34150         * sysdeps/x86/bits/setjmp.h: This.
34151
34152         * sysdeps/i386/bits/mathdef.h: Removed.
34153         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
34154         * sysdeps/x86/bits/mathdef.h: This.
34155
34156 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
34157
34158         [BZ #14132]
34159         * include/sys/socket.h (__connect_internal)
34160         (__libc_sa_len_internal): Remove declaration.
34161         (__connect, __libc_sa_len): Declare hidden_proto.
34162         (SA_LEN): Remove use of INTUSE.
34163         * socket/connect.c: Add libc_hidden_def.
34164         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
34165         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
34166         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
34167         alias.
34168         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34169         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
34170         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
34171         of adding _internal alias.
34172
34173 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34174
34175         [BZ #14117]
34176         * sysdeps/i386/bits/link.h: Removed.
34177         * sysdeps/i386/bits/linkmap.h: Likewise.
34178         * sysdeps/x86_64/bits/link.h: Renamed to ...
34179         * sysdeps/x86/bits/link.h: This.
34180         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
34181         * sysdeps/x86/bits/linkmap.h: This.
34182
34183         * sysdeps/i386/bits/endian.h: Removed.
34184         * sysdeps/x86_64/bits/endian.h: Renamed to ...
34185         * sysdeps/x86/bits/endian.h: This.
34186
34187         * sysdeps/i386/bits/byteswap.h: Removed.
34188         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34189         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
34190         * sysdeps/x86/bits/byteswap.h: This.
34191         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
34192         * sysdeps/x86/bits/byteswap-16.h: This.
34193         * sysdeps/i386/Implies: Add x86.
34194         * sysdeps/x86_64/Implies: Likewise.
34195
34196 2012-05-30  David S. Miller  <davem@davemloft.net>
34197
34198         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
34199         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
34200         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34201         (FP_TRAPPING_EXCEPTIONS): Define.
34202         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34203         (FP_TRAPPING_EXCEPTIONS): Define.
34204         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
34205         subnormals only when inexact has been signalled or underflow
34206         exceptions are enabled.
34207         (_FP_PACK_CANONICAL): Likewise.
34208
34209 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34210
34211         [BZ #14183]
34212         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34213         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
34214
34215 2012-05-30  Richard Henderson  <rth@twiddle.net>
34216
34217         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
34218         with #ifndef NOT_IN_libc.
34219
34220         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
34221         marked to avoid plt entry.
34222
34223 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34224
34225         [BZ #14112]
34226         * Makeconfig (default-abi): New macro.
34227         (abi-includes): Likewise.
34228         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
34229         $(abi-$(default-abi)-lib-soname) for soname if defined.
34230         ($(common-objpfx)gnu/lib-names.stmp): Generate from
34231         abi-variants.
34232         * Makefile (installed-stubs): Likewise.
34233         * include/stubs-biarch.h: Removed.
34234         * scripts/lib-names.awk: Only handle one library at a time.
34235         * scripts/soversions.awk: Remove WORDSIZE support.
34236         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
34237         entries.
34238         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
34239         Removed.
34240         (syscall-list-default-condition): Likewise.
34241         (syscall-list-default-condition): Likewise.
34242         (syscall-list-includes): Likewise.
34243         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
34244         syscall-list-* with abi-*.  Handle undefined abi-variants.
34245         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
34246         * sysdeps/unix/sysv/linux/i386/Implies: New file.
34247         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
34248         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
34249         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
34250         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
34251         Removed.
34252         (syscall-list-32-options): Likewise.
34253         (syscall-list-32-condition): Likewise.
34254         (syscall-list-64-options): Likewise.
34255         (syscall-list-64-condition): Likewise.
34256         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
34257         macro.
34258         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
34259         Renamed to ...
34260         (abi-*): This.
34261         (abi-64-ld-soname): New macro.
34262         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
34263         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
34264         Renamed to ...
34265         (abi-*): This.
34266         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
34267         * sysdeps/x86_64/x32/shlib-versions: Likewise.
34268
34269 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
34270
34271         * sysdeps/unix/sysv/linux/kernel-features.h
34272         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
34273         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
34274         include <kernel-features.h>.
34275         [!__NR_ftruncate64]: Remove conditional code.
34276         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34277         [__NR_ftruncate64]: Make code unconditional.
34278         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34279         * sysdeps/unix/sysv/linux/truncate64.c: Do not
34280         include <kernel-features.h>.
34281         [!__NR_ftruncate64]: Remove conditional code.
34282         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34283         [__NR_ftruncate64]: Make code unconditional.
34284         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34286         include <kernel-features.h>.
34287         [!__NR_ftruncate64]: Remove conditional code.
34288         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34289         [__NR_ftruncate64]: Make code unconditional.
34290         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34292         include <kernel-features.h>.
34293         [!__NR_ftruncate64]: Remove conditional code.
34294         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34295         [__NR_ftruncate64]: Make code unconditional.
34296         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34297
34298         * configure.in (libc_cv_fpie): Weaken to a compile test using
34299         LIBC_TRY_CC_OPTION.
34300         * configure: Regenerated.
34301
34302 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34303
34304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34308         Refreshed.
34309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34312         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34314         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34315         Refreshed.
34316
34317 2012-05-27  David S. Miller  <davem@davemloft.net>
34318
34319         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34320         (___Q_zero): New.
34321         (__Q_simulate_exceptions): Return void.  Change to simulate
34322         exceptions by writing into the %fsr.
34323         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34324         (__Qp_handle_exceptions): Likewise.
34325         (numbers): Delete.
34326         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34327         __Qp_handle_exceptions.
34328         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34329         __Qp_handle_exceptions.
34330         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34331         as unused and give dummy FP_RND_NEAREST initializer.
34332         (FP_INHIBIT_RESULTS): Define.
34333         (___Q_simulate_exceptions): Update declaration.
34334         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34335         formatting.
34336         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34337         as unused and give dummy FP_RND_NEAREST initializer.
34338         (__Qp_handle_exceptions): Update declaration.
34339         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34340         formatting.
34341
34342 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
34343
34344         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34345         the temporary FPU control word.
34346         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34347         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34348         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34349         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34350         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34351         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34352         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34353         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34354         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34355         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34356         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34357
34358 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34359
34360         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34361         fields.
34362
34363 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
34364
34365         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34366         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34367         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34368         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34369         Likewise.
34370         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34371         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34372         Likewise.
34373
34374 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
34375
34376         * po/h.po: Update from translation team.
34377
34378 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
34379
34380         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34381
34382         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34383         handling of denormals.
34384         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34385         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34386         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34387         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34388         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34389         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34390         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34391         Likewise.
34392
34393 2012-05-26  Marek Polacek  <polacek@redhat.com>
34394
34395         [BZ #14152]
34396         * math/libm-test.inc (fma_test): Don't always expect underflow
34397         exception.
34398
34399 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34400
34401         [BZ #12416]
34402         * elf/tst-execstack.c: Include stackinfo.h.
34403         (do_test): Adjust test case to ensure that pthread_getattr_np
34404         behaviour remains the same after marking stack executable.
34405
34406 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34407
34408         * sysdeps/unix/sysv/linux/kernel-features.h
34409         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34410         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34411         kernel-features.h.
34412         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34413         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34414         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34415         kernel-features.h.
34416         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34417         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34418
34419 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
34420
34421         * configure.in: Define the default includes to being none.
34422         * configure: Regenerated.
34423
34424 2012-05-25  Roland McGrath  <roland@hack.frob.com>
34425
34426         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34427         * sysdeps/x86_64/setjmp.S: Likewise.
34428         * sysdeps/i386/bsd-setjmp.S: Likewise.
34429         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34430         * sysdeps/i386/setjmp.S: Likewise.
34431         * sysdeps/i386/__longjmp.S: Likewise.
34432         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34433         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34434
34435         * include/stap-probe.h: New file.
34436         * configure.in: Handle --enable-systemtap.
34437         * configure: Regenerated.
34438         * config.h.in (USE_STAP_PROBE): New #undef.
34439         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34440         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34441         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34442
34443 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34444
34445         [BZ #13717]
34446         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34447         to 2.4.0 where earlier.
34448         * sysdeps/unix/sysv/linux/configure: Regenerated.
34449         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34450         <kernel-features.h>.
34451         [__ASSUME_32BITUIDS]: Make code unconditional.
34452         [!__ASSUME_32BITUIDS]: Remove conditional code.
34453         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34454         <kernel-features.h>.
34455         [__ASSUME_32BITUIDS]: Make code unconditional.
34456         [!__ASSUME_32BITUIDS]: Remove conditional code.
34457         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34458         [__ASSUME_32BITUIDS]: Make code unconditional.
34459         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34460         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34461         <kernel-features.h>.
34462         [__ASSUME_32BITUIDS]: Make code unconditional.
34463         [!__ASSUME_32BITUIDS]: Remove conditional code.
34464         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34465         <kernel-features.h>.
34466         [__ASSUME_32BITUIDS]: Make code unconditional.
34467         [!__ASSUME_32BITUIDS]: Remove conditional code.
34468         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34469         <kernel-features.h>.
34470         [__ASSUME_32BITUIDS]: Make code unconditional.
34471         [!__ASSUME_32BITUIDS]: Remove conditional code.
34472         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34473         <kernel-features.h>.
34474         [__ASSUME_32BITUIDS]: Make code unconditional.
34475         [!__ASSUME_32BITUIDS]: Remove conditional code.
34476         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34477         <kernel-features.h>.
34478         [__ASSUME_32BITUIDS]: Make code unconditional.
34479         [!__ASSUME_32BITUIDS]: Remove conditional code.
34480         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34481         <kernel-features.h>.
34482         [__ASSUME_32BITUIDS]: Make code unconditional.
34483         [!__ASSUME_32BITUIDS]: Remove conditional code.
34484         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34485         <kernel-features.h>.
34486         [__ASSUME_32BITUIDS]: Make code unconditional.
34487         [!__ASSUME_32BITUIDS]: Remove conditional code.
34488         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34489         <kernel-features.h>.
34490         [__ASSUME_32BITUIDS]: Make code unconditional.
34491         [!__ASSUME_32BITUIDS]: Remove conditional code.
34492         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34493         <kernel-features.h>.
34494         [__ASSUME_32BITUIDS]: Make code unconditional.
34495         [!__ASSUME_32BITUIDS]: Remove conditional code.
34496         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34497         <kernel-features.h>.
34498         [__ASSUME_32BITUIDS]: Make code unconditional.
34499         [!__ASSUME_32BITUIDS]: Remove conditional code.
34500         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34501         <kernel-features.h>.
34502         [__NR_setresgid] (__setresgid): Do not declare.
34503         [__ASSUME_32BITUIDS]: Make code unconditional.
34504         [!__ASSUME_32BITUIDS]: Remove conditional code.
34505         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34506         <kernel-features.h>.
34507         [__NR_setresuid] (__setresuid): Do not declare.
34508         [__ASSUME_32BITUIDS]: Make code unconditional.
34509         [!__ASSUME_32BITUIDS]: Remove conditional code.
34510         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.c: Do not include
34547         <kernel-features.h>.
34548         [__ASSUME_32BITUIDS]: Make code unconditional.
34549         [!__ASSUME_32BITUIDS]: Remove conditional code.
34550         * sysdeps/unix/sysv/linux/kernel-features.h
34551         (__ASSUME_SETRESUID_SYSCALL): Remove.
34552         (__ASSUME_SETRESGID_SYSCALL): Likewise.
34553         (__ASSUME_32BITUIDS): Likewise.
34554         (__ASSUME_LDT_WORKS): Likewise.
34555         (__ASSUME_O_DIRECTORY): Likewise.
34556         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34557         architecture but not kernel version.
34558         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34559         (__ASSUME_MMAP2_SYSCALL): Likewise.
34560         (__ASSUME_STAT64_SYSCALL): Likewise.
34561         (__ASSUME_IPC64): Likewise.
34562         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34563         <kernel-features.h>.
34564         [__ASSUME_32BITUIDS]: Make code unconditional.
34565         [!__ASSUME_32BITUIDS]: Remove conditional code.
34566         * sysdeps/unix/sysv/linux/opendir.c: Do not include
34567         <kernel-features.h>.
34568         [__ASSUME_O_DIRECTORY]: Make code unconditional.
34569         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34570         132096]: Remove conditional code.
34571         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34572         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
34581         <kernel-features.h>.
34582         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34583         unconditional.
34584         (__setresgid): Do not declare.
34585         [__ASSUME_32BITUIDS]: Make code unconditional.
34586         [!__ASSUME_32BITUIDS]: Remove conditional code.
34587         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34588         <kernel-features.h>.
34589         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34590         unconditional.
34591         (__setresuid): Do not declare.
34592         [__ASSUME_32BITUIDS]: Make code unconditional.
34593         [!__ASSUME_32BITUIDS]: Remove conditional code.
34594         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34595         <kernel-features.h>.
34596         [__ASSUME_32BITUIDS]: Make code unconditional.
34597         [!__ASSUME_32BITUIDS]: Remove conditional code.
34598         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34599         <kernel-features.h>.
34600         [__ASSUME_32BITUIDS]: Make code unconditional.
34601         [!__ASSUME_32BITUIDS]: Remove conditional code.
34602
34603 2012-05-25  Richard Henderson  <rth@twiddle.net>
34604
34605         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34606         dl_hwcap to ifunc resolver.
34607         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34608         elf_ifunc_invoke.
34609         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34610         dl_hwcap to ifunc resolver.
34611         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34612
34613 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34614
34615         [BZ #14153]
34616         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34617         for |x| <= 2**-26, not 2**-57.
34618         * math/libm-test.inc (acos_test): Do not allow spurious underflow
34619         exception.
34620
34621 2012-05-24  Jeff Law  <law@redhat.com>
34622
34623         * stdio-common/Makefile (tests): Add bug25.
34624         * stdio-common/bug25.c: New test.
34625
34626 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34627
34628         [BZ #13576]
34629         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34630         multiple of MALLOC_ALIGNMENT in size.
34631         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34632
34633 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34634
34635         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34636         Require >= 256.
34637         (FILENAME_MAX): Use macro-int-constant.
34638         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
34639         (_IOFBF): Use macro-int-constant.
34640         (_IOLBF): Likewise.
34641         (_IONBF): Likewise.
34642         (SEEK_CUR): Likewise.
34643         (SEEK_END): Likewise.
34644         (SEEK_SET): Likewise.
34645         (TMP_MAX): Likewise.
34646         (EOF): Use macro-int-constant.  Require < 0.
34647         (NULL): Use macro-constant.  Require == 0.
34648         (stdin): Require type to be FILE *.
34649         (stdout): Likewise.
34650         (stderr): Likewise.
34651         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34652         macro-int-constant.
34653         (EXIT_SUCCESS): Likewise.
34654         (NULL): Use macro-constant.  Require == 0.
34655         (RAND_MAX): Use macro-int-constant.
34656         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34657         [C99-based standards] (strtof): Require function.
34658         [C99-based standards] (strtold): Likewise.
34659         [C99-based standards] (strtoll): Likewise.
34660         [C99-based standards] (strtoull): Likewise.
34661         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34662         [ISO || ISO99 || ISO11] (limits.h): Likewise.
34663         [ISO || ISO99 || ISO11] (math.h): Likewise.
34664         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34665         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34666         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34667
34668 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
34669
34670         [BZ #14132]
34671         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34672         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34673         * intl/dgettext.c (DCGETTEXT): Likewise.
34674         * intl/gettext.c (DCGETTEXT): Likewise.
34675         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34676         * posix/regex_internal.h (gettext): Likewise.
34677         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34678         Remove declaration.
34679         * include/argz.h (__argz_count_internal)
34680         (__argz_stringify_internal): Remove declaration.
34681         (__argz_count, __argz_stringify): Declare hidden proto.
34682         * intl/dcgettext.c: Remove use of INTDEF.
34683         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34684         * string/argz-stringify.c: Likewise.
34685         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34686         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34687         Declare hidden proto.
34688         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34689         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34690         Declare hidden proto.
34691         * include/stdio.h (__asprintf_internal): Don't declare.
34692         (__asprintf): Don't define as macro.  Declare hidden proto.
34693         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34694         (__fsetlocking): Declare hidden proto.
34695         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34696         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34697         hidden proto.
34698         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34699         (_IO_setlinebuf): Remove use of INTUSE.
34700         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34701         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34702         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34703         Remove declaration.
34704         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34705         (_IO_do_flush): Remove use of INTUSE.
34706         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34707         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34708         (_IO_adjust_column, _IO_least_wmarker)
34709         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34710         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34711         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34712         (_IO_default_doallocate, _IO_wdefault_doallocate)
34713         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34714         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34715         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34716         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34717         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34718         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34719         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34720         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34721         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34722         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34723         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34724         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34725         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34726         proto.
34727         (_IO_flush_all_internal, _IO_adjust_column_internal)
34728         (_IO_default_uflow_internal, _IO_default_finish_internal)
34729         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34730         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34731         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34732         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34733         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34734         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34735         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34736         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34737         (_IO_file_close_internal, _IO_file_close_it_internal)
34738         (_IO_file_underflow_internal, _IO_file_overflow_internal)
34739         (_IO_file_init_internal, _IO_file_attach_internal)
34740         (_IO_file_fopen_internal, _IO_file_read_internal)
34741         (_IO_file_sync_internal, _IO_file_seek_internal)
34742         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34743         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34744         (_IO_str_underflow_internal, _IO_str_overflow_internal)
34745         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34746         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34747         (_IO_list_all_internal, _IO_link_in_internal)
34748         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34749         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34750         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34751         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34752         (_IO_do_write_internal, _IO_padn_internal)
34753         (_IO_getline_info_internal, _IO_getline_internal)
34754         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34755         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34756         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34757         (_IO_vfscanf_internal, _IO_vfprintf_internal)
34758         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34759         (_IO_init_internal, _IO_un_link_internal): Don't declare.
34760         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34761         with libc_hidden_ver, remove use of INTUSE.
34762         * libio/genops.c: Likewise.
34763         * libio/freopen.c: Likewise.
34764         * libio/freopen64.c: Likewise.
34765         * libio/iofclose.c: Likewise.
34766         * libio/iofdopen.c: Likewise.
34767         * libio/iofflush.c: Likewise.
34768         * libio/iofflush_u.c: Likewise.
34769         * libio/iofgets.c: Likewise.
34770         * libio/iofgets_u.c: Likewise.
34771         * libio/iofopen.c: Likewise.
34772         * libio/iofopncook.c: Likewise.
34773         * libio/iofread.c: Likewise.
34774         * libio/iofread_u.c: Likewise.
34775         * libio/ioftell.c: Likewise.
34776         * libio/iofwrite.c: Likewise.
34777         * libio/iogetline.c: Likewise.
34778         * libio/iogets.c: Likewise.
34779         * libio/iogetwline.c: Likewise.
34780         * libio/iopadn.c: Likewise.
34781         * libio/iopopen.c: Likewise.
34782         * libio/ioseekoff.c: Likewise.
34783         * libio/ioseekpos.c: Likewise.
34784         * libio/iosetbuffer.c: Likewise.
34785         * libio/iosetvbuf.c: Likewise.
34786         * libio/ioungetc.c: Likewise.
34787         * libio/ioungetwc.c: Likewise.
34788         * libio/iovdprintf.c: Likewise.
34789         * libio/iovsprintf.c: Likewise.
34790         * libio/iovsscanf.c: Likewise.
34791         * libio/memstream.c: Likewise.
34792         * libio/obprintf.c: Likewise.
34793         * libio/oldfileops.c: Likewise.
34794         * libio/oldiofclose.c: Likewise.
34795         * libio/oldiofdopen.c: Likewise.
34796         * libio/oldiofopen.c: Likewise.
34797         * libio/oldiopopen.c: Likewise.
34798         * libio/oldstdfiles.c: Likewise.
34799         * libio/putc.c: Likewise.
34800         * libio/setbuf.c: Likewise.
34801         * libio/setlinebuf.c: Likewise.
34802         * libio/stdfiles.c: Likewise.
34803         * libio/strops.c: Likewise.
34804         * libio/vasprintf.c: Likewise.
34805         * libio/vscanf.c: Likewise.
34806         * libio/vsnprintf.c: Likewise.
34807         * libio/vswprintf.c: Likewise.
34808         * libio/wfiledoalloc.c: Likewise.
34809         * libio/wfileops.c: Likewise.
34810         * libio/wgenops.c: Likewise.
34811         * libio/wmemstream.c: Likewise.
34812         * libio/wstrops.c: Likewise.
34813         * libio/__fpurge.c: Likewise.
34814         * libio/__fsetlocking.c: Likewise.
34815         * assert/assert.c: Likewise.
34816         * debug/fgets_chk.c: Likewise.
34817         * debug/fgets_u_chk.c: Likewise.
34818         * debug/fread_chk.c: Likewise.
34819         * debug/fread_u_chk.c: Likewise.
34820         * debug/gets_chk.c: Likewise.
34821         * debug/obprintf_chk.c: Likewise.
34822         * debug/vasprintf_chk.c: Likewise.
34823         * debug/vdprintf_chk.c: Likewise.
34824         * debug/vsnprintf_chk.c: Likewise.
34825         * debug/vsprintf_chk.c: Likewise.
34826         * malloc/mtrace.c: Likewise.
34827         * misc/error.c: Likewise.
34828         * misc/syslog.c: Likewise.
34829         * stdio-common/asprintf.c: Likewise.
34830         * stdio-common/fxprintf.c: Likewise.
34831         * stdio-common/getw.c: Likewise.
34832         * stdio-common/isoc99_fscanf.c: Likewise.
34833         * stdio-common/isoc99_scanf.c: Likewise.
34834         * stdio-common/isoc99_vfscanf.c: Likewise.
34835         * stdio-common/isoc99_vscanf.c: Likewise.
34836         * stdio-common/isoc99_vsscanf.c: Likewise.
34837         * stdio-common/printf-prs.c: Likewise.
34838         * stdio-common/printf_fp.c: Likewise.
34839         * stdio-common/printf_fphex.c: Likewise.
34840         * stdio-common/printf_size.c: Likewise.
34841         * stdio-common/putw.c: Likewise.
34842         * stdio-common/scanf.c: Likewise.
34843         * stdio-common/sprintf.c: Likewise.
34844         * stdio-common/tmpfile.c: Likewise.
34845         * stdio-common/vfprintf.c: Likewise.
34846         * stdio-common/vfscanf.c: Likewise.
34847         * stdlib/strfmon_l.c: Likewise.
34848         * sunrpc/openchild.c: Likewise.
34849         * sunrpc/xdr_stdio.c: Likewise.
34850         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34851         * sysdeps/mach/hurd/tmpfile.c: Likewise.
34852
34853 2012-05-24  Roland McGrath  <roland@hack.frob.com>
34854
34855         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34856
34857         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34858         in the third column, to generate for the shared library an IFUNC
34859         that uses _dl_vdso_vsym.
34860         * Makerules (COMPILE.c, compile-stdin.c): New variables.
34861         * Makeconfig (object-suffixes-noshared): New variable.
34862
34863         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34864         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34865         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34866         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34867
34868         [BZ #14132]
34869         * include/sys/time.h (__gettimeofday): Remove macro.
34870         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34871         * time/gettimeofday.c (__gettimeofday): Remove #undef.
34872         Remove INTDEF.
34873         (__gettimeofday): Add libc_hidden_def.
34874         (gettimeofday): Add libc_hidden_weak.
34875         * sysdeps/mach/gettimeofday.c: Likewise.
34876         * sysdeps/posix/gettimeofday.c: Likewise.
34877         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34878         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34879         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34880         (__gettimeofday_internal): Remove strong_alias.
34881         (__gettimeofday): Add libc_hidden_def.
34882         (gettimeofday): Add libc_hidden_weak.
34883         * sysdeps/unix/syscalls.list (gettimeofday):
34884         Remove __gettimeofday_internal alias.
34885
34886 2012-05-24  Daniel Jacobowitz  <drow@false.org>
34887             H.J. Lu  <hongjiu.lu@intel.com>
34888
34889         [BZ #12495]
34890         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34891         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34892         (largebin_index_32_big): New.
34893         (largebin_index): Use it for 16-byte alignment.
34894         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
34895         correction with front_misalign.
34896
34897 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34898
34899         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34900         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34901         Likewise.
34902         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34903         Likewise.
34904         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34905         Likewise.
34906         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34907         Likewise.
34908         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34909         Likewise.
34910         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34911         Likewise.
34912         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34913         Likewise.
34914         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34915         Likewise.
34916         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34917         Likewise.
34918         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34919         Likewise.
34920         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34921         Likewise.
34922         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34923         Likewise.
34924
34925         * scripts/data/c++-types-x32-linux-gnu.data: New file.
34926         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34927
34928 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34929
34930         [BZ #10846]
34931         [BZ #14036]
34932         * math/libm-test.inc (exp_test): Add test from bug 14036.
34933         (pow_test): Add test from bug 10846.
34934
34935         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34936         and other flags.
34937         (special_function): Do not include flags in test name.
34938         (parse_args): Likewise.
34939         * sysdeps/i386/fpu/libm-test-ulps: Update.
34940         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34941         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34942         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34944
34945         * math/gen-libm-test.pl (%beautify): Add entries for underflow
34946         exceptions.
34947         * math/libm-test.inc ("Philosophy"): Update comment about
34948         exception testing.
34949         (UNDERFLOW_EXCEPTION): New macro.
34950         (UNDERFLOW_EXCEPTION_OK): Likewise.
34951         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34952         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34953         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34954         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34955         (INVALID_EXCEPTION_OK): Update value.
34956         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34957         (OVERFLOW_EXCEPTION_OK): Likewise.
34958         (IGNORE_ZERO_INF_SIGN): Likewise.
34959         (test_exceptions): Handle underflow exceptions.
34960         (acos_test): Update for underflow exception expectations.
34961         (cexp_test): Likewise.
34962         (clog_test): Likewise.
34963         (clog10_test): Likewise.
34964         (csqrt_test): Likewise.
34965         (ctan_test): Likewise.
34966         (ctanh_test): Likewise.
34967         (exp_test): Likewise.
34968         (exp10_test): Likewise.
34969         (exp2_test): Likewise.
34970         (expm1_test): Likewise.
34971         (fma_test): Likewise.
34972         (j0_test): Likewise.
34973         (jn_test): Likewise.
34974         (nexttoward_test): Likewise.
34975         (pow_test): Likewise.
34976         (scalbn_test): Likewise.
34977         (scalbln_test): Likewise.
34978         (tan_test): Likewise.
34979         (y1_test): Likewise.
34980         * sysdeps/i386/fpu/libm-test-ulps: Update.
34981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34982
34983 2012-05-23  David S. Miller  <davem@davemloft.net>
34984
34985         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34986         (__libc_sigaction): Remove unused local variables.
34987
34988 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34989
34990         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34991
34992 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
34993
34994         mktime: avoid signed integer overflow
34995         * time/mktime.c (__mktime_internal): Do not mishandle the case
34996         where diff == INT_MIN.
34997
34998         mktime: simplify computation of average
34999         * time/mktime.c (ranged_convert): Use new time_t_avg function
35000         instead of rolling our own (probably-slower) code.
35001
35002         mktime: do not assume signed right shift propagates sign bit
35003         * time/mktime.c (isdst_differ): New static function.
35004         (__mktime_internal): No need to normalize tm_isdst now.
35005         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35006         tm_isdst values.
35007
35008         mktime: merge another wrapv change from gnulib
35009         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35010         from some compilers.
35011
35012         mktime: remove incorrect attempt at unusual arithmetics
35013         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35014         The code didn't really work on such machines anyway.
35015         (TYPE_MINIMUM): Assume two's complement.
35016         (twos_complement_arithmetic): Verify that long_int and time_t
35017         are two's complement (or unsigned, in the latter case).
35018
35019         mktime: check signed shifts on long_int and time_t, too
35020         * time/mktime.c (SHR): Check that shifts work as desired
35021         on the types long_int and time_t too, as SHR is used on
35022         such types.
35023
35024         mktime: do not assume 'long' is wide enough
35025         * time/mktime.c (verify): Move decl up.
35026         (long_int): New type.
35027         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35028         to remove assumption in the code that 'long' is wide enough to
35029         store year values.  This assumption is not true on x32 and on
35030         some non-glibc platforms.
35031
35032         mktime: merge wrapv change from gnulib
35033         * time/mktime.c (WRAPV): New macro.
35034         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35035         (guess_time_tm, __mktime_internal): Do not assume that signed
35036         integer overflow wraps around; modern compilers generate code
35037         where this assumption is no longer valid.
35038
35039 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35040
35041         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35042         Replace "jmp L(pseudo_end)" with "ret".
35043         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35044         Likewise.
35045
35046 2012-05-23  Andreas Jaeger  <aj@suse.de>
35047
35048         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35049         * sysdeps/unix/sysv/linux/poll.c: Remove file.
35050
35051 2012-05-23  Andreas Jaeger  <aj@suse.de>
35052             Maximilian Attems  <max@stro.at>
35053
35054         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35055         New macros.
35056
35057 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35058
35059         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35060         code so that pseudo_end is just ret and the stack pointer is
35061         correct also for static library in error case.
35062
35063 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
35064
35065         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35066         move to syscalls.list.
35067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35071
35072         * manual/install.texi (Running make install): Do not mention Linux
35073         kernel version for which pt_chown is not needed.
35074         (Linux): Do not mention problems with nscd with 2.0 kernels.
35075         * INSTALL: Regenerated.
35076
35077 2012-05-23  Andreas Jaeger  <aj@suse.de>
35078
35079         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35080         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35081         macro.
35082         * sysdeps/unix/sysv/linux/s390/bits/mman.h
35083         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35084         * sysdeps/unix/sysv/linux/sh/bits/mman.h
35085         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35086         * sysdeps/unix/sysv/linux/i386/bits/mman.h
35087         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35088         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35089         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35090         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35091         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35092         * sysdeps/unix/sysv/linux/bits/in.h
35093         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35094
35095 2012-05-22  Roland McGrath  <roland@hack.frob.com>
35096
35097         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35098         (PREPARE_VERSION): Just use assert instead, it will be elided
35099         under [NDEBUG] anyway.
35100
35101 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35102
35103         * sysdeps/unix/sysv/linux/Makefile: Include
35104         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35105         (sysdep_routines): Remove sysctl.
35106         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35107         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35108         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35109         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35110         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35111
35112 2012-05-22  Andreas Jaeger  <aj@suse.de>
35113
35114         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35115         that pseudo_end is just ret and the stack pointer is correct also
35116         for static library in error case.
35117
35118 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35119
35120         [BZ #14122]
35121         * nss/nsswitch.c (defconfig_entries): New variable.
35122         (__nss_database_lookup): Don't leak defconfig entries.
35123         (nss_parse_service_list): Don't leak on error paths.
35124         (free_database_entries): New function.
35125         (free_defconfig): New function.
35126         (free_mem): Move common code to free_database_entries.
35127
35128 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35129
35130         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35131         Add arch_prctl.
35132         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35133
35134         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35135         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35136         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
35137         New macro.
35138         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
35139         (INTERNAL_SYSCALL_TYPES): Likewise.
35140         (LOAD_ARGS_TYPES_[1-6]): Likewise.
35141         (LOAD_REGS_TYPES_[1-6]): Likewise.
35142         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
35143         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
35144
35145 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35146
35147         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
35148         copysignl for GLIBC_2_0.
35149         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
35150         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
35151         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
35152         logbl for GLIBC_2_0.
35153         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35154         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35155
35156 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35157
35158         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
35159         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35160
35161         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35162         Use "neg %eax".
35163
35164         * time/mktime.c: Update copyright years.
35165
35166 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35167
35168         mktime: merge comment-quoting-style change from gnulib
35169         * time/mktime.c: Quote 'like this' in comments.
35170         The GNU coding standards suggest that we no longer quote `like this',
35171         as "`" and "'" are typically rendered asymmetrically nowadays.
35172         The typical gnulib style is to quote 'like this' when quoting
35173         code, and "like this" when quoting English.
35174
35175         * time/mktime.c (compile-command): Add "-I.".
35176
35177         mktime: merge mktime-internal.h change from gnulib
35178         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
35179
35180         mktime: merge time_r change from gnulib
35181         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
35182
35183         mktime: merge DEBUG change from gnulib
35184         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
35185         case system <time.h> has a #define.
35186
35187         mktime: merge <sys/types.h> change from gnulib
35188         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
35189         since <time.t> is now guaranteed to define time_t.
35190
35191         mktime: merge HAVE_CONFIG_H change from gnulib
35192         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
35193
35194 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35195
35196         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35197         Use "neg %eax".
35198
35199         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
35200         __rlim_t cast.
35201         (struct rusage): Use anonymous union to pad each field to
35202         __syscall_slong_t.
35203
35204 2012-05-21  David S. Miller  <davem@davemloft.net>
35205
35206         * Makefules (o-iterator): Remove .s cases.
35207         (compile-command.s): Delete.
35208         (COMPILE.s): Delete.
35209         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
35210
35211 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
35212
35213         * configure.in (libc_cv_predef_stack_protector): Only consider
35214         "foobar" and "__stack_chk_fail" lines in libc_undefs.
35215         * configure: Regenerated.
35216
35217 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35218
35219         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
35220         New macro.  Use R*LP on int and pointer.
35221         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
35222         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
35223         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
35224         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
35225
35226         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
35227         [__WORDSIZE_TIME64_COMPAT32] instead of
35228         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
35229         (struct utmp): Likewise.
35230         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
35231         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
35232         Renamed to ...
35233         (__WORDSIZE_TIME64_COMPAT32): This.
35234         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
35235         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
35236         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
35237         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
35238         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
35239         (__WORDSIZE_TIME64_COMPAT32): New macro.
35240
35241 2012-05-21  Andreas Jaeger  <aj@suse.de>
35242
35243         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
35244         only if [SHARED]. Add prototype for __wcschr_ia32.
35245
35246 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35247
35248         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
35249         of %rbp unmolested in the jmp_buf while mangling the low bits.
35250         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
35251         unmolested high bits of %rbp while demangling the low bits.
35252         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35253
35254 2012-05-21  Andreas Jaeger  <aj@suse.de>
35255
35256         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
35257         * sunrpc/svc_simple.c: Use it for registerrpc.
35258         * sunrpc/xcrypt.c: Use it for passwd2des.
35259
35260         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
35261
35262 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35263
35264         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
35265         Don't define if [__SYSCALL_WORDSIZE != 32].
35266         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
35267         New macro.
35268
35269 2012-05-21  Bruno Haible  <bruno@clisp.org>
35270             Andreas Jaeger  <aj@suse.de>
35271
35272         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
35273         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
35274         inptr and inend for must_buffer_ch.
35275         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
35276         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
35277         * stdio-common/Makefile (tests): Remove bug15.
35278         (bug15-ENV): Remove macro.
35279         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35280         anymore.
35281
35282 2012-05-19  Andreas Jaeger  <aj@suse.de>
35283             Roland McGrath  <roland@hack.frob.com>
35284
35285         * manual/contrib.texi: Completely rewritten. It contains now an
35286         alphabetical list of contributors and their contributions.
35287
35288 2012-05-21  Richard Henderson  <rth@twiddle.net>
35289
35290         * misc/getauxval.c (__getauxval): Use unsigned long int.
35291         * misc/sys/auxv.h: Include <sys/cdefs.h>.
35292         (getauxval): Use unsigned long int.
35293
35294 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
35295
35296         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35297
35298 2012-05-21  Roland McGrath  <roland@hack.frob.com>
35299
35300         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35301         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35302         __alignof__ (long double).
35303
35304 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35305
35306         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35307
35308 2012-05-20  Richard Henderson  <rth@twiddle.net>
35309
35310         * misc/getauxval.c: New file.
35311         * misc/sys/auxv.h: New file.
35312         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35313         (routines): Add getauxval.
35314         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35315         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35316         * elf/dl-sysdep.c (_dl_auxv): Remove.
35317         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35318         * elf/dl-support.c (_dl_auxv): New variable.
35319         (_dl_aux_init): Initialize it.
35320         * manual/startup.texi (Auxiliary Vector): New node.
35321         * sysdeps/generic/bits/hwcap.h: New file.
35322         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35323         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
35324         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35325         * sysdeps/sparc/sysdep.h: ... here.  Include it.
35326         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35327         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
35328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35329         Update.
35330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35333         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35334         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35335         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35336         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35337         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35338
35339 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35340
35341         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35342
35343 2012-05-19  David S. Miller  <davem@davemloft.net>
35344
35345         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35346
35347 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35348
35349         [BZ #14123]
35350         * math/s_ccosh.c: Include <float.h>
35351         (__ccosh): Avoid internal overflow calculating sinh and cosh
35352         values before multiplying by sin and cos values.
35353         * math/s_ccoshf.c: Likewise.
35354         * math/s_ccoshl.c: Likewise.
35355         * math/s_csin.c: Likewise.
35356         * math/s_csinf.c: Likewise.
35357         * math/s_csinl.c: Likewise.
35358         * math/s_csinh.c: Likewise.
35359         * math/s_csinhf.c: Likewise.
35360         * math/s_csinhl.c: Likewise.
35361         * math/libm-test.inc (ccos_test): Add more tests.
35362         (ccosh_test): Likewise.
35363         (csin_test): Likewise.
35364         (csinh_test): Likewise.
35365         * sysdeps/i386/fpu/libm-test-ulps: Update.
35366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35367
35368 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
35369
35370         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35371         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35372
35373         * sysdeps/x86_64/x32/_itoa.h: Add comment.
35374
35375 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
35376
35377         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35378         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35379         * sysdeps/powerpc/soft-fp/Versions: Likewise.
35380         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35381         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35382         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35383         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35384         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35385         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35386         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35387         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35388         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35389         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35390         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35391         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35392         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35393         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35394         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35395         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35396         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35397         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35398         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35399         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35400         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35401         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35402         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35403         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35404         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35405         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35406         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35407         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35408
35409 2012-05-18  Andreas Jaeger  <aj@suse.de>
35410
35411         * csu/.gitignore: Delete.
35412
35413 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35414
35415         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35416         (timex): Use __syscall_slong_t.
35417
35418 2012-05-18  Andreas Jaeger  <aj@suse.de>
35419             Carlos O'Donell  <carlos_odonell@mentor.com>
35420
35421         * manual/install.texi (Configuring and compiling): Update
35422         description about files modified in the source directory.
35423         * INSTALL: Regenerated.
35424
35425 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35426
35427         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35428         value.  Use "or" to set return value to -1.
35429         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35430         negate return value.
35431
35432 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35433
35434         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35435         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35436         failure if the compiler has Graphite support disabled.
35437         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35438         Likewise.
35439         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35440         (CFLAGS-memmove.c): Likewise.
35441         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35442         Likewise.
35443
35444 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35445
35446         * sysdeps/x86_64/x32/_itoa.h: New file.
35447
35448         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35449         getdents system call only if kernel and user dirents have the
35450         same d_ino and d_off.
35451
35452         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35453         LLONG_MAX != LONG_MAX.
35454         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35455         (_fitoa_word): Likewise.
35456
35457         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35458         years.
35459         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35460         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35461         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35462
35463         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35464         include <bits/wordsize.h>.  Check __x86_64__ instead of
35465         __WORDSIZE.
35466         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35467         if __x86_64__ is defined.  Use anonymous union on fpstate.
35468
35469         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35470         anonymous union.
35471
35472 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
35473
35474         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35475         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35476         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35477         Refer to _rtld_local_ro instead of _rtld_global_ro.
35478         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35479         Likewise.
35480         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35481         Likewise.
35482         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35483         Likewise.
35484         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35485         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35486         of _rtld_global, and rtld_progname instead of _dl_argv[0].
35487
35488         * sysdeps/powerpc/powerpc32/dl-machine.c
35489         (__elf_machine_runtime_setup) [PROF]: Don't reference
35490         _dl_prof_resolve.
35491
35492 2012-05-18  Andreas Jaeger  <aj@suse.de>
35493
35494         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35495         function only available for GCCs before 3.4 since GCC 3.4
35496         introduced a builtin.
35497         (lrint): Likewise.
35498         (llrintf): Likewise.
35499         (llrint): Likewise.
35500         (fmaxf): Likewise.
35501         (fmax): Likewise.
35502         (fminf): Likewise.
35503         (fmin): Likewise.
35504         (rint): Likewise.
35505         (rintf): Likewise.
35506         (nearbyint): Likewise.
35507         (nearbyintf): Likewise.
35508         (ceil): Likewise.
35509         (ceilf): Likewise.
35510         (floor): Likewise.
35511         (floorf): Likewise.
35512
35513 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35514
35515         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35516         on both fields and cast pointer to __syscall_ulong_t.
35517
35518         * bits/types.h (__fsword_t): New type.
35519         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35520         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35521         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35522         (__FSWORD_T_TYPE): Likewise.
35523         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35524         (__FSWORD_T_TYPE): Likewise.
35525         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35526         (__FSWORD_T_TYPE): Likewise.
35527         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35528         (__FSWORD_T_TYPE): Likewise.
35529         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35530         __SWORD_TYPE with __fsword_t.
35531         (statfs64): Likewise.
35532
35533 2012-05-17  David S. Miller  <davem@davemloft.net>
35534
35535         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35536
35537 2012-05-17  Andreas Jaeger  <aj@suse.de>
35538
35539         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35540         warning.
35541
35542 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35543
35544         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35545
35546 2012-05-17  Andreas Jaeger  <aj@suse.de>
35547
35548         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35549         when it is used.
35550
35551 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35552
35553         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35554
35555 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35556
35557         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35558         * sysdeps/x86_64/tst-mallocalign1.c: New file.
35559
35560 2012-05-17  Andreas Jaeger  <aj@suse.de>
35561             Carlos O'Donell  <carlos_odonell@mentor.com>
35562
35563         [BZ #14059]
35564         * sysdeps/x86_64/multiarch/init-arch.h
35565         (bit_YMM_Usable): Rename to...
35566         (bit_AVX_Usable): ... this.
35567         (bit_FMA4_Usable): New macro.
35568         (bit_XMM_state): New macro.
35569         (bit_YMM_state): New macro.
35570         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35571         [__ASSEMBLER__] (index_AVX_Usable): ... this.
35572         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35573         (CPUID_OSXSAVE): New macro.
35574         (CPUID_AVX): New macro.
35575         (CPUID_FMA4): New macro.
35576         (index_YMM_Usable): Rename to...
35577         (index_AVX_Usable): ... this.
35578         (HAS_AVX): Use HAS_ARCH_FEATURE.
35579         (HAS_FMA4): Likewise.
35580         (HAS_YMM_USABLE): Remove.
35581         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35582         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35583         are present.
35584         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35585         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35586         * sysdeps/x86_64/multiarch/Makefile: Likewise.
35587         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35588         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35589
35590 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35591
35592         * math/libm-test.c: Support platforms without multiple rounding modes.
35593         * math/bug-nextafter.c: Support platforms without FP exceptions.
35594         * math/bug-nexttoward.c: Likewise.
35595         * math/test-fenv.c: Likewise.
35596         * math/test-misc.c: Likewise.
35597         * stdlib/bug-getcontext.c: Likewise.
35598
35599 2012-05-17  Andreas Jaeger  <aj@suse.de>
35600
35601         * manual/examples/search.c (critter_cmp): Change signature to
35602         avoid warnings.
35603         * manual/string.texi (Collation Functions): Likewise.
35604
35605 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35606
35607         * bits/types.h: Fold copyright years.
35608         * bits/typesizes.h: Likewise.
35609         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35610         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35611         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35612         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35613         * time/time.h: Likewise.
35614
35615 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
35616
35617         [BZ #208]
35618         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35619         in instead of returning them.  Return void.
35620         (__libc_mallinfo): Accumulate over all arenas.
35621         (__malloc_stats): Adjust for change in int_mallinfo interface.
35622
35623 2012-05-16  Roland McGrath  <roland@hack.frob.com>
35624
35625         [BZ #10375]
35626         * configure.in (NM): Add AC_CHECK_TOOL for it.
35627         (libc_extra_cflags): New substituted variable.
35628         Check for -fstack-protector being used implicitly.
35629         * configure: Regenerated.
35630         * config.make.in (config-extra-cflags): New variable,
35631         gets @libc_extra_cflags@.
35632         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35633
35634         [BZ #10375]
35635         * configure.in: Check for _FORTIFY_SOURCE being predefined.
35636         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35637         * configure: Regenerated.
35638         * config.make.in (CPPUNDEFS): New substituted variable.
35639         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35640         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35641         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35642
35643 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35644
35645         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35646         (mq_attr): Use __syscall_slong_t.
35647
35648 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35649
35650         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35651         Check __x86_64__ instead of __WORDSIZE.
35652         (_STAT_VER_LINUX): Likewise.
35653         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
35654         __syscall_ulong_t and __syscall_slong_t.
35655         (stat64): Likewise.
35656
35657 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35658
35659         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35660
35661 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35662
35663         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35664
35665 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35666
35667         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35668         __syscall_ulong_t.
35669
35670         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35671         include <bits/wordsize.h>.  Check __x86_64__ instead of
35672         __WORDSIZE.
35673         (greg_t): Use "__extension__ long long int" if __x86_64__ is
35674         defined.
35675         (mcontext_t): Replace "unsigned long" with "unsigned long long".
35676
35677         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35678         include <bits/wordsize.h>.  Check __x86_64__ instead of
35679         __WORDSIZE.
35680         (user_regs_struct): Use "__extension__ unsigned long long"
35681         instead of "unsigned long" if __x86_64__ is defined.
35682         (user): Likewise.  Pad after pointer field if __ILP32__ is
35683         defined.
35684
35685 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
35686
35687         * configure.in (makeinfo): Require version 4.5 or later.  Allow
35688         versions 5 to 9.
35689         * configure: Regenerated.
35690         * manual/install.texi (texinfo): Increase version requirement to
35691         4.5 or later.
35692         * INSTALL: Regenerated.
35693
35694         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35695
35696 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35697
35698         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35699
35700         * sysdeps/x86_64/x32/ffs.c: New file.
35701
35702         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35703         __syscall_ulong_t.
35704         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35705         defined.  Use __syscall_ulong_t.
35706         (shminfo): Use __syscall_ulong_t.
35707         (shm_info): Likewise.
35708
35709         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35710         __syscall_ulong_t.
35711
35712         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35713         <bits/wordsize.h>.
35714         (msgqnum_t): Use __syscall_ulong_t.
35715         (msglen_t): Likewise.
35716         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
35717         __syscall_ulong_t.
35718
35719         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35720         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35721
35722         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35723
35724         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35725         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35726
35727         * sysvipc/sys/msg.h (msgbuf): Replace long int with
35728         __syscall_slong_t.
35729
35730         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35731         include <bits/wordsize.h>.  Check __x86_64__ instead of
35732         __WORDSIZE.
35733
35734         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35735         "unsigned long long int" if __x86_64__ is defined.
35736         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35737
35738         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35739         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35740         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35741
35742         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35743         <stdint.h>.
35744         (GET_PC): Cast to uintptr_t first.
35745         (GET_FRAME): Likewise.
35746         (GET_STACK): Likewise.
35747
35748         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35749         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35750         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35751         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35752         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35753         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35754         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35755         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35756         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35757         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35758         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35759         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35760         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35761         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35762         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35763         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35764         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35765         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35766         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35767         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35768         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35769         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35770         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35771         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35772         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35773         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35774         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35775         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35776         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35777
35778 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
35779
35780         * Makerules (+depfiles): Also collect depfiles from .oS in
35781         $(extra-objs).
35782         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35783         .oS, $(libnldbl-routines)).
35784
35785         * Makerules (native-compile-mkdep-flags): Define.
35786         * sunrpc/Makefile (extra-objs): Add $(addprefix
35787         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35788         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35789         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
35790         calling $(make-target-directory).
35791
35792 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35793
35794         * bits/types.h (__snseconds_t): Removed.
35795         * time/time.h (struct timespec): Replace __snseconds_t with
35796         __syscall_slong_t.
35797         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35798         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35799         Likewise.
35800         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35801         (__SNSECONDS_T_TYPE): Likewise.
35802         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35803         (__SNSECONDS_T_TYPE): Likewise.
35804         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35805         (__SNSECONDS_T_TYPE): Likewise.
35806
35807 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35808
35809         * sysdeps/mach/hurd/bits/typesizes.h
35810         (__SYSCALL_SLONG_TYPE): New macro.
35811         (__SYSCALL_ULONG_TYPE): Likewise.
35812
35813 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35814
35815         * bits/types.h (__syscall_slong_t): New type.
35816         (__syscall_ulong_t): Likewise.
35817
35818         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35819         (__SYSCALL_ULONG_TYPE): Likewise.
35820         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35821         (__SYSCALL_SLONG_TYPE): Likewise.
35822         (__SYSCALL_ULONG_TYPE): Likewise.
35823         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35824         (__SYSCALL_SLONG_TYPE): Likewise.
35825         (__SYSCALL_ULONG_TYPE): Likewise.
35826         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35827         (__SYSCALL_SLONG_TYPE): Likewise.
35828         (__SYSCALL_ULONG_TYPE): Likewise.
35829
35830 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35831
35832         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35833         Add sigaltstack-offsets.sym.
35834         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35835         <sigaltstack-offsets.h>.
35836         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
35837         longjmp_msg pointer.
35838         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
35839         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35840         signal stack.
35841         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35842
35843 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35844
35845         * elf/stackguard-macros.h: Remove file.
35846         * sysdeps/generic/stackguard-macros.h: New file.
35847         * sysdeps/i386/stackguard-macros.h: Likewise.
35848         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35849         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35850         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35851         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35852         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35853         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35854         * sysdeps/x86_64/stackguard-macros.h: Likewise.
35855         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35856         <elf/stackguard-macros.h>.
35857
35858         [BZ #14109]
35859         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35860         __aligned__ in attribute.
35861         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35862         (gregset_t): Likewise.
35863
35864 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35865
35866         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35867         * sysdeps/x86_64/64/Implies-after: Here.  New file.
35868         * sysdeps/x86_64/x32/Implies-after: New file.
35869
35870 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35871
35872         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35873         and access return value for _dl_profile_fixup.  Use R10_LP to
35874         load frame size.
35875
35876 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35877
35878         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35879
35880 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35881
35882         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35883         * sysdeps/x86_64/x32/sysdep.h: New file.
35884
35885 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35886
35887         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35888         * sysdeps/x86_64/setjmp.S: Likewise.
35889
35890 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35891
35892         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35893         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35894         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35895         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35896         remove unused global constant.
35897
35898 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
35899
35900         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35901         include of <not-cancel.h>.
35902
35903 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35904
35905         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35906
35907 2012-05-15  Jeff Law  <law@redhat.com>
35908             Andreas Jaeger  <aj@suse.de>
35909
35910         [BZ #13594]
35911         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35912         out from...
35913         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35914         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35915         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35916         code changing __hst_map_handle.map.
35917
35918 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35919
35920         * configure.in (sysnames): Look for Implies-before and Implies-after
35921         files.
35922         * configure: Regenerated.
35923
35924 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35925
35926         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35927         8-byte data alignment with LP_SIZE alignment.
35928
35929 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35930
35931         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35932         into R10_LP.
35933
35934 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35935
35936         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35937
35938 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35939
35940         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35941         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35942         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35943         Likewise.
35944         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35945
35946 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35947
35948         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35949         (stackinfo_sub_sp): Likewise.
35950
35951 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35952
35953         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35954         RAX_LP.
35955
35956 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35957
35958         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35959         into R*_LP.
35960
35961 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35962
35963         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35964         sizes into R*_LP.
35965
35966 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35967
35968         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35969
35970 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35971
35972         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35973         into R11_LP and load __x86_64_shared_cache_size_half into
35974         R8_LP.
35975
35976 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35977
35978         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35979         R8_LP.
35980
35981 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35982
35983         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35984         logb for POWER7.
35985         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35986         logbf for POWER7.
35987         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35988         logbl for POWER7.
35989         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35990         powerpc32/power7/fpu/s_logb.c via #include.
35991         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35992         powerpc32/power7/fpu/s_logbf.c via #include.
35993         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35994         powerpc32/power7/fpu/s_logbl.c via #include.
35995
35996 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35997
35998         * README.libm: Remove file.
35999
36000 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36001
36002         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36003         count for x32.  Use R*_LP and omit operand-size suffix.
36004
36005 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36006
36007         * shlib-versions: Move x86_64-.*-linux.* entries to ...
36008         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
36009         * sysdeps/x86_64/x32/shlib-versions: New file.
36010
36011 2012-05-14  Roland McGrath  <roland@hack.frob.com>
36012
36013         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36014         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36015         Use _dl_fatal_printf instead.
36016
36017 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36018
36019         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36020         set if not set by the user.  Do not allow for being unset.
36021         * sysdeps/unix/sysv/linux/configure: Regenerated.
36022
36023 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36024
36025         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36026         the `q' suffix from lea and replace .quad with ASM_ADDR.
36027
36028 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36029
36030         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36031         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
36032         instead of $17.
36033         (PTR_DEMANGLE): Likewise.
36034
36035 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36036
36037         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36038         (LP_OP): Likewise.
36039         (ASM_ADDR): Likewise.
36040         (RAX_LP): Likewise.
36041         (RBP_LP): Likewise.
36042         (RBX_LP): Likewise.
36043         (RCX_LP): Likewise.
36044         (RDI_LP): Likewise.
36045         (RSI_LP): Likewise.
36046         (RSP_LP): Likewise.
36047         (R8_LP): Likewise.
36048         (R9_LP): Likewise.
36049         (R10_LP): Likewise.
36050         (R10_LP): Likewise.
36051         (R11_LP): Likewise.
36052         (R12_LP): Likewise.
36053         (R13_LP): Likewise.
36054         (R14_LP): Likewise.
36055         (R15_LP): Likewise.
36056
36057 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36058
36059         * sysdeps/x86_64/x32/dl-machine.h: New file.
36060
36061 2012-05-14  Andreas Jaeger  <aj@suse.de>
36062
36063         * manual/Makefile (subdir): Remove export of subdir.
36064         (all): Remove target.
36065         (.PHONY): Remove all from list.
36066         (mkinstalldirs): Remove.
36067         (.PHONY): Remove installdirs from list.
36068         ($(inst_infodir)/libc.info): Use make-target-directory.
36069         (installdirs): Remove.
36070         (subdir_%): Remove.
36071         (glibc-targets): Remove.
36072         (lib): Remove.
36073         (stubs): Remove.
36074         ($(objpfx)stubs ../po/manual.pot): Remove.
36075         ($(objpfx)stamp%): Remove.
36076         (make-target-directory): Remove.
36077         (subdir_install): Remove.
36078         (routines): Remove.
36079         (aux): Remove.
36080         (sources): Remove.
36081         (objects): Remove.
36082         (headers): Remove.
36083
36084         [BZ #13750]
36085         * manual/.gitignore: Remove, it's not needed anymore.
36086         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36087         all files in it.
36088         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36089         directory.
36090         (texis): Renamed to $(objpfx)texis.
36091         (texis-path): New, contains path to generated files.
36092         (chapters.%): Use texis-path for complete path, add extra argument
36093         libc-texinfo.sh.
36094         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36095         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36096         (summary,texi, stamp-summary): Use complete path of
36097         files. Generate files in build dir.
36098         (dir-add.texi): Build in build dir.
36099         (libm-err.texi,stamp-libm-err): Likewise.
36100         (version.texi, stamp-version): Likewise.
36101         (.%c.texi): Likewise.
36102         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36103         (mostlyclean): Remove target.
36104         (realclean): Remove target.
36105         (generated): Add new variable with contents from mostlyclean and
36106         realclean, remove entries duplicated in common-mostlyclean, add
36107         stamp-libm-err and stamp-version.
36108         (generated-dirs): Add libc directory.
36109         ($(inst_infodir)/libc.info): Install files from build dir.
36110
36111         * manual/install.texi (Configuring and compiling): Adjust since
36112         the info files are not part of the tar ball anymore.
36113
36114 2012-05-14  Andreas Jaeger  <aj@suse.de>
36115
36116         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36117         variable.
36118
36119 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36120
36121         [BZ #13717]
36122         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36123         to 2.2.0 where earlier.
36124         * sysdeps/unix/sysv/linux/configure: Regenerated.
36125         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36126         Remove conditional code.
36127         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36128         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36129         Remove conditional code.
36130         [!__NR_lchown]: Likewise.
36131         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36132         [__NR_lchown]: Likewise.
36133         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36134         comment referencing __ASSUME_LCHOWN_SYSCALL.
36135         * sysdeps/unix/sysv/linux/i386/sigaction.c
36136         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36137         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36138         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
36139         Remove conditional code.
36140         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
36141         (__protocol_available): Remove #if 0 code.
36142         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
36143         conditional code.
36144         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
36145         * sysdeps/unix/sysv/linux/kernel-features.h
36146         (__ASSUME_GETCWD_SYSCALL): Don't define.
36147         (__ASSUME_REALTIME_SIGNALS): Likewise.
36148         (__ASSUME_PREAD_SYSCALL): Likewise.
36149         (__ASSUME_PWRITE_SYSCALL): Likewise.
36150         (__ASSUME_POLL_SYSCALL): Likewise.
36151         (__ASSUME_LCHOWN_SYSCALL): Likewise.
36152         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
36153         non-SPARC.
36154         (__ASSUME_SIOCGIFNAME): Don't define.
36155         (__ASSUME_MSG_NOSIGNAL): Likewise.
36156         (__ASSUME_SENDFILE): Define unconditionally.
36157         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
36158         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
36159         conditional code.
36160         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
36161         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
36162         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36163         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36164         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
36165         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
36166         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
36168         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36169         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36171         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36172         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
36174         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36175         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
36177         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36178         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
36180         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36181         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36183         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
36184         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
36186         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36187         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36189         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36190         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36191         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
36192         Remove conditional code.
36193         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36194         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36195         Remove conditional code.
36196         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36197         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
36198         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
36199         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36200         Remove conditional code.
36201         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36202         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
36203         Remove conditional code.
36204         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36205         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
36206         Remove conditional code.
36207         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36208         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
36209         Remove conditional code.
36210         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
36211         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
36212         Remove conditional code.
36213         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36214         * sysdeps/unix/sysv/linux/sh/pwrite64.c
36215         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
36216         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
36217         * sysdeps/unix/sysv/linux/sigaction.c
36218         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36219         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36220         * sysdeps/unix/sysv/linux/sigpending.c
36221         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36222         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36223         * sysdeps/unix/sysv/linux/sigprocmask.c
36224         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36225         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36226         * sysdeps/unix/sysv/linux/sigsuspend.c
36227         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
36228         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
36229         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36230         (__libc_missing_rt_sigs): Remove.
36231         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
36232         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
36233         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
36234         Remove conditional code.
36235         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
36236         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
36237         return 1.
36238         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
36239         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
36240         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
36241         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
36242
36243 2012-05-14  Andreas Jaeger  <aj@suse.de>
36244
36245         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
36246         it's not used in glibc.
36247         (__coshm1): Likewise.
36248         (__acosh1p): Likewise.
36249         (__sgn): Likewise.
36250
36251         * manual/string.texi (Copying and Concatenation): Add missing
36252         variable in concat example.
36253         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36254
36255 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36256
36257         [BZ #14103]
36258         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
36259         __builtin_clzl with __builtin_clzll.
36260
36261 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36262
36263         [BZ #14104]
36264         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
36265         libc_freeres_ptr.
36266
36267 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36268
36269         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
36270         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
36271         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
36272         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
36273
36274 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
36275
36276         * NEWS: Update ia64 info.
36277
36278 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
36279
36280         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36281         used as bcopy.
36282
36283 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
36284
36285         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36286         * sysdeps/unix/syscalls.list (dup3): Likewise.
36287         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36288         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36289
36290 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36291
36292         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36293         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36294
36295 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
36296
36297         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36298         thread pointer.
36299         (TLS_IE): Use mov/add instead of movq/addq to load thread
36300         pointer.
36301         (TLS_GD_PREFIX): New.
36302         (TLS_GD): Use it.
36303
36304 2012-05-11  David S. Miller  <davem@davemloft.net>
36305
36306         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36307         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36308         (_FPU_SETCW): Likewise.
36309
36310 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36311
36312         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36313         is 32-byte aligned.
36314
36315 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
36316
36317         [BZ #11837]
36318         * iconvdata/gb18030.c: Update tables.
36319         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
36320         characters specially.
36321         (BODY for TO_LOOP): Add encoding of missing ranges.
36322
36323 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
36324
36325         [BZ #13673]
36326         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36327         * sysdeps/mach/hurd/dup3.c: Likewise.
36328         * sysdeps/mach/hurd/readlinkat.c: Likewise.
36329         * sysdeps/powerpc/memmove.c:: Likewise.
36330
36331 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36332
36333         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36334         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36335
36336 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36337
36338         * elf/elf.h (R_X86_64_RELATIVE64): New.
36339         (R_X86_64_NUM): Updated.
36340         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36341         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
36342         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36343         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36344         tst-quad1pie tst-quad2pie
36345         (modules-names): Add tst-quadmod1 tst-quadmod2.
36346         ($(objpfx)tst-quad1): New dependency.
36347         ($(objpfx)tst-quad2): Likewise.
36348         ($(objpfx)tst-quad1pie): Likewise.
36349         ($(objpfx)tst-quad2pie): Likewise.
36350         * sysdeps/x86_64/tst-quad1.c: New file.
36351         * sysdeps/x86_64/tst-quad1pie.c: New file.
36352         * sysdeps/x86_64/tst-quad2.c: Likewise.
36353         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36354         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36355         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36356         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36357         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36358
36359 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36360
36361         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36362         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36363         * streams/stropts.h (t_scalar_t): Define type.
36364
36365         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36366         (_PATH_PRESERVE): Set to "/var/lib".
36367         (_PATH_RWHODIR): Set to "/var/spool/rwho".
36368
36369         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36370         instead of int.
36371
36372         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36373         if __dir_mkfile succeeded.
36374
36375         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36376         checking for _hurd_dtablesize.  Unlock it right after having
36377         finished _hurd_dtable allocation.
36378
36379 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36380
36381         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36382         * sysdeps/mach/hurd/configure: Regenerated.
36383         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36384         special-casing to...
36385         * sysdeps/gnu/configure.in: ... this new file.
36386         * sysdeps/unix/sysv/linux/configure: Regenerated.
36387         * sysdeps/gnu/configure: New generated file.
36388
36389         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36390         for Linux: use nsec instead of usec, as well as:
36391         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36392         members of type struct timespec.
36393         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36394         New macros.
36395         (struct stat64): Likewise.
36396         (_STATBUF_ST_NSEC): New macro.
36397         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36398
36399         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36400         __strtoul_internal rather than strtoul.
36401
36402 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36403
36404         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36405         and reject them.
36406
36407 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36408
36409         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36410         which preserves existing values.
36411         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36412
36413 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36414
36415         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36416         TIMEOUT values.  Return EINVAL for NFDS values either negative or
36417         greater than FD_SETSIZE.
36418
36419 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36420
36421         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36422         allocated, call __vm_protect to finish enabling the existing space, and
36423         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36424         allocate the remainder.
36425
36426 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36427
36428         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36429         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
36430
36431 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36432
36433         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36434         sysdeps/mach/hurd/readlink.c.
36435
36436         * posix/tst-sysconf.c (posix_options): Only use
36437         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36438         _POSIX_SYNCHRONIZED_IO when they are defined
36439         * sysdeps/mach/hurd/bits/posix_opt.h:
36440         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36441         (_XOPEN_REALTIME): Undefine macro.
36442         (_XOPEN_REALTIME_THREADS): Undefine macro.
36443         (_XOPEN_SHM): Undefine macro.
36444         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36445         macro to -1.
36446         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36447         macro to -1.
36448         (_POSIX_ASYNC_IO): Undefine macro.
36449         (_POSIX_PRIORITIZED_IO): Undefine macro.
36450         (_POSIX_SPIN_LOCKS): Define macro to -1.
36451
36452         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36453         SA_NODEFER, SA_RESETHAND.
36454         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36455         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36456         F_DUPFD_CLOEXEC.
36457
36458 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36459
36460         * elf/Makefile (pldd-modules): Define unconditionally.
36461
36462 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36463
36464         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36465
36466 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36467
36468         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36469         Return ENOENT when name is empty.
36470         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36471
36472 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36473
36474         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36475
36476         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36477
36478 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36479
36480         Fix mlock in all cases except non-readable pages.
36481         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36482         instead of VM_PROT_ALL as parameter to __vm_wire function.
36483
36484         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36485         (__mkdir): When path is `/', just fail with EEXIST.
36486         * sysdeps/mach/hurd/mkdirat.c: Likewise.
36487
36488 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36489
36490         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36491         <sys/uio.h> (for writev).
36492         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36493         and <sys/param.h> (for MIN).
36494
36495 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36496
36497         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36498         REQUESTED_TIME.  Properly set the remaining time and return EINTR
36499         if interrupted.
36500
36501 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36502
36503         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36504         Depend on against $(link-rpcuserlibs).
36505
36506 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36507
36508         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36509         (__libc_stack_end): Do not use attribute_relro.
36510         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36511         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36512         to libthread-provided value.
36513         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36514         attribute_relro.
36515
36516 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36517
36518         [BZ #3748]
36519         * bits/libc-lock.h (__libc_once_get): New macro.
36520         * sysdeps/mach/bits/libc-lock.h: Likewise.
36521         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36522         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36523         instead of using implementation details.
36524
36525         * libio/fileops.c: Unconditionally include <kernel-features.h>.
36526         * libio/freopen.c: Likewise.
36527         * libio/freopen64.c: Likewise.
36528         * misc/syslog.c: Likewise.
36529         * nscd/connections.c: Likewise.
36530         * nscd/netgroupcache.c: Likewise.
36531         * sysdeps/posix/getcwd.c: Likewise.
36532
36533 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36534
36535         * math/w_ilogbf.c: Add #include <limits.h>.
36536
36537 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36538
36539         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36540         path instead of returning without unlocking.
36541
36542         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36543         immediate-write ioctls.
36544         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36545
36546 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36547
36548         * sysdeps/mach/hurd/i386/init-first.c (init): Use
36549         __builtin_frame_address instead of making assumptions about the
36550         location of the return address relative to DATA.  Force early load of
36551         the return address.
36552         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36553         __builtin_frame_address.
36554
36555         dup3 for GNU Hurd.
36556         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36557         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
36558         implement dup3 and do some further code clean-ups.
36559         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36560         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36561
36562 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36563
36564         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36565
36566         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36567         HURD_CRITICAL_END around holding _hurd_dtable_lock.
36568         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36569         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36570         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36571         d->port.lock.
36572
36573         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36574         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
36575         when handler == SIG_ERR, not when handler != SIG_ERR.
36576
36577 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36578
36579         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36580         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36581         definitions.
36582
36583         accept4 for GNU Hurd.
36584         * include/sys/socket.h (__libc_accept4): New prototype.
36585         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
36586         to implement __libc_accept4.
36587         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36588         __libc_accept4.
36589         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36590
36591         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36592         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36593         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36594         signal-defines.sym.
36595
36596 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36597
36598         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36599
36600 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36601
36602         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36603         assertion on O_CLOEXEC flag.
36604         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36605         * hurd/intern-fd.c: Likewise.
36606         * hurd/port2fd.c: Likewise.
36607
36608 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36609
36610         [BZ #3906]
36611         * bits/in.h (IPV6_PKTINFO): Define new macro.
36612         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36613
36614 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36615
36616         [BZ #13954]
36617         [BZ #13955]
36618         [BZ #13956]
36619         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36620         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36621         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36622         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36623         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36624         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36625         * math/libm-test.inc (logb_test) : Additional logb tests.
36626
36627 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
36628             Andreas Jaeger  <aj@suse.de>
36629
36630         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36631         * configure: Regenerated.
36632         * config.h.in (LINK_OBSOLETE_RPC): New macro.
36633         * config.make.in (link-obsolete-rpc): New substituted variable.
36634         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36635         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36636         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36637         (shared-only-routines): Don't set it under [link-obsolete-rpc],
36638         so that libc.a contains the symbols.
36639         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36640         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36641         * sunrpc/auth_none.c: Likewise.
36642         * sunrpc/auth_unix.c: Likewise.
36643         * sunrpc/authdes_prot.c: Likewise.
36644         * sunrpc/authuxprot.c: Likewise.
36645         * sunrpc/clnt_gen.c: Likewise.
36646         * sunrpc/clnt_perr.c: Likewise.
36647         * sunrpc/clnt_raw.c: Likewise.
36648         * sunrpc/clnt_simp.c: Likewise.
36649         * sunrpc/clnt_tcp.c: Likewise.
36650         * sunrpc/clnt_udp.c: Likewise.
36651         * sunrpc/clnt_unix.c: Likewise.
36652         * sunrpc/des_crypt.c: Likewise.
36653         * sunrpc/des_soft.c: Likewise.
36654         * sunrpc/get_myaddr.c: Likewise.
36655         * sunrpc/key_call.c: Likewise.
36656         * sunrpc/key_prot.c: Likewise.
36657         * sunrpc/netname.c: Likewise.
36658         * sunrpc/pm_getmaps.c: Likewise.
36659         * sunrpc/pm_getport.c: Likewise.
36660         * sunrpc/pmap_clnt.c: Likewise.
36661         * sunrpc/pmap_prot.c: Likewise.
36662         * sunrpc/pmap_prot2.c: Likewise.
36663         * sunrpc/pmap_rmt.c: Likewise.
36664         * sunrpc/publickey.c: Likewise.
36665         * sunrpc/rpc_cmsg.c: Likewise.
36666         * sunrpc/rpc_common.c: Likewise.
36667         * sunrpc/rpc_dtable.c: Likewise.
36668         * sunrpc/rpc_prot.c: Likewise.
36669         * sunrpc/rpc_thread.c: Likewise.
36670         * sunrpc/rtime.c: Likewise.
36671         * sunrpc/svc.c: Likewise.
36672         * sunrpc/svc_auth.c: Likewise.
36673         * sunrpc/svc_raw.c: Likewise.
36674         * sunrpc/svc_run.c: Likewise.
36675         * sunrpc/svc_tcp.c: Likewise.
36676         * sunrpc/svc_udp.c: Likewise.
36677         * sunrpc/svc_unix.c: Likewise.
36678         * sunrpc/svcauth_des.c: Likewise.
36679         * sunrpc/xcrypt.c: Likewise.
36680         * sunrpc/xdr.c: Likewise.
36681         * sunrpc/xdr_array.c: Likewise.
36682         * sunrpc/xdr_float.c: Likewise.
36683         * sunrpc/xdr_intXX_t.c: Likewise.
36684         * sunrpc/xdr_mem.c: Likewise.
36685         * sunrpc/xdr_rec.c: Likewise.
36686         * sunrpc/xdr_ref.c: Likewise.
36687         * sunrpc/xdr_sizeof.c: Likewise.
36688         * sunrpc/xdr_stdio.c: Likewise.
36689
36690 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36691
36692         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36693         change.  Update copyright years.
36694
36695 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36696
36697         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36698
36699 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
36700             Joseph Myers  <joseph@codesourcery.com>
36701             Paul Pluzhnikov  <ppluzhnikov@google.com>
36702
36703         [BZ #14012]
36704         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36705         requiring rpcgen.
36706         [cross-compiling] (extra-libs): Likewise.
36707         [cross-compiling] (extra-libs-others): Likewise.
36708         [cross-compiling] (librpcsvc-routines): Likewise.
36709         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36710         [cross-compiling] (omit-deps): Likewise.
36711         (sunrpc-CPPFLAGS): New variable.
36712         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36713         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36714         (cross-rpcgen-objs): New variable.
36715         (extra-objs): Append $(cross-rpcgen-objs).
36716         ($(cross-rpcgen-objs)): New rule.
36717         ($(objpfx)cross-rpcgen): Likewise.
36718         (rpcgen-cmd): Define to use $(built-program-file).  Expand
36719         comment.
36720         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36721         ($(objpfx)x%.stmp): Likewise.
36722         * sunrpc/proto.h [IS_IN_build] (_): Define.
36723         [IS_IN_build] (_libc_intl_domainname): Likewise.
36724
36725 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36726
36727         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36728         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36729         and R_X86_64_TPOFF64.
36730
36731 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36732
36733         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36734         sysdeps/unix/sysv/syscalls.list.
36735         (stime): Likewise.
36736         (utime): Likewise.
36737         * sysdeps/unix/sysv/syscalls.list: Remove file.
36738
36739 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
36740
36741         [BZ #3440]
36742         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36743         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36744         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36745         (__LC_IDENTIFICATION): Make these macros useful in #if
36746         expressions, as required by C99.
36747
36748 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
36749
36750         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36751         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
36752         after this.
36753
36754 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
36755
36756         * stdlib/longlong.h: Updated from GCC.
36757
36758 2012-05-09  Andreas Jaeger  <aj@suse.de>
36759
36760         * nscd/nscd.c (run_modes): Make named enum, reorder so that
36761         default is first entry.
36762         (run_mode): Set type.
36763         (main): Remove informal message about syslog.
36764         (options): Fix typo.
36765
36766         [BZ #14053]
36767         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36768         to asm.
36769         (lrint): Likewise.
36770         (llrintf): Likewise.
36771         (llrint): Likewise.
36772         (rint): Likewise.
36773         (rintf): Likewise.
36774         (nearbyint): Likewise.
36775         (nearbyintf): Likewise.
36776
36777 2012-05-09  Andreas Jaeger  <aj@suse.de>
36778             Pedro Alves  <palves@redhat.com>
36779
36780         * nscd/nscd.c (run_mode): Use enum.
36781         (main): Cleanup coding style issue.
36782
36783 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
36784             Andreas Jaeger  <aj@suse.de>
36785
36786         * nscd/nscd.c (go_background): Replaced with...
36787         (run_mode): ... this.
36788         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36789         (options): Add -F --foreground.
36790         (main): Implement it.
36791         (parse_opt): Parse it.
36792
36793 2012-05-09  Andreas Jaeger  <aj@suse.de>
36794
36795         [BZ #14083]
36796         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36797         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36798         -Wconversion warning.
36799         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36800         Likewise.
36801
36802 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
36803
36804         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
36805         == 0.
36806         (LC_ALL): Use macro-int-constant.
36807         (LC_COLLATE): Likewise.
36808         (LC_CTYPE): Likewise.
36809         (LC_MESSAGES): Likewise.
36810         (LC_MONETARY): Likewise.
36811         (LC_NUMERIC): Likewise.
36812         (LC_TIME): Likewise.
36813         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36814         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36815         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36816         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36817         Specify type.
36818         [C99-based standards] (float_t): Expect type.
36819         [C99-based standards] (double_t): Expect type.
36820         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
36821         type.
36822         [C99-based standards] (HUGE_VALL): Likewise.
36823         [C99-based standards] (INFINITY): Likewise.
36824         [C99-based standards] (NAN): Likewise.
36825         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36826         [C99-based standards] (FP_NAN): Likewise.
36827         [C99-based standards] (FP_NORMAL): Likewise.
36828         [C99-based standards] (FP_SUBNORMAL): Likewise.
36829         [C99-based standards] (FP_ZERO): Likewise.
36830         [C99-based standards] (FP_FAST_FMA): Use
36831         optional-macro-int-constant.  Specify type.  Require == 1.
36832         [C99-based standards] (FP_FAST_FMAF): Likewise.
36833         [C99-based standards] (FP_FAST_FMAL): Likewise.
36834         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36835         [C99-based standards] (FP_ILOGBNAN): Likewise.
36836         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36837         Specify type.
36838         [C99-based standards] (MATH_ERREXCEPT): Likewise.
36839         [C99-based standards] (math_errhandling): Specify type.
36840         [ISO99 || ISO11] (signgam): Do not allow.
36841         [non-C99-based standards] (copysignf): Do not allow.
36842         [non-C99-based standards] (exp2f): Likewise.
36843         [non-C99-based standards] (log2f): Likewise.
36844         [non-C99-based standards] (modff): Allow.
36845         [non-C99-based standards] (erff): Do not allow.
36846         [non-C99-based standards] (erfcf): Likewise.
36847         [non-C99-based standards] (gammaf): Likewise.
36848         [non-C99-based standards] (hypotf): Likewise.
36849         [non-C99-based standards] (j0f): Likewise.
36850         [non-C99-based standards] (j1f): Likewise.
36851         [non-C99-based standards] (jnf): Likewise.
36852         [non-C99-based standards] (lgammaf): Likewise.
36853         [non-C99-based standards] (tgammaf): Likewise.
36854         [non-C99-based standards] (y0f): Likewise.
36855         [non-C99-based standards] (y1f): Likewise.
36856         [non-C99-based standards] (ynf): Likewise.
36857         [non-C99-based standards] (isnanf): Likewise.
36858         [non-C99-based standards] (acoshf): Likewise.
36859         [non-C99-based standards] (asinhf): Likewise.
36860         [non-C99-based standards] (atanhf): Likewise.
36861         [non-C99-based standards] (cbrtf): Likewise.
36862         [non-C99-based standards] (expm1f): Likewise.
36863         [non-C99-based standards] (ilogbf): Likewise.
36864         [non-C99-based standards] (log1pf): Likewise.
36865         [non-C99-based standards] (logbf): Likewise.
36866         [non-C99-based standards] (nextafterf): Likewise.
36867         [non-C99-based standards] (remainderf): Likewise.
36868         [non-C99-based standards] (rintf): Likewise.
36869         [non-C99-based standards] (scalbf): Likewise.
36870         [non-C99-based standards] (copysignl): Likewise.
36871         [non-C99-based standards] (exp2l): Likewise.
36872         [non-C99-based standards] (log2l): Likewise.
36873         [non-C99-based standards] (modfl): Allow.
36874         [non-C99-based standards] (erfl): Do not allow.
36875         [non-C99-based standards] (erfcl): Likewise.
36876         [non-C99-based standards] (gammal): Likewise.
36877         [non-C99-based standards] (hypotl): Likewise.
36878         [non-C99-based standards] (j0l): Likewise.
36879         [non-C99-based standards] (j1l): Likewise.
36880         [non-C99-based standards] (jnl): Likewise.
36881         [non-C99-based standards] (lgammal): Likewise.
36882         [non-C99-based standards] (tgammal): Likewise.
36883         [non-C99-based standards] (y0l): Likewise.
36884         [non-C99-based standards] (y1l): Likewise.
36885         [non-C99-based standards] (ynl): Likewise.
36886         [non-C99-based standards] (isnanl): Likewise.
36887         [non-C99-based standards] (acoshl): Likewise.
36888         [non-C99-based standards] (asinhl): Likewise.
36889         [non-C99-based standards] (atanhl): Likewise.
36890         [non-C99-based standards] (cbrtl): Likewise.
36891         [non-C99-based standards] (expm1l): Likewise.
36892         [non-C99-based standards] (ilogbl): Likewise.
36893         [non-C99-based standards] (log1pl): Likewise.
36894         [non-C99-based standards] (logbl): Likewise.
36895         [non-C99-based standards] (nextafterl): Likewise.
36896         [non-C99-based standards] (remainderl): Likewise.
36897         [non-C99-based standards] (rintl): Likewise.
36898         [non-C99-based standards] (scalbl): Likewise.
36899         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36900         [non-C99-based standards] (FP_*): Do not allow.
36901         [C99-based standards] (FP_*): Change to
36902         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36903         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36904         allow.
36905         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36906         (SIG_ERR): Likewise.
36907         [X/Open-based standards] (SIG_HOLD): Likewise.
36908         (SIG_IGN): Likewise.
36909         (SIGABRT): Use macro-int-constant.  Specify type.  Require
36910         positive value.
36911         (SIGFPE): Likewise.
36912         (SIGILL): Likewise.
36913         (SIGINT): Likewise.
36914         (SIGSEGV): Likewise.
36915         (SIGTER): Likewise.
36916         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36917         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36918         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36919         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36920         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36921         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36922         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36923         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36924         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36925         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36926         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36927         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36928         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36929         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36930         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36931         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36932         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36933         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36934         [X/Open-based standards] (SIGTRAP): Likewise.
36935         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36936         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36937         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36938         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36939         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36940         allow.
36941
36942 2012-05-08  Ian Wienand  <ianw@vmware.com>
36943
36944         [BZ #14080]
36945         * time/tzset.c (__tzset_parse_tz): Update default rules for
36946         daylight time changes in the Energy Policy Act of 2005.
36947
36948 2012-05-09  Andreas Jaeger  <aj@suse.de>
36949
36950         [BZ #13983]
36951         * elf/ldconfig.c (parse_conf): Change string to make clear that
36952         ldconfig only issued a warning if ld.so.conf does not exist.
36953
36954 2012-05-08  David S. Miller  <davem@davemloft.net>
36955
36956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36957         movxtod instead of popping the value on the stack.
36958
36959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36960
36961 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
36962
36963         * config.h.in: Add HAVE_ARM_PCS_VFP.
36964
36965 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
36966
36967         [BZ #13979]
36968         * include/features.h: Warn if user requests __FORTIFY_SOURCE
36969         checking but the checks are disabled for any reason.
36970
36971 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
36972
36973         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36974         and ELF64_R_TYPE with ELFW(R_TYPE).
36975
36976 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
36977
36978         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36979         (ulimit): Likewise.
36980
36981         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36982         (settimeofday): Likewise.
36983
36984 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
36985
36986         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
36987         a struct th_u2 inside the union, and move tu_block/tu_code into
36988         a new th_u3 union of tu_block/tu_code inside of that.  Move
36989         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
36990         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
36991         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36992         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36993         (th_stuff): Change to th_u1.tu_stuff.
36994         (th_data): Define.
36995         (th_msg): Change to th_u1.th_u2.tu_data.
36996
36997 2012-05-07  David S. Miller  <davem@davemloft.net>
36998
36999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37000
37001         [BZ #14074]
37002         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37003         (SETUP_PIC_REG): Use it.
37004         (SETUP_PIC_REG_LEAF): Use it.
37005
37006 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
37007
37008         [BZ #13885]
37009         [BZ #13923]
37010         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37011         USE_AS_EXPM1L.
37012         (EXPL_FINITE): Likewise.
37013         (FLDLOG): Likewise.
37014         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37015         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37016         e_expl.S.
37017         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37018         USE_AS_EXPM1L.
37019         (EXPL_FINITE): Likewise.
37020         (FLDLOG): Likewise.
37021         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37022         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37023         e_expl.S.
37024         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
37025         test of -max_value argument for long double.
37026         * sysdeps/i386/fpu/libm-test-ulps: Update.
37027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37028
37029 2012-05-06  David S. Miller  <davem@davemloft.net>
37030
37031         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37032         quad soft-float symbols whose references which are compiler
37033         generated.
37034         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37035
37036 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
37037
37038         [BZ #13884]
37039         [BZ #13914]
37040         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37041         USE_AS_EXP10L.
37042         (EXPL_FINITE): Likewise.
37043         (FLDLOG): Likewise.
37044         (c0): Likewise.
37045         (c1): Likewise.
37046         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37047         Adjust comments for base varying.
37048         (__expl_finite): Change alias to EXPL_FINITE.
37049         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37050         e_expl.S.
37051         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37052         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37053         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37054         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37055         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37056         USE_AS_EXP10L.
37057         (EXPL_FINITE): Likewise.
37058         (FLDLOG): Likewise.
37059         (c0): Likewise.
37060         (c1): Likewise.
37061         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37062         Adjust comments for base varying.
37063         (__expl_finite): Change alias to EXPL_FINITE.
37064         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
37065         tests for bugs.
37066         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37067
37068         [BZ #14064]
37069         * math/libm-test.inc (check_float_internal): Correct ulp
37070         calculation for subnormal expected results.
37071
37072 2012-05-06  Andreas Jaeger  <aj@suse.de>
37073
37074         * Makeconfig (+math-flags): New, set to -frounding-math.
37075         (+cflags): Add +math-flags so that all of glibc gets compiled with
37076         it.
37077
37078         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37079
37080 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
37081
37082         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37083         Disable one test.
37084
37085         [BZ #13787]
37086         [BZ #13922]
37087         [BZ #14036]
37088         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37089         (__ieee754_expl): Allow for and saturate large arguments.
37090         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37091         (u_threshold): Likewise.
37092         (__exp): Call __ieee754_exp before checking for overflow and
37093         underflow.
37094         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37095         (u_threshold): Likewise.
37096         (__expf): Call __ieee754_expf before checking for overflow and
37097         underflow.
37098         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37099         (u_threshold): Likewise.
37100         (__expl): Call __ieee754_expl before checking for overflow and
37101         underflow.
37102         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37103         (__ieee754_expl): Allow for and saturate large arguments.
37104         * math/libm-test.inc (exp_test): Add another test.  Do not allow
37105         missing overflow exception on overflow.
37106         (expm1_test): Do not allow missing overflow exception on overflow.
37107
37108         * sysdeps/i386/fpu/e_expl.c: Move to ...
37109         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
37110         rather than using inline asm.
37111         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37112         * sysdeps/x86_64/fpu/e_expl.S: Copy from
37113         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37114
37115         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37116         (nice): Likewise.
37117         (poll): Likewise.
37118         (signal): Likewise.
37119         (time): Likewise.
37120         (times): Likewise.
37121
37122 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37123
37124         * sysdeps/unix/syscalls.list (adjtime): Add entry from
37125         sysdeps/unix/common/syscalls.list.
37126         (fchmod): Likewise.
37127         (fchown): Likewise.
37128         (ftruncate): Likewise.
37129         (getrusage): Likewise.
37130         (gettimeofday): Likewise.
37131         (setpgid): Likewise.
37132         (setregid): Likewise.
37133         (setreuid): Likewise.
37134         (sigaction): Likewise.
37135         (truncate): Likewise.
37136         (vhangup): Likewise.
37137         * sysdeps/unix/common/syscalls.list: Remove file.
37138         * sysdeps/unix/bsd/Implies: Don't include unix/common.
37139         * sysdeps/unix/sysv/linux/Implies: Likewise.
37140
37141 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
37142
37143         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
37144         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
37145         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
37146         Moved to ...
37147         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37148         Here.
37149         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
37150         to ...
37151         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
37152         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
37153         to ...
37154         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
37155         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
37156         to ...
37157         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
37158         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
37159         to ...
37160         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
37161         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
37162         to ...
37163         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
37164         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
37165         to ...
37166         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
37167         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
37168         to ...
37169         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37170         Here.
37171         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
37172         to ...
37173         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
37174         Here.
37175         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
37176         to ...
37177         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
37178         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
37179         Moved to ...
37180         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
37181         Here.
37182         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
37183         to ...
37184         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
37185
37186 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37187
37188         * sysdeps/unix/common/bits/dirent.h: Remove file.
37189         * sysdeps/unix/common/bits/fcntl.h: Likewise.
37190
37191         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
37192         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
37193         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
37194         * sysdeps/unix/bsd/isatty.c: Likewise.
37195         * sysdeps/unix/bsd/tcdrain.c: Likewise.
37196         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
37197         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
37198
37199 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37200
37201         [BZ #13563]
37202         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
37203         long double comparison inaccuracies.
37204         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
37205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37206
37207 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
37208
37209         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
37210         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
37211
37212 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37213
37214         [BZ #14049]
37215         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
37216         nonzero digits before rounding a hex value.
37217         * stdlib/tst-strtod.c (tests): Add another test.
37218
37219 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37220
37221         * sysdeps/s390/fpu/libm-test-ulps: Update.
37222
37223 2012-05-03  Andreas Jaeger  <aj@suse.de>
37224
37225         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
37226         does not get optimized out.
37227         (malloc_opt_barrier): New.
37228
37229 2012-05-03  Andreas Jaeger  <aj@suse.de>
37230             Roland McGrath  <roland@hack.frob.com>
37231
37232         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
37233         intermediate file deletion.
37234         (generated): Add .symlist files.
37235
37236 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
37237
37238         [BZ #13775]
37239         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
37240         Redirect under this condition.
37241         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37242         [__USE_GNU] (__dprintf_chk): Not under this condition.
37243         [__USE_GNU] (__vdprintf_chk): Likewise.
37244         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
37245         under this condition.
37246         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
37247         [__USE_XOPEN2K8] (dprintf): Define under this condition.
37248         [__USE_XOPEN2K8] (vdprintf): Likewise.
37249         [__USE_GNU] (__dprintf_chk): Not under this condition.
37250         [__USE_GNU] (__vdprintf_chk): Likewise.
37251         [__USE_GNU] (dprintf): Likewise.
37252         [__USE_GNU] (vdprintf): Likewise.
37253
37254 2012-05-03  Roland McGrath  <roland@hack.frob.com>
37255
37256         * elf/Makefile (common-generated): Set this instead of generated for
37257         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
37258         $(all-built-dso)-derived lists.
37259
37260 2012-05-03  Andreas Jaeger  <aj@suse.de>
37261
37262         * sysdeps/i386/fpu/libm-test-ulps: Update.
37263
37264         * FAQ: Removed.
37265         * FAQ.in: Likewise.
37266         * scripts/gen-FAQ.pl: Likewise.
37267         * manual/install.texi (Installation): Point to online location of
37268         FAQ.
37269         * Makefile (files-for-dist): Remove FAQ.
37270         (FAQ): Remove.
37271
37272 2012-05-02  Allan McRae  <allan@archlinux.org>
37273
37274         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
37275         (LDFLAGS-reldepmod5.so): Likewise.
37276         (LDFLAGS-reldep6mod1.so): Likewise.
37277         (LDFLAGS-reldep6mod4.so): Likewise.
37278         (LDFLAGS-reldep8mod3.so): Likewise.
37279         (LDFLAGS-unload4mod1.so): Likewise.
37280         (LDFLAGS-unload4mod2.so): Likewise.
37281         (LDFLAGS-tst-initorder): Likewise.
37282         (LDFLAGS-tst-initordera2.so): Likewise.
37283         (LDFLAGS-tst-initordera3.so): Likewise.
37284         (LDFLAGS-tst-initordera4.so): Likewise.
37285         (LDFLAGS-tst-initorderb2.so): Likewise.
37286         (LDFLAGS-noload): Likewise.
37287         (LDFLAGS-next): Likewise.
37288         (LDFLAGS-order2mod1.so): Likewise.
37289         (LDFLAGS-order2mod2.so): Likewise.
37290         (LDFLAGS-tst-initorder2): Likewise.
37291         (LDFLAGS-tst-initorder2a.so): Likewise.
37292         (LDFLAGS-tst-initorder2b.so): Likewise.
37293         (LDFLAGS-tst-initorder2c.so): Likewise.
37294         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37295
37296 2012-05-02  David S. Miller  <davem@davemloft.net>
37297
37298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37299
37300 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37301
37302         [BZ #14055]
37303         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37304
37305 2012-05-02  Andreas Jaeger  <aj@suse.de>
37306
37307         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37308         since we manipulate rounding mode.
37309         (CPPFLAGS-test-idouble.c): Likewise.
37310         (CPPFLAGS-test-ifloat.c): Likewise.
37311         (CFLAGS-test-ldouble.c): Likewise.
37312         (CFLAGS-test-double.c): Likewise.
37313         (CFLAGS-test-float.c): Likewise.
37314         (CFLAGS-test-misc.c): Likewise.
37315         (CFLAGS-test-test-fenv.c): Likewise.
37316
37317 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37318
37319         [BZ #2550]
37320         [BZ #2570]
37321         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37322         comparisons to determine direction to adjust input.
37323
37324 2012-05-01  Roland McGrath  <roland@hack.frob.com>
37325
37326         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37327         output to the target.
37328
37329         * scripts/localplt.awk: New file.
37330         * elf/Makefile ($(objpfx)check-localplt): Target removed.
37331         (check-localplt-CFLAGS): Variable removed.
37332         ($(all-built-dso:=.jmprel)): New static pattern rule.
37333         (generated): Add those targets.
37334         (localplt-built-dso): New variable.
37335         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37336
37337         * elf/check-localplt.c: File removed.
37338
37339         * scripts/check-execstack.awk: New file.
37340         * elf/Makefile ($(objpfx)check-execstack): Target removed.
37341         (check-execstack-CFLAGS): Variable removed.
37342         ($(objpfx)check-execstack.h): Target removed.
37343         ($(objpfx)execstack-default): New target.
37344         (generated): Add that instead of check-execstack.h.
37345         ($(all-built-dso:=.phdr)): New static pattern rule.
37346         (generated): Add those targets.
37347         * elf/check-execstack.c: File removed.
37348
37349         * scripts/check-textrel.awk: New file.
37350         * elf/Makefile ($(objpfx)check-textrel): Target removed.
37351         (check-textrel-CFLAGS): Variable removed.
37352         (all-built-dso): Use := to define.o
37353         ($(all-built-dso:=.dyn)): New static pattern rule.
37354         (generated): Add those targets.
37355         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37356         * config.make.in (READELF): New substituted variable.
37357         * elf/check-textrel.c: File removed.
37358
37359 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37360
37361         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37362         allow.
37363         * conform/data/ctype.h-data [C99-based standards] (isblank):
37364         Expect function.
37365         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37366         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37367         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37368         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37369         Specify type.  Require positive value.
37370         (EILSEQ): Likewise.
37371         (ERANGE): Likewise.
37372         [ISO || POSIX] (EILSEQ): Do not expect.
37373         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37374         Specify type.  Require positive value.
37375         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37376         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37377         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37378         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37379         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37380         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37381         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37382         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37383         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37384         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37385         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37386         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37387         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37388         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37389         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37390         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37391         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37392         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37393         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37394         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37395         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37396         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37397         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37398         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37399         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37400         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37401         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37402         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37403         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37404         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37405         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37406         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37407         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37408         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37409         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37410         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37411         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37412         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37413         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37414         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37415         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37416         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37417         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37418         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37419         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37420         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37421         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37422         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37423         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37424         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37425         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37426         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37427         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37428         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37429         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37430         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37431         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37432         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37433         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37434         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37435         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37436         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37437         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37438         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37439         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37440         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37441         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37442         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37443         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37444         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37445         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37446         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37447         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37448         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37449         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37450         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37451         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37452         Require >= 2.
37453         (FLT_ROUNDS): Expect as macro, not constant.
37454         (FLT_MANT_DIG): Use macro-int-constant.
37455         (DBL_MANT_DIG): Likewise.
37456         (LDBL_MANT_DIG): Likewise.
37457         (FLT_DIG): Likewise.
37458         (DBL_DIG): Likewise.
37459         (LDBL_DIG): Likewise.
37460         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
37461         (DBL_MIN_EXP): Likewise.
37462         (LDBL_MIN_EXP): Likewise.
37463         (FLT_MAX_EXP): Use macro-int-constant.
37464         (DBL_MAX_EXP): Likewise.
37465         (LDBL_MAX_EXP): Likewise.
37466         (FLT_MAX_10_EXP): Likewise.
37467         (DBL_MAX_10_EXP): Likewise.
37468         (LDBL_MAX_10_EXP): Likewise.
37469         (FLT_MAX): Use macro-constant.
37470         (DBL_MAX): Likewise.
37471         (LDBL_MAX): Likewise.
37472         (FLT_EPSILON): Use macro-constant.  Give upper bound.
37473         (DBL_EPSILON): Likewise.
37474         (LDBL_EPSILON): Likewise.
37475         (FLT_MIN): Likewise.
37476         (DBL_MIN): Likewise.
37477         (LDBL_MIN): Likewise.
37478         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37479         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37480         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37481         [ISO11] (FLT_HAS_SUBNORM): Likewise.
37482         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37483         [ISO11] (DBL_DECIMAL_DIG): Likewise.
37484         [ISO11] (FLT_DECIMAL_DIG): Likewise.
37485         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37486         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37487         [ISO11] (FLT_TRUE_MIN): Likewise.
37488         [ISO11] (LDBL_TRUE_MIN): Likewise.
37489         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37490         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37491         (SCHAR_MIN): Use macro-int-constant.  Specify type.
37492         (SCHAR_MAX): Likewise.
37493         (UCHAR_MAX): Likewise.
37494         (CHAR_MIN): Likewise.
37495         (CHAR_MAX): Likewise.
37496         (MB_LEN_MAX): Use macro-int-constant.
37497         (SHRT_MIN): Use macro-int-constant.  Specify type.
37498         (SHRT_MAX): Likewise.
37499         (USHRT_MAX): Likewise.
37500         (INT_MAX): Likewise.
37501         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
37502         bound negative.
37503         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37504         bound with "U".
37505         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37506         bound with "L".
37507         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
37508         bound negative.  Suffix upper bound with "L".
37509         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37510         bound with "UL".
37511         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37512         Specify type.
37513         [C99-based standards] (LLONG_MAX): Likewise.
37514         [C99-based standards] (ULLONG_MAX): Likewise.
37515         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
37516         == 0.
37517         [ISO11] (max_align_t): Require type.
37518         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37519
37520         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37521         from $CFLAGS, without defining away __attribute__ calls.
37522         (checknamespace): Use $CFLAGS_namespace.
37523
37524         * conform/conformtest.pl (@keywords): Only include C99 keywords
37525         for standards based on C99 or C11.
37526
37527         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37528         Disable tests.
37529         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37530         UNIX98]: Likewise.
37531
37532         * conform/conformtest.pl: Handle "macro-int-constant" and test for
37533         usability of symbols in #if.
37534
37535         * conform/conformtest.pl: If macro or constant types start
37536         "promoted:", expect the symbol to be of the following type
37537         promoted by the integer promotions.
37538
37539         * conform/conformtest.pl: Parse all "constant" and "macro" lines
37540         in one place.  Also handle "macro-constant".
37541
37542         * conform/conformtest.pl: Only accept expected macro values with
37543         "==".  Parse all "macro" lines in one place.
37544         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37545
37546         * conform/conformtest.pl: Handle braced types on "constant" lines
37547         instead of handling "typed-constant".
37548         * conform/data/signal.h-data: Use "constant" instead of
37549         "typed-constant".
37550
37551         * conform/conformtest.pl: Handle "optional-" at start of lines in
37552         one place rather than duplicating several cases.  Handle each
37553         format of "macro" line with initial "optional-".
37554
37555         * conform/conformtest.pl: Only accept expected constant or
37556         optional-constant values with "==".  Parse all "constant" lines in
37557         one place.  Parse all "optional-constant" lines in one place.
37558         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37559         * conform/data/fmtmsg.h-data: Likewise.
37560         * conform/data/netinet/in.h-data: Likewise.
37561         * conform/data/tar.h-data: Likewise.
37562         * conform/data/limits.h-data: Use "==" form on "constant" and
37563         "optional-constant" lines.
37564
37565         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37566         Use -std=c99 for XOPEN2K.
37567         (@knownproblems): Remove.
37568         (newtoken): Don't check %isknown.
37569
37570         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37571         Do not expect macro.
37572         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37573         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37574         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37575         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37576         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37577         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37578         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37579         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37580         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37581         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37582         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37583         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37584         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37585         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37586         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37587         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37588         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37589         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37590         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37591         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37592         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37593         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37594         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37595         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37596         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37597         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37598         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37599         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37600         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37601         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37602         [XPG3] (acosh): Likewise.
37603         [XPG3] (asinh): Likewise.
37604         [XPG3] (atanh): Likewise.
37605         [XPG3] (cbrt): Likewise.
37606         [XPG3] (expm1): Likewise.
37607         [XPG3] (ilogb): Likewise.
37608         [XPG3] (log1p): Likewise.
37609         [XPG3] (logb): Likewise.
37610         [XPG3] (nextafter): Likewise.
37611         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37612         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37613         [XPG3] (remainder): Likewise.
37614         [XPG3] (rint): Likewise.
37615         [XPG3 || XPG4 || UNIX98] (round): Likewise.
37616         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37617         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37618         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37619         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37620         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37621         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37622         [UNIX98 || XOPEN2K] (scalb): Expect.
37623         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37624         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37625         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37626         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37627         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37628         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37629         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37630         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37631         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37632         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37633         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37634         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37635         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37636         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37637         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37638         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37639         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37640         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37641         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37642         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37643         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37644         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37645         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37646         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37647         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37648         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37649         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37650         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37651         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37652         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37653         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37654         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37655         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37656         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37657         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37658         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37659         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37660         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37661         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37662         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37663         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37664         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37665         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37666         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37667         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37668         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37669         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37670         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37671         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37672         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37673         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37674         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37675         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37676         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37677         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37678         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37679         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37680         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37681         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37682         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37683         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37684         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37685         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37686         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37687         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37688         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37689         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37690         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37691         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37692         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37693         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37694         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37695         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37696         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37697         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37698         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37699         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37700         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37701         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37702         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37703         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37704         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37705         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37706         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37707         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37708         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37709         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37710         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37711         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37712         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37713         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37714         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37715         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37716         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37717         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37718         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37719         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37720         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37721         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37722         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37723         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37724         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37725         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37726         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37727         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37728         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37729         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37730         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37731         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37732         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37733         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37734         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37735         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37736         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37737         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37738         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37739         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37740         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37741         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37742         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37743         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37744         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37745         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37746         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37747         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37748         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37749         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37750         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37751         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37752         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37753         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37754         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37755         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37756         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37757         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37758         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37759         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37760
37761         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37762         _XOPEN_SOURCE_EXTENDED for XPG4.
37763
37764         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37765
37766         * Makeconfig (localtime): Remove variable.
37767         (inst_localtime-file): Likewise.
37768
37769 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37770
37771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37772         Update.
37773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37774         Update.
37775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37776         Update.
37777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37778         Update.
37779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37780         Update.
37781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37782         Update.
37783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37784         Update.
37785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37786         Update.
37787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37788         Update.
37789
37790 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37791
37792         [BZ #2550]
37793         [BZ #2570]
37794         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37795         comparisons to determine direction to adjust input.
37796         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37797         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37798         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37799         Likewise.
37800         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37801         Likewise.
37802         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37803         Likewise.
37804         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37805         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37806         Likewise.
37807         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37808         Likewise.
37809         * math/libm-test.inc (nexttoward_test): Add more tests.
37810
37811 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37812
37813         [BZ #14040]
37814         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37815         in version GLIBC_2.1, not GLIBC_2.0.
37816         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37817         Likewise.
37818
37819 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
37820
37821         [BZ #13942]
37822         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37823         (1 - x) * (1 + x).
37824         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37825         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37826         * math/libm-test.inc (acos_test): Add more tests.
37827         (asin_test): Likewise.
37828         * sysdeps/i386/fpu/libm-test-ulps: Update.
37829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37830
37831         [BZ #14034]
37832         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37833         of square root.
37834         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37835         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37836         * math/libm-test.inc (acos_test_tonearest): New function.
37837         (acos_test_towardzero): Likewise.
37838         (acos_test_downward): Likewise.
37839         (acos_test_upward): Likewise.
37840         (asin_test_tonearest): Likewise.
37841         (asin_test_towardzero): Likewise.
37842         (asin_test_downward): Likewise.
37843         (asin_test_upward): Likewise.
37844         (main): Call the new functions.
37845         * sysdeps/i386/fpu/libm-test-ulps: Update.
37846         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37847
37848         [BZ #13884]
37849         [BZ #13924]
37850         * math/e_exp10.c: Include <float.h>.
37851         (__ieee754_exp10): Handle underflow here rather than multiplying
37852         large negative argument by M_LN10.
37853         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37854         of __ieee754_expf.
37855         * math/e_exp10l.c: Include <float.h>.
37856         (__ieee754_exp10l): Handle underflow here rather than multiplying
37857         large negative argument by M_LN10l.
37858         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
37859         spurious overflow exception on underflow.
37860
37861 2012-04-29  Marek Polacek  <polacek@redhat.com>
37862
37863         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37864         (__fortify_function): New macro.
37865         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37866         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37867         __extern_always_inline.
37868         * libio/bits/stdio2.h: Likewise.
37869         * libio/bits/stdio.h: Likewise.
37870         * string/string.h: Likewise.
37871         * string/bits/string3.h: Likewise.
37872         * include/stdio.h: Likewise.
37873         * stdlib/bits/stdlib.h: Likewise.
37874         * stdlib/stdlib.h: Likewise.
37875         * rt/bits/mqueue2.h: Likewise.
37876         * rt/mqueue.h: Likewise.
37877         * posix/bits/unistd.h: Likewise.
37878         * posix/unistd.h: Likewise.
37879         * io/bits/poll2.h: Likewise.
37880         * io/bits/fcntl2.h: Likewise.
37881         * io/fcntl.h: Likewise.
37882         * io/sys/poll.h: Likewise.
37883         * misc/bits/syslog.h: Likewise.
37884         * misc/bits/syslog-ldbl.h: Likewise.
37885         * misc/sys/syslog.h: Likewise.
37886         * socket/bits/socket2.h: Likewise.
37887         * socket/sys/socket.h: Likewise.
37888         * debug/tst-chk1.c: Likewise.
37889         * wcsmbs/bits/wchar2.h: Likewise.
37890         * wcsmbs/bits/wchar-ldbl.h: Likewise.
37891         * wcsmbs/wchar.h: Likewise.
37892
37893 2012-04-29  Andreas Jaeger  <aj@suse.de>
37894
37895         * Makerules (tests): Remove enable-check-abi protection.
37896         (check-abi-warn): Remove.
37897         (check-abi-%): Remove check-abi-warn usage.
37898
37899         * configure.in: Remove check-abi configure option.
37900         * configure: Regenerated.
37901         * config.make.in (enable-check-abi): Remove.
37902
37903 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
37904
37905         [BZ #14033]
37906         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37907         double functions to double *_finite functions.
37908
37909         [BZ #13941]
37910         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37911         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37912         LDBL_MIN_EXP.
37913         * stdio-common/Makefile (tests): Add tst-sprintf3.
37914         * stdio-common/tst-sprintf3.c: New file.
37915
37916         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37917         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37918
37919 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37920
37921         * conform/conformtest.pl: Remove duplicate typed-constant
37922         handling.
37923
37924 2012-04-28  David S. Miller  <davem@davemloft.net>
37925
37926         * Makerules (%.abilist): Add vpath on sysdep_dirs.
37927         (check-abi-%): Remove AWK script prerequisite and explicit
37928         abilist directory.
37929         (check-abi): Rewrite to just diff the symlist with the abilist.
37930         (config-tls, config-abi-config): Delete, no longer used.
37931         (update-abi-%): Remove AWK script and explicit abilist directory.
37932         (update-abi): Rewrite to simply compare and conditionally copy the
37933         symlist and the sysdep abilist file.  Remove update-abi-config
37934         checks.
37935         * abilist/ld.abilist: Remove.
37936         * abilist/libBrokenLocale.abilist: Remove.
37937         * abilist/libanl.abilist: Remove.
37938         * abilist/libcrypt.abilist: Remove.
37939         * abilist/libdl.abilist: Remove.
37940         * abilist/librt.abilist: Remove.
37941         * abilist/libthread_db.abilist: Remove.
37942         * abilist/libutil.abilist: Remove.
37943         * scripts/extract-abilist.awk: Remove.
37944         * scripts/merge-abilist.awk: Remove.
37945         * sysdeps/generic/libcidn.abilist: New file.
37946         * sysdeps/generic/libnss_compat.abilist: New file.
37947         * sysdeps/generic/libnss_db.abilist: New file.
37948         * sysdeps/generic/libnss_dns.abilist: New file.
37949         * sysdeps/generic/libnss_files.abilist: New file.
37950         * sysdeps/generic/libnss_hesiod.abilist: New file.
37951         * sysdeps/generic/libnss_nis.abilist: New file.
37952         * sysdeps/generic/libnss_nisplus.abilist: New file.
37953         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37954         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37955         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37956         file.
37957         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37958         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37959         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37960         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37961         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37962         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37963         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37964         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37965         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37966         file.
37967         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37968         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37969         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37970         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37971         file.
37972         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37973         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37974         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37975         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37976         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37977         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37978         file.
37979         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37980         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37981         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37982         file.
37983         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37984         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37985         New file.
37986         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37987         New file.
37988         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37989         New file.
37990         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37991         New file.
37992         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37993         New file.
37994         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37995         New file.
37996         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37997         New file.
37998         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37999         New file.
38000         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38001         New file.
38002         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38003         New file.
38004         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38005         New file.
38006         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38007         New file.
38008         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38009         New file.
38010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38011         file.
38012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38013         New file.
38014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38015         New file.
38016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38017         file.
38018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38019         New file.
38020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38021         New file.
38022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38023         file.
38024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38025         New file.
38026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38027         New file.
38028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38029         New file.
38030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38031         New file.
38032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38033         New file.
38034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38035         New file.
38036         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38037         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38038         file.
38039         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38040         New file.
38041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38042         file.
38043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38044         file.
38045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38046         file.
38047         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38048         file.
38049         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38050         file.
38051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38052         New file.
38053         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38054         file.
38055         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38056         file.
38057         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38058         New file.
38059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38060         file.
38061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38062         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38063         file.
38064         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38065         New file.
38066         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38067         file.
38068         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38069         file.
38070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38071         file.
38072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38073         file.
38074         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38075         file.
38076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38077         New file.
38078         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38079         file.
38080         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38081         file.
38082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38083         New file.
38084         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38085         file.
38086         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38087         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38088         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38089         file.
38090         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38091         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38092         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38093         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38094         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38095         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38096         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38097         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38098         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38099         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38100         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38101         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38102         file.
38103         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38104         New file.
38105         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38106         file.
38107         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38108         file.
38109         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38110         file.
38111         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38112         file.
38113         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38114         file.
38115         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38116         New file.
38117         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38118         New file.
38119         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38120         file.
38121         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38122         New file.
38123         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38124         file.
38125         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38126         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38127         file.
38128         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38129         New file.
38130         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38131         file.
38132         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38133         file.
38134         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38135         file.
38136         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
38137         file.
38138         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
38139         file.
38140         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38141         New file.
38142         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38143         New file.
38144         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
38145         file.
38146         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38147         New file.
38148         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
38149         file.
38150
38151 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38152
38153         * conform/conformtest.pl: Fix typo in handling typed-constant from
38154         allow-header.
38155
38156 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38157
38158         * README: Cut down references to pre-2.6 Linux kernels and
38159         Linuxthreads.  Update lists of configurations in libc and ports
38160         and sort alphabetically.  Say "or newer" with Linux kernel version
38161         requirements.
38162
38163         * config.h.in [IS_IN_build]: Allow compiling without optimization.
38164
38165 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38166
38167         [BZ #887]
38168         * math/libm-test.inc (logb_test_downward): New test to expose
38169         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
38170         rounding mode.
38171
38172 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
38173
38174         [BZ #14027]
38175         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
38176         to be done.
38177         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
38178         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
38179
38180 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
38181
38182         * sysdeps/unix/i386/brk.S: Remove file.
38183         * sysdeps/unix/i386/dl-brk.S: Likewise.
38184         * sysdeps/unix/i386/pipe.S: Likewise.
38185         * sysdeps/unix/i386/sigreturn.S: Likewise.
38186         * sysdeps/unix/i386/syscall.S: Likewise.
38187         * sysdeps/unix/i386/vfork.S: Likewise.
38188         * sysdeps/unix/i386/wait.S: Likewise.
38189
38190         * sysdeps/unix/common/tcsendbrk.c: Move to ...
38191         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
38192
38193         * configure.in (arm*-none*): Do not allow without
38194         --enable-hacker-mode.
38195         (netbsd*): Remove case setting base_os.
38196         (386bsd*): Likewise.
38197         (freebsd*): Likewise.
38198         (bsdi*): Likewise.
38199         (osf*): Likewise.
38200         (sunos*): Likewise.
38201         (ultrix*): Likewise.
38202         (newsos*): Likewise.
38203         (dynix*): Likewise.
38204         (*bsd*): Likewise.
38205         (sysv*): Likewise.
38206         (isc*): Likewise.
38207         (esix*): Likewise.
38208         (sco*): Likewise.
38209         (minix*): Likewise.
38210         (irix4*): Likewise.
38211         (irix6*): Likewise.
38212         (solaris[2-9]*): Likewise.
38213         (none): Likewise.
38214         * configure: Regenerated.
38215
38216 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38217
38218         [BZ #11521]
38219         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
38220         overflow or cancellation in calculating denominator.
38221         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
38222         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
38223         down expression to avoid unexpected rounding in newer GCCs.
38224         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
38225
38226 2012-04-26  David S. Miller  <davem@davemloft.net>
38227
38228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
38229         long-double compat symbols.
38230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
38234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38235         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
38236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
38237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
38238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
38239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
38241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
38242         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38243
38244 2012-04-25  David S. Miller  <davem@davemloft.net>
38245
38246         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
38247         HWCAP_* values only after the memory barriers have been defined.
38248         (atomic_full_barrier): Define.
38249         (atomic_read_barrier): Define.
38250         (atomic_write_barrier): Define.
38251
38252 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38253
38254         * shlib-versions: Add libgcc_s version information.
38255         * sysdeps/generic/libgcc_s.h: Remove.
38256         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
38257         libgcc_s.h.
38258         * sysdeps/gnu/unwind-resume.c: Likewise.
38259         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
38260
38261 2012-04-25  David S. Miller  <davem@davemloft.net>
38262
38263         * sysdeps/unix/sparc/brk.S: Delete.
38264         * sysdeps/unix/sparc/dl-brk.S: Delete.
38265         * sysdeps/unix/sparc/pipe.S: Delete.
38266         * sysdeps/unix/sparc/sysdep.S: Delete.
38267         * sysdeps/unix/sparc/sysdep.h: Delete.
38268         * sysdeps/unix/sparc/vfork.S: Delete.
38269         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
38270         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
38271         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
38272         (ret_ERRVAL, r0, r1, MOVE): Define.
38273         (JUMPTARGET): Remove.
38274         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
38275         sysdeps/unix/sparc/sysdep.h
38276         (ENTRY, END): Remove.
38277         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38278
38279 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
38280
38281         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38282         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38283         -DIS_IN_build.
38284
38285         * timezone/README: Update upstream location and email address for
38286         tzcode and tzdata.
38287         * timezone/zdump.c: Update from tzcode 2012b.
38288         * timezone/zic.c: Likewise.
38289
38290         * configure.in (libc_cv_as_needed): Remove test.
38291         * configure: Regenerated.
38292         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38293         conditional definition.
38294         [$(have-as-needed) != yes] (no-as-needed): Likewise.
38295         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38296         * config.make.in (have-as-needed): Remove variable.
38297
38298 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38299             Paul Pluzhnikov  <ppluzhnikov@google.com>
38300
38301         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38302         strings correctly.
38303
38304 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
38305
38306         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38307         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38308         * sysdeps/sh/strlen.S: Likewise.
38309
38310 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38311
38312         * sysdeps/unix/fork.S: Remove file.
38313         * sysdeps/unix/i386/fork.S: Likewise.
38314         * sysdeps/unix/sparc/fork.S: Likewise.
38315
38316         * sysdeps/unix/system.c: Remove file.
38317         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38318
38319         * sysdeps/unix/getegid.S: Remove file.
38320         * sysdeps/unix/geteuid.S: Likewise.
38321
38322 2012-04-24  Roland McGrath  <roland@hack.frob.com>
38323
38324         * scripts/check-localplt.awk: New file.
38325         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38326         of diff.
38327         * scripts/data/localplt-generic.data: Add a comment.
38328
38329         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38330         NODE when __dir_mkfile failed.
38331         * sysdeps/mach/hurd/symlinkat.c: Likewise.
38332         Reported by Ludovic Courtès <ludo@gnu.org>.
38333
38334 2012-04-24  Andreas Jaeger  <aj@suse.de>
38335
38336         * Makerules (common-clean): Also remove gen-as-const-headers
38337         files.
38338
38339 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38340
38341         * Makerules (native-compile): Do not change working directory for
38342         build.  Use $(OUTPUT_OPTION) in command.
38343         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38344
38345 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38346
38347         [BZ #13886]
38348         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38349         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38350         * math/libm-test.inc (floor_test): Add more tests.
38351         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38352
38353 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
38354
38355         * sysdeps/unix/getdents.c: Remove file.
38356         * sysdeps/unix/sysv/getdents.c: Likewise.
38357         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38358
38359         * sysdeps/unix/syscalls.list (madvise): Add syscall from
38360         sysdeps/unix/mman/syscalls.list.
38361         (mmap): Likewise.
38362         (mprotect): Likewise.
38363         (msync): Likewise.
38364         (munmap): Likewise.
38365         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38366         * sysdeps/unix/mman/syscalls.list: Remove.
38367         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38368
38369         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38370         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38371         * configure: Regenerated.
38372         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38373         $(libgcc_s_suffix).
38374         * config.make.in (libgcc_s_suffix): Remove variable.
38375
38376 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
38377
38378         * sysdeps/unix/sysv/gethostname.c: Move to ...
38379         * sysdeps/posix/gethostname.c: ... here.
38380
38381         * sysdeps/unix/execve.S: Remove file.
38382
38383         * sysdeps/unix/_exit.S: Remove file.
38384
38385 2012-04-23  Andreas Jaeger  <aj@suse.de>
38386
38387         [BZ #13739]
38388         * manual/Makefile: Remove make dist support, there's no
38389         need for a stand-alone documentation tar ball.
38390         (TEXI2DVI): Define always, it's not in Makeconfig.
38391         (dist): Removed.
38392         (tar-it): Removed.
38393         (edition): Removed.
38394         (glibc-doc-$(edition).tar): Removed
38395         (%.Z): Removed.
38396         (%.gz): Removed.
38397         (%.uu): Removed.
38398         (ETAGS): Remove, it's in Makeconfig.
38399         (move-if-change): Remove, it's in Makeconfig.
38400
38401 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
38402
38403         [BZ #13970]
38404         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38405         (strtod, strtof, strtold, strtol, strtoul, strtoq)
38406         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38407         (strtod_l, strtof_l, strtold_l): Remove __wur.
38408         It is not necessarily an error to ignore strtol's return value.
38409         One can reliably look at the stored endptr to decide whether
38410         the number had valid syntax.
38411
38412 2012-04-21  Andreas Jaeger  <aj@suse.de>
38413
38414         [BZ #13739]
38415         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38416
38417 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
38418
38419         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38420         * sysdeps/unix/sysv/Versions: Remove file.
38421
38422 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
38423
38424         [BZ #13927]
38425         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38426
38427 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
38428
38429         [BZ #7064]
38430         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38431         version from __vm86.
38432
38433 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38434
38435         * sysdeps/unix/common/lxstat.c: Remove file.
38436         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38437
38438         * sysdeps/unix/sysv/Makefile: Remove file.
38439
38440         * sysdeps/unix/sysv/direct.h: Remove file.
38441
38442         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38443         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38444         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38445         * sysdeps/unix/sysv/bits/signum.h: Likewise.
38446         * sysdeps/unix/sysv/bits/stat.h: Likewise.
38447         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38448         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38449
38450         * sysdeps/unix/sysv/setrlimit.c: Remove file.
38451
38452         * sysdeps/unix/xmknod.c: Remove file.
38453         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38454
38455         * sysdeps/unix/sysv/settimeofday.c: Remove file.
38456
38457         * sysdeps/unix/sysv/i386/time.S: Remove file.
38458
38459         * sysdeps/unix/fxstat.c: Remove file.
38460         * sysdeps/unix/xstat.c: Likewise.
38461         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38462
38463         * sysdeps/unix/sysv/sigaction.c: Remove file.
38464
38465         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38466         (sysdep_headers): Remove variable.
38467         [termio.h not in sysdep_headers] (generated): Likewise.
38468         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38469         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38470         * sysdeps/unix/sysv/tcdrain.c: Likewise.
38471         * sysdeps/unix/sysv/tcflow.c: Likewise.
38472         * sysdeps/unix/sysv/tcflush.c: Likewise.
38473         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38474         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38475         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38476         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38477         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38478
38479         * sysdeps/unix/siglist.c: Remove file.
38480
38481         * sysdeps/unix/getppid.S: Remove file.
38482
38483         * sysdeps/unix/mkdir.c: Remove file.
38484         * sysdeps/unix/rmdir.c: Likewise.
38485
38486 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
38487
38488         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38489         ERR_MAX value.
38490         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38491         errlist-compat value.
38492
38493 2012-04-18  David S. Miller  <davem@davemloft.net>
38494
38495         * sysdeps/generic/memcopy.h (reg_char): Delete.
38496         * debug/strcat_chk.c: Use char, not reg_char.
38497         * debug/strcpy_chk.c: Likewise.
38498         * debug/strncat_chk.c: Likewise.
38499         * debug/strncpy_chk.c: Likewise.
38500         * string/memchr.c: Likewise.
38501         * string/memrchr.c: Likewise.
38502         * string/rawmemchr.c: Likewise.
38503         * string/strcat.c: Likewise.
38504         * string/strchr.c: Likewise.
38505         * string/strchrnul.c: Likewise.
38506         * string/strcmp.c: Likewise.
38507         * string/strcpy.c: Likewise.
38508         * string/strncat.c: Likewise.
38509         * string/strncmp.c: Likewise.
38510         * string/strncpy.c: Likewise.
38511
38512 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38513
38514         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38515         __builtin_memcopy is called when src and dest ranges are known to not
38516         overlap.
38517
38518 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38519
38520         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38521         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38522         fwd_align_merge macro call.
38523         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38524         bwd_align_merge macro call.
38525         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38526
38527 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38528
38529         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38530         bwd_align_merge macros.
38531         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38532         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38533         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38534
38535 2012-04-18  David S. Miller  <davem@davemloft.net>
38536
38537         * sysdeps/sparc/sparc64/memcopy.h: Delete.
38538
38539 2012-04-18  Andreas Jaeger  <aj@suse.de>
38540
38541         [BZ# 6794]
38542         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38543         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38544         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38545
38546         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38547         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38548         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38549
38550         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38551         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38552         Adjust for changed ldbl-128 files.
38553
38554         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38555         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38556         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38557
38558 2012-04-17  David S. Miller  <davem@davemloft.net>
38559
38560         * sysdeps/sparc/sparc32/memcopy.h: Delete.
38561
38562 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
38563
38564         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38565         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38566         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38567         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38568         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38569         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38570
38571 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38572
38573         [BZ #6794]
38574         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38575         * math/libm-test.inc: Add ilogb errno and exception tests.
38576         * math/w_ilogb.c: New file: ilogb wrapper.
38577         * math/w_ilogbf.c: New file: ilogbf wrapper.
38578         * math/w_ilogbl.c: New file: ilogbl wrapper.
38579         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38580         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38581         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38582         exception being thrown with 0.0 as argument.
38583         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38584         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38585         exception being thrown with 0.0 as argument.
38586         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38587         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38588         exception being thrown with 0.0 as argument.
38589         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38590         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38591         exception being thrown with 0.0 as argument.
38592         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38593         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38594         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38595         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38596         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38597         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38598         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38599         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38600         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38601
38602 2012-04-17  Petr Baudis  <pasky@ucw.cz>
38603
38604         * include/sys/uio.h: Change __vector to __iovec to avoid clash
38605         with altivec.
38606
38607 2012-04-16  Marek Polacek  <polacek@redhat.com>
38608
38609         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38610
38611 2012-04-16  Marek Polacek  <polacek@redhat.com>
38612
38613         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38614         operands of fdivp instruction.
38615
38616 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38617
38618         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38619         * elf/tst-auditmod3b.c: Likewise.
38620         * elf/tst-auditmod4b.c: Likewise.
38621         * elf/tst-auditmod5b.c: Likewise.
38622         * elf/tst-auditmod6b.c: Likewise.
38623         * elf/tst-auditmod6c.c: Likewise.
38624         * elf/tst-auditmod7b.c: Likewise.
38625         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38626         * sysdeps/x86_64/preconfigure.in: Likewise.
38627         * sysdeps/x86_64/preconfigure: Regenerated.
38628
38629 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38630
38631         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38632         __ILP32__.
38633
38634 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
38635
38636         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38637         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38638
38639 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
38640
38641         [BZ #13973]
38642         * locale/iso-639.def: Fix gl language name. Spotted by
38643         Yaron Shahrabani.
38644
38645 2012-04-12  Roland McGrath  <roland@hack.frob.com>
38646
38647         [BZ #2074]
38648         * libio/libio.h (__io_write_fn): Update comment.
38649
38650 2012-04-12  Petr Baudis  <pasky@ucw.cz>
38651
38652         [BZ #2074]
38653         * stdio.texi (Hook Functions): The user provided writer function
38654         is not allowed to return -1.
38655
38656 2012-04-11  David S. Miller  <davem@davemloft.net>
38657
38658         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38659
38660 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
38661
38662         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38663         Add a leading slash to rtkaio.
38664
38665 2012-04-11  Jim Meyering  <meyering@redhat.com>
38666
38667         [BZ #11959]
38668         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38669         It is not necessarily an error to ignore fwrite's return
38670         value.  One can reliably use ferror to test for errors after
38671         the fact.
38672
38673 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38674
38675         * bits/types.h (__snseconds_t): New type.
38676         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38677
38678         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38679         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38680         (__SNSECONDS_T_TYPE): Likewise.
38681         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38682         (__SNSECONDS_T_TYPE): Likewise.
38683         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38684         (__SNSECONDS_T_TYPE): Likewise.
38685
38686 2012-04-10  Andreas Jaeger  <aj@suse.de>
38687
38688         [BZ #2636]
38689         * manual/time.texi (Processor Time): Return type of times is
38690         elapsed real time since an arbitrary point in the past.
38691         (CPU Time): Move CLK_TCK from here...
38692         (Processor Time): ...to here.  Correct description.
38693         * manual/conf.texi (Constants for Sysconf): Correct description of
38694         _SC_CLK_TCK.
38695
38696 2012-04-10  David S. Miller  <davem@davemloft.net>
38697
38698         [BZ #13967]
38699         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38700         where the is a gap between DT_REL(A) and DT_JMPREL.
38701
38702 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38703
38704         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38705         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38706         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38707
38708 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38709
38710         * elf/dl-support.c (_dl_inhibit_cache): New variable.
38711         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38712         (dl_main): Handle --inhibit-cache.
38713         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38714         _dl_inhibit_cache.
38715         * elf/dl-load.c (_dl_map_object): Use it.
38716         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38717
38718 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38719
38720         [BZ #13872]
38721         * sysdeps/i386/fpu/e_powl.S (p78): New object.
38722         (__ieee754_powl): Saturate large exponents rather than testing for
38723         overflow of y*log2(x).
38724         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38725         * math/libm-test.inc (pow_test): Do not permit spurious overflow
38726         exceptions.
38727
38728         [BZ #11521]
38729         * math/s_ctan.c: Include <float.h>.
38730         (__ctan): Avoid internal overflow or cancellation in calculating
38731         denominator.
38732         * math/s_ctanf.c: Likewise.
38733         * math/s_ctanl.c: Likewise.
38734         * math/s_ctanh.c: Likewise.
38735         * math/s_ctanhf.c: Likewise.
38736         * math/s_ctanhl.c: Likewise.
38737         * math/libm-test.inc (ctan_test): Add more tests.
38738         (ctanh_test): Likewise.
38739         * sysdeps/i386/fpu/libm-test-ulps: Update.
38740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38741
38742 2012-04-09  Andreas Jaeger  <aj@suse.de>
38743
38744         [BZ #6894]
38745         * manual/filesys.texi (Directory Entries): Mention that d_namlen
38746         is an optional BSD extension.
38747
38748         [BZ #10254]
38749         * manual/stdio.texi (Opening Streams): Document additional fopen
38750         parameters.
38751
38752 2012-04-09  Roland McGrath  <roland@hack.frob.com>
38753
38754         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38755         %eax without telling the compiler.
38756
38757 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
38758
38759         [BZ # 13963]
38760         * manual/install.texi: Use sourceware.org.
38761
38762 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38763
38764         [BZ #13873]
38765         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38766         (__ieee754_pow): Generate overflow and underflow using huge*huge
38767         and tiny*tiny rather than just returning constant infinity or zero
38768         for large exponents.
38769         * math/libm-test.inc (pow_test): Require overflow exceptions for
38770         applicable cases of large exponents.
38771
38772         [BZ #706]
38773         * sysdeps/i386/fpu/e_pow.S (p10): New object.
38774         (__ieee754_pow): Use iterative multiplication algorithm only for
38775         integer exponents with absolute value below 1024.  Check for odd
38776         integer exponents when using algorithm for real exponents.
38777         * math/libm-test.inc (pow_test): Add more tests.
38778         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38779
38780 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
38781
38782         [BZ #13705]
38783         * math/libm-test.inc (exp_test): Do not allow overflow exception
38784         on underflow test.
38785
38786 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
38787
38788         [BZ #13705]
38789         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38790         instead of __kernel_standard_f.
38791
38792 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
38793
38794         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38795         * sysdeps/x86_64/memset_chk.S: Likewise.
38796
38797 2012-04-08  Andreas Jaeger  <aj@suse.de>
38798
38799         [BZ #10153]
38800         * manual/startup.texi (Environment Access): Describe return value
38801         for putenv and setenv.
38802
38803         [BZ #6895]
38804         * manual/filesys.texi (Directory Entries): Add description for
38805         DT_LNK.
38806
38807         [BZ #6890]
38808         * manual/filesys.texi (Directory Entries): Clarify that it's file
38809         system not operating system in the description of DT_UNKNOWN.
38810
38811         [BZ #6578]
38812         * manual/syslog.texi (closelog): Fix reference, it's openlog.
38813
38814 2012-04-08  Stephen Compall  <s11@member.fsf.org>
38815
38816         [BZ #6649]
38817         * manual/llio.texi (Opening and Closing Files): Add cross
38818         reference to explain mode argument.
38819
38820 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
38821
38822         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38823         * sysdeps/x86_64/memset_chk.S: Likewise.
38824
38825 2012-04-07  David S. Miller  <davem@davemloft.net>
38826
38827         * elf/elf.h (R_SPARC_WDISP10): Define.
38828         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38829         R_SPARC_SIZE32.
38830         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38831         R_SPARC_SIZE64 and R_SPARC_H34.
38832
38833 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
38834
38835         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38836         conditions and remove no longer applicable assertion.
38837
38838 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38839
38840         * bits/byteswap.h: Include <features.h>.
38841         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38842         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38843
38844 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38845
38846         * bits/byteswap.h (__bswap_16): Removed.
38847         Include <bits/byteswap-16.h> to get __bswap_16.
38848         * sysdeps/i386/bits/byteswap.h: Likewise.
38849         * sysdeps/s390/bits/byteswap.h: Likewise.
38850         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38851         * bits/byteswap-16.h: New file.
38852         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38853         * sysdeps/s390/bits/byteswap-16.h: Likewise.
38854         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38855         * string/Makefile (headers): Add bits/byteswap-16.h.
38856
38857 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38858
38859         [BZ #13895]
38860         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38861         extra indirection.
38862         * nss/Makefile (tests-static, tests): Add tst-nss-static.
38863         * nss/tst-nss-static.c: New.
38864
38865 2012-04-06  Robert Millan  <rmh@gnu.org>
38866
38867         [BZ #6486]
38868         * manual/llio.texi (File Position Primitive): lseek
38869         refers to WHENCE when it really means OFFSET.
38870
38871 2012-04-06  Andreas Jaeger  <aj@suse.de>
38872
38873         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38874         strncmp declarations.
38875
38876         * abilist/libc.abilist: Add __poll and __ppoll.
38877
38878 2012-04-05  David S. Miller  <davem@davemloft.net>
38879
38880         * scripts/check-local-headers.sh: Accept a host triplet in the
38881         path matched by the exclude regexp.
38882
38883         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38884         definition.
38885         * sysdeps/powerpc/powerpc32/dl-machine.h
38886         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38887         * sysdeps/s390/s390-32/dl-machine.h
38888         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38889         * sysdeps/sparc/sparc32/dl-machine.h
38890         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38891         * sysdeps/sparc/sparc64/dl-machine.h
38892         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38893
38894         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38895         lazy binding.
38896         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38897         undefined symbol errors.
38898
38899         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38900         DT_NEEDED entries.
38901
38902 2012-04-05  Michael Matz  <matz@suse.de>
38903
38904         [BZ #13592]
38905         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38906
38907 2012-04-05  Andreas Jaeger  <aj@suse.de>
38908
38909         [BZ #13908]
38910         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38911         comment.
38912
38913 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38914
38915         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38916         which ROUND is no valid rounding mode.
38917
38918 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38919
38920         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38921         read again.
38922         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38923
38924 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38925
38926         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38927         an exception using FPU order intentionally.
38928
38929 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38930
38931         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38932         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38933         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38934         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38935
38936 2012-04-05  Simon Josefsson  <simon@josefsson.org>
38937
38938         [BZ #12340]
38939         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38940         EINVAL when BUFLEN is too smal.
38941
38942 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
38943
38944         [BZ #13553]
38945         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38946         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38947
38948 2012-04-03  Andreas Jaeger  <aj@suse.de>
38949
38950         [BZ #13938]
38951         * manual/setjmp.texi (System V contexts): Fix sentence.
38952
38953         [BZ #13926]
38954         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38955         New macro for this case.
38956         [!__GNUC__] (__bswap_64): New inline function for this case.
38957         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38958         * bits/byteswap.h: Likewise.
38959         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38960         ull, guard with __GLIBC_HAVE_LONG_LONG.
38961
38962         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38963         __GLIBC_HAVE_LONG_LONG.
38964
38965         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38966         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38967
38968 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38969
38970         [BZ #13691]
38971         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38972         inptr and inend, rather than using last_ch.
38973
38974 2012-04-02  David S. Miller  <davem@davemloft.net>
38975
38976         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38977         * stdio-common/printf-parse.h (read_int): Change return type to
38978         'int', return -1 on INT_MAX overflow.
38979         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38980         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
38981         overflows INT_MAX.  Check for overflow of in-format-string precision
38982         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
38983         SIZE_MAX not INT_MAX for integer overflow test.
38984         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38985         skip the construct in the format string but do not record anything.
38986         * stdio-common/bug22.c: Adjust to test both width/prevision
38987         INT_MAX overflow as well as total length INT_MAX overflow.  Check
38988         explicitly for proper errno values.
38989
38990 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
38991
38992         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38993         CHAR_MAX.
38994         * string/test-strcmp.c [! WIDE]: Likewise.
38995         * time/tst-mktime2.c: Likewise for INT_MAX.
38996         * string/test-string.h: #include <sys/param.h> for MIN.
38997
38998         * csu/init-first.c (__libc_init_first): Call __ctype_init.
38999         * sysdeps/i386/init-first.c (init): Likewise.
39000         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39001         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39002         * sysdeps/sh/init-first.c (init): Likewise.
39003
39004 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
39005
39006         * po/ru.po: Update from translation team.
39007         * po/vi.po: Likewise.
39008
39009 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39010
39011         * resolv/nss_dns/dns-host.c: Merge copyright years.
39012
39013 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39014
39015         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39016         Optimize memcpy with prefetch if
39017         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
39018         src, dst pointers have unequal 16 byte alignments.
39019
39020 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39021
39022         [BZ #13928]
39023         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39024         from a CNAME entry and return the minimum ttl for the query.
39025         (gaih_getanswer_slice): Likewise.
39026
39027 2012-03-30  Jeff Law  <law@redhat.com>
39028
39029         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39030         due to long keys.
39031         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39032         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39033
39034         * resolv/nss_dns/dns-host.c: Update copyright year.
39035
39036 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
39037
39038         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39039         requests to save a system call.  Fix check that all bytes are sent.
39040
39041         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39042         comments for sendmmsg.
39043
39044 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39045
39046         [BZ #13691]
39047         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39048         with only 1 character between 0x0041 and 0x01b0.
39049         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39050         * wcsmbs/tst-mbsnrtowcs.c: New file.
39051
39052 2012-03-29  David S. Miller  <davem@davemloft.net>
39053
39054         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39055         small copies by hand.
39056
39057 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39058
39059         [BZ #13761]
39060         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39061         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39062         group memberships.
39063
39064 2012-03-28  David S. Miller  <davem@davemloft.net>
39065
39066         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39067         that branches into memcpy.
39068         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39069         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39070         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39071         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39072         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39073         bits.
39074         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39075         implementation too.
39076         * sysdeps/sparc/mempcpy.S: New file.
39077
39078         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39079         the IFUNC routine in the libc case.
39080         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39081
39082         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39083         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39084         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39085         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39086         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39087         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39088         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39089         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39090
39091         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39092         loop to 256 bytes instead of 64 bytes and fix test signedness.
39093
39094         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39095         * sysdeps/sparc/sparc32/Makefile: rather than here...
39096         * sysdeps/sparc/sparc64/Makefile: and here.
39097
39098 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
39099
39100         * malloc/mallocbug.c: Avoid warnings about unused variables.
39101
39102 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39103
39104         [BZ #13760]
39105         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39106         in the right place. Discard and retry query if response is
39107         larger than input buffer size.
39108
39109 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
39110
39111         [BZ #369]
39112         [BZ #2678]
39113         [BZ #3866]
39114         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39115         x for large integer exponent.
39116         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39117         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
39118         sign of result as needed afterwards.
39119         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39120         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39121         result for underflowing pow the same as for overflow.
39122         (__kernel_standard_l): Handle powl overflow and underflow here
39123         rather than calling __kernel_standard.
39124         * math/libm-test.inc (pow_test): Add more tests.
39125
39126         [BZ #3868]
39127         [BZ #13879]
39128         [BZ #13910]
39129         [BZ #13911]
39130         [BZ #13912]
39131         [BZ #13913]
39132         [BZ #13915]
39133         [BZ #13916]
39134         [BZ #13917]
39135         [BZ #13918]
39136         [BZ #13919]
39137         [BZ #13920]
39138         [BZ #13921]
39139         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
39140         * sysdeps/ieee754/k_standard.c: Include <float.h>.
39141         (__kernel_standard_l): New function.
39142         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
39143         __kernel_standard.
39144         * math/w_acosl.c (__acosl): Likewise.
39145         * math/w_asinl.c (__asinl): Likewise.
39146         * math/w_atan2l.c (__atan2l): Likewise.
39147         * math/w_atanhl.c (__atanhl): Likewise.
39148         * math/w_coshl.c (__coshl): Likewise.
39149         * math/w_exp10l.c (__exp10l): Likewise.
39150         * math/w_exp2l.c (__exp2l): Likewise.
39151         * math/w_fmodl.c (__fmodl): Likewise.
39152         * math/w_hypotl.c (__hypotl): Likewise.
39153         * math/w_j0l.c (__j0l, __y0l): Likewise.
39154         * math/w_j1l.c (__j1l, __y1l): Likewise.
39155         * math/w_jnl.c (__jnl, __ynl): Likewise.
39156         * math/w_lgammal.c (__lgammal): Likewise.
39157         * math/w_log10l.c (__log10l): Likewise.
39158         * math/w_log2l.c (__log2l): Likewise.
39159         * math/w_logl.c (__logl): Likewise.
39160         * math/w_powl.c (__powl): Likewise.
39161         * math/w_remainderl.c (__remainderl): Likewise.
39162         * math/w_scalbl.c (sysv_scalbl): Likewise.
39163         * math/w_sinhl.c (__sinhl): Likewise.
39164         * math/w_sqrtl.c (__sqrtl): Likewise.
39165         * math/w_tgammal.c (__tgammal): Likewise.
39166         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
39167         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
39168         * math/libm-test.inc (acos_test): Add more tests.
39169         (acosh_test): Likewise.
39170         (asin_test): Likewise.
39171         (atanh_test): Likewise.
39172         (exp_test): Likewise.
39173         (exp10_test): Likewise.
39174         (exp2_test): Likewise.
39175         (expm1_test): Likewise.
39176         (lgamma_test): Likewise.
39177         (log_test): Likewise.
39178         (log10_test): Likewise.
39179         (log1p_test): Likewise.
39180         (log2_test): Likewise.
39181         (pow_test): Do not allow some spurious overflow exceptions.
39182         (sqrt_test): Add more tests.
39183         (tgamma_test): Likewise.
39184         (y0_test): Likewise.
39185         (y1_test): Likewise.
39186         (yn_test): Likewise.
39187
39188 2012-03-27  Anton Blanchard  <anton@samba.org>
39189
39190         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
39191         MAP_HUGETLB.
39192         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39193         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39194         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39195
39196 2012-03-27  David S. Miller  <davem@davemloft.net>
39197
39198         * conform/Makefile: Run run-conformtest.sh using $(BASH).
39199
39200         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
39201         have-as-vis3 check.
39202
39203 2012-03-27  Andreas Jaeger  <aj@suse.de>
39204
39205         * sysdeps/x86_64/elf/configure.in: Moved to ...
39206         * sysdeps/x86_64/configure.in: ... here.
39207         * sysdeps/x86_64/elf/start.S: Moved to ...
39208         * sysdeps/x86_64/start.S: ... here.
39209         * sysdeps/x86_64/elf/configure: Delete.
39210
39211         * sysdeps/x86_64/configure.in: Merge contents from
39212         sysdeps/i386/configure.in (without i686 check).
39213
39214         * sysdeps/i386/elf/Versions: Merge into ...
39215         * sysdeps/i386/Versions: ... this.
39216         * sysdeps/i386/elf/Versions: Delete file.
39217         * sysdeps/i386/elf/start.S: Moved to ...
39218         * sysdeps/i386/start.S: ...here.
39219         * sysdeps/i386/elf/configure.in: Merge into...
39220         * sysdeps/i386/configure.in: ...here.
39221         * sysdeps/i386/elf/configure.in: Delete file.
39222         * sysdeps/i386/elf/configure: Delete file.
39223
39224         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
39225         * debug/backtracesyms.c: ... here.
39226         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
39227         * debug/backtracesymsfd.c: ... here.
39228         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
39229         * sysdeps/generic/ifunc-sel.h: ... here.
39230
39231         * sysdeps/unix/i386/start.c: Delete file.
39232         * sysdeps/unix/sparc/start.c: Delete file.
39233         * sysdeps/unix/start.c: Delete file.
39234
39235         * sysdeps/sh/elf/configure.in: Moved to ...
39236         * sysdeps/sh/configure.in: ... here.
39237         * sysdeps/sh/elf/start.S: Moved to ...
39238         * sysdeps/sh/start.S: ... here.
39239         * sysdeps/sh/elf/configure: Delete file.
39240
39241         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
39242         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
39243         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
39244         * sysdeps/powerpc/powerpc64/entry.h: ... here.
39245         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
39246         * sysdeps/powerpc/powerpc64/start.S: here.
39247         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
39248         * sysdeps/powerpc/powerpc64/Makefile: ... this.
39249         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
39250         * sysdeps/powerpc/powerpc64/configure.in: ... this.
39251         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
39252
39253         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
39254         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
39255         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
39256         * sysdeps/powerpc/powerpc32/start.S: ... here.
39257         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
39258         * sysdeps/powerpc/powerpc32/configure.in: ... this.
39259         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
39260
39261         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
39262         * sysdeps/powerpc/ifunc-sel.h: ... here.
39263         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
39264         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
39265
39266         * sysdeps/sparc/elf/configure.in: Moved to ...
39267         * sysdeps/sparc/configure.in: ... here.
39268         * sysdeps/sparc/elf/configure: Delete file.
39269         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
39270         * sysdeps/sparc/sparc32/start.S: ... here.
39271         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
39272         * sysdeps/sparc/sparc64/start.S: ... here.
39273         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
39274         * sysdeps/sparc/sparc32/Makefile: ... this.
39275         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
39276         * sysdeps/sparc/sparc64/Makefile: ... this.
39277
39278         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39279         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39280         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39281         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39282         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39283         * sysdeps/s390/s390-32/setjmp.S: ... here.
39284         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39285         * sysdeps/s390/s390-32/configure.in: ... here.
39286         * sysdeps/s390/s390-32/elf/configure: Delete file.
39287         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39288         * sysdeps/s390/s390-32/start.S: ... here.
39289
39290         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39291         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39292         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39293         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39294         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39295         * sysdeps/s390/s390-64/setjmp.S: ... here.
39296         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39297         * sysdeps/s390/s390-64/configure.in: ... here
39298         * sysdeps/s390/s390-64/elf/configure: Delete file.
39299         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39300         * sysdeps/s390/s390-64/start.S: ... here.
39301         * sysdeps/s390/s390-64/elf/configure: Delete.
39302
39303         * configure.in: Remove support for elf directories in sysdeps.
39304
39305         * configure: Regenerated.
39306         * sysdeps/i386/configure: Regenerated.
39307         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39308         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39309         * sysdeps/s390/s390-32/configure: Regenerated.
39310         * sysdeps/s390/s390-64/configure: Regenerated.
39311         * sysdeps/sh/configure: Regenerated.
39312         * sysdeps/sparc/configure: Regenerated.
39313         * sysdeps/x86_64/configure: Regenerated.
39314
39315 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
39316
39317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39318
39319         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39320         denormal result into account.
39321
39322 2012-03-25  Roland McGrath  <roland@hack.frob.com>
39323
39324         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39325         Reported by Allan McRae <allan@archlinux.org>.
39326
39327 2012-03-23  Jeff Law  <law@redhat.com>
39328
39329         * nss/getnssent.c (__nss_getent): Fix typo.
39330
39331 2012-03-23  David S. Miller  <davem@davemloft.net>
39332
39333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39334
39335 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
39336
39337         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39338         to pad to uint64_t for each field.
39339         (dl_tls_index): Replace unsigned long with uint64_t.
39340
39341 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
39342         Paul Pluzhnikov  <ppluzhnikov@google.com>
39343
39344         [BZ #6528]
39345         * grp/Makefile (otherlibs): Don't set it.
39346         * inet/Makefile (otherlibs): Likewise.
39347         * login/Makefile (otherlibs): Likewise.
39348         * nscd/Makefile (otherlibs): Likewise.
39349         * posix/Makefile (otherlibs): Likewise.
39350         * pwd/Makefile (otherlibs): Likewise.
39351         * rt/Makefile (otherlibs): Likewise.
39352         * sunrpc/Makefile (otherlibs): Likewise.
39353         * nss/Makefile (otherlibs): Likewise.
39354         Add libnss_files to routines and static-only-routines.
39355         ($(objpfx)getent): Remove rule.
39356         * resolv/Makefile: Add libnss_dns and libresolv to routines and
39357         static-only-routines.
39358
39359 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39360
39361         [BZ #13892]
39362         * math/s_cexp.c: Include <float.h>.
39363         (__cexp): Handle exp result overflowing not necessarily
39364         overflowing both real and imaginary parts of result.
39365         * math/s_cexpf.c: Likewise.
39366         * math/s_cexpl.c: Likewise.
39367         * math/libm-test.inc (cexp_test): Add more tests.
39368         * sysdeps/i386/fpu/libm-test-ulps: Update.
39369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39370
39371 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39372
39373         * include/link.h (ELFW): New macro.
39374         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39375         Replace ELF64_R_TYPE with ELFW(R_TYPE).
39376
39377 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39378
39379         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39380         with uint64_t.
39381
39382 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39383
39384         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39385         declaration.
39386         (struct La_x32_retval): Likewise.
39387
39388 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
39389
39390         * sysdeps/x86_64/preconfigure.in: New file.
39391         * sysdeps/x86_64/preconfigure: New generated file.
39392
39393 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
39394
39395         [BZ #13824]
39396         * math/e_exp2l.c: Include <float.h>.
39397         (__ieee754_exp2l): Handle overflow and underflow cases
39398         separately.  Only pass fractional part of argument to
39399         __ieee754_expl.
39400         * math/libm-test.inc (exp2_test): Add more tests.
39401
39402         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39403         negating x to take absolute value.
39404         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39405         Likewise.
39406         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39407         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39408         Likewise.
39409         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39410         computing low part if x was negated.
39411         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39412
39413 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39414
39415         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39416         la_x32_gnu_pltexit.
39417         (pltexit): Cast int_retval to ptrdiff_t.
39418         * elf/tst-auditmod3b.c: Likewise.
39419         * elf/tst-auditmod4b.c: Likewise.
39420         * elf/tst-auditmod5b.c: Likewise.
39421         * elf/tst-auditmod6b.c: Likewise.
39422         * elf/tst-auditmod6c.c: Likewise.
39423         * elf/tst-auditmod7b.c: Likewise.
39424
39425         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39426         and x32_gnu_pltexit.
39427
39428         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39429         __ELF_NATIVE_CLASS.
39430         (La_x32_regs): New macro.
39431         (La_x32_retval): Likewise.
39432         (la_x32_gnu_pltenter): New function prototype.
39433         (la_x32_gnu_pltexit): Likewise.
39434
39435 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39436
39437         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39438         exponent.
39439
39440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39441
39442         * configure.in (libc_cv_cc_nofma): Check for option to disable
39443         generation of FMA instructions.
39444         * configure: Regenerate.
39445         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39446         * sysdeps/ieee754/dbl-64/Makefile: New file.
39447         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39448         Remove brandred-fma4.
39449         (CFLAGS-brandred-fma4.c): Remove.
39450         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39451         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39452         define.
39453         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39454         define.
39455
39456 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39457
39458         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39459         LLONG_MAX != LONG_MAX.
39460         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39461         (_fitoa_word): Likewise.
39462         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39463         LLONG_MAX != LONG_MAX.
39464         * stdio-common/_itowa.h: Include <_itoa.h>.
39465         (_itowa_word): Use _ITOA_WORD_TYPE on value.
39466         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
39467         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
39468         only if not defined.
39469         (_ITOA_WORD_TYPE): Likewise.
39470         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39471         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39472
39473 2012-03-21  David S. Miller  <davem@davemloft.net>
39474
39475         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39476
39477 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39478
39479         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39480         of x86_64 when setting libc_cv_slibdir, libdir and
39481         libc_cv_localedir.
39482         * sysdeps/unix/sysv/linux/configure: Regenerated.
39483
39484 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39485
39486         * manual/lang.texi (Old Varargs): Remove section.
39487         (How Variadic): Update menu.
39488         (va_start): Do not mention varargs.h.
39489
39490 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39491             Joseph Myers  <joseph@codesourcery.com>
39492
39493         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39494         link test.
39495         * configure: Regenerated.
39496
39497 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39498
39499         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39500         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39501         conformtest.pl
39502
39503 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39504
39505         * NOTES: Remove.
39506         * Makefile (files-for-dist): Remove NOTES.
39507         (NOTES): Remove rule.
39508         * README: Don't refer to NOTES.
39509         * manual/creature.texi: Don't include macros.texi.
39510         * manual/intro.texi (creature.texi): Remove comment referring to
39511         NOTES.
39512
39513         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39514         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39515         * configure: Regenerated.
39516         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39517         LIBC_TRY_CC_OPTION.
39518         (libc_cv_as_i686): Likewise.
39519         (libc_cv_cc_avx): Likewise.
39520         (libc_cv_cc_sse2avx): Likewise.
39521         (libc_cv_cc_fma4): Likewise.
39522         (libc_cv_cc_novzeroupper): Likewise.
39523         * sysdeps/i386/configure: Regenerated.
39524
39525         [BZ #13883]
39526         * sysdeps/i386/fpu/s_cexp.S: Remove.
39527         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39528         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39529         * math/libm-test.inc (cexp_test): Add more tests.
39530         * sysdeps/i386/fpu/libm-test-ulps: Update.
39531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39532
39533 2012-03-21  Allan McRae  <allan@archlinux.org>
39534
39535         * timezone/Makefile: Do not install iso3166.tab and zone.tab
39536
39537 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39538
39539         [BZ #13871]
39540         * math/w_exp2.c: Do not include <float.h>.
39541         (o_threshold, u_threshold): Remove.
39542         (__exp2): Calculate result before checking finiteness and calling
39543         __kernel_standard.
39544         * math/w_exp2f.c: Likewise.
39545         * math/w_exp2l.c: Likewise.
39546         * math/libm-test.inc (exp2_test): Require overflow exception for
39547         1e6 input.
39548
39549         [BZ #3866]
39550         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39551         range of signed 64-bit integers before using fistpll.  Remove
39552         checks for whether integers fit in mantissa bits.
39553         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39554         the range of signed 32-bit integers before using fistpl.  Remove
39555         checks for whether integers fit in mantissa bits.
39556         * sysdeps/i386/fpu/e_powl.S (p64): New object.
39557         (__ieee754_powl): Test for y outside the range of signed 64-bit
39558         integers before using fistpll.  Reduce 64-bit values to 63-bit
39559         ones as needed.
39560         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39561         divide-by-zero is raised for zero to large negative powers.
39562         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39563         (__ieee754_powl): Test for y outside the range of signed 64-bit
39564         integers before using fistpll.  Reduce 64-bit values to 63-bit
39565         ones as needed.
39566         * math/libm-test.inc (pow_test): Add more tests.
39567
39568 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39569
39570         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39571         <stdio-common/_itoa.h>.
39572         * debug/segfault.c: Likewise.
39573         * elf/dl-cache.c: Likewise.
39574         * elf/dl-minimal.c: Likewise.
39575         * elf/dl-misc.c: Likewise.
39576         * elf/dl-sysdep.c: Likewise.
39577         * elf/dl-version.c: Likewise.
39578         * elf/rtld.c: Likewise.
39579         * hurd/hurdsock.c: Likewise.
39580         * hurd/lookup-retry.c: Likewise.
39581         * malloc/malloc.c: Likewise.
39582         * malloc/mtrace.c: Likewise.
39583         * nscd/nscd_getgr_r.c: Likewise.
39584         * nscd/nscd_getpw_r.c: Likewise.
39585         * nscd/nscd_getserv_r.c: Likewise.
39586         * posix/getopt_init.c: Likewise.
39587         * posix/wordexp.c: Likewise.
39588         * stdio-common/_itoa.c: Likewise.
39589         * stdio-common/printf_fphex.c: Likewise.
39590         * stdio-common/vfprintf.c: Likewise.
39591         * string/_strerror.c: Likewise.
39592         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39593         * sysdeps/i386/i686/hp-timing.h: Likewise.
39594         * sysdeps/mach/_strerror.c: Likewise.
39595         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39596         * sysdeps/mach/hurd/sethostid.c: Likewise.
39597         * sysdeps/mach/hurd/xmknodat.c: Likewise.
39598         * sysdeps/mach/xpg-strerror.c: Likewise.
39599         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39600         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39601         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39602         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39603         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39604         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39605         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39606         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39607         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39608         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39609         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39610         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39611         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39612         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39613         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39614         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39615         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39616         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39617         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39618         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39619         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39620
39621         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39622
39623         * stdio-common/_itoa.h: Moved to ...
39624         * sysdeps/generic/_itoa.h: Here.
39625
39626         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39627
39628         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39629         instead of "_itoa.h" and "_itowa.h".
39630         * stdio-common/vfprintf.: Likewise.
39631
39632 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39633
39634         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39635         <bits/wordsize.h>.
39636         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39637         (__signbit): Likwise.
39638         (llrintf): Likwise.
39639         (llrint): Likwise.
39640
39641 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39642
39643         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39644         __WORDSIZE != 64.
39645
39646 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
39647
39648         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39649         OVERFLOW_EXCEPTION_OK.
39650         * math/libm-test.inc ("Philosophy"): Update comment about
39651         exception testing.
39652         (OVERFLOW_EXCEPTION): Define.
39653         (OVERFLOW_EXCEPTION_OK): Likewise.
39654         (INVALID_EXCEPTION_OK): Renumber.
39655         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39656         (IGNORE_ZERO_INF_SIGN): Likewise.
39657         (test_exceptions): Handle FE_OVERFLOW.
39658         (exp10_test): Expect overflow exceptions.
39659         (exp2_test): Likewise.
39660         (expm1_test): Likewise.
39661         (nextafter_test): Likewise.
39662         (pow_test): Likewise.
39663         (scalbn_test): Likewise.
39664         (scalbln_test): Likewise.
39665
39666 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39667
39668         * sysdeps/x86_64/bits/atomic.h
39669         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39670         64bit integer.
39671         (atomic_exchange_acq): Likewise.
39672         (__arch_exchange_and_add_body): Likewise.
39673         (__arch_add_body): Likewise.
39674         (atomic_add_negative): Likewise.
39675         (atomic_add_zero): Likewise.
39676
39677 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39678
39679         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39680         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39681
39682 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39683
39684         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39685         Check __x86_64__ instead of __WORDSIZE.
39686
39687 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39688
39689         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39690
39691 2012-03-19  David S. Miller  <davem@davemloft.net>
39692
39693         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39694
39695         * sysdeps/sparc/fpu/fenv_private.h: New file.
39696         * sysdeps/sparc/fpu/math_private.h: Use it.
39697         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39698         Remove.
39699         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39700         (libc_feholdexcept_setroundl): Remove.
39701         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39702         Remove.
39703         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39704         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39705
39706 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39707
39708         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39709         int64_t instead of long int.
39710         (INSERT_WORDS64): Likwise.
39711
39712 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39713
39714         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39715         _Unwind_GetCFA return to _Unwind_Ptr first.
39716
39717 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
39718
39719         [BZ #13629]
39720         * math/s_clog.c: Include <float.h>.
39721         (__clog): Scale large or subnormal inputs.
39722         * math/s_clogf.c: Likewise.
39723         * math/s_clogl.c: Likewise.
39724         * math/s_clog10.c: Include <float.h>.
39725         (M_LOG10_2): Define.
39726         (__clog10): Scale large or subnormal inputs.
39727         * math/s_clog10f.c: Likewise.
39728         * math/s_clog10l.c: Likewise.
39729         * math/libm-test.inc (clog_test): Add more tests.
39730         (clog10_test): Likewise.
39731         * sysdeps/i386/fpu/libm-test-ulps: Update.
39732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39733
39734         [BZ #11451]
39735         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39736         x and y.
39737         * math/libm-test.inc (atan2_test): Add another test.
39738
39739         * Makerules (common-objdir-compile): Remove.
39740         * sysdeps/unix/Makefile (config-generated): Do not add
39741         $(unix-generated) to variable.
39742         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39743         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39744         Remove rule.
39745         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39746         Likewise.
39747         [generic bits/local_lim.h] (before-compile): Do not append to
39748         variable.
39749         [generic bits/local_lim.h] (common-generated): Likewise.
39750         [generic sys/param.h] (before-compile): Do not append to variable.
39751         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39752         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39753         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39754         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39755         include.
39756         [generic sys/param.h] (sys/param.h-includes): Remove variable.
39757         [generic sys/param.h] (sys/param.h-includes): Remove rule.
39758         [generic sys/param.h] ($(addprefix
39759         $(common-objpfx),$(sys/param.h-includes))): Likewise.
39760         [generic sys/param.h] (common-generated): Do not append to
39761         variable.
39762         [generic sys/param.h] (sysdep_headers): Likewise.
39763         [generic bits/errno.h] (before-compile): Do not append to
39764         variable.
39765         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39766         rule.
39767         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39768         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39769         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39770         [generic bits/errno.h] (common-generated): Do not append to
39771         variable.
39772         [generic bits/ioctls.h] (before-compile): Do not append to
39773         variable.
39774         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39775         rule.
39776         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39777         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39778         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39779         rule.
39780         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39781         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39782         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39783         [generic bits/ioctls.h] (common-generated): Do not append to
39784         variable.
39785         [generic sys/syscall.h] (syscall.h): Remove variable.
39786         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39787         rule.
39788         [generic sys/syscall.h] (before-compile): Do not append to
39789         variable.
39790         [generic sys/syscall.h] (common-generated): Likewise.
39791         * sysdeps/unix/errnos-tmpl.c: Remove file.
39792         * sysdeps/unix/errnos.awk: Likewise.
39793         * sysdeps/unix/ioctls-tmpl.c: Likewise.
39794         * sysdeps/unix/ioctls.awk: Likewise.
39795         * sysdeps/unix/mk-local_lim.c: Likewise.
39796         * sysdeps/unix/snarf-ioctls: Likewise.
39797
39798 2012-03-19  Richard Henderson  <rth@twiddle.net>
39799
39800         * sysdeps/i386/fpu/fenv_private.h: New file.
39801         * sysdeps/i386/fpu/math_private.h: Use it.
39802         (math_opt_barrier, math_force_eval): Remove.
39803         (libc_feholdexcept_setround_53bit): Remove.
39804         (libc_feupdateenv_53bit): Remove.
39805         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39806         (math_opt_barrier, math_force_eval): Remove.
39807         (libc_feholdexcept): Remove.
39808         (libc_feholdexcept_setround): Remove.
39809         (libc_fetestexcept, libc_fesetenv): Remove.
39810         (libc_feupdateenv_test): Remove.
39811         (libc_feupdateenv, libc_feholdsetround): Remove.
39812         (libc_feresetround): Remove.
39813
39814         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39815         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39816
39817         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39818         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39819         (libc_feupdateenv_testl): New.
39820         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39821         (libc_feupdateenv_testf): New.
39822         (libc_feupdateenv): Use libc_feupdateenv_test.
39823         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39824         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39825
39826         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39827         (libc_feholdsetroundf, libc_feholdsetroundl): New.
39828         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39829         (libc_feresetround_noex): New.
39830         (libc_feresetround_noexf): New.
39831         (libc_feresetround_noexl): New.
39832         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39833         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39834         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39835         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39836         SET_RESTORE_ROUND.
39837         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39838         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39839         (__cos): Likewise.
39840         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39841         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39842         SET_RESTORE_ROUND_NOEX.
39843         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39844         SET_RESTORE_ROUND_NOEXF.
39845         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39846         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39847         (libc_feholdsetroundf): New.
39848         (libc_feresetround, libc_feresetroundf): New.
39849
39850         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39851         (libc_feholdexcept_setround_53bit): Convert from macro to function.
39852         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
39853
39854         * sysdeps/generic/math_private.h: Include <fenv.h>.
39855         (default_libc_feholdexcept): New.
39856         (default_libc_feholdexcept_setround): New.
39857         (default_libc_fesetenv, default_libc_feupdateenv): New.
39858         (libc_feholdexcept): Only define if undefined.
39859         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39860         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39861         (libc_feholdexcept_setroundl): Likewise.
39862         (libc_feholdexcept_setround_53bit): Likewise.
39863         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39864         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39865         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39866         (libc_feupdateenv_53bit): Likewise.
39867         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39868         (libc_feholdexcept): Convert from macro to inline function.
39869         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39870         (libc_fesetenv, libc_feupdateenv): Likewise.
39871
39872         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39873         not previously defined.
39874         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39875         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39876         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39877         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39878         * sysdeps/ieee754/flt-32/math_private.h: New file.
39879         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39880         math_private.h below SET_FLOAT_WORD.
39881         (__isnan, __isinf_ns, __finite): Remove.
39882         (__isnanf, __isinf_nsf, __finitef): Remove.
39883
39884 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
39885
39886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39887
39888 2012-03-17  David S. Miller  <davem@davemloft.net>
39889
39890         [BZ #6471]
39891         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39892         for 2.16.
39893
39894 2012-03-16  David S. Miller  <davem@davemloft.net>
39895
39896         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39897         warnings.
39898
39899         [BZ #6471]
39900         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39901         properly.
39902         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39903         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39904         sysdep_routines when subdir is sysvipc.
39905         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39906         __getshmlba helper.
39907
39908         * sysdeps/sparc/fpu/libm-test/ulps: Update.
39909
39910 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39911
39912         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39913         [__LP64__].
39914
39915 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39916
39917         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39918         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39919         (__lround): Renamed to ...
39920         (__llround): This.  Replace long int with long long int.
39921         Define lround functions as aliases of llround functions.
39922         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39923
39924 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39925
39926         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39927         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
39928         adresses to uintptr_t.  Replace "long int" and "unsigned long
39929         int" with "greg_t" on va_arg.
39930
39931 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39932
39933         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39934         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39935
39936         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39937         Move e_machine check before EI_CLASS check.  Handle x32
39938         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39939         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39940         SKIP_EM_IA_64 and include
39941         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39942
39943         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39944         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39945         (add_system_dir): New macro.
39946
39947         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39948         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39949
39950 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39951
39952         [BZ #2551]
39953         [BZ #2552]
39954         [BZ #2553]
39955         [BZ #2554]
39956         [BZ #2562]
39957         [BZ #2563]
39958         [BZ #2565]
39959         [BZ #2566]
39960         [BZ #2576]
39961         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39962         (y0): Likewise.
39963         * math/w_j0f.c (j0f): Likewise.
39964         (y0f): Likewise.
39965         * math/w_j0l.c (__j0l): Likewise.
39966         (__y0l): Likewise.
39967         * math/w_j1.c (j1): Likewise.
39968         (y1): Likewise.
39969         * math/w_j1f.c (j1f): Likewise.
39970         (y1f): Likewise.
39971         * math/w_j1l.c (__j1l): Likewise.
39972         (__y1l): Likewise.
39973         * math/w_jn.c (jn): Likewise.
39974         (yn): Likewise.
39975         * math/w_jnf.c (jnf): Likewise.
39976         (ynf): Likewise.
39977         * math/w_jnl.c (__jnl): Likewise.
39978         (__ynl): Likewise.
39979         * math/libm-test.inc (j0_test): Add more tests.
39980         (j1_test): Likewise.
39981         (jn_test): Likewise.  Add trailing semicolon to existing test.
39982         (y0_test): Likewise.
39983         (y1_test): Likewise.
39984         * sysdeps/i386/fpu/libm-test-ulps: Update.
39985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39986
39987         [BZ #13851]
39988         [BZ #13854]
39989         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39990         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39991         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39992         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39993         (__tanl): Set errno for infinite argument.
39994         * sysdeps/i386/fpu/mptan.c: Remove.
39995         * sysdeps/i386/fpu/s_tan.S: Likewise.
39996         * sysdeps/i386/fpu/s_tanl.S: Likewise.
39997         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39998         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39999         * math/libm-test.inc (tan_test): Add more tests and enable more
40000         tests for double and long double.
40001         * sysdeps/i386/fpu/libm-test-ulps: Update.
40002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40003
40004 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
40005
40006         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40007         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40008
40009 2012-03-16  Roland McGrath  <roland@hack.frob.com>
40010
40011         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40012         * configure.in: Use it for both main tree and add-ons.
40013         * configure: Regenerated.
40014
40015 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40016
40017         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40018
40019 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40020
40021         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40022         in comment.
40023
40024         [BZ #13851]
40025         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40026         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40027         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40028         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40029         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40030         infinite argument.
40031         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40032         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40033         != 0 for prec == 2.
40034         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40035         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40036         * sysdeps/i386/fpu/s_cosl.S: Likewise.
40037         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40038         * sysdeps/i386/fpu/s_sinl.S: Likewise.
40039         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40040         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40041         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40042         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40043         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40044         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40045         * math/libm-test.inc (cos_test): Add more tests and enable more
40046         tests for long double.
40047         (sin_test): Likewise.
40048         (sincos_test): Likewise.
40049         * sysdeps/i386/fpu/libm-test-ulps: Update.
40050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40051
40052 2012-03-16  David S. Miller  <davem@davemloft.net>
40053
40054         * sysdeps/sparc/fpu/math_private.h: New file.
40055
40056 2012-03-15  David S. Miller  <davem@davemloft.net>
40057
40058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40059         file.
40060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40062         file.
40063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40064         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40065         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40066         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40067         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40068         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40069         sysdep routines.
40070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40071
40072         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40073         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40074
40075         * sysdeps/sparc/sparc-ifunc.h: New file.
40076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40077         sparc-ifunc.h
40078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40080         Likewise.
40081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40082         Likewise.
40083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40087         Likewise.
40088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40093         Likewise.
40094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40095         Likewise.
40096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40100         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40101         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40102         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40103         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40104         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40105         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40106         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40107         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40108         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40109         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40110         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40111         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40112         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40113         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40114         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40115         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40116         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40117         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40118         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40119         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40120
40121 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40122
40123         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40124         scaling.
40125         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40126
40127 2012-03-15  Andreas Jaeger  <aj@suse.de>
40128
40129         [BZ #13852]
40130         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40131         ieee754/flt-32 implementation for sin, cos and sincos.
40132         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40133         * sysdeps/i386/fpu/s_cosf.S: Likewise.
40134         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40135         * sysdeps/i386/fpu/s_sinf.S: Likewise.
40136         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
40137         ieee754/flt-32 implementation for tan.
40138
40139         * math/libm-test.inc (cos_test): Enable some large input tests for
40140         float as well
40141         (sin_test): Likewise.
40142         (sincos_test): Likewise.
40143         (tan_test): Add tests for large input.
40144
40145         * sysdeps/i386/fpu/libm-test-ulps: Update.
40146
40147 2012-03-15  Andreas Jaeger  <aj@suse.de>
40148
40149         [BZ #13658]
40150         * math/libm-test.inc (cos_test): Add more test cases.
40151         (sin_test): Likewise.
40152         (sincos_test): Likewise.
40153
40154 2012-03-15  Andreas Jaeger  <aj@suse.de>
40155
40156         [BZ #13837]
40157         * math/libm-test.inc (cos_test): Add a test case for large input
40158         value.
40159         (sin_test): Likewise.
40160         (sincos_test): Likewise.
40161
40162 2012-03-15  Andreas Jaeger  <aj@suse.de>
40163             Joseph Myers  <joseph@codesourcery.com>
40164
40165         [BZ #13658]
40166         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
40167         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
40168         * sysdeps/i386/fpu/branred.c: Likewise.
40169         * sysdeps/i386/fpu/dosincos.c: Likewise.
40170         * sysdeps/i386/fpu/mpa.c: Likewise.
40171         * sysdeps/i386/fpu/s_cos.S: Likewise.
40172         * sysdeps/i386/fpu/s_sin.S: Likewise.
40173         * sysdeps/i386/fpu/s_sincos.S: Likewise.
40174         * sysdeps/i386/fpu/sincos32.c: Likewise.
40175
40176         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
40177         Define.
40178         (libc_feupdateenv_53bit): Define.
40179         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
40180         Define.
40181         (libc_feupdateenv_53bit): Define.
40182
40183         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
40184         53 bit (without extend i386 double precision).
40185
40186         * math/libm-test.inc (sincos_test): Add tests for large input.
40187         (sin): Likewise.
40188         (cos): Likewise.
40189
40190         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40191
40192 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40193
40194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40195
40196 2012-03-15  David S. Miller  <davem@davemloft.net>
40197
40198         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
40199         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
40200         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
40201         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
40202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
40203         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
40204         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
40205         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
40206         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
40207         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
40208         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
40209         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
40210         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
40211         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
40212         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
40213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
40214         file.
40215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
40216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
40217         file.
40218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
40219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
40220         file.
40221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
40222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
40223         file.
40224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
40225         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
40226         fmin/fmax sysdep routines.
40227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40228
40229 2012-03-14  David S. Miller  <davem@davemloft.net>
40230
40231         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
40232         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
40233         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
40234         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
40235         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
40236         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
40237         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
40238         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
40239         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
40240         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
40241         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
40242         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
40243         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
40244         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
40245         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
40246         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
40247         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
40248         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
40249         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
40250         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
40251         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
40252         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
40253         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
40254         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
40255         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
40256         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
40257         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
40258         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
40259         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
40260         routines.
40261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
40262         file.
40263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
40264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
40265         file.
40266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
40267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
40268         file.
40269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
40270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
40271         file.
40272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
40273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
40274         file.
40275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
40276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
40277         file.
40278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40279         file.
40280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40281         file.
40282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40283         file.
40284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40285         New file.
40286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40287         file.
40288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40289         file.
40290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
40291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40292         file.
40293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
40294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40295         file.
40296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
40297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40298         file.
40299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
40300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40301         VIS3 routines.
40302
40303         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40304         New file.
40305
40306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40307
40308         * sysdeps/sparc/configure.in: New file.
40309         * sysdeps/sparc/configure: Generate.
40310         * configure.in (libc_cv_sparc_as_vis3): Substitute.
40311         * configure: Regenerate.
40312         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40313         * config.make.in (have-as-vis3): New.
40314         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40315         available use -Av9d instead of -Av9a.
40316         * sysdeps/sparc/sparc64/Makefile: Likewise.
40317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
40318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40319         New file.
40320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40321         file.
40322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40323         New file.
40324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40325         file.
40326         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40327         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40328         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40329         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40330         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40331
40332         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40333         fzeros/fnegs to load 0x80000000 into a float register instead of
40334         using the stack.
40335         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40336
40337 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40338
40339         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40340         bits/syscall.h.
40341         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40342         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40343         ($(inst_includedir)/bits/syscall.h): Remove rule.
40344         ($(objpfx)bits/syscall.d): Include instead of
40345         $(objpfx)syscall-list.d.
40346         (generated): Change syscall-list.h and syscall-list.d to
40347         bits/syscall.h and bits/syscall.d.
40348
40349 2012-03-14  Roland McGrath  <roland@hack.frob.com>
40350
40351         [BZ #13846]
40352         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40353
40354 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
40355
40356         [BZ #13841]
40357         * math/s_csqrt.c: Include <float.h>.
40358         (__csqrt): Scale large or subnormal inputs.
40359         * math/s_csqrtf.c: Likewise.
40360         * math/s_csqrtl.c: Likewise.
40361         * math/libm-test.inc (csqrt_test): Add more tests.
40362         * sysdeps/i386/fpu/libm-test-ulps: Update.
40363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40364
40365         [BZ #13840]
40366         * math/libm-test.inc (hypot_test): Add more tests.
40367
40368 2012-03-13  David S. Miller  <davem@davemloft.net>
40369
40370         [BZ #13840]
40371         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40372         double-precision for the calculation instead of scaling.
40373
40374 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
40375
40376         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40377         manipulate bits before adding and subtracting TWO52[sx].
40378         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40379         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40380         Likewise.
40381         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40382
40383 2012-03-13  David S. Miller  <davem@davemloft.net>
40384
40385         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40386         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40387         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40388         rtld-global-offsets.h
40389         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40390
40391         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40392         large parameters.
40393
40394         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40395
40396         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40397         'err' in the ifdef scope in which it is actually used.
40398
40399         * nss/nss_db/db-init.c: Include string.h
40400
40401 2012-03-12  David S. Miller  <davem@davemloft.net>
40402
40403         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40404         masking out of the most significant byte of random value used.
40405         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40406         Fix coding style in previous change.
40407
40408         * sysdeps/unix/sysv/linux/kernel-features.h
40409         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40410         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40411         expression.
40412         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40413         later.
40414
40415 2012-03-11  David S. Miller  <davem@davemloft.net>
40416
40417         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40418         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40419         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40420         for 'resultvar' otherwise things get truncated on 64-bit.
40421
40422         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40423         Fix masking out of the most significant byte of random value used.
40424
40425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40426
40427 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
40428
40429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40430
40431 2012-03-09  David S. Miller  <davem@davemloft.net>
40432
40433         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40434         variables with appropriate CPP guards.
40435         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40436         from the frame pointer, not the stack pointer.  Correct layout
40437         comments.  Fix test on resulting framesize and the management of
40438         the outregs buffer for pltexit.  Preserve floating point return
40439         values across _dl_call_pltexit call.
40440         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40441         framesize and the management of the outregs buffer for pltexit.
40442         Preserve floating point return values across _dl_call_pltexit
40443         call.
40444         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40445         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40446         (la_sparc64_gnu_pltexit): New functions.
40447         (print_exit): Fix format string for return register value.
40448
40449 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
40450
40451         * sunrpc/Makefile (others): Add rpcgen.
40452         ($(objpfx)rpcgen): Remove special build rule and dependency on
40453         libc.
40454         * sunrpc/rpcgen.c: New file.
40455
40456 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
40457
40458         [BZ #13673]
40459         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40460         * stdio-common/bug-vfprintf-nargs.c: Likewise.
40461         * sysdeps/i386/crti.S: Likewise.
40462         * sysdeps/i386/crtn.S: Likewise.
40463         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40464         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40465         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40466         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40467         * sysdeps/sh/crti.S: Likewise.
40468         * sysdeps/sh/crtn.S: Likewise.
40469         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40470
40471         [BZ #13673]
40472         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40473         with URL.
40474         * locale/programs/locfile-kw.gperf: Likewise.
40475         * locale/programs/charmap-kw.h: Regenerated.
40476         * locale/programs/locfile-kw.h: Likewise.
40477
40478         [BZ #13673]
40479         * intl/plural.y: Replace FSF snail mail address with URL.
40480         * intl/plural.c: Regenerated.
40481
40482 2012-03-09  Richard Henderson  <rth@twiddle.net>
40483
40484         * include/math_private.h: Remove file.
40485         * math/math_private.h: Move file ...
40486         * sysdeps/generic/math_private.h: ... here.
40487
40488         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40489         * sysdeps/powerpc/fpu/math_private.h: Likewise.
40490         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40491
40492         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40493         and <math_private.h>.
40494         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40495         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40496         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40497         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40498         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40499         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40500         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40501         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40502         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40503         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40504         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40505         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40506         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40507         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40508         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40509         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40510         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40511         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40512         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40513         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40514         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40515         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40516         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40517         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40518         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40519         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40520         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40521         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40522         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40523         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40524         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40525         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40526         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40527         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40528         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40529         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40530         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40531         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40532         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40533         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40534         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40535         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40536         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40537         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40538         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40539         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40540         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40541         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40542         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40543         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40544         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40545         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40546         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40547         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40548         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40549         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40550         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40551         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40552         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40553         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40554         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40555         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40556         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40557         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40558         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40559         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40560         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40561         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40562         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40563         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40564         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40565         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40566         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40567         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40568         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40569         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40570         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40571         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40572         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40573         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40574         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40575         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40576         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40577         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40578         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40579         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40580         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40581         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40582         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40583         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40584         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40585         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40586         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40587         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40588         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40589         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40590         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40591         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40592         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40593         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40594         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40595         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40596         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40597         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40598         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40599         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40600         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40601         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40602         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40603         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40604         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40605         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40606         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40607         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40608         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40609         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40610         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40611         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40612         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40613         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40614         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40615         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40616         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40617         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40618         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40619         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40620         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40621         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40622         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40623         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40624         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40625         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40626         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40627         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40628         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40629         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40630         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40631         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40632         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40633         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40634         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40635         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40636         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40637         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40638         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40639         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40640         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40641         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40642         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40643         * sysdeps/ieee754/k_standard.c: Likewise.
40644         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40645         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40646         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40647         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40648         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40649         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40650         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40651         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40652         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40653         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40654         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40655         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40656         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40657         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40658         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40659         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40660         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40661         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40662         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40663         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40664         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40665         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40666         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40667         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40668         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40669         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40670         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40671         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40672         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40673         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40674         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40675         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40676         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40677         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40678         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40679         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40680         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40681         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40682         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40683         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40684         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40685         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40686         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40687         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40688         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40689         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40690         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40691         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40692         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40693         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40694         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40695         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40696         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40697         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40698         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40699         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40700         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40701         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40702         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40703         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40704         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40705         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40706         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40707         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40708         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40709         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40710         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40711         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40712         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40713         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40714         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40715         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40716         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40717         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40718         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40719         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40720         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40721         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40722         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40723         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40724         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40725         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40726         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40727         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40728         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40729         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40730         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40731         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40732         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40733         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40734         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40735         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40736         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40737         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40738         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40739         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40740         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40741         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40742         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40743         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40744         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40745         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40746         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40747         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40748         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40749         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40750         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40751         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40752         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40753         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40754         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40755         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40756         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40757         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40758         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40759         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40760         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40761         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40762         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40763         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40764         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40765         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40766         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40767         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40768         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40769         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40770         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40771         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40772         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40773         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40774         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40775         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40776         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40777         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40778         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40779         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40780         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40781         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40782         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40783         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40784         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40785         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40786         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40787         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40788         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40789         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40790         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40791         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40792         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40793         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40794         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40795         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40796         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40797         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40798         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40799         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40800         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40801         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40802         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40803         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40804         * sysdeps/ieee754/s_lib_version.c: Likewise.
40805         * sysdeps/ieee754/s_matherr.c: Likewise.
40806         * sysdeps/ieee754/s_signgam.c: Likewise.
40807         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40808         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40809         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40810         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40811         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40812         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40813         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40814         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40815         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40816         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40817         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40818         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40819         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40820         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40821         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40822         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40823         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40824         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40825         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40826         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40827         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40828
40829 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40830
40831         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40832         * sunrpc/rpc_main.c: Likewise.
40833         * sunrpc/rpc_svcout.c: Likewise.
40834
40835 2012-03-09  David S. Miller  <davem@davemloft.net>
40836
40837         * include/math_private.h: New file.
40838
40839 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40840
40841         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40842         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40843         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40844         from <bits/socket_type.h>.
40845         (enum __socket_type): Don't define here.
40846         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40847         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40848         bits/socket_type.h.
40849
40850         [BZ #13566]
40851         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40852         checking __USE_GNU.
40853
40854         * Makerules ($(inst_includedir)/%.h): New rule.
40855         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40856         (install-others): Remove variable setting.
40857         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40858
40859 2012-03-08  Richard Henderson  <rth@twiddle.net>
40860
40861         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40862         from macro to inline function; merge with the
40863         !__LIBC_INTERNAL_MATH_INLINES version.
40864         (__ieee754_sqrtf): Likewise.
40865
40866         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40867         to inline function.
40868         (__rintf, __floor, __floorf): Likewise.
40869
40870         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40871         macro to inline function.
40872         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40873
40874         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40875         not <math/math_private.h>.
40876
40877 2012-03-08  David S. Miller  <davem@davemloft.net>
40878
40879         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40880         copyright year.
40881         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40882
40883 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
40884
40885         * resolv/gai_misc.c (handle_requests): Fix struct timespec
40886         normalization.
40887         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40888         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40889
40890 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
40891
40892         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
40893         be defined individually, they must be defined as a block.  Define
40894         S for printing a string instead of hidint the different by using a
40895         macro for adding the 'l'.
40896         * stdio-common/tst-fphex-wide.c: Adjust.
40897
40898 2012-03-07  Marek Polacek  <polacek@redhat.com>
40899
40900         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40901
40902 2012-03-08  Marek Polacek  <polacek@redhat.com>
40903
40904         [BZ #13806]
40905         * stdio-common/Makefile (tests): Add tst-fphex-wide.
40906         * stdio-common/tst-fphex.c: Define a few macros to make the
40907         test reusable.  Use them.
40908         * stdio-common/tst-fphex-wide.c: New file.
40909
40910 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
40911
40912         [BZ #6911]
40913         * manual/macros.texi (gnusystems): New macro.
40914         (nongnusystems): Likewise.
40915         (gnulinuxhurdsystems): Likewise.
40916         (gnuhurdsystems): Likewise..
40917         (gnulinuxsystems): Likewise.
40918         * manual/charset.texi: Use new macros or @theglibc{} to refer to
40919         variants of the GNU system, not "GNU system".
40920         * manual/conf.texi: Likewise.
40921         * manual/errno.texi: Likewise.  Update example of errno macro
40922         expansion.
40923         * manual/filesys.texi: Likewise.
40924         (getumask): Document as specific to GNU/Hurd.
40925         * manual/install.texi: Likewise.  Reword some references to
40926         GNU/Linux.
40927         * manual/intro.texi: Likewise.
40928         * manual/io.texi: Likewise.
40929         (File Name Portability): Detail which constraints are inapplicable
40930         to all GNU systems and which are only inapplicable to GNU/Hurd.
40931         * manual/job.texi: Likewise.
40932         * manual/llio.texi: Likewise.
40933         (O_NOCTTY): Document as present on GNU/Linux.
40934         * manual/maint.texi: Likewise.
40935         * manual/memory.texi: Likewise.
40936         * manual/pattern.texi: Likewise.
40937         * manual/pipe.texi: Likewise.
40938         * manual/process.texi: Likewise.
40939         * manual/resource.texi: Likewise.
40940         (RUSAGE_CHILDREN): Remove statement about specifying a particular
40941         child on GNU/Hurd.
40942         * manual/setjmp.texi: Likewise.
40943         * manual/signal.texi: Likewise.
40944         * manual/startup.texi: Likewise.
40945         * manual/stdio.texi: Likewise.
40946         * manual/terminal.texi: Likewise.
40947         (ONLCR): Document as POSIX.
40948         (OXTABS): Document availability on GNU/Linux as XTABS.
40949         (ONOEOT): Document availability separately from other bits.
40950         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40951         * manual/time.texi: Likewise.
40952         * manual/users.texi: Likewise.
40953         * INSTALL: Regenerated.
40954         * sysdeps/gnu/errlist.c: Regenerated.
40955
40956         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40957         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40958         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
40959         puts.
40960         * configure: Regenerated.
40961
40962 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
40963
40964         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40965         default includes instead of AC_HEADER_CHECK.
40966         * sysdeps/i386/configure: Regenerated.
40967
40968         [BZ #10716]
40969         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40970         * math/s_cacoshf.c (__cacoshf): Likewise.
40971         * math/s_cacoshl.c (__cacoshl): Likewise.
40972         * math/s_casinh.c (__casinh): Set signs of result from argument.
40973         * math/s_casinhf.c (__casinhf): Likewise.
40974         * math/s_casinhl.c (__casinhl): Likewise.
40975         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40976         (casinh_test): Add more tests.
40977         * sysdeps/i386/fpu/libm-test-ulps: Update.
40978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40979
40980 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
40981
40982         * po/zh_TW.po: Update from translation team.
40983
40984         * login/Makefile (distribute): Remove variable.
40985         * catgets/Makefile: Likewise.
40986         * mach/Makefile: Likewise.
40987         * malloc/Makefile: Likewise.
40988         * misc/Makefile: Likewise.
40989         * iconv/Makefile: Likewise.
40990         * nscd/Makefile: Likewise.
40991         * hurd/Makefile: Likewise.
40992         * manual/Makefile: Likewise.
40993         * locale/Makefile: Likewise.
40994         * intl/Makefile: Likewise.
40995         * conform/Makefile: Likewise.
40996         * nss/Makefile: Likewise.
40997         * time/Makefile: Likewise.
40998         * soft-fp/Makefile: Likewise.
40999         * dirent/Makefile: Likewise.
41000         * gmon/Makefile: Likewise.
41001         * po/Makefile: Likewise.
41002         * rt/Makefile: Likewise.
41003         * socket/Makefile: Likewise.
41004         * math/Makefile: Likewise.
41005         * signal/Makefile: Likewise.
41006         * debug/Makefile: Likewise.
41007         * elf/Makefile: Likewise.
41008         * timezone/Makefile: Likewise.
41009         * stdlib/Makefile: Likewise.
41010         * iconvdata/Makefile: Likewise.
41011         * sunrpc/Makefile: Likewise.
41012         * io/Makefile: Likewise.
41013         * argp/Makefile: Likewise.
41014         * inet/Makefile: Likewise.
41015         * hesiod/Makefile: Likewise.
41016         * grp/Makefile: Likewise.
41017         * csu/Makefile: Likewise.
41018         * wctype/Makefile: Likewise.
41019         * crypt/Makefile: Likewise.
41020         * libio/Makefile: Likewise.
41021         * string/Makefile: Likewise.
41022         * nis/Makefile: Likewise.
41023         * resolv/Makefile: Likewise.
41024         * stdio-common/Makefile: Likewise.
41025         * wcsmbs/Makefile: Likewise.
41026         * dlfcn/Makefile: Likewise.
41027         * posix/Makefile: Likewise.
41028
41029         [BZ #6959]
41030         * timezone/Makefile: Don't install timezone files, just the programs
41031         and scripts.
41032
41033 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
41034
41035         * nss/databases.def: Add missing gshadow entry.
41036
41037         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
41038
41039 2012-03-06  Marek Polacek  <polacek@redhat.com>
41040
41041         [BZ #13726]
41042         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41043         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41044         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41045         * stdio-common/tst-long-dbl-fphex.c: New file.
41046
41047 2012-03-06  David S. Miller  <davem@davemloft.net>
41048
41049         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41050         (set_obp_int): New function.
41051         (get_obp_int): New function.
41052         (__get_clockfreq_via_dev_openprom): Likewise.
41053         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41054         Avoid unused variable warnings on 'val' and use builtin_expect.
41055         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41056         __builtin_expect.
41057         (INLINE_CLONE_SYSCALL): Likewise.
41058
41059 2012-03-05  David S. Miller  <davem@davemloft.net>
41060
41061         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41062
41063 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
41064
41065         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41066
41067         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41068         only for |x| >= 40.
41069         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41070
41071 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
41072
41073         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41074         Replace gettimeofday with __vdso_gettimeofday.
41075
41076         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41077         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41078         __vdso_clock_gettime and __vdso_getcpu.
41079
41080         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41081         time with __vdso_time.
41082
41083 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41084
41085         * manual/lang.texi (size_t): Note types to which size_t may be
41086         equivalent with the GNU C Library, but do not describe when
41087         differences between them are significant.
41088
41089 2012-03-05  Andreas Jaeger  <aj@suse.de>
41090
41091         * sysdeps/i386/fpu/libm-test-ulps: Update.
41092
41093 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41094
41095         [BZ #3976]
41096         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41097         (__ieee754_pow): Save and restore rounding mode and use
41098         round-to-nearest for main computations.
41099         * math/libm-test.inc (pow_test_tonearest): New function.
41100         (pow_test_towardzero): Likewise.
41101         (pow_test_downward): Likewise.
41102         (pow_test_upward): Likewise.
41103         (main): Call the new functions.
41104         * sysdeps/i386/fpu/libm-test-ulps: Update.
41105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41106
41107         [BZ #3976]
41108         * math/libm-test.inc (cosh_test_tonearest): New function.
41109         (cosh_test_towardzero): Likewise.
41110         (cosh_test_downward): Likewise.
41111         (cosh_test_upward): Likewise.
41112         (sinh_test_tonearest): Likewise.
41113         (sinh_test_towardzero): Likewise.
41114         (sinh_test_downward): Likewise.
41115         (sinh_test_upward): Likewise.
41116         (main): Call the new functions.
41117         * sysdeps/i386/fpu/libm-test-ulps: Update.
41118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41119
41120 2012-03-05  Tom de Vries  <tom@codesourcery.com>
41121
41122         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41123         default stack guard is set in last bytes.
41124         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41125
41126 2012-03-05  Kees Cook  <keescook@chromium.org>
41127
41128         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41129
41130         [BZ #13656]
41131         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41132         possibly allocate from heap instead of stack.
41133         * stdio-common/bug-vfprintf-nargs.c: New file.
41134         * stdio-common/Makefile (tests): Add nargs overflow test.
41135
41136 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
41137
41138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41139
41140 2012-03-03  Marek Polacek  <polacek@redhat.com>
41141
41142         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
41143         * math/math_private.h: Likewise.
41144         * stdlib/tst-strtod.c: Likewise.
41145         * sysdeps/i386/i486/bits/atomic.h: Likewise.
41146         * sysdeps/x86_64/bits/atomic.h: Likewise.
41147
41148 2012-03-02  David S. Miller  <davem@davemloft.net>
41149
41150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
41151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
41152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
41153         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
41154         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
41155         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
41156         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
41157         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
41158
41159 2012-03-02  Roland McGrath  <roland@hack.frob.com>
41160
41161         [BZ #13792]
41162         * manual/examples/README: New file, says the example source files
41163         can be used under GPL>=2.
41164         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
41165         line containing just "*/".
41166         * manual/examples/add.c: Add copyright header (GPL>=2).
41167         * manual/examples/argp-ex1.c: Likewise.
41168         * manual/examples/argp-ex2.c: Likewise.
41169         * manual/examples/argp-ex3.c: Likewise.
41170         * manual/examples/argp-ex4.c: Likewise.
41171         * manual/examples/atexit.c: Likewise.
41172         * manual/examples/db.c: Likewise.
41173         * manual/examples/dir.c: Likewise.
41174         * manual/examples/dir2.c: Likewise.
41175         * manual/examples/execinfo.c: Likewise.
41176         * manual/examples/filecli.c: Likewise.
41177         * manual/examples/filesrv.c: Likewise.
41178         * manual/examples/fmtmsgexpl.c: Likewise.
41179         * manual/examples/genpass.c: Likewise.
41180         * manual/examples/inetcli.c: Likewise.
41181         * manual/examples/inetsrv.c: Likewise.
41182         * manual/examples/isockad.c: Likewise.
41183         * manual/examples/longopt.c: Likewise.
41184         * manual/examples/memopen.c: Likewise.
41185         * manual/examples/memstrm.c: Likewise.
41186         * manual/examples/mkfsock.c: Likewise.
41187         * manual/examples/mkisock.c: Likewise.
41188         * manual/examples/mygetpass.c: Likewise.
41189         * manual/examples/pipe.c: Likewise.
41190         * manual/examples/popen.c: Likewise.
41191         * manual/examples/rprintf.c: Likewise.
41192         * manual/examples/search.c: Likewise.
41193         * manual/examples/select.c: Likewise.
41194         * manual/examples/setjmp.c: Likewise.
41195         * manual/examples/sigh1.c: Likewise.
41196         * manual/examples/sigusr.c: Likewise.
41197         * manual/examples/stpcpy.c: Likewise.
41198         * manual/examples/strdupa.c: Likewise.
41199         * manual/examples/strftim.c: Likewise.
41200         * manual/examples/strncat.c: Likewise.
41201         * manual/examples/subopt.c: Likewise.
41202         * manual/examples/swapcontext.c: Likewise.
41203         * manual/examples/termios.c: Likewise.
41204         * manual/examples/testopt.c: Likewise.
41205         * manual/examples/testpass.c: Likewise.
41206         * manual/examples/timeval_subtract.c: Likewise.
41207
41208         [BZ #13792]
41209         * manual/time.texi (Elapsed Time): Move timeval_subtract example
41210         function to ...
41211         * manual/timeval_subtract.c.texi: ... here, new file.
41212
41213 2012-03-02  David S. Miller  <davem@davemloft.net>
41214
41215         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
41216
41217 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
41218
41219         [BZ #3976]
41220         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
41221         (__sin): Save and restore rounding mode and use round-to-nearest
41222         for all computations.
41223         (__cos): Save and restore rounding mode and use round-to-nearest
41224         for all computations.
41225         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
41226         <fenv.h>.
41227         (tan): Save and restore rounding mode and use round-to-nearest for
41228         all computations.
41229         * math/libm-test.inc (cos_test_tonearest): New function.
41230         (cos_test_towardzero): Likewise.
41231         (cos_test_downward): Likewise.
41232         (cos_test_upward): Likewise.
41233         (sin_test_tonearest): Likewise.
41234         (sin_test_towardzero): Likewise.
41235         (sin_test_downward): Likewise.
41236         (sin_test_upward): Likewise.
41237         (tan_test_tonearest): Likewise.
41238         (tan_test_towardzero): Likewise.
41239         (tan_test_downward): Likewise.
41240         (tan_test_upward): Likewise.
41241         (main): Call the new functions.
41242         * sysdeps/i386/fpu/libm-test-ulps: Update.
41243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41244
41245         [BZ #10135]
41246         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
41247         small n, then large n, before computing and testing k+n.
41248         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41249         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
41250         Likewise.
41251         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
41252         Likewise.
41253         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
41254         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
41255         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
41256         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
41257         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41258         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41259         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
41260         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
41261         * math/libm-test.inc (scalbn_test): Add more tests.
41262         (scalbln_test): Likewise.
41263
41264         * manual/filesys.texi (mode_t): Describe constraints on size and
41265         signedness, not exact equivalence to a particular type.
41266         (ino_t): Likewise.
41267         (ino64_t): Likewise.
41268         (dev_t): Likewise.
41269         (nlink_t): Likewise.
41270         (blkcnt_t): Likewise.
41271         (blkcnt64_t): Likewise.
41272         * manual/llio.texi (off_t): Likewise.
41273
41274         [BZ #3976]
41275         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
41276         (__ieee754_exp): Save and restore rounding mode and use
41277         round-to-nearest for all computations.
41278         * math/libm-test.inc (exp_test_tonearest): New function.
41279         (exp_test_towardzero): Likewise.
41280         (exp_test_downward): Likewise.
41281         (exp_test_upward): Likewise.
41282         (main): Call the new functions.
41283         * sysdeps/i386/fpu/libm-test-ulps: Update.
41284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41285
41286 2012-03-01  Chris Demetriou  <cgd@google.com>
41287
41288         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41289         have predictable order.
41290
41291 2012-03-01  David S. Miller  <davem@davemloft.net>
41292
41293         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41294
41295         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41296         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41297         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41298         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41299
41300         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41301         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41302         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41303         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41304         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41305         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41306         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41307         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41308         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41309
41310         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41311
41312         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41313         * sysdeps/sparc/fpu/libm-test-ulps: to here.
41314         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41315
41316         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41317         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41318         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41319         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41320         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41321         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41322         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41323         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41324         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41325         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41326         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41327         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41328         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41329         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41330         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41331         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41332         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41333         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41334         * sysdeps/sparc/elf/configure: Regenerated.
41335
41336 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
41337
41338         * configure.in (AS, LD): Require binutils 2.20 or later.
41339         * configure: Regenerated.
41340         * manual/install.texi (Tools for Compilation): Give binutils 2.20
41341         as required minimum version.
41342         * INSTALL: Regenerated.
41343
41344         [BZ #2541]
41345         [BZ #4108]
41346         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41347         before squaring exponent.
41348         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41349         bottom long double and 27 bits of top long double before squaring
41350         exponent.
41351         * math/libm-test.inc (erfc_test): Add more tests.
41352         * sysdeps/i386/fpu/libm-test-ulps: Update.
41353         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41355
41356 2012-03-01  Kai Tietz  <ktietz@redhat.com>
41357
41358         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41359         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41360         containing bit-fields.
41361         * soft-fp/extended.h (_FP_UNION_E): Likewise.
41362         * soft-fp/single.h (_FP_UNION_S): Likewise.
41363         * soft-fp/double.h (_FP_UNION_D): Likewise.
41364
41365 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41366
41367         [BZ #13786]
41368         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41369         not include ../strcmp.S.
41370         [USE_AS_STRNCASECMP_L]: Likewise.
41371         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41372         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41373         * sysdeps/i386/i686/multiarch/strncase_l-c.c
41374         (__strncasecmp_l_ia32): Define as alias to
41375         __strncasecmp_l_nonascii.
41376
41377         [BZ #5794]
41378         * math/libm-test.inc (expm1_test): Add test for bug 5794.
41379         * sysdeps/i386/fpu/libm-test-ulps: Update.
41380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41381
41382         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41384
41385 2012-02-29  Jeff Law  <law@redhat.com>
41386
41387         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41388         out of bounds read.
41389
41390 2012-02-29  Marek Polacek  <polacek@redhat.com>
41391
41392         [BZ #13706]
41393         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41394         * elf/Makefile: Add rules to run tst-unused-dep.out.
41395
41396 2012-02-28  David S. Miller  <davem@davemloft.net>
41397
41398         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41399         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41400         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41401         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41402         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41403         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41404
41405 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
41406
41407         * math/libm-test.inc (llround_test): Move one test from
41408         lround_test.  Use TEST_f_L in moved test.
41409         (lround_test): Move misplaced test to llround_test.  Add testcase
41410         from bug 2561.
41411
41412 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
41413
41414         * sysdeps/x86_64/fpu/e_expf.S: New file.
41415         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41416
41417 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
41418
41419         [BZ #13637]
41420         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41421         of remain_len that may cause incomplete multi-byte character and
41422         false match.
41423         * posix/bug-regex33.c: New file.
41424         * posix/Makefile (tests): Add bug-regex33.
41425
41426 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
41427
41428         * manual/macros.texi: New file.
41429         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41430         * manual/libc.texinfo: Include macros.texi.
41431         * manual/creatute.texi: Likewise.
41432         * manual/install.texi: Likewise.
41433         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41434         @glibcadj{} in references to the GNU C Library.
41435         * manual/charset.texi: Likewise.
41436         * manual/conf.texi: Likewise.
41437         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41438         when not using those macros.
41439         * manual/creature.texi: Likewise.
41440         * manual/crypt.texi: Likewise.
41441         * manual/errno.texi: Likewise.
41442         * manual/filesys.texi: Likewise.
41443         * manual/header.texi: Likewise.
41444         * manual/install.texi: Likewise.
41445         * manual/intro.texi: Likewise.
41446         * manual/io.texi: Likewise.
41447         * manual/job.texi: Likewise.
41448         * manual/lang.texi: Likewise.
41449         * manual/libc.texiinfo: Likewise.
41450         * manual/llio.texi: Likewise.
41451         * manual/locale.texi: Likewise.
41452         * manual/maint.texi: Likewise.
41453         * manual/math.texi: Likewise.
41454         * manual/memory.texi: Likewise.
41455         * manual/message.texi: Likewise.
41456         * manual/nss.texi: Likewise.
41457         * manual/pattern.texi: Likewise.
41458         * manual/process.texi: Likewise.
41459         * manual/resource.texi: Likewise.
41460         * manual/search.texi: Likewise.
41461         * manual/setjmp.texi: Likewise.
41462         * manual/signal.texi: Likewise.
41463         * manual/socket.texi: Likewise.
41464         * manual/startup.texi: Likewise.
41465         * manual/stdio.texi: Likewise.
41466         * manual/string.texi: Likewise.
41467         * manual/sysinfo.texi: Likewise.
41468         * manual/syslog.texi: Likewise.
41469         * manual/terminal.texi: Likewise.
41470         * manual/time.texi: Likewise.
41471         * manual/users.texi: Likewise.
41472         * INSTALL: Regenerated.
41473         * NOTES: Regenerated.
41474         * sysdeps/gnu/errlist.c: Regenerated.
41475
41476 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
41477
41478         * include/dirent.h: Include <dirstream.h> before
41479         <dirent/dirent.h>.
41480
41481 2012-02-28  David S. Miller  <davem@davemloft.net>
41482
41483         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41484         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41485         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41486         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41487
41488 2012-02-27  David S. Miller  <davem@davemloft.net>
41489
41490         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41492         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41493         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41494
41495         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41496         frame pointer instead of stack pointer relative arg slot.
41497         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41498         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41499         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41500
41501 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
41502
41503         [BZ #3992]
41504         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41505
41506 2012-02-27  David S. Miller  <davem@davemloft.net>
41507
41508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41512         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41513         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41514         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41515         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41516
41517 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41518
41519         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41520         later.  Allow versions 5-9.
41521         * configure: Regenerated.
41522         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41523         required minimum version and 4.6 as recommended version.  Do not
41524         mention bugs in GCC 2.7 and 2.8.
41525         * INSTALL: Regenerated.
41526
41527 2012-02-27  David S. Miller  <davem@davemloft.net>
41528
41529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41533         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41534         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41535         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41536         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41537
41538         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41539         manipulate bits before adding and subtracting TWO112[sx].
41540         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41541
41542 2012-02-27  Roland McGrath  <roland@hack.frob.com>
41543
41544         [BZ #13775]
41545         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41546         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41547         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41548         being in POSIX, because they are in 1003.1-2008.
41549
41550         * rt/tst-aio.c: Include <fcntl.h>.
41551         * rt/tst-aio7.c: Likewise.
41552         * rt/tst-aio64.c: Likewise.
41553
41554         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41555
41556 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41557
41558         * manual/install.texi (--with-headers): Describe headers as
41559         interface headers, not private headers.
41560         (Specific advice for GNU/Linux systems): Describe use of headers
41561         from "make headers_install", not private headers from older
41562         kernels.
41563         * INSTALL: Regenerated.
41564         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41565         Change to 2.6.19.
41566         * sysdeps/unix/sysv/linux/configure: Regenerated.
41567
41568         * manual/llio.texi (fclean): Remove documentation.
41569
41570         * manual/Makefile (libc-texi-generated): New variable.  Include
41571         version.texi.
41572         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41573         $(libc-texi-generated), not duplicated list of files.
41574         (version.texi, stamp-version): New rules.
41575         (realclean): Remove $(libc-texi-generated), not individual files
41576         from that list.  Do not remove dir-add.texinfo.
41577         * manual/libc.texinfo: Comment out uses of edition numbers and
41578         references to printed manual.  Remove last-updated dates.
41579         (EDITION): Comment out.
41580         (ISBN): Likewise.
41581         (VERSION, UPDATED): Remove.
41582         (version.texi): Include.
41583
41584 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
41585
41586         * sysdeps/posix/spawni.c: Include <signal.h>.
41587         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41588         * sysdeps/pthread/aio_fsync.c: Likewise.
41589
41590 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
41591
41592         * conform/Makefile (tests): Run only when not cross-compiling and
41593         when fast-check is not defined.
41594
41595         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41596         * conform/data/limits.h-data: Fixes for POSIX2008.
41597         * conform/run-conformtest.sh: Run all tests.
41598         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41599         headers.
41600         * include/bits/dlfcn.h: Likewise.
41601         * include/langinfo.h: Likewise.
41602         * include/monetary.h: Likewise.
41603         * include/sys/poll.h: Likewise.
41604
41605         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41606         for __USE_GNU.
41607         * posix/spawn.h: Define __need_sigset_t.
41608         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41609         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41610         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
41611         to get sigevent_t only.
41612         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41613         only for __USE_GNU.
41614         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41615         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41616         process_vm_writev only for __USE_GNU.
41617         * termios/termios.h: Declare tcgetsid also for POSIX2008.
41618
41619         * conform/Makefile: For now ignore errors from run-conformtest.
41620         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
41621         POSIX to avoid namespace pollution.  Don't prepend headers.
41622         * conform/data/aio.h-data: Fixes for POSIX testing.
41623         * conform/data/fcntl.h-data: Likewise.
41624         * conform/data/glob.h-data: Likewise.
41625         * conform/data/grp.h-data: Likewise.
41626         * conform/data/pthread.h-data: Likewise.
41627         * conform/data/pwd.h-data: Likewise.
41628         * conform/data/signal.h-data: Likewise.
41629         * conform/data/spawn.h-data: Likewise.
41630         * conform/data/stdio.h-data: Likewise.
41631         * conform/data/stdlib.h-data: Likewise.
41632         * conform/data/stropts.h-data: Likewise.
41633         * conform/data/sys/mman.h-data: Likewise.
41634         * conform/data/sys/stat.h-data: Likewise.
41635         * conform/data/sys/types.h-data: Likewise.
41636         * conform/data/sys/wait.h-data: Likewise.
41637         * conform/data/time.h-data: Likewise.
41638         * conform/data/unistd.h-data: Likewise.
41639         * conform/data/utime.h-data: Likewise.
41640
41641         * io/sys/stat.h: fchmod was always in POSIX.
41642         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41643         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41644         * rt/aio.h: Define __need_timespec before including <time.h>.
41645         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41646         struct.  Add forward declaration of pthread_attr_t and use it in
41647         sigevent.
41648         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41649         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41650         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41651         always remove CLK_TCK definition.
41652
41653 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
41654
41655         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41656
41657 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
41658
41659         * conform/run-conformtest.sh: New file.
41660         * conform/Makefile: Run run-conformtest for tests.
41661         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
41662         support.
41663
41664         * conform/data/uchar.h-data: New file.
41665         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41666         * conform/data/arpa/inet.h-data: Likewise.
41667         * conform/data/assert.h-data: Likewise.
41668         * conform/data/complex.h-data: Likewise.
41669         * conform/data/cpio.h-data: Likewise.
41670         * conform/data/ctype.h-data: Likewise.
41671         * conform/data/dirent.h-data: Likewise.
41672         * conform/data/dlfcn.h-data: Likewise.
41673         * conform/data/errno.h-data: Likewise.
41674         * conform/data/fcntl.h-data: Likewise.
41675         * conform/data/float.h-data: Likewise.
41676         * conform/data/fmtmsg.h-data: Likewise.
41677         * conform/data/fnmatch.h-data: Likewise.
41678         * conform/data/ftw.h-data: Likewise.
41679         * conform/data/glob.h-data: Likewise.
41680         * conform/data/grp.h-data: Likewise.
41681         * conform/data/iconv.h-data: Likewise.
41682         * conform/data/inttypes.h-data: Likewise.
41683         * conform/data/langinfo.h-data: Likewise.
41684         * conform/data/libgen.h-data: Likewise.
41685         * conform/data/limits.h-data: Likewise.
41686         * conform/data/locale.h-data: Likewise.
41687         * conform/data/math.h-data: Likewise.
41688         * conform/data/monetary.h-data: Likewise.
41689         * conform/data/mqueue.h-data: Likewise.
41690         * conform/data/ndbm.h-data: Likewise.
41691         * conform/data/net/if.h-data: Likewise.
41692         * conform/data/netdb.h-data: Likewise.
41693         * conform/data/netinet/in.h-data: Likewise.
41694         * conform/data/nl_types.h-data: Likewise.
41695         * conform/data/poll.h-data: Likewise.
41696         * conform/data/pthread.h-data: Likewise.
41697         * conform/data/pwd.h-data: Likewise.
41698         * conform/data/regex.h-data: Likewise.
41699         * conform/data/sched.h-data: Likewise.
41700         * conform/data/search.h-data: Likewise.
41701         * conform/data/semaphore.h-data: Likewise.
41702         * conform/data/setjmp.h-data: Likewise.
41703         * conform/data/signal.h-data: Likewise.
41704         * conform/data/spawn.h-data: Likewise.
41705         * conform/data/stdarg.h-data: Likewise.
41706         * conform/data/stdio.h-data: Likewise.
41707         * conform/data/stdlib.h-data: Likewise.
41708         * conform/data/string.h-data: Likewise.
41709         * conform/data/strings.h-data: Likewise.
41710         * conform/data/stropts.h-data: Likewise.
41711         * conform/data/sys/ipc.h-data: Likewise.
41712         * conform/data/sys/mman.h-data: Likewise.
41713         * conform/data/sys/msg.h-data: Likewise.
41714         * conform/data/sys/resource.h-data: Likewise.
41715         * conform/data/sys/select.h-data: Likewise.
41716         * conform/data/sys/sem.h-data: Likewise.
41717         * conform/data/sys/shm.h-data: Likewise.
41718         * conform/data/sys/socket.h-data: Likewise.
41719         * conform/data/sys/stat.h-data: Likewise.
41720         * conform/data/sys/statvfs.h-data: Likewise.
41721         * conform/data/sys/time.h-data: Likewise.
41722         * conform/data/sys/timeb.h-data: Likewise.
41723         * conform/data/sys/times.h-data: Likewise.
41724         * conform/data/sys/types.h-data: Likewise.
41725         * conform/data/sys/uio.h-data: Likewise.
41726         * conform/data/sys/un.h-data: Likewise.
41727         * conform/data/sys/utsname.h-data: Likewise.
41728         * conform/data/sys/wait.h-data: Likewise.
41729         * conform/data/syslog.h-data: Likewise.
41730         * conform/data/tar.h-data: Likewise.
41731         * conform/data/termios.h-data: Likewise.
41732         * conform/data/utime.h-data: Likewise.
41733         * conform/data/utmpx.h-data: Likewise.
41734         * conform/data/varargs.h-data: Likewise.
41735         * conform/data/wchar.h-data: Likewise.
41736         * conform/data/wctype.h-data: Likewise.
41737         * conform/data/wordexp.h-data: Likewise.
41738
41739         * include/stropts.h: New file.
41740         * include/uchar.h: New file.
41741         * include/aio.h: Changes to allow conformtest.pl to use the headers.
41742         * include/assert.h: Likewise.
41743         * include/ctype.h: Likewise.
41744         * include/dirent.h: Likewise.
41745         * include/dlfcn.h: Likewise.
41746         * include/fcntl.h: Likewise.
41747         * include/fnmatch.h: Likewise.
41748         * include/glob.h: Likewise.
41749         * include/grp.h: Likewise.
41750         * include/libio.h: Likewise.
41751         * include/locale.h: Likewise.
41752         * include/math.h: Likewise.
41753         * include/net/if.h: Likewise.
41754         * include/netdb.h: Likewise.
41755         * include/netinet/in.h: Likewise.
41756         * include/pthread.h: Likewise.
41757         * include/pwd.h: Likewise.
41758         * include/regex.h: Likewise.
41759         * include/sched.h: Likewise.
41760         * include/search.h: Likewise.
41761         * include/setjmp.h: Likewise.
41762         * include/signal.h: Likewise.
41763         * include/stdio.h: Likewise.
41764         * include/stdlib.h: Likewise.
41765         * include/string.h: Likewise.
41766         * include/sys/cdefs.h: Likewise.
41767         * include/sys/mman.h: Likewise.
41768         * include/sys/msg.h: Likewise.
41769         * include/sys/resource.h: Likewise.
41770         * include/sys/select.h: Likewise.
41771         * include/sys/socket.h: Likewise.
41772         * include/sys/stat.h: Likewise.
41773         * include/sys/statvfs.h: Likewise.
41774         * include/sys/time.h: Likewise.
41775         * include/sys/times.h: Likewise.
41776         * include/sys/uio.h: Likewise.
41777         * include/sys/utsname.h: Likewise.
41778         * include/sys/wait.h: Likewise.
41779         * include/termios.h: Likewise.
41780         * include/time.h: Likewise.
41781         * include/ulimit.h: Likewise.
41782         * include/unistd.h: Likewise.
41783         * include/utime.h: Likewise.
41784         * include/wchar.h: Likewise.
41785         * include/wctype.h: Likewise.
41786         * include/wordexp.h: Likewise.
41787
41788         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41789
41790         * time/time.h: TIME_UTC must be a macro.
41791         Make timespec_get available for ISO C11 only as well.
41792
41793 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
41794
41795         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41796         Reported by Peng Haitao <penght@cn.fujitsu.com>.
41797
41798 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41799
41800         * configure.in: Use -o not -a in test for unsupported multi-arch.
41801
41802 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41803
41804         * manual/texinfo.tex: Update to version 2012-01-19.16.
41805
41806 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41807
41808         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41809
41810 2012-02-24  Roland McGrath  <roland@hack.frob.com>
41811
41812         [BZ #13738]
41813         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41814         * manual/fdl-1.3.texi: New file.
41815         * manual/fdl-1.1.texi: File removed.
41816
41817         [BZ #13738]
41818         * manual/libc.texinfo (FDL_VERSION): New @set.
41819         Use it for mention of FDL in cover text.
41820         (Documentation License): Use it in @include file name.
41821
41822 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41823             Roland McGrath  <roland@hack.frob.com>
41824
41825         [BZ #5461]
41826         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41827         (not LONG_LONG_MAX and LONG_LONG_MIN.
41828         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41829         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
41830         name.
41831         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41832
41833 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41834
41835         [BZ #2547]
41836         [BZ #11365]
41837         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41838         manipulate bits before adding and subtracting TWO23[sx].
41839         * math/libm-test.inc (nearbyint_test): Add more tests.
41840
41841 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41842
41843         [BZ #2548]
41844         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41845         bits before adding and subtracting TWO23[sx].
41846         * math/libm-test.inc (rint_test): Add more tests.
41847         (rint_test_tonearest): Likewise.
41848         (rint_test_towardzero): Likewise.
41849         (rint_test_downward): Likewise.
41850         (rint_test_upward: Likewise.
41851
41852 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41853
41854         [BZ #10110]
41855         * include/stdc-predef.h: New file.  Extracted from features.h.
41856         * include/features.h: Include stdc-predef.h.
41857         * Makefile (headers): Add stdc-predef.h.
41858         * CONFORMANCE (Compiler limitations): Update.
41859
41860 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41861
41862         * manual/libc.texinfo (VERSION, UPDATED): Revert.
41863
41864 2012-02-21  David S. Miller  <davem@davemloft.net>
41865
41866         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41867         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41868
41869 2012-02-20  David S. Miller  <davem@davemloft.net>
41870
41871         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41872         using a normal save/restore sequence, rather than allocating a
41873         dummy stack frame just to store a frame pointer and restore.
41874         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41875
41876 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41877
41878         * manual/install.texi: Fix stray word in line-wrapped comment.
41879
41880 2012-02-20  David S. Miller  <davem@davemloft.net>
41881
41882         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41883         both binutils and gcc support GOTDATA.
41884
41885         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41886         "rd %pc" in the PIC register setup sequences.
41887
41888         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41889         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41890         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41891         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41892         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41893         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41894         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41895         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41896         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41897         (SYSCALL_ERROR_HANDLER): Likewise.
41898         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41899         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41900         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41901         (SYSCALL_ERROR_HANDLER): Likewise.
41902
41903         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41904         (HAVE_GCC_GOTDATA): New.
41905         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41906         relocation support in both binutils and gcc.
41907         * sysdeps/sparc/elf/configure: Regenerate.
41908
41909         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41910         * sysdeps/sparc/sparc32/elf/configure: Delete.
41911         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41912         * sysdeps/sparc/sparc64/elf/configure: Delete.
41913         * sysdeps/sparc/elf/configure.in: New file.
41914         * sysdeps/sparc/elf/configure: Generate.
41915
41916         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41917         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41918         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41919         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41920         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41921
41922 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41923
41924         * manual/install.texi: Do not mention specific glibc version
41925         numbers.
41926         * manual/libc.texinfo (VERSION, UPDATED): Update.
41927         (@copying): Use @copyright{} and range of years.
41928
41929 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41930
41931         [BZ #13695]
41932         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41933         [crti.S not in sysdirs] (generated): Do not append.
41934         [crti.S not in sysdirs] (omit-deps): Likewise.
41935         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41936         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41937         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41938         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41939         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41940         Likewise.
41941         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41942         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41943         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41944         * csu/defs.awk: Remove file.
41945         * sysdeps/generic/initfini.c: Likewise.
41946         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41947         variable.
41948         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41949         Likewise.
41950
41951 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41952
41953         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41954         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41955         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41956         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41957         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41958         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41959         <bits/epoll.h>.
41960         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41961         (__EPOLL_PACKED): Define to empty if not defined by
41962         <bits/epoll.h>.
41963         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41964         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41965         bits/epoll.h.
41966
41967 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41968
41969         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41970         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41971         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41972         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41973         <bits/timerfd.h>.
41974         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41975         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41976         bits/timerfd.h.
41977
41978 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41979
41980         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41981         in C locale.
41982         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41983         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41984         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41986
41987 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
41988
41989         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41990         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41991
41992 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
41993
41994         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41995         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41996         defined.
41997         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41998         Likewise.
41999         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42000         entry for 2.16.
42001
42002 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
42003
42004         * math/w_acos.c: Use non-signaling floating-point comparisons.
42005         * math/w_acosf.c: Likewise.
42006         * math/w_acosh.c: Likewise.
42007         * math/w_acoshf.c: Likewise.
42008         * math/w_acoshl.c: Likewise.
42009         * math/w_acosl.c: Likewise.
42010         * math/w_asin.c: Likewise.
42011         * math/w_asinf.c: Likewise.
42012         * math/w_asinl.c: Likewise.
42013         * math/w_atanh.c: Likewise.
42014         * math/w_atanhf.c: Likewise.
42015         * math/w_atanhl.c: Likewise.
42016         * math/w_exp2.c: Likewise.
42017         * math/w_exp2f.c: Likewise.
42018         * math/w_exp2l.c: Likewise.
42019         * math/w_j0.c: Likewise.
42020         * math/w_j0f.c: Likewise.
42021         * math/w_j0l.c: Likewise.
42022         * math/w_j1.c: Likewise.
42023         * math/w_j1f.c: Likewise.
42024         * math/w_j1l.c: Likewise.
42025         * math/w_jn.c: Likewise.
42026         * math/w_jnf.c: Likewise.
42027         * math/w_log.c: Likewise.
42028         * math/w_log10.c: Likewise.
42029         * math/w_log10f.c: Likewise.
42030         * math/w_log10l.c: Likewise.
42031         * math/w_log2.c: Likewise.
42032         * math/w_log2f.c: Likewise.
42033         * math/w_log2l.c: Likewise.
42034         * math/w_logf.c: Likewise.
42035         * math/w_logl.c: Likewise.
42036         * math/w_sqrt.c: Likewise.
42037         * math/w_sqrtf.c: Likewise.
42038         * math/w_sqrtl.c: Likewise.
42039         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42040         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42041         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42042         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42043         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42044
42045 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42046
42047         [BZ #9739]
42048         * manual/string.texi (strnlen): Use correct parameter name in
42049         equivalent expression.
42050
42051 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42052
42053         [BZ #11174]
42054         * manual/users.texi (seteuid): Consistently use neweuid for
42055         argument name.
42056
42057 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42058
42059         [BZ #13704]
42060         * manual/nss.texi (Services in the NSS configuration): Correct
42061         list of services in example configuration file.
42062
42063 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
42064
42065         [BZ #11322]
42066         * manual/arith.texi: Remove statements about negative zero
42067         behaving identically to zero.
42068
42069 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42070
42071         [BZ #5993]
42072         * manual/install.texi: Do not document upgrading from libc5.
42073
42074 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42075
42076         [BZ #4596]
42077         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42078
42079 2012-02-18  David S. Miller  <davem@davemloft.net>
42080
42081         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42082         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42083         %o7 across the call.
42084         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42085         instead.
42086         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42087         SETUP_PIC_REG_LEAF.
42088         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42089         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42090         * sysdeps/sparc/crtn.S: Likewise.
42091
42092 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
42093
42094         * aout/Makefile: Remove.
42095
42096 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
42097
42098         [BZ #13058]
42099         * manual/examples/argp-ex1.c (main): Format definition in GNU
42100         style.
42101         * manual/examples/argp-ex2.c (main): Likewise.
42102         * manual/examples/argp-ex3.c (main): Likewise.
42103         * manual/examples/argp-ex4.c (main): Likewise.
42104         * manual/examples/longopt.c (main): Use new-style prototype
42105         definition.
42106         * manual/examples/strncat.c (main): Specify return type and use
42107         (void) for arguments.
42108         * manual/examples/subopt.c (main): Use char **argv argument.
42109
42110 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42111
42112         [BZ #5077]
42113         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42114         rounding modes.
42115
42116 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
42117
42118         [BZ #6907]
42119         * manual/string.texi (strchr): Change when strchrnul is
42120         recommended.
42121
42122 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
42123
42124         [BZ #174]
42125         * manual/locale.texi (setlocale): Document LOCPATH.
42126
42127 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42128
42129         [BZ #10210]
42130         * manual/process.texi (execle): Move @dots{} before last argument.
42131
42132 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
42133
42134         [BZ #12047]
42135         * manual/charset.texi (Generic Charset Conversion): Fix typo
42136         (LC_TYPE -> LC_CTYPE).
42137
42138 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
42139
42140         [BZ #5805]
42141         * manual/arith.texi (scalbn): Use @var{} on parameter names.
42142         (scalbnf): Likewise.
42143         (scalbnl): Likewise.
42144         (scalbln): Likewise.
42145         (scalblnf): Likewise.
42146         (scalblnl): Likewise.
42147         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
42148         (vwarnx): Likewise.
42149         (verr): Likewise.
42150         (verrx): Likewise.
42151         * manual/filesys.texi (telldir): Use braces around return type.
42152         * manual/llio.texi (mmap): Add space after comma.
42153         (mmap64): Likewise.
42154         * manual/math.texi (jn): Use @var{} on parameter names.
42155         (jnf): Likewise.
42156         (jnl): Likewise.
42157         (yn): Likewise.
42158         (ynf): Likewise.
42159         (ynl): Likewise.
42160         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
42161         line.
42162         * manual/resource.texi (ulimit): Use @dots{} instead of literal
42163         "...".
42164         (sched_get_priority_min): Remove semicolon on @deftypefun line.
42165         (sched_get_priority_max): Likewise.
42166         * manual/signal.texi (sigvec): Add space after comma.
42167         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
42168         names.
42169         (if_indextoname): Likewise.
42170         (if_freenameindex): Likewise.
42171         (sendto): Use ',' instead of '.' in prototype.
42172         * manual/startup.texi (syscall): Use @dots{} instead of literal
42173         "...".
42174         * manual/stdio.texi (__fpending): Separate initial words of
42175         paragraph from @deftypefun line.
42176         * manual/syslog.texi (syslog): Use @dots{} instead of literal
42177         "...".
42178         (vsyslog): Use @var{} on parameter names.
42179         * manual/terminal.texi (stty): Use @var{} on parameter names.
42180         * manual/users.texi (getutmp): Use @var{} on parameter names.
42181         (getutmpx): Likewise.
42182
42183 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42184
42185         [BZ #6884]
42186         * manual/stdio.texi (fopen): Fix typos in description of
42187         ",ccs=STRING".
42188
42189 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
42190
42191         [BZ #4026]
42192         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
42193         get clock_id definition.
42194
42195 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
42196
42197         [BZ #4822]
42198         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
42199         (madvise): Cast every argument to void on its own.
42200
42201 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42202
42203         [BZ #9902]
42204         * manual/startup.texi (Exit Status): Fix typo.
42205
42206 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42207
42208         [BZ #10140]
42209         * manual/examples/argp-ex1.c: Include <stdlib.h>.
42210         * manual/examples/argp-ex2.c: Likewise.
42211         * manual/examples/argp-ex3.c: Likewise.
42212
42213 2012-02-16  Richard Henderson  <rth@redhat.com>
42214
42215         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
42216         * sysdeps/s390/s390-32/initfini.c: Remove.
42217         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
42218         * sysdeps/s390/s390-64/initfini.c: Remove.
42219
42220 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42221
42222         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
42223         compiler output for sysdeps/generic/initfini.c.
42224         * sysdeps/sh/elf/initfini.c: Remove file.
42225
42226 2012-02-16  David S. Miller  <davem@davemloft.net>
42227
42228         [BZ #11494]
42229         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
42230
42231         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
42232         * sysdeps/sparc/crti.S: New file.
42233         * sysdeps/sparc/crtn.S: New file.
42234         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
42235         * sysdeps/sparc/sparc64/Makefile: Likewise.
42236
42237 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
42238
42239         [BZ #3335]
42240         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
42241
42242 2012-02-15  Roland McGrath  <roland@hack.frob.com>
42243
42244         [BZ #4822]
42245         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
42246
42247         * mach/devstream.c (cookie_io_functions_t): Macro removed.
42248         (write, read, close): Likewise.
42249         Patch by Aurelien Jarno <aurelien@aurel32.net>.
42250
42251 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
42252
42253         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
42254         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
42255         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
42256         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
42257         <bits/signalfd.h>.
42258         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
42259         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42260         bits/signalfd.h.
42261
42262 2012-02-14  Marek Polacek  <polacek@redhat.com>
42263
42264         * sysdeps/x86_64/crti.S: New file.
42265         * sysdeps/x86_64/crtn.S: New file.
42266         * sysdeps/x86_64/elf/initfini.c: Remove file.
42267
42268 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42269
42270         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
42271         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
42272         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
42273         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
42274         <bits/inotify.h>.
42275         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
42276         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42277         bits/inotify.h.
42278
42279 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
42280
42281         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42282         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42283         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42284         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42285         <bits/eventfd.h>.
42286         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42287         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42288         bits/eventfd.h.
42289
42290 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
42291
42292         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42293         __feraiseexcept instead of feraiseexcept.
42294
42295         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42296         nanosleep invocations.
42297         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42298         strings, and add error checking for a nanosleep invocations.
42299
42300 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
42301
42302         Replace FSF snail mail address with URLs, as per GNU coding standards.
42303         Most of the snail mail addresses were wrong anyway, and omitting
42304         them makes the source code easier to maintain.  Almost all of the
42305         changes are to license notices and to locale LC_IDENTIFICATION
42306         addresses, except for this one:
42307         * manual/libc.texinfo: In "Published by", give the FSF's URL,
42308         not its snail mail address.
42309
42310 2012-02-09  Richard Henderson  <rth@twiddle.net>
42311
42312         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42313         of kernel-features.h.
42314
42315         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42316
42317 2012-02-08  Marek Polacek  <polacek@redhat.com>
42318
42319         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42320         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42321         * sysdeps/gnu/_G_config.h: Likewise.
42322         * sysdeps/generic/_G_config.h: Likewise.
42323
42324 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
42325
42326         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42327         tests.
42328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42329
42330         * sysdeps/powerpc/powerpc32/crti.S: New file.
42331         * sysdeps/powerpc/powerpc32/crtn.S: New file.
42332         * sysdeps/powerpc/powerpc64/crti.S: New file.
42333         * sysdeps/powerpc/powerpc64/crtn.S: New file.
42334
42335         * Makeconfig (have-initfini): Don't set.
42336         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42337         * configure.in (nopic_initfini): Don't substitute.
42338         * config.h.in (HAVE_INITFINI): Don't #undef.
42339         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42340         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42341
42342 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
42343
42344         Support crti.S and crtn.S provided directly by architectures.
42345         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42346         [crti.S in sysdirs] (omit-deps): Likewise.
42347         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42348         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42349         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42350         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42351         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42352         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42353         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42354         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42355         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42356         compiler output for sysdeps/generic/initfini.c.
42357         * sysdeps/i386/elf/Makefile: Remove file.
42358         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42359
42360 2012-02-07  Marek Polacek  <polacek@redhat.com>
42361
42362         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42363         * sysdeps/gnu/_G_config.h: Likewise.
42364         * sysdeps/mach/hurd/_G_config.h: Likewise.
42365
42366 2012-02-07  Marek Polacek  <polacek@redhat.com>
42367
42368         * math/Makefile (tests): Add tst-CMPLX2.
42369         * math/tst-CMPLX2.c: New file.
42370
42371 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
42372
42373         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42374
42375         * math/libm-test.inc (jn_test): Add missing L suffix.
42376
42377 2012-02-06  Marek Polacek  <polacek@redhat.com>
42378
42379         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42380         * sysdeps/i386/fpu/e_powf.S: Likewise.
42381         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42382         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42383         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42384         * sysdeps/i386/fpu/e_pow.S: Likewise.
42385         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42386         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42387         * sysdeps/i386/fpu/s_expm1.S: Likewise.
42388         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42389         * sysdeps/i386/fpu/e_log2.S: Likewise.
42390         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42391         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42392         * sysdeps/i386/fpu/e_powl.S: Likewise.
42393         * sysdeps/i386/fpu/s_log1p.S: Likewise.
42394         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42395         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42396         * sysdeps/i386/fpu/e_logl.S: Likewise.
42397         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42398         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42399         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42400         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42401         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42402         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42403         * sysdeps/i386/fpu/e_log.S: Likewise.
42404         * sysdeps/i386/fpu/s_cexp.S: Likewise.
42405         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42406         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42407         * sysdeps/i386/fpu/e_logf.S: Likewise.
42408         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42409         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42410         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42411         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42412         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42413         * sysdeps/i386/fpu/e_log10.S: Likewise.
42414         * sysdeps/i386/fpu/s_frexp.S: Likewise.
42415         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42416         * sysdeps/i386/fpu/s_asinh.S: Likewise.
42417         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42418         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42419         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42420         * sysdeps/i386/asm-syntax.h: Likewise.
42421         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42422         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42423         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42424         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42425         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42426         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42427         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42428         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42429         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42430         * sysdeps/powerpc/sysdep.h: Likewise.
42431         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42432         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42433
42434 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42435
42436         [BZ #411]
42437         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42438
42439 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42440
42441         * sysdeps/i386/sysdep.h: Include <features.h>.
42442         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42443         version.
42444
42445 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
42446
42447         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42448         Define.
42449         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42450         LOAD_PIC_REG_STR.
42451
42452 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42453
42454         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42455         (SETUP_PIC_REG): Use GET_PC_THUNK.
42456         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42457         macro.
42458
42459 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42460
42461         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42462         for non-PIC compilation.
42463         (SETUP_PIC_REG): Add .p2align directive.
42464         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42465         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42466         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42467         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42468         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42469         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42470         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42471         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42472         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42473         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42474         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42475         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42476         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42477         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42478         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42479         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42480         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42481         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42482         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42483         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42484         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42485         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42486         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42487         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42488         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42489         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42490         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42491         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42492         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42493         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42494         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42495         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42496         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42497         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42498         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42499         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42500         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42501         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42502         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42503         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42504         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42505
42506 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42507
42508         * math/tst-CMPLX.c: Include <stdio.h>.
42509
42510 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
42511
42512         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42513         float.
42514         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42515         * sysdeps/sparc/bits/mathdef.h: Likewise.
42516
42517 2012-01-31  Marek Polacek  <polacek@redhat.com>
42518
42519         * libio/libio.h: Don't define _PARAMS.
42520         * locale/programs/config.h: Don't define PARAMS.
42521         * stdlib/strtol_l.c: Likewise.
42522         (__strtol_l): Remove PARAMS from the prototype.
42523
42524 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
42525
42526         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
42527         names.  Just use the correct names.  Remove unnecessary wrapper
42528         functions.
42529         * malloc/arena.c: Likewise.
42530         * malloc/hooks.c: Likewise.
42531
42532         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42533         ARENA_TEST says not to.  Simplify test for creation of a new arena.
42534         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42535
42536 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
42537
42538         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42539         into tail calls.
42540         (update_get_addr): New function.
42541         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42542         GET_ADDR_MODULE parameter.
42543
42544 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42545
42546         * crypt/cert.c: Remove __STDC__ conditionals.
42547         * crypt/crypt-entry.c: Likewise.
42548         * crypt/crypt_util.c: Likewise.
42549         * libio/filedoalloc.c: Likewise.
42550         * libio/fileops.c: Likewise.
42551         * libio/genops.c: Likewise.
42552         * libio/iofclose.c: Likewise.
42553         * libio/iofdopen.c: Likewise.
42554         * libio/iofopen.c: Likewise.
42555         * libio/iofopen64.c: Likewise.
42556         * libio/iogetdelim.c: Likewise.
42557         * libio/iopopen.c: Likewise.
42558         * libio/obprintf.c: Likewise.
42559         * libio/oldfileops.c: Likewise.
42560         * libio/oldiofclose.c: Likewise.
42561         * libio/oldiofdopen.c: Likewise.
42562         * libio/oldiofopen.c: Likewise.
42563         * libio/oldiopopen.c: Likewise.
42564         * libio/wfiledoalloc.c: Likewise.
42565         * libio/wgenops.c: Likewise.
42566         * locale/programs/xmalloc.c: Likewise.
42567         * misc/syslog.c: Likewise.
42568         * stdio-common/xbug.c: Likewise.
42569         * string/memchr.c: Likewise.
42570         * string/memcmp.c: Likewise.
42571         * string/memrchr.c: Likewise.
42572         * string/rawmemchr.c: Likewise.
42573         * sysdeps/posix/getcwd.c: Likewise.
42574         * time/strftime_l.c: Likewise.
42575
42576 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42577
42578         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42579         * config.make.in (config-cflags-sse2avx): Define.
42580         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42581         Fix typo.
42582
42583 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
42584
42585         * scripts/config.guess: Update from upstream config git repository.
42586         * scripts/config.sub: Likewise.
42587
42588 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
42589
42590         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42591         (EM_NUM): Update.
42592         (R_TILEPRO_*, R_TILEGX_*): New macros.
42593
42594         * scripts/firstversions.awk: Fix bug in version range handling.
42595
42596         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42597
42598         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42599
42600         * include/sys/epoll.h: New file.
42601         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42602         libc_hidden_def.
42603
42604 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
42605
42606         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42607         Avoid unnecessary __WORDSIZE == 64 test.
42608         (fmaxf): Use VEX format if possible.
42609         (fmax): Likewise.
42610         (fminf): Likewise.
42611         (fmin): Likewise.
42612
42613         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42614         * math/math_private.h: Remove libc_fegetround* and
42615         libc_fesetround*.
42616         * sysdeps/i386/configure.in: Check for -msse2avx.
42617         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42618         also if SSE2AVX is defined.
42619         Remove libc_fegetround* and libc_fesetround*.
42620         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42621         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
42622         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42623         of HAS_YMM_USABLE.
42624         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42625         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42626         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42627         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42628         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42629
42630         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42631
42632 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42633
42634         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42635         size is not set.
42636         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42637
42638 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
42639
42640         [BZ #13618]
42641         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42642         relocation.
42643         * Makeconfig (libm): Define.
42644         * elf/Makefile: Add rules to build and run tst-relsort1.
42645         * elf/tst-relsort1.c: New file.
42646         * elf/tst-relsort1mod1.c: New file.
42647         * elf/tst-relsort1mod2.c: New file.
42648
42649 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
42650
42651         * math/s_ldexp.c: Remove __STDC__ conditionals.
42652         * math/s_ldexpf.c: Likewise.
42653         * math/s_ldexpl.c: Likewise.
42654         * math/s_nextafter.c: Likewise.
42655         * math/s_nexttowardf.c: Likewise.
42656         * math/s_significand.c: Likewise.
42657         * math/s_significandf.c: Likewise.
42658         * math/s_significandl.c: Likewise.
42659         * math/w_jnl.c: Likewise.
42660         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42661         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42662         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42663         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42664         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42665         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42666         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42667         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42668         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42669         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42670         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42671         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42672         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42673         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42674         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42675         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42676         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42677         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42678         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42679         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42680         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42681         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42682         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42683         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42684         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42685         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42686         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42687         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42688         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42689         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42690         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42691         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42692         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42693         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42694         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42695         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42696         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42697         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42698         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42699         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42700         * sysdeps/ieee754/k_standard.c: Likewise.
42701         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42702         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42703         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42704         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42705         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42706         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42707         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42708         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42709         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42710         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42711         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42712         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42713         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42714         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42715         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42716         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42717         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42718         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42719         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42720         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42721         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42722         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42723         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42724         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42725         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42726         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42727         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42728         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42729         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42730         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42731         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42732         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42733         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42734         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42735         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42736         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42737         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42738         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42739         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42740         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42741         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42742         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42743         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42744         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42745         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42746         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42747         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42748         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42749         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42750         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42751         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42752         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42753         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42754         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42755         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42756         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42757         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42758         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42759         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42760         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42761         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42762         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42763         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42764         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42765         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42766         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42767         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42768         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42769         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42770         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42771         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42772         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42773         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42774         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42775         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42776         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42777         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42778         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42779         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42780         * sysdeps/ieee754/s_matherr.c: Likewise.
42781         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42782         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42783         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42784         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42785
42786 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42787
42788         * crypt/md5.h: Remove __STDC__ conditionals.
42789         * libio/libioP.h: Likewise.
42790         * locale/programs/config.h: Likewise.
42791         * sysdeps/generic/sysdep.h: Likewise.
42792         * sysdeps/i386/asm-syntax.h: Likewise.
42793         * sysdeps/s390/asm-syntax.h: Likewise.
42794         * sysdeps/unix/sysdep.h: Likewise.
42795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42797
42798 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42799
42800         * libio/libio.h: Remove __STDC__ conditionals.
42801         * malloc/obstack.h: Likewise.
42802         * math/complex.h: Likewise.
42803         * math/math.h: Likewise.
42804         * sysdeps/generic/_G_config.h: Likewise.
42805         * sysdeps/gnu/_G_config.h: Likewise.
42806         * sysdeps/mach/hurd/_G_config.h: Likewise.
42807         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42808         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42809         * sysdeps/sparc/bits/mathdef.h: Likewise.
42810
42811 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
42812
42813         [BZ #13583]
42814         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42815         Clean up HAS_* macros.
42816         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42817         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42818         possible.
42819         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42820         HAS_AVX.
42821         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42822         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42823         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42824         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42825         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42826
42827 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
42828
42829         * elf/tst-unique3.cc (gets): Remove declaration.
42830         * elf/tst-unique3lib.cc (gets): Likewise.
42831         * elf/tst-unique3lib2.cc (gets): Likewise.
42832         * elf/tst-unique4.cc (gets): Likewise.
42833
42834 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
42835
42836         * include/stdio.h: Add C++ protection.  Add gets declarations and
42837         definitions.
42838         * debug/tst-chk1.c: Don't declare gets here.
42839         * stdio-common/tst-gets.c: Likewise.
42840
42841 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42842
42843         * posix/glob: Remove directory.
42844
42845 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42846
42847         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42848
42849 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
42850
42851         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42852         of the non-standard EPFNOSUPPORT.
42853
42854 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42855
42856         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42857         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42858         ANYWHERE set to 1 only on KERN_NO_SPACE error.
42859
42860 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
42861
42862         * wcsmbs/uchar.h: Test __STDC_VERSION__.
42863
42864 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
42865
42866         * nscd/aicache.c (addhstaiX): Do not cache negative results of
42867         transient errors.
42868         * nscd/grpcache.c (cache_addgr): Likewise.
42869         * nscd/hstcache.c (cache_addhst): Likewise.
42870         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42871         * nscd/pwdcache.c (cache_addpw): Likewise.
42872         * nscd/servicescache.c (cache_addserv): Likewise.
42873
42874 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
42875
42876         * malloc/malloc.c: Various cleanups.
42877         * malloc/hooks.c: Likewise.
42878
42879         * stdlib/Makefile (tests): Add bug-fmtmsg1.
42880         * stdlib/bug-fmtmsg1.c: New file.
42881
42882         * stdlib/fmtmsg.c (init): Add missing unlock.
42883         Patch by Peng Haitao <penght@cn.fujitsu.com>.
42884
42885 2012-01-12  Marek Polacek  <polacek@redhat.com>
42886
42887         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42888         and _GNU_SOURCE.
42889
42890 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42891
42892         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42893         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42894         macro to ensure uniqueness of label name.
42895         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42896         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42897
42898 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
42899
42900         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42901
42902         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42903         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42904         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42905         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42906
42907 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
42908
42909         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42910
42911         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42912         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42913         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42914
42915         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42916
42917         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42918         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42919         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42920         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42921
42922         * math/bits/math-finite.h: Add ldexp support.
42923
42924 2012-01-10  Marek Polacek  <polacek@redhat.com>
42925
42926         * locale/programs/localedef.h (show_archive_content): Add noreturn
42927         attribute.
42928
42929 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
42930
42931         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42932
42933 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42934
42935         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42936
42937         * io/Makefile (headers): Add bits/poll2.h.
42938
42939 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
42940
42941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42942         typo #include statement.
42943
42944 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42945
42946         * include/sys/cdefs.h: Define __attribute_alloc_size.
42947         * catgets/gencat.c: Add alloc_size attribute and apply consistently
42948         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42949         * elf/pldd.c: Likewise.
42950         * iconv/iconv_charmap.c: Likewise.
42951         * iconv/iconvconfig.c: Likewise.
42952         * iconv/strtab.c: Likewise.
42953         * locale/programs/locale.c: Likewise.
42954         * locale/programs/localedef.h: Likewise.
42955         * locale/programs/simple-hash.c: Likewise.
42956         * nscd/nscd.h: Likewise.
42957         * nss/makedb.c: Likewise.
42958         * sysdeps/generic/ldconfig.h: Likewise.
42959         * locale/programs/localedef.c: Remove xmalloc prototype.
42960         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42961
42962 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42963
42964         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42965         appropriate.
42966
42967 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42968
42969         * math/Makefile (tests): Add tst-CMPLX.
42970         * math/tst-CMPLX.c: New file.
42971
42972         * math/complex.h (CMPLXL): Fix typo.
42973
42974         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42975         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42976         GLIBC_2.16.
42977         * debug/tst-chk1.c: Add poll and ppoll tests.
42978         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42979         * include/sys/poll.h: Add hidden proto for ppoll.
42980         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42981         * sysdeps/mach/hurd/ppoll.c: Likewise.
42982         * io/ppoll.c: Likewise.
42983         * debug/poll_chk.c: New file.
42984         * debug/ppoll_chk.c: New file.
42985         * include/bits/poll2.h: New file.
42986         * io/bits/poll2.h: New file.
42987
42988         [BZ #1350]
42989         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42990
42991         * configure.in: static is always set to yes.  Remove.
42992         * config.make.in: Don't set build-static.
42993         * Makeconfig: Remove use of build-static.
42994         * dlfcn/Makefile: Likewise.
42995         * elf/Makefile: Likewise.
42996         * math/Makefile: Likewise.
42997         * misc/Makefile: Likewise.
42998         * nptl/Makefile: Likewise.
42999         * sysdeps/mach/hurd/Makefile: Likewise.
43000
43001         * configure.in: PWD_P is not used anymore.
43002         * config.make.in: Remove PWD_P entry.
43003
43004         * configure.in: Remove last remnants of RANLIB.
43005         No need to check for signed size_t anymore.
43006         Don't set libc_commonpagesize and libc_relro_required here for Alpha
43007         and IA-64.
43008         Remove __builtin_expect test because we require at least gcc 3.4.
43009         * aclocal.m4: Likewise.
43010
43011         * wcsmbs/mbrtoc16.c: Implement using towc function.
43012         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43013         * wcsmbs/wcsmbsload.c: Likewise.
43014         * iconv/gconv_simple.c: Likewise.
43015         * iconv/gconv_int.h: Likewise.
43016         * iconv/gconv_builtin.h: Likewise.
43017         * iconv/iconv_prog.c: Remove CHAR16 handling.
43018
43019         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43020
43021         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43022
43023         * configure.in: Remove --with-elf and --enable-bounded options.
43024         Dont set base_machine for ia64.  More non-ELF conditions removed.
43025         Remove testing and setting of leading underscore information.
43026         * config.make.in (build-bounded): Set to no.
43027         * config.h.in: Remove NO_UNDERSCORES entry.
43028         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
43029         them.
43030         * csu/start.c: Remove !NO_UNDERSCORE code.
43031         * locale/localeinfo.h: Likewise.
43032         * sysdeps/generic/machine-gmon.h: Likewise.
43033         * sysdeps/generic/sysdep.h: Likewise.
43034         * sysdeps/i386/sysdep.h: Likewise.
43035         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43036         * sysdeps/mach/sysdep.h: Likewise.
43037         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43038         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43039         * sysdeps/sh/sysdep.h: Likewise.
43040         * sysdeps/sparc/sparc32/alloca.S: Likewise.
43041         * sysdeps/unix/i386/sysdep.S: Likewise.
43042         * sysdeps/unix/sparc/start.c: Likewise.
43043         * sysdeps/unix/sparc/sysdep.S: Likewise.
43044         * sysdeps/unix/sparc/sysdep.h: Likewise.
43045         * sysdeps/unix/start.c: Likewise.
43046         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43047         * sysdeps/x86_64/sysdep.h: Likewise.
43048
43049 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
43050
43051         [BZ #13553]
43052         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43053         for non-gcc.
43054         * argp/argp-fmtstream.h: Use const instead __const.
43055         * argp/argp.h: Likewise.
43056         * assert/assert.h: Likewise.
43057         * bits/fenv.h: Likewise.
43058         * bits/sched.h: Likewise.
43059         * bits/sigset.h: Likewise.
43060         * bits/sigthread.h: Likewise.
43061         * catgets/nl_types.h: Likewise.
43062         * conform/data/pthread.h-data: Likewise.
43063         * crypt/crypt-private.h: Likewise.
43064         * crypt/crypt.h: Likewise.
43065         * crypt/crypt_util.c: Likewise.
43066         * ctype/ctype.h: Likewise.
43067         * debug/execinfo.h: Likewise.
43068         * debug/mbsnrtowcs_chk.c: Likewise.
43069         * debug/mbsrtowcs_chk.c: Likewise.
43070         * debug/wcsnrtombs_chk.c: Likewise.
43071         * debug/wcsrtombs_chk.c: Likewise.
43072         * debug/wcstombs_chk.c: Likewise.
43073         * dirent/dirent.h: Likewise.
43074         * dlfcn/dlfcn.h: Likewise.
43075         * elf/neededtest4.c: Likewise.
43076         * grp/grp.h: Likewise.
43077         * gshadow/gshadow.h: Likewise.
43078         * iconv/gconv.h: Likewise.
43079         * iconv/gconv_int.h: Likewise.
43080         * iconv/gconv_simple.c: Likewise.
43081         * iconv/iconv.h: Likewise.
43082         * iconv/loop.c: Likewise.
43083         * iconv/skeleton.c: Likewise.
43084         * include/aio.h: Likewise.
43085         * include/aliases.h: Likewise.
43086         * include/argz.h: Likewise.
43087         * include/arpa/inet.h: Likewise.
43088         * include/assert.h: Likewise.
43089         * include/dirent.h: Likewise.
43090         * include/dlfcn.h: Likewise.
43091         * include/execinfo.h: Likewise.
43092         * include/fcntl.h: Likewise.
43093         * include/fenv.h: Likewise.
43094         * include/glob.h: Likewise.
43095         * include/grp.h: Likewise.
43096         * include/libintl.h: Likewise.
43097         * include/mntent.h: Likewise.
43098         * include/netdb.h: Likewise.
43099         * include/pwd.h: Likewise.
43100         * include/rpc/netdb.h: Likewise.
43101         * include/sched.h: Likewise.
43102         * include/search.h: Likewise.
43103         * include/shadow.h: Likewise.
43104         * include/signal.h: Likewise.
43105         * include/stdio.h: Likewise.
43106         * include/stdlib.h: Likewise.
43107         * include/string.h: Likewise.
43108         * include/sys/socket.h: Likewise.
43109         * include/sys/stat.h: Likewise.
43110         * include/sys/statfs.h: Likewise.
43111         * include/sys/statvfs.h: Likewise.
43112         * include/sys/syslog.h: Likewise.
43113         * include/sys/time.h: Likewise.
43114         * include/sys/uio.h: Likewise.
43115         * include/time.h: Likewise.
43116         * include/unistd.h: Likewise.
43117         * include/utmp.h: Likewise.
43118         * include/wchar.h: Likewise.
43119         * include/wctype.h: Likewise.
43120         * inet/aliases.h: Likewise.
43121         * inet/arpa/inet.h: Likewise.
43122         * inet/netinet/ether.h: Likewise.
43123         * inet/netinet/in.h: Likewise.
43124         * intl/libintl.h: Likewise.
43125         * io/bits/fcntl2.h: Likewise.
43126         * io/fcntl.h: Likewise.
43127         * io/ftw.h: Likewise.
43128         * io/sys/poll.h: Likewise.
43129         * io/sys/stat.h: Likewise.
43130         * io/sys/statfs.h: Likewise.
43131         * io/sys/statvfs.h: Likewise.
43132         * io/utime.h: Likewise.
43133         * libio/bits/stdio.h: Likewise.
43134         * libio/bits/stdio2.h: Likewise.
43135         * libio/libio.h: Likewise.
43136         * libio/libioP.h: Likewise.
43137         * libio/stdio.h: Likewise.
43138         * locale/lc-ctype.c: Likewise.
43139         * locale/locale.h: Likewise.
43140         * login/utmp.h: Likewise.
43141         * malloc/arena.c: Likewise.
43142         * malloc/malloc.c: Likewise.
43143         * malloc/malloc.h: Likewise.
43144         * malloc/mcheck.c: Likewise.
43145         * malloc/mtrace.c: Likewise.
43146         * math/bits/mathcalls.h: Likewise.
43147         * math/fenv.h: Likewise.
43148         * math/math_private.h: Likewise.
43149         * misc/bits/error.h: Likewise.
43150         * misc/bits/syslog.h: Likewise.
43151         * misc/err.h: Likewise.
43152         * misc/error.h: Likewise.
43153         * misc/fstab.h: Likewise.
43154         * misc/mntent.h: Likewise.
43155         * misc/regexp.h: Likewise.
43156         * misc/search.h: Likewise.
43157         * misc/sgtty.h: Likewise.
43158         * misc/sys/mman.h: Likewise.
43159         * misc/sys/syslog.h: Likewise.
43160         * misc/sys/uio.h: Likewise.
43161         * misc/sys/xattr.h: Likewise.
43162         * misc/ttyent.h: Likewise.
43163         * nis/rpcsvc/ypclnt.h: Likewise.
43164         * nss/nss.h: Likewise.
43165         * posix/bits/unistd.h: Likewise.
43166         * posix/fnmatch.h: Likewise.
43167         * posix/glob.h: Likewise.
43168         * posix/sched.h: Likewise.
43169         * posix/spawn.h: Likewise.
43170         * posix/sys/wait.h: Likewise.
43171         * posix/unistd.h: Likewise.
43172         * posix/wordexp.h: Likewise.
43173         * pwd/pwd.h: Likewise.
43174         * resolv/netdb.h: Likewise.
43175         * resource/sys/resource.h: Likewise.
43176         * rt/aio.h: Likewise.
43177         * rt/bits/mqueue2.h: Likewise.
43178         * rt/mqueue.h: Likewise.
43179         * shadow/shadow.h: Likewise.
43180         * signal/signal.h: Likewise.
43181         * socket/send.c: Likewise.
43182         * socket/sendto.c: Likewise.
43183         * socket/sys/socket.h: Likewise.
43184         * stdio-common/printf.h: Likewise.
43185         * stdlib/bits/stdlib.h: Likewise.
43186         * stdlib/fmtmsg.h: Likewise.
43187         * stdlib/monetary.h: Likewise.
43188         * stdlib/stdlib.h: Likewise.
43189         * stdlib/ucontext.h: Likewise.
43190         * streams/stropts.h: Likewise.
43191         * string/argz.h: Likewise.
43192         * string/bits/string2.h: Likewise.
43193         * string/string.h: Likewise.
43194         * string/strings.h: Likewise.
43195         * sunrpc/rpc/auth.h: Likewise.
43196         * sunrpc/rpc/auth_des.h: Likewise.
43197         * sunrpc/rpc/clnt.h: Likewise.
43198         * sunrpc/rpc/netdb.h: Likewise.
43199         * sunrpc/rpc/pmap_clnt.h: Likewise.
43200         * sunrpc/rpc/xdr.h: Likewise.
43201         * sysdeps/generic/inttypes.h: Likewise.
43202         * sysdeps/generic/net/if.h: Likewise.
43203         * sysdeps/generic/sys/swap.h: Likewise.
43204         * sysdeps/gnu/net/if.h: Likewise.
43205         * sysdeps/gnu/utmpx.h: Likewise.
43206         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
43207         * sysdeps/i386/i486/bits/string.h: Likewise.
43208         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
43209         * sysdeps/s390/bits/string.h: Likewise.
43210         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
43211         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
43212         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
43213         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
43214         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
43215         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
43216         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
43217         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
43218         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
43219         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
43220         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
43221         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
43222         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
43223         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
43224         * sysdeps/unix/sysv/linux/readv.c: Likewise.
43225         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
43226         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43227         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43228         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
43229         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
43230         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43231         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
43232         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
43233         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
43234         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
43235         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
43236         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
43237         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43238         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
43239         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
43240         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
43241         * sysvipc/sys/ipc.h: Likewise.
43242         * sysvipc/sys/msg.h: Likewise.
43243         * sysvipc/sys/sem.h: Likewise.
43244         * sysvipc/sys/shm.h: Likewise.
43245         * termios/termios.h: Likewise.
43246         * time/sys/time.h: Likewise.
43247         * time/time.h: Likewise.
43248         * wcsmbs/bits/wchar2.h: Likewise.
43249         * wcsmbs/uchar.h: Likewise.
43250         * wcsmbs/wchar.h: Likewise.
43251         * wctype/wctype.h: Likewise.
43252
43253         [BZ #13551]
43254         * Makeconfig: Remove all but ELF support including AIX support.
43255         * Makerules: Likewise.
43256         * config.h.in: Likewise.
43257         * config.make.in: Likewise.
43258         * configure: Likewise.
43259         * configure.in: Likewise.
43260         * csu/Makefile: Likewise.
43261         * csu/version.c: Likewise.
43262         * debug/Makefile: Likewise.
43263         * dlfcn/Makefile: Likewise.
43264         * elf/Makefile: Likewise.
43265         * extra-lib.mk: Likewise.
43266         * iconv/Makefile: Likewise.
43267         * include/libc-symbols.h: Likewise.
43268         * include/shlib-compat.h: Likewise.
43269         * resolv/Makefile: Likewise.
43270         * resolv/res_libc.c: Likewise.
43271         * rt/Makefile: Likewise.
43272         * sysdeps/i386/asm-syntax.h: Likewise.
43273         * sysdeps/i386/sysdep.h: Likewise.
43274         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43275         * sysdeps/mach/sysdep.h: Likewise.
43276         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
43277         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
43278         * sysdeps/s390/asm-syntax.h: Likewise.
43279         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43280         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43281         * sysdeps/sh/sysdep.h: Likewise.
43282         * sysdeps/unix/sparc/sysdep.h: Likewise.
43283         * sysdeps/wordsize-32/divdi3.c: Likewise.
43284         * sysdeps/x86_64/sysdep.h: Likewise.
43285
43286         * argp/Versions: Remove _argp_unlock_xxx.
43287
43288         [BZ #13559]
43289         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
43290         * abilist/libBrokenLocale.abilist: Likewise.
43291         * abilist/libanl.abilist: Likewise.
43292         * abilist/libc.abilist: Likewise.
43293         * abilist/libcrypt.abilist: Likewise.
43294         * abilist/libdl.abilist: Likewise.
43295         * abilist/libm.abilist: Likewise.
43296         * abilist/libnsl.abilist: Likewise.
43297         * abilist/libpthread.abilist: Likewise.
43298         * abilist/libresolv.abilist: Likewise.
43299         * abilist/librt.abilist: Likewise.
43300         * abilist/libthread_db.abilist: Likewise.
43301         * abilist/libutil.abilist: Likewise.
43302         * abilist/libnss_db.abilist: New file.
43303
43304         * scripts/abilist.awk: Add support for indirect functions.
43305
43306         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43307
43308         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43309
43310         * shlib-versions: Remove entries for ports architectures.
43311
43312         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
43313         files in ports.
43314         * elf/stackguard-macros.h: Remove support for IA-64.
43315         * elf/tst-auditmod1.c: Likewise.
43316         * sysdeps/generic/ldsodefs.h: Likewise.
43317
43318         * sysdeps/unix/sysv/linux/configure.in: Ports should define
43319         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43320         configure files.
43321
43322         [BZ #13552]
43323         * configure.in: Remove --enable-omitfp support.
43324         * FAQ.in: Adjust.
43325         * config.make.in: Likewise.
43326         * Makeconfig: Likewise.
43327         * manual/install.texi: Likewise.
43328
43329         In case anyone cares, the IA-64 architecture could move to ports.
43330         * sysdeps/ia64/*: Removed.
43331         * sysdeps/unix/sysv/linux/ia64/*: Removed.
43332         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
43333
43334         [BZ #13555]
43335         * configure.in: Remove entries for unsupported architectures.
43336
43337         [BZ #13533]
43338         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43339         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
43340         routines.
43341         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43342         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43343         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
43344         fall back to using wcrtomb.
43345         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43346         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
43347         renaming.
43348         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43349         * wcsmbs/tst-c16c32-1.c: New file.
43350
43351         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43352         local variable.
43353
43354         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43355
43356         * elf/tst-unique3.cc: Add explicit declaration of gets.
43357         * elf/tst-unique3lib.cc: Likewise.
43358         * elf/tst-unique3lib2.cc: Likewise.
43359         * elf/tst-unique4.cc: Likewise.
43360
43361         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43362
43363 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
43364
43365         [BZ #13566]
43366         * assert/assert.h (static_assert): Don't define for C++.
43367         * libio/stdio.h (gets): Do declare for C++ <= C++11.
43368         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43369
43370 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
43371
43372         * iconv/loop.c (single loop): Fix assertion in storing of
43373         remaining bytes.
43374
43375         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43376
43377 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
43378
43379         * posix/getconf.c: Update copyright year.
43380         * nss/getent.c: Likewise.
43381         * nss/makedb.c: Likewise.
43382         * iconv/iconvconfig.c: Likewise.
43383         * iconv/iconv_prog.c: Likewise.
43384         * elf/ldconfig.c: Likewise.
43385         * elf/pldd.c: Likewise.
43386         * elf/sotruss.ksh: Likewise.
43387         * catgets/gencat.c: Likewise.
43388         * csu/version.c: Likewise.
43389         * elf/ldd.bash.in: Likewise.
43390         * elf/sprof.c (print_version): Likewise.
43391         * locale/programs/locale.c: Likewise.
43392         * locale/programs/localedef.c: Likewise.
43393         * login/programs/pt_chown.c: Likewise.
43394         * nscd/nscd.c (print_version): Likewise.
43395         * debug/xtrace.sh: Likewise.
43396         * malloc/memusage.sh: Likewise.
43397         * malloc/mtrace.pl: Likewise.
43398         * debug/catchsegv.sh: Likewise.
43399
43400 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
43401
43402         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43403         pure attribute.
43404
43405 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
43406
43407         [BZ #13533]
43408         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43409         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43410         transformations.
43411         * iconv/gconv_int.h: Likewise.
43412         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43413         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43414         from libc for GLIBC_2.16.
43415         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43416         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43417         * wcsmbs/uchar.h: Really define mbstate_t.
43418         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43419         * wcsmbs/c16rtomb.c: New file.
43420         * wcsmbs/mbrtoc16.c: New file.
43421         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43422         for C/POSIX locale.
43423         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43424         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43425
43426         * wcsmbs/wchar.h: Add missing __restrict.
43427
43428 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43429
43430         [BZ #13532]
43431         * time/Makefile (routines): Add timespec_get.
43432         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43433         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43434         timespec for ISO C11.
43435         * time/timespec_get.c: New file.
43436         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43437         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43438
43439         [BZ #13531]
43440         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43441         * stdlib/stdlib.h: Declare aligned_alloc.
43442         * Versions.def: Add GLIBC_2.16 for libc.
43443         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43444
43445         [BZ 13527]
43446         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43447         ISO C11.
43448
43449         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43450         code.
43451
43452         [BZ #13528]
43453         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43454
43455         [BZ #13529]
43456         * assert/assert.h (static_assert): Define.
43457
43458         * version.h: Update for 2.16 development version.
43459
43460         [BZ #13526]
43461         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43462         _ISOC11_SOURCE.
43463
43464         * version.h (RELEASE): Bump for 2.15 release.
43465         * include/features.h (__GLIBC_MINOR__): Bump to 15.
43466
43467         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43468         Patch by Marek Polacek <mpolacek@redhat.com>.
43469
43470         * bits/byteswap.h: Protect long long constants with __extension__.
43471         * sysdeps/i386/bits/byteswap.h: Likewise.
43472         * sysdeps/ia64/bits/byteswap.h: Likewise.
43473         * sysdeps/s390/bits/byteswap.h: Likewise.
43474         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43475
43476 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43477
43478         [BZ #13540]
43479         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43480         destination buffer.
43481         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43482
43483 2011-12-23  Marek Polacek  <polacek@redhat.com>
43484
43485         * elf/dl-addr.c (determine_info): Add inline keyword.
43486         * elf/tst-auditmod4b.c (check_avx): Likewise.
43487         * elf/tst-auditmod6b.c (check_avx): Likewise.
43488         * elf/tst-auditmod6c.c (check_avx): Likewise.
43489         * elf/tst-auditmod7b.c (check_avx): Likewise.
43490
43491 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43492
43493         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43494         !__SSE_MATH__.
43495
43496 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43497
43498         [BZ #13540]
43499         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43500         processing for last bytes.
43501
43502 2011-08-06  Bruno Haible  <bruno@clisp.org>
43503
43504         [BZ #13061]
43505         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43506         U+0385, not to U+1FEE.
43507
43508         [BZ #13062]
43509         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43510         entry for U+00A5 U+0301.
43511
43512 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43513
43514         [BZ #13166]
43515         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43516         buffer for the output is too small.
43517
43518         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43519         optimization.
43520
43521         [BZ #13185]
43522         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43523         SSE flags if possible.
43524
43525 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43526
43527         [BZ #13540]
43528         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43529         processing for last bytes.
43530
43531 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
43532
43533         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43534         (syscall-list-default-options, syscall-list-default-condition)
43535         (syscall-list-includes): Define.
43536         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43537         list of ABIs and options and #if conditions for each ABI.  Do not
43538         handle common syscalls between ABIs specially.
43539         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43540         Remove.
43541         (syscall-list-variants, syscall-list-32bit-options)
43542         (syscall-list-32bit-condition, syscall-list-64bit-options)
43543         (syscall-list-64bit-condition): Define.
43544         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43545         (syscall-list-variants, syscall-list-32bit-options)
43546         (syscall-list-32bit-condition, syscall-list-64bit-options)
43547         (syscall-list-64bit-condition): Define.
43548         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43549         Remove.
43550         (syscall-list-variants, syscall-list-32bit-options)
43551         (syscall-list-32bit-condition, syscall-list-64bit-options)
43552         (syscall-list-64bit-condition): Define.
43553         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43554         Remove.
43555         (syscall-list-variants, syscall-list-32bit-options)
43556         (syscall-list-32bit-condition, syscall-list-64bit-options)
43557         (syscall-list-64bit-condition): Define.
43558
43559 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43560
43561         * locale/iso-639.def: Add brx entry.
43562
43563         [BZ #13328]
43564         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43565         Proposed by Mariusz_Cukr <marcukr@op.pl>.
43566
43567         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43568         __feraiseexcept_renamed.
43569
43570 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43571
43572         [BZ #13538]
43573         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43574         EPOLLET with unsigned values.
43575         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43576         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43577
43578         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43579         to large cancellation.
43580         * math/s_cacoshf.c: Likewise.
43581         * math/s_cacoshl.c: Likewise.
43582
43583 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
43584
43585         [BZ #13305]
43586         [BZ #12786]
43587         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43588         * math/s_cacoshf.c: Likewise.
43589         * math/s_cacoshl.c: Likewise.
43590
43591 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43592
43593         [BZ #13439]
43594         * iconv/gconv.h: Define __GCONV_SWAP.
43595         * iconvdata/unicode.c: The swap bit must be stored in __flags.
43596         * iconvdata/utf-16.c: Likewise.
43597         * iconvdata/utf-32.c: Likewise.
43598
43599 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
43600
43601         [BZ #13524]
43602         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43603         numerator after shifting it by one limb.
43604
43605 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
43606
43607         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43608         under [__USE_EXTERN_INLINES].
43609
43610 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43611
43612         [BZ #13446]
43613         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43614
43615 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43616
43617         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43618         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43619         optimized code.
43620         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43621         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43622         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43623         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43624         for strncasecmp/strncasecmp_l compilation.
43625         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43626         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43627
43628 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
43629
43630         [BZ #13484]
43631         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43632         of __asm__.
43633
43634 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43635
43636         [BZ #13506]
43637         * time/tzfile.c (__tzfile_read): Check values from file header.
43638
43639 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43640
43641         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43642         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43643         * powerpc/powerpc32/dl-start.S: Likewise.
43644         * powerpc/powerpc32/elf/start.S: Likewise.
43645         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43646         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43647         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43648         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43649         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43650         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43651         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43652         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43653         * powerpc/powerpc32/fpu/s_round.S: Likewise.
43654         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43655         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43656         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43657         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43658         * powerpc/powerpc32/memset.S: Likewise.
43659         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43660         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43661         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43662         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43663         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43664         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43665         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43666         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43667         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43668         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43669         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43670         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43671         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43672
43673 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43674
43675         * math/libm-test.inc: Added more nearbyint tests.
43676         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43677         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43678         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43679         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43680
43681 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
43682
43683         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43684         FD_CLOEXEC.
43685
43686 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43687
43688         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43689         Add wcscpy-ssse3 wcscpy-c.
43690         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43691         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43692         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43693         * sysdeps/x86_64/wcschr.S: New file.
43694         * sysdeps/x86_64/wcsrchr.S: New file.
43695         * string/test-strcmp.c: Remove checking of wcscmp function for
43696         wrong alignments.
43697         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43698         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43699         wcsrchr-sse2 wcsrchr-c.
43700         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43701         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43702         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43703         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43704         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43705         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43706         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43707         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43708         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43709         * wcsmbc/wcschr.c (WCSCHR): New macro.
43710
43711 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43712
43713         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43714         * wcsmbs/test-wcsrchr.c: New file.
43715         * string/test-strrchr.c: Add wcsrchr support.
43716         (WIDE): New macro.
43717         * wcsmbs/test-wcscpy.c: New file.
43718         * string/test-strcpy.c: Add wcscpy support.
43719         (WIDE): New macro.
43720
43721 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
43722
43723         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43724         the inner loop.
43725
43726 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
43727
43728         [BZ #13472]
43729         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43730
43731 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
43732
43733         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43734         Minor optimizations.
43735
43736         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43737         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43738         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43739
43740 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
43741
43742         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43743         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43744         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43745         for gcc to avoid warnings.
43746         * inet/Makefile (tests): Add tst-checks.
43747         * inet/tst-checks.c: New file.
43748
43749         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43750         warning.
43751
43752         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43753         __wmemcmp_sse2.
43754
43755         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43756         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43757
43758         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43759
43760 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
43761
43762         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43763         problem.
43764
43765         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43766
43767 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
43768
43769         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43770         conditional on GCC version.
43771         (__arch_compare_and_exchange_val_8_acq)
43772         (__arch_compare_and_exchange_val_16_acq)
43773         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43774         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43775         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43776
43777 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
43778
43779         * sysdeps/sh/backtrace.c: New file.
43780
43781 2011-12-02  Andreas Schwab  <schwab@redhat.com>
43782
43783         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
43784         parenthesis.
43785
43786 2011-12-01  Andreas Schwab  <schwab@redhat.com>
43787
43788         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43789         falling back to utime.
43790
43791 2011-11-30  Andreas Schwab  <schwab@redhat.com>
43792
43793         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43794         expectations for float.
43795
43796 2011-11-29  Andreas Schwab  <schwab@redhat.com>
43797
43798         * locale/weight.h (findidx): Add parameter len.
43799         * locale/weightwc.h (findidx): Likewise.
43800         * posix/fnmatch_loop.c (FCT): Adjust caller.
43801         * posix/regcomp.c (build_equiv_class): Likewise.
43802         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43803         * posix/regexec.c (check_node_accept_bytes): Likewise.
43804         * string/strcoll_l.c (STRCOLL): Likewise.
43805         * string/strxfrm_l.c (STRXFRM): Likewise.
43806
43807 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
43808
43809         * Makefile.in: Remove CVSOPT handling.
43810         * configure.in: Remove use of AC_REVISION.
43811         * iconvdata/Makefile (distribute): No need to filter out CVS.
43812         * scripts/list-sources.sh: Remove CVS, subversion and monotone
43813         handling.
43814
43815 2011-11-16  Andreas Schwab  <schwab@redhat.com>
43816
43817         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43818         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43819         [USE_AS_STRNCASECMP_L]: Likewise.
43820         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43821         NO_TLS_DIRECT_SEG_REFS.
43822         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43823         Fix argument offsets for non-PIC.
43824         [USE_AS_STRNCASECMP_L]: Likewise.
43825         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43826         NO_TLS_DIRECT_SEG_REFS.
43827
43828 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43829
43830         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43831         O_CLOEXEC.
43832         * locale/loadlocale.c (_nl_load_locale): Likewise.
43833
43834 2011-11-15  Andreas Schwab  <schwab@redhat.com>
43835
43836         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43837         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43838         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43839         (SYSCALL_GETTIME): Set errno on error.
43840
43841         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43842         count references to noai6ai_cached.
43843
43844 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43845
43846         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43847
43848         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43849         FD_CLOEXEC for /proc/self/maps.
43850
43851         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43852         FD_CLOEXEC for /proc/meminfo.
43853
43854         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43855         gai.conf.
43856
43857         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
43858         FD_CLOEXEC for given file.
43859
43860         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43861
43862         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43863         FD_CLOEXEC for /etc/hosts.
43864         (_gethtent): Likewise.
43865
43866         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43867
43868         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43869         cancellation and set FD_CLOEXEC for /etc/netgroup.
43870
43871         * nss/nss_files/files-key.c (search): Don't allow cancellation when
43872         reading /etc/publickey.
43873
43874         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43875         allow cancellation when reading /etc/group.
43876
43877         * nss/nss_files/files-alias.c (internal_setent): Don't allow
43878         cancellation.
43879         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
43880
43881         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43882         when using data file.
43883
43884         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43885
43886         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43887         (write_nis_obj): Use "c" and "e" in fopen.
43888
43889         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43890
43891         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43892
43893         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43894
43895         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43896
43897         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43898         locale.alias.
43899
43900         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43901
43902         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43903
43904         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43905
43906         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43907         file parsing and set FD_CLOEXEC.
43908
43909 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43910
43911         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43912
43913 2011-11-14  Andreas Schwab  <schwab@redhat.com>
43914
43915         * malloc/arena.c (arena_get2): Don't call reused_arena when
43916         _int_new_arena failed.
43917
43918 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43919
43920         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43921         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43922         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43923         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43924         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43925         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43926         to compile strcasecmp and strncasecmp.
43927         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43928         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43929
43930         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43931
43932 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
43933
43934         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43935         locale-defines.sym to gen-as-const-headers.
43936         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43937         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43938         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43939         to compile strcasecmp and strncasecmp.
43940         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43941         strcasecmp_l and strncasecmp_l.
43942         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43943         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43944         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43945         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43946         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43947         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43948         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43949         * sysdeps/i386/i686/multiarch/strncase.S: New file.
43950         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43951         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43952         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43953
43954 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
43955
43956         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43957         result of SYSDEP_GETTIME_CPU to retval.
43958         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43959         parameter list to macro.  Remove trailing semicolon.  Adjust users.
43960
43961         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43962         variable.
43963
43964         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43965         mantissa words.
43966         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43967
43968         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43969         from unused variable.
43970
43971         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43972         DWARF definitions.
43973         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43974         for assembling.
43975
43976         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43977         over namespaces.
43978
43979         * sunrpc/rpc_prot.c (rejected): Fix case value.
43980
43981         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43982         unsigned long long int to avoid warnings in shift.
43983
43984         * posix/regex_internal.c (re_string_reconstruct): Actually use result
43985         of use of trans.
43986         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43987         variable tmp.
43988
43989         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43990         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43991         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43992
43993         * nis/nis_table.c (nis_list): Use variable of correct type for
43994         result of __follow_path call.
43995
43996 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43997
43998         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43999         of math functions ceil, trunc, floor, round, and sqrt, when
44000         avaliable on the platform.
44001         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44002         name clash.
44003         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44004         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44005         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44006
44007 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
44008
44009         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44010         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44011
44012 2011-11-11  Roland McGrath  <roland@hack.frob.com>
44013
44014         * include/unistd.h: Fix __readlink return type.
44015         Reported by Chris Metcalf <cmetcalf@tilera.com>.
44016
44017 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
44018
44019         * stdlib/ucontext.h: Undo last change for makecontext.
44020
44021 2011-11-11  Andreas Schwab  <schwab@redhat.com>
44022
44023         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44024
44025         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44026         * setjmp/setjmp.h: Mark functions as non-leaf.
44027         * setjmp/bits/setjmp2.h: Likewise.
44028         * stdlib/ucontext.h: Likewise.
44029
44030 2011-11-10  Andreas Schwab  <schwab@redhat.com>
44031
44032         * malloc/arena.c (_int_new_arena): Don't increment narenas.
44033         (reused_arena): Don't check arena limit.
44034         (arena_get2): Atomically check arena limit.
44035
44036 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
44037
44038         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44039         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44040
44041         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44042         instructions.
44043
44044 2011-11-07  Andreas Schwab  <schwab@redhat.com>
44045
44046         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44047         handler when locking.
44048
44049         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44050         Fix size of allocated buffer.
44051
44052 2011-11-04  Andreas Schwab  <schwab@redhat.com>
44053
44054         [BZ #10103]
44055         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44056         declarations for long double functions.
44057         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44058
44059         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44060
44061 2011-11-03  Andreas Schwab  <schwab@redhat.com>
44062
44063         * nscd/nscd.c (main): Don't start AVC thread until credentials are
44064         installed.
44065
44066         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44067         is disabled.
44068
44069 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44070
44071         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44072
44073 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
44074
44075         * include/alloca.h (stackinfo_alloca_round): Define.
44076         (extend_alloca): Use it.
44077         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44078         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44079         here.
44080
44081         * scripts/check-local-headers.sh: Ignore libaudit.h.
44082
44083         * nscd/Makefile (extra-objs): Make recursively expanded.
44084
44085 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
44086
44087         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44088         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44089
44090         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44091         * posix/tst-rfc3484-2.c: Likewise.
44092         * posix/tst-rfc3484-3.c: Likewise.
44093
44094         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44095         process_vm_writev.
44096         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44097         process_vm_writev.
44098         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44099         process_vm_writev from libc using GLIBC_2.15 version.
44100
44101         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44102
44103 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
44104
44105         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44106         stack usage.
44107
44108 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
44109
44110         [BZ #13367]
44111         * nss/getent.c (initgroups_keys): Show error message in case no group
44112         names are given.
44113
44114         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44115         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44116         __bump_nl_timestamp.
44117         * nscd/connections (nscd_init): When host database is served open
44118         netlink socket and request notification about configuration changes.
44119         (main_loop_poll): Track netlink file descriptor and bump timestamp
44120         in case data becomes available.
44121         (main_loop_epoll): Likewise.
44122         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44123         (database_pers_head): Add extra_data fileds.
44124         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44125         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44126         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44127         Adjust caller.
44128         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44129         in6ai data, call __free_in6ai.
44130         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44131         Add -DHAVE_NETLINK.
44132         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
44133         interface information.  Reuse previous data if netlink timestamp
44134         is not changed.
44135         (__bump_nl_timestamp): New function.
44136         (__free_in6ai): New function.
44137
44138 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
44139
44140         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
44141         close_not_cancel_no_status here.
44142         (__check_pf): Reorganize code a bit to not call close twice if OOM.
44143
44144 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44145
44146         [BZ #13276]
44147         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
44148         return value.
44149
44150         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
44151         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
44152         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
44153
44154 2011-07-03  Andreas Jaeger  <aj@suse.de>
44155
44156         [BZ #10709]
44157         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
44158         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
44159         * math/libm-test.inc (sin_test): Add test case.
44160
44161 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
44162
44163         [BZ #13337]
44164         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
44165         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44166
44167         * elf/chroot_canon.c (chroot_canon): Cleanups.
44168
44169         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
44170
44171         [BZ #13335]
44172         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
44173         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
44174
44175         * string/test-strchr.c: Make usable for strchrnul testing.
44176         * string/test-strchrnul.c: New file.
44177         * string/Makefile (strop-tests): Add strchrnul.
44178
44179         * po/it.po: Update from translation team.
44180         * po/es.po: Likewise.
44181
44182 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
44183
44184         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
44185         the three constants needed as parameters.  Drop the others.
44186         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
44187         __m128i_strloadu_tolower.
44188         Create and initialize variable zero and use it in all the places
44189         where _mm_setzero_si128 was used.
44190
44191         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
44192         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
44193         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
44194         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
44195         anymore.
44196         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
44197         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
44198         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
44199         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
44200         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
44201         __mpranred, __mptan.
44202         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
44203         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
44204         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
44205         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
44206         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
44207         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
44208         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
44209         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
44210         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
44211
44212 2011-10-28  Andreas Schwab  <schwab@redhat.com>
44213
44214         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
44215         redefine if SHARED.
44216         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
44217
44218         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
44219         wide char related routines to wcsmbs subdir.
44220
44221 2011-10-27  Andreas Schwab  <schwab@redhat.com>
44222
44223         [BZ #13344]
44224         * misc/sys/cdefs.h (__THROWNL): Define.
44225         * posix/unistd.h: Use __THREADNL instead of __THREAD
44226         for memory synchronization functions.
44227
44228 2011-10-26  Roland McGrath  <roland@hack.frob.com>
44229
44230         [BZ #13349]
44231         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
44232         doesn't exist.
44233         * manual/stdio.texi (Obstack Streams): Node removed.
44234
44235 2011-10-26  Andreas Schwab  <schwab@redhat.com>
44236
44237         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
44238         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44239         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44240
44241         * math/math_private.h (math_force_eval): Allow non-addressable
44242         arguments.
44243         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
44244
44245 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44246
44247         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
44248         file is not needed.
44249
44250         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
44251         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
44252         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44253         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44254         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44255         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44256         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44257         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
44258         Add AVX variants.
44259         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
44260         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
44261         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
44262         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
44263         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
44264         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
44265         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
44266         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
44267         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
44268         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
44269         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
44270         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
44271         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
44272         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
44273         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
44274         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
44275         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
44276         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
44277         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
44278
44279         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44280         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
44281
44282         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44283         place.  Use VEX encoding when compiling for AVX.
44284
44285 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44286
44287         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44288         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44289
44290         * string/test-strchr.c (do_test): Don't generate NUL bytes.
44291
44292 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44293
44294         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
44295         useless if() expression.
44296         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44297         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44298         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44299         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44300         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44301         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44302         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44303         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44304         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44305         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44306         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44307         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44308         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44309         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44310         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44311         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44312         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44313         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44314         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44315
44316         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44317
44318 2011-10-25  Andreas Schwab  <schwab@redhat.com>
44319
44320         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44321         condition.
44322         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44323
44324 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
44325
44326         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44327         .text section.  Avoid duplicate constants.
44328         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44329         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44330         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44331         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44332         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44333         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44334         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44335         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44336         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44337         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44338         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44339         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44340         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44341         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44342         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44343         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44344         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44345         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44346         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44347         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44348         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44349         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44350         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44351         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44352         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44353         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44354         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44355         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44356         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44357         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44358         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44359         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44360         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44361         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44362         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44363         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44364         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44365         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44366         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44367         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44368         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44369         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44370         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44371         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44372         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44373
44374 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
44375
44376         * sysdeps/x86_64/dla.h: Move to ...
44377         * sysdeps/x86_64/fpu/dla.h: ...here.
44378         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44379         situations.  Use __builtin_fma only for gcc 4.6 and up.
44380
44381         * config.make.in: Add have-mfma4 entry.
44382         * configure.in: Substitute libc_cv_cc_fma4.
44383         * math/Makefile (dbl-only-routines): Add sincostab.
44384         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44385         Use __sincostab not sincos.
44386         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44387         name is a macro.
44388         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44389         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44390         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44391         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
44392         using __copysign.
44393         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
44394         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
44395         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44396         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44397         and __inv.
44398         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44399         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44400         __copysign.
44401         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
44402         define aliases when function name is a macro.
44403         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44404         sysdeps/ieee754/dbl-64/sincos.tbl.
44405         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44406         fma4-enabled routines.
44407         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44408         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44409         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44410         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44411         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44412         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44413         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44414         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44415         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44416         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44417         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44418         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44419         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44420         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44421         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44422         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44423         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44424         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44425         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44426         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44427         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44428         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44429         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44430         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44431         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44432         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44433         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44434         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44435         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44436         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44437
44438         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44439         rename.
44440         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44441         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44442         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44443         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44444         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44445         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44446         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44447         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44448
44449 2011-10-24  Andreas Schwab  <schwab@redhat.com>
44450
44451         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44452
44453 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44454
44455         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44456
44457         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44458         prediction.
44459         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44460
44461         * string/strnlen.c: Don't define STRNLEN, reverse logic.
44462         Remove unused variable magic_bits.
44463         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44464
44465         * string/strnlen.c: Define and use STRNLEN macro.
44466         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44467         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44468         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44469         * wcsmbs/wcslen.c: Define and use WCSLEN.
44470         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44471         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44472         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44473         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44474         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44475         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44476         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44477
44478 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44479
44480         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44481         strnlen-sse2-no-bsf.
44482         Rename strlen-no-bsf to strlen-sse2-no-bsf.
44483         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44484         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44485         Add strnlen support.
44486         (USE_AS_STRNLEN): New macro.
44487         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44488         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44489         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44490         * sysdeps/x86_64/wcslen.S: New file.
44491
44492 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
44493
44494         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44495         XMM-moves are used for copying on small sizes.
44496
44497 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44498
44499         * wcsmbs/Makefile (strop-tests): Add wcschr.
44500         * wcsmbs/test-wcschr.c: New file.
44501         * string/test-strchr.c: Update.
44502         Add wcschr support.
44503         (WIDE): New macro.
44504
44505 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44506
44507         * wcsmbs/Makefile (strop-tests): Add wcslen.
44508         * wcsmbs/test-wcslen.c: New file.
44509         * string/test-strlen.c: Update.
44510         Add wcslen support.
44511         (WIDE): New macro.
44512
44513 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44514
44515         * po/it.po: Update from translation team.
44516
44517 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44518
44519         * sysdeps/x86_64/wcscmp.S: Update.
44520         Fix wrong comparison semantics.
44521         wcscmp shall use signed comparison not unsigned.
44522         Don't use substraction to avoid overflow bug.
44523         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44524         * wcsmbc/wcscmp.c: Likewise.
44525         * string/test-strcmp.c: Likewise.
44526         Add new tests to check cases with negative values.
44527
44528 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44529
44530         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44531         * sysdeps/x86_64/dla.h: ...here.  New file.
44532         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44533         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44534         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44535         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44536         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44537         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44538         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44539         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44540         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44541
44542 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
44543
44544         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44545         __ynl_finite aliases.
44546
44547 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44548
44549         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44550
44551         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44552         define DLA_FMA.
44553         [DLA_FMA] (EMULV): Use DLA_FMA.
44554         [DLA_FMA] (MUL12): Use EMULV.
44555         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44556         that are not needed.
44557         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44558         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44559         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44560         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44561         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44562         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44563         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44564
44565 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
44566
44567         * math/s_nan.c: Undef __nan.
44568         * math/s_nanf.c: Undef __nanf.
44569         * math/s_nanl.c: Undef __nanl.
44570         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44571         "math_private.h".
44572
44573 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44574
44575         * math/s_catan.c: Add branch predictions.
44576         * math/s_catanf.c: Likewise.
44577         * math/s_catanh.c: Likewise.
44578         * math/s_catanhf.c: Likewise.
44579         * math/s_catanhl.c: Likewise.
44580         * math/s_catanl.c: Likewise.
44581         * math/s_cexp.c: Likewise.
44582         * math/s_cexpf.c: Likewise.
44583         * math/s_cexpl.c: Likewise.
44584         * math/s_clog.c: Likewise.
44585         * math/s_clog10.c: Likewise.
44586         * math/s_clog10f.c: Likewise.
44587         * math/s_clog10l.c: Likewise.
44588         * math/s_clogf.c: Likewise.
44589         * math/s_clogl.c: Likewise.
44590         * math/s_csqrt.c: Likewise.
44591         * math/s_csqrtf.c: Likewise.
44592         * math/s_csqrtl.c: Likewise.
44593         * math/s_ctanf.c: Likewise.
44594         * math/s_ctanh.c: Likewise.
44595         * math/s_ctanhf.c: Likewise.
44596         * math/s_ctanhl.c: Likewise.
44597         * math/s_ctanl.c: Likewise.
44598
44599         * math/math_private.h: Define __nan, __nanf, __nanl.
44600         * math/s_cacosh.c: Include <math_private.h>.
44601         * math/s_cacoshl.c: Likewise.
44602         * math/s_casinh.c: Likewise.
44603         * math/s_casinhf.c: Likewise.
44604         * math/s_casinhl.c: Likewise.
44605         * math/s_ccos.c: Rely entire on ccosh.
44606         * math/s_ccosf.c: Rely entire on ccoshf.
44607         * math/s_ccosl.c: Rely entirely on ccoshl.
44608         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
44609         Remove tests for FE_INVALID.
44610         * math/s_ccoshf.c: Likewise.
44611         * math/s_ccoshl.c: Likewise.
44612         * math/s_csin.c: Likewise.
44613         * math/s_csinf.c: Likewise.
44614         * math/s_csinh.c Likewise.
44615         * math/s_csinhf.c: Likewise.
44616         * math/s_csinhl.c: Likewise.
44617         * math/s_csinl.c: Likewise.
44618         * math/s_ctan.c: Likewise.
44619         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44620         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44621         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44622
44623 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
44624
44625         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44626         compilation problems.
44627
44628         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44629         __builtin_expect.
44630
44631 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
44632
44633         * sysdeps/i386/configure.in: Test for -mfma4 option.
44634         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44635         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44636         COMMON_CPUID_INDEX_80000001.
44637         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44638         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44639         use it if FMA3 is not supported.
44640         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44641
44642         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44643         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44644
44645 2011-10-20  Andreas Schwab  <schwab@redhat.com>
44646
44647         [BZ #12892]
44648         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44649         it would create a cycle with a link time dependency.
44650
44651 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
44652
44653         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44654         instruction.
44655         * string/Makefile (strop-tests): Add rawmemchr.
44656         * string/test-rawmemchr.c: New file.
44657
44658         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44659         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
44660         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
44661         when compiling str{,n}casecmp and when AVX is available.  Hook up
44662         new optimized code in initializers.
44663
44664 2011-10-19  Andreas Schwab  <schwab@redhat.com>
44665
44666         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44667         __feraiseexcept instead of feraiseexcept.
44668
44669 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
44670
44671         * math/math_private.h: Define defaults for libc_fetestexcept and
44672         libc_feupdateenv.
44673         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44674         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44675         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44676         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44677         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44678         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44679         libc_fetestexcept and libc_feupdateenv.
44680
44681         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44682         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44683         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44684         * sysdeps/x86_64/fpu/math_private.h: Define special version of
44685         libc_feholdexcept_setround.
44686
44687         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44688         Add s_nearbyint-c and s_nearbyintf-c.
44689         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44690         nearbyintf inlines.
44691         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44692         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44693         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44694         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44695
44696         * math/math_private.h: Define defaults for libc_fegetround,
44697         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44698         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44699         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44700         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44701         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44702         standard functions.
44703         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44704         Remove comments and hacks for old compiler versions.
44705         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44706         libc_fegetround, libc_fesetround, libc_feholdexcept, and
44707         libc_feholdexceptl.
44708
44709 2011-10-18  Andreas Schwab  <schwab@redhat.com>
44710
44711         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44712         (__feraiseexcept_renamed): Add __NTH.
44713         (feraiseexcept): Add __NTH.  Rename local variables to fix
44714         namespace violations.
44715
44716 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
44717
44718         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44719
44720         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44721
44722         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44723         recently added interfaces.
44724         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44725
44726         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44727         about macro parameter expansion.
44728
44729         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44730         __NO_MATH_INLINES is defined.  Cleanups.
44731
44732         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44733         and __floorf is target has SSE4.1.
44734         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44735         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44736         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44737         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44738
44739         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44740         name.
44741         (floorf): Likewise.
44742
44743         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44744
44745 2011-10-17  Andreas Schwab  <schwab@redhat.com>
44746
44747         * misc/sys/cdefs.h: Fix last change.
44748
44749         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44750         database lookup.
44751
44752 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
44753
44754         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44755
44756         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44757         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44758         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44759         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44760         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44761         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44762         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44763         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44764         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44765         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44766         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44767         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44768         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44769         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44770         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44771         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44772         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44773         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44774         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44775         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44776         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44777         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44778
44779         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44780         ceil, ceilf, floor, floorf.
44781
44782         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44783         Perform IRELATIVE relocations last.
44784
44785         * elf/do-rel.h: Add another parameter nrelative, replacing the
44786         local variable with the same name.  Change name of the function
44787         to end in Rel or Rela (uppercase).
44788         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44789         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
44790         elf_dynamic_do_##reloc function.
44791
44792 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44793
44794         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44795         is sufficient, at least on modern CPUs.
44796
44797         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44798
44799         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44800         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44801
44802         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44803         __expl_finite.
44804         * math/bits/math-finite.h: Add entries for exp.
44805         * math/e_expl.c: Add __*_finite alias.
44806         * sysdeps/i386/fpu/e_exp.S: Likewise.
44807         * sysdeps/i386/fpu/e_expf.S: Likewise.
44808         * sysdeps/i386/fpu/e_expl.c: Likewise.
44809         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44810         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44811         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44812         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44813         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44814         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44815         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44816
44817         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44818         is sufficient, at least on modern CPUs.
44819
44820         * ctype/ctype-info.c (__ctype_init): Define.
44821         * include/ctype.h (__ctype_init): Declare.
44822         (__ctype_b_loc): The variable is always initialized.
44823         (__ctype_toupper_loc): Likewise.
44824         (__ctype_tolower_loc): Likewise.
44825         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44826         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44827
44828 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
44829
44830         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44831
44832         * configure.in: Also look in $cxxmachine/include for C++ system
44833         headers.
44834
44835 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44836
44837         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44838         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44839         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44840         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
44841         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44842         (USE_AS_WMEMCMP): New macro.
44843         Fixing indents.
44844         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44845         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44846         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44847         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44848         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44849         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44850         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44851         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44852         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44853         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44854         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44855         (USE_AS_WMEMCMP): New macro.
44856         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44857         * sysdeps/string/test-memcmp.c: Update.
44858         Fix simple_wmemcmp.
44859         Add new tests.
44860         * wcsmbs/wmemcmp.c: Update.
44861         (WMEMCMP): New macro.
44862         Fix overflow bug.
44863
44864 2011-10-12  Andreas Jaeger  <aj@suse.de>
44865
44866         [BZ #13268]
44867         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44868
44869 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44870
44871         * libio/iofwide.c (do_length): Avoid warning.
44872
44873         * ctype/ctype.h (__isctype_f): Add missing __THROW.
44874
44875 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
44876
44877         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44878
44879         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44880         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44881         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44882         * sysdeps/i386/i686/fpu/e_log.S: New file.
44883         * sysdeps/i386/i686/fpu/e_logf.S: New file.
44884         * sysdeps/i386/i686/fpu/e_logl.S: New file.
44885
44886         * ctype/ctype.h: Add support for inlined isXXX functions when
44887         compiling C++ code.
44888
44889 2011-10-14  Andreas Schwab  <schwab@redhat.com>
44890
44891         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44892
44893         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44894
44895 2011-10-13  Roland McGrath  <roland@hack.frob.com>
44896
44897         [BZ #13291]
44898         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44899
44900 2011-10-13  Andreas Schwab  <schwab@redhat.com>
44901
44902         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44903         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44904         feraiseexcept.
44905
44906         * sysdeps/x86_64/memrchr.S: Check for zero size.
44907
44908         * string/stratcliff.c: Add memrchr tests.
44909
44910 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44911
44912         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44913         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44914         rawmemchr-sse2 rawmemchr-sse2-bsf.
44915         * sysdeps/i386/i686/multiarch/memchr.S: New file.
44916         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44917         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44918         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44919         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44920         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44921         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44922         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44923         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44924         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44925         * string/memrchr.c (MEMRCHR): New macro.
44926
44927 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
44928
44929         Add integration with gcc's -ffinite-math-only and optimize wrapper
44930         functions in libm.
44931         * Versions.def: Define GLIBC_2.15 version for libm.
44932         * math/Makefile (headers): Add bits/math-finite.h.
44933         * math/bits/math-finite.h: New file.
44934         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44935         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44936         * math/e_acoshl.c: Add __*_finite alias.
44937         * math/e_acosl.c: Likewise.
44938         * math/e_asinl.c: Likewise.
44939         * math/e_atan2l.c: Likewise.
44940         * math/e_atanhl.c: Likewise.
44941         * math/e_coshl.c: Likewise.
44942         * math/e_exp10.c: Likewise.
44943         * math/e_exp10f.c: Likewise.
44944         * math/e_exp10l.c: Likewise.
44945         * math/e_exp2l.c: Likewise.
44946         * math/e_fmodl.c: Likewise.
44947         * math/e_gammal_r.c: Likewise.
44948         * math/e_hypotl.c: Likewise.
44949         * math/e_j0l.c: Likewise.
44950         * math/e_j1l.c: Likewise.
44951         * math/e_jnl.c: Likewise.
44952         * math/e_lgammal_r.c: Likewise.
44953         * math/e_log10l.c: Likewise.
44954         * math/e_log2l.c: Likewise.
44955         * math/e_logl.c: Likewise.
44956         * math/e_powl.c: Likewise.
44957         * math/e_sinhl.c: Likewise.
44958         * math/e_sqrtl.c: Likewise.
44959         * math/e_scalb.c: Completely rewritten and optimized.
44960         * math/e_scalbf.c: Likewise.
44961         * math/e_scalbl.c: Likewise.
44962         * math/w_acos.c: Likewise.
44963         * math/w_acosf.c: Likewise.
44964         * math/w_acosl.c: Likewise.
44965         * math/w_acosh.c: Likewise.
44966         * math/w_acoshf.c: Likewise.
44967         * math/w_acoshl.c: Likewise.
44968         * math/w_asin.c: Likewise.
44969         * math/w_asinf.c: Likewise.
44970         * math/w_asinl.c: Likewise.
44971         * math/w_atan2.c: Likewise.
44972         * math/w_atan2f.c: Likewise.
44973         * math/w_atan2l.c: Likewise.
44974         * math/w_atanh.c: Likewise.
44975         * math/w_atanhf.c: Likewise.
44976         * math/w_atanhl.c: Likewise.
44977         * math/w_exp10.c: Likewise.
44978         * math/w_exp10f.c: Likewise.
44979         * math/w_exp10l.c: Likewise.
44980         * math/w_fmod.c: Likewise.
44981         * math/w_fmodf.c: Likewise.
44982         * math/w_fmodl.c: Likewise.
44983         * math/w_j0.c: Likewise.
44984         * math/w_j0f.c: Likewise.
44985         * math/w_j0l.c: Likewise.
44986         * math/w_j1.c: Likewise.
44987         * math/w_j1f.c: Likewise.
44988         * math/w_j1l.c: Likewise.
44989         * math/w_jn.c: Likewise.
44990         * math/w_jnf.c: Likewise.
44991         * math/w_log.c: Likewise.
44992         * math/w_logf.c: Likewise.
44993         * math/w_logl.c: Likewise.
44994         * math/w_log10.c: Likewise.
44995         * math/w_log10f.c: Likewise.
44996         * math/w_log10l.c: Likewise.
44997         * math/w_log2.c: Likewise.
44998         * math/w_log2f.c: Likewise.
44999         * math/w_log2l.c: Likewise.
45000         * math/w_pow.c: Likewise.
45001         * math/w_powf.c: Likewise.
45002         * math/w_powl.c: Likewise.
45003         * math/w_remainder.c: Likewise.
45004         * math/w_remainderf.c: Likewise.
45005         * math/w_remainderl.c: Likewise.
45006         * math/w_scalb.c: Likewise.
45007         * math/w_scalbf.c: Likewise.
45008         * math/w_scalbl.c: Likewise.
45009         * math/w_sqrt.c: Likewise.
45010         * math/w_sqrtf.c: Likewise.
45011         * math/w_sqrtl.c: Likewise.
45012         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45013         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
45014         used.
45015         * math/math_private.h: Declare __kernel_standard_f.
45016         * math/w_cosh.c: Remove cruft and optimize a bit.
45017         * math/w_coshf.c: Likewise.
45018         * math/w_coshl.c: Likewise.
45019         * math/w_exp2.c: Likewise.
45020         * math/w_exp2f.c: Likewise.
45021         * math/w_exp2l.c: Likewise.
45022         * math/w_hypot.c: Likewise.
45023         * math/w_hypotf.c: Likewise.
45024         * math/w_hypotl.c: Likewise.
45025         * math/w_lgamma.c: Likewise.
45026         * math/w_lgamma_r.c: Likewise.
45027         * math/w_lgammaf.c: Likewise.
45028         * math/w_lgammaf_r.c: Likewise.
45029         * math/w_lgammal.c: Likewise.
45030         * math/w_lgammal_r.c: Likewise.
45031         * math/w_sinh.c: Likewise.
45032         * math/w_sinhf.c: Likewise.
45033         * math/w_sinhl.c: Likewise.
45034         * math/w_tgamma.c: Likewise.
45035         * math/w_tgammaf.c: Likewise.
45036         * math/w_tgammal.c: Likewise.
45037         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45038         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45039         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45040         Minor optimizations.  Pretty printing.  Remove cruft.
45041         * sysdeps/i386/fpu/e_acosf.S: Likewise.
45042         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45043         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45044         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45045         * sysdeps/i386/fpu/e_acosl.c: Likewise.
45046         * sysdeps/i386/fpu/e_asin.S: Likewise.
45047         * sysdeps/i386/fpu/e_asinf.S: Likewise.
45048         * sysdeps/i386/fpu/e_atan2.S: Likewise.
45049         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45050         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45051         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45052         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45053         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45054         * sysdeps/i386/fpu/e_exp10.S: Likewise.
45055         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45056         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45057         * sysdeps/i386/fpu/e_exp2.S: Likewise.
45058         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45059         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45060         * sysdeps/i386/fpu/e_fmod.S: Likewise.
45061         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45062         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45063         * sysdeps/i386/fpu/e_hypot.S: Likewise.
45064         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45065         * sysdeps/i386/fpu/e_log.S: Likewise.
45066         * sysdeps/i386/fpu/e_log10.S: Likewise.
45067         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45068         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45069         * sysdeps/i386/fpu/e_log2.S: Likewise.
45070         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45071         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45072         * sysdeps/i386/fpu/e_logf.S: Likewise.
45073         * sysdeps/i386/fpu/e_logl.S: Likewise.
45074         * sysdeps/i386/fpu/e_pow.S: Likewise.
45075         * sysdeps/i386/fpu/e_powf.S: Likewise.
45076         * sysdeps/i386/fpu/e_powl.S: Likewise.
45077         * sysdeps/i386/fpu/e_remainder.S: Likewise.
45078         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45079         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45080         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45081         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45082         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45083         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45084         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45085         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45086         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45087         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45088         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45089         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45090         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45091         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45092         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45093         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45094         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45095         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45096         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45097         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45098         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45099         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45100         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45101         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45102         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45103         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45104         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45105         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45106         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45107         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45108         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45109         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45110         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45111         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45112         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45113         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45114         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45115         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45116         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45117         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45118         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45119         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45120         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45121         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45122         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45123         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45124         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45125         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45126         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45127         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45128         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45129         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45130         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45131         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45132         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45133         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45134         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45135         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45136         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45137         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45138         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45139         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45140         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45141         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45142         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45143         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45144         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45145         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45146         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45147         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45148         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45149         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45150         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45151         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45152         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45153         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45154         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
45155         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45156         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45157         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45158         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45159         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45160         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45161         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45162         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
45163         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45164         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45165         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45166         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45167         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45168         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
45169         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45170         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45171         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45172         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45173         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45174         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45175         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45176         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45177         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45178         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45179         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45180         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45181         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45182         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45183         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
45184         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
45185         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
45186         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
45187         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
45188         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
45189         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
45190         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45191         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45192         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45193         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45194         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
45195         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45196         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
45197         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
45198         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
45199         (__isnanf): Likewise.
45200         (__isinf_ns): Likewise.
45201         (__isinf_nsf): Likewise.
45202         (__finite): Likewise.
45203         (__finitef): Likewise.
45204         (__ieee754_sqrt): Define as macro.
45205         (__ieee754_sqrtf): Define as macro.
45206         (__ieee754_sqrtl): Define as macro.
45207         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
45208         inlined copy.
45209         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
45210         __FINITE_MATH_ONLY__ consistent.
45211         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
45212
45213 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
45214
45215         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
45216         of rawmemchr.
45217
45218         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
45219
45220 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
45221
45222         * po/ja.po: Update from translation team.
45223
45224 2011-10-08  Roland McGrath  <roland@hack.frob.com>
45225
45226         * locale/programs/locarchive.c (prepare_address_space): New function.
45227         (create_archive, enlarge_archive, open_archive): Use it.
45228
45229         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
45230         inside [SHARED], where it is used.
45231
45232         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
45233
45234         * nss/getent.c (netgroup_keys): Remove unused variable.
45235         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45236
45237 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
45238
45239         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
45240         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
45241         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
45242         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
45243         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
45244         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
45245         * math/Makefile (libm-calls): Add s_isinf_ns.
45246         * math/divtc3.c: Use __isinf_nsl instead of isinf.
45247         * math/multc3.c: Likewise.
45248         * math/s_casin.c: Likewise.
45249         * math/s_casinf.c: Likewise.
45250         * math/s_casinl.c: Likewise.
45251         * math/s_ccos.c: Likewise.
45252         * math/s_ccosf.c: Likewise.
45253         * math/s_ccosl.c: Likewise.
45254         * math/s_ctan.c: Likewise.
45255         * math/s_ctanf.c: Likewise.
45256         * math/s_ctanh.c: Likewise.
45257         * math/s_ctanhf.c: Likewise.
45258         * math/s_ctanhl.c: Likewise.
45259         * math/s_ctanl.c: Likewise.
45260         * math/w_fmod.c: Likewise.
45261         * math/w_fmodf.c: Likewise.
45262         * math/w_fmodl.c: Likewise.
45263         * math/w_remainder.c: Likewise.
45264         * math/w_remainderf.c: Likewise.
45265         * math/w_remainderl.c: Likewise.
45266         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
45267         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
45268         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
45269         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
45270         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
45271         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
45272         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
45273         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
45274
45275         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
45276         of the number.
45277         * stdio-common/printf_fphex.c: Likewise.
45278         * stdio-common/printf_size.c: Likewise.
45279
45280         * math/e_exp10.c: Include math_private.h using <...> not "...".
45281         * math/e_exp10f.c: Likewise.
45282         * math/e_exp10l.c: Likewise.
45283         * math/e_exp2l.c: Likewise.
45284         * math/e_j0l.c: Likewise.
45285         * math/e_j1l.c: Likewise.
45286         * math/e_jnl.c: Likewise.
45287         * math/e_lgammal_r.c: Likewise.
45288         * math/e_rem_pio2l.c: Likewise.
45289         * math/e_scalb.c: Likewise.
45290         * math/e_scalbf.c: Likewise.
45291         * math/e_scalbl.c: Likewise.
45292         * math/k_cosl.c: Likewise.
45293         * math/k_sinl.c: Likewise.
45294         * math/k_tanl.c: Likewise.
45295         * math/s_cacoshf.c: Likewise.
45296         * math/s_catan.c: Likewise.
45297         * math/s_catanf.c: Likewise.
45298         * math/s_catanh.c: Likewise.
45299         * math/s_catanhf.c: Likewise.
45300         * math/s_catanhl.c: Likewise.
45301         * math/s_catanl.c: Likewise.
45302         * math/s_ccosh.c: Likewise.
45303         * math/s_ccoshf.c: Likewise.
45304         * math/s_ccoshl.c: Likewise.
45305         * math/s_cexp.c: Likewise.
45306         * math/s_cexpf.c: Likewise.
45307         * math/s_cexpl.c: Likewise.
45308         * math/s_clog.c: Likewise.
45309         * math/s_clog10.c: Likewise.
45310         * math/s_clog10f.c: Likewise.
45311         * math/s_clog10l.c: Likewise.
45312         * math/s_clogf.c: Likewise.
45313         * math/s_clogl.c: Likewise.
45314         * math/s_csin.c: Likewise.
45315         * math/s_csinf.c: Likewise.
45316         * math/s_csinh.c: Likewise.
45317         * math/s_csinhf.c: Likewise.
45318         * math/s_csinhl.c: Likewise.
45319         * math/s_csinl.c: Likewise.
45320         * math/s_csqrt.c: Likewise.
45321         * math/s_csqrtf.c: Likewise.
45322         * math/s_csqrtl.c: Likewise.
45323         * math/s_ctan.c: Likewise.
45324         * math/s_ctanf.c: Likewise.
45325         * math/s_ctanh.c: Likewise.
45326         * math/s_ctanhf.c: Likewise.
45327         * math/s_ctanhl.c: Likewise.
45328         * math/s_ctanl.c: Likewise.
45329         * math/s_ldexp.c: Likewise.
45330         * math/s_ldexpf.c: Likewise.
45331         * math/s_ldexpl.c: Likewise.
45332         * math/s_significand.c: Likewise.
45333         * math/s_significandf.c: Likewise.
45334         * math/s_significandl.c: Likewise.
45335         * math/w_acos.c: Likewise.
45336         * math/w_acosf.c: Likewise.
45337         * math/w_acosh.c: Likewise.
45338         * math/w_acoshf.c: Likewise.
45339         * math/w_acoshl.c: Likewise.
45340         * math/w_acosl.c: Likewise.
45341         * math/w_asin.c: Likewise.
45342         * math/w_asinf.c: Likewise.
45343         * math/w_asinl.c: Likewise.
45344         * math/w_atan2.c: Likewise.
45345         * math/w_atan2f.c: Likewise.
45346         * math/w_atan2l.c: Likewise.
45347         * math/w_atanh.c: Likewise.
45348         * math/w_atanhf.c: Likewise.
45349         * math/w_atanhl.c: Likewise.
45350         * math/w_cosh.c: Likewise.
45351         * math/w_coshf.c: Likewise.
45352         * math/w_coshl.c: Likewise.
45353         * math/w_dremf.c: Likewise.
45354         * math/w_exp10.c: Likewise.
45355         * math/w_exp10f.c: Likewise.
45356         * math/w_exp10l.c: Likewise.
45357         * math/w_exp2.c: Likewise.
45358         * math/w_exp2f.c: Likewise.
45359         * math/w_fmod.c: Likewise.
45360         * math/w_fmodf.c: Likewise.
45361         * math/w_fmodl.c: Likewise.
45362         * math/w_hypot.c: Likewise.
45363         * math/w_hypotf.c: Likewise.
45364         * math/w_hypotl.c: Likewise.
45365         * math/w_j0.c: Likewise.
45366         * math/w_j0f.c: Likewise.
45367         * math/w_j0l.c: Likewise.
45368         * math/w_j1.c: Likewise.
45369         * math/w_j1f.c: Likewise.
45370         * math/w_j1l.c: Likewise.
45371         * math/w_jn.c: Likewise.
45372         * math/w_jnf.c: Likewise.
45373         * math/w_jnl.c: Likewise.
45374         * math/w_lgamma.c: Likewise.
45375         * math/w_lgamma_r.c: Likewise.
45376         * math/w_lgammaf.c: Likewise.
45377         * math/w_lgammaf_r.c: Likewise.
45378         * math/w_lgammal.c: Likewise.
45379         * math/w_lgammal_r.c: Likewise.
45380         * math/w_log.c: Likewise.
45381         * math/w_log10.c: Likewise.
45382         * math/w_log10f.c: Likewise.
45383         * math/w_log10l.c: Likewise.
45384         * math/w_log2.c: Likewise.
45385         * math/w_log2f.c: Likewise.
45386         * math/w_log2l.c: Likewise.
45387         * math/w_logf.c: Likewise.
45388         * math/w_logl.c: Likewise.
45389         * math/w_pow.c: Likewise.
45390         * math/w_powf.c: Likewise.
45391         * math/w_powl.c: Likewise.
45392         * math/w_remainder.c: Likewise.
45393         * math/w_remainderf.c: Likewise.
45394         * math/w_remainderl.c: Likewise.
45395         * math/w_scalb.c: Likewise.
45396         * math/w_scalbf.c: Likewise.
45397         * math/w_scalbl.c: Likewise.
45398         * math/w_sinh.c: Likewise.
45399         * math/w_sinhf.c: Likewise.
45400         * math/w_sinhl.c: Likewise.
45401         * math/w_sqrt.c: Likewise.
45402         * math/w_sqrtf.c: Likewise.
45403         * math/w_sqrtl.c: Likewise.
45404         * math/w_tgamma.c: Likewise.
45405         * math/w_tgammaf.c: Likewise.
45406         * math/w_tgammal.c: Likewise.
45407
45408         * po/ja.po: Update from translation team.
45409
45410 2011-09-29  Andreas Jaeger  <aj@suse.de>
45411
45412         [BZ #13179]
45413         * sunrpc/netname.c (netname2host): Fix logic.
45414
45415         [BZ #6779]
45416         [BZ #6783]
45417         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45418         correctly.
45419         * math/w_remainder.c (__remainder): Likewise.
45420         * math/w_remainderf.c (__remainderf): Likewise.
45421         * math/libm-test.inc (remainder_test): Add test cases.
45422
45423 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45424
45425         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
45426         sdiv_qrnnd.
45427
45428 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45429
45430         * string/test-memcmp.c: Avoid unncessary #defines.
45431         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45432
45433 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45434
45435         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45436         Use new sse2 version for core i3 - i7 as it's faster
45437         than sse42 version.
45438         (bit_Prefer_PMINUB_for_stringop): New.
45439         * sysdeps/x86_64/rawmemchr.S: Update.
45440         Replace with faster SSE2 version.
45441         * sysdeps/x86_64/memrchr.S: New file.
45442         * sysdeps/x86_64/memchr.S: Update.
45443         Replace with faster SSE2 version.
45444
45445 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
45446
45447         * elf/dl-load.c (lose): Add cast to avoid warning.
45448
45449 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45450
45451         * po/ca.po: Update from translation team.
45452
45453         * inet/getnetgrent_r.c: Hook up nscd.
45454         * nscd/Makefile (routines): Add nscd_netgroup.
45455         (nscd-modules): Add netgroupcache.
45456         (CFLAGS-netgroupcache.c): Define.
45457         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45458         (cache_search): Add const to second parameter.
45459         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45460         INNETGR.
45461         (dbs): Add netgrdb entry.
45462         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45463         (verify_persistent_db): Handle netgrdb.
45464         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45465         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45466         GETFDNETGR.
45467         (netgroup_response_header): Define.
45468         (innetgroup_response_header): Define.
45469         (datahead): Add netgroup_response_header and innetgroup_response_header
45470         elements.
45471         * nscd/nscd.conf: Add entries for netgroup cache.
45472         * nscd/nscd.h (dbtype): Add netgrdb.
45473         (_PATH_NSCD_NETGROUP_DB): Define.
45474         (netgroup_iov_disabled): Declare.
45475         (xmalloc, xcalloc, xrealloc): Move declarations here.
45476         (cache_search): Adjust prototype.
45477         Add netgroup-related prototypes.
45478         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45479         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45480         (__nscd_innetgr): Declare.
45481         * nscd/selinux.c (perms): Use access_vector_t as element type and
45482         add netgroup-related initializers.
45483         * nscd/netgroupcache.c: New file.
45484         * nscd/nscd_netgroup.c: New file.
45485         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45486         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45487         For four parameters use innetgr.
45488         * nss/nss_files/files-init.c: Add definition and callback for netgr.
45489         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45490         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45491         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45492
45493         * nscd/connections.c (register_traced_file): Don't register file
45494         for disabled databases.
45495
45496 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
45497
45498         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45499
45500         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45501         from tree and freeing node.
45502
45503 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
45504
45505         * nss/nsswitch.c (__nss_database_lookup): Handle
45506         nss_parse_service_list out of memory case.
45507
45508 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
45509
45510         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45511         out of memory case.
45512
45513 2011-10-04  Andreas Schwab  <schwab@redhat.com>
45514
45515         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45516         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45517         pass it down.
45518         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45519         elf_machine_rela, elf_machine_lazy_rel.
45520         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45521         (ELF_DYNAMIC_DO_REL): Likewise.
45522         (ELF_DYNAMIC_DO_RELA): Likewise.
45523         (ELF_DYNAMIC_RELOCATE): Likewise.
45524         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45525         to ELF_DYNAMIC_DO_REL.
45526         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45527         (dl_main): In trace mode always set __RTLD_NOIFUNC.
45528         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45529         elf_machine_rela.
45530         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45531         skip_ifunc, don't call ifunc function if non-zero.
45532         (elf_machine_rela): Likewise.
45533         (elf_machine_lazy_rel): Likewise.
45534         (elf_machine_lazy_rela): Likewise.
45535         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45536         (elf_machine_lazy_rel): Likewise.
45537         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45538         Likewise.
45539         (elf_machine_lazy_rel): Likewise.
45540         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45541         Likewise.
45542         (elf_machine_lazy_rel): Likewise.
45543         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45544         (elf_machine_lazy_rel): Likewise.
45545         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45546         (elf_machine_lazy_rel): Likewise.
45547         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45548         (elf_machine_lazy_rel): Likewise.
45549         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45550         (elf_machine_lazy_rel): Likewise.
45551         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45552         (elf_machine_lazy_rel): Likewise.
45553         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45554         (elf_machine_lazy_rel): Likewise.
45555
45556 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
45557
45558         * nss/nss_files/files-init.c (_nss_files_init): Use static
45559         initialization for all the *_traced_file variables.
45560
45561 2011-09-28  Andreas Schwab  <schwab@redhat.com>
45562
45563         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45564
45565 2011-09-27  Roland McGrath  <roland@hack.frob.com>
45566
45567         [BZ #13226]
45568         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45569
45570 2011-09-27  Andreas Schwab  <schwab@redhat.com>
45571
45572         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45573         Reread the line before reparsing it.
45574
45575 2011-09-26  Andreas Schwab  <schwab@redhat.com>
45576
45577         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45578
45579 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
45580             Maxim Kuvyrkov  <maxim@codesourcery.com>
45581             Joseph Myers  <joseph@codesourcery.com>
45582
45583         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45584         if needed for __stack_chk_guard.
45585
45586 2011-09-19  Roland McGrath  <roland@hack.frob.com>
45587
45588         * sysdeps/posix/spawni.c (script_execute): Always define it.
45589         It will be optimized away if unused.
45590         (maybe_script_execute): New function.
45591         (__spawni): Call it.
45592
45593         * Makerules: Don't include tls.make.
45594         (config-tls): Always set to thread.
45595         * tls.make.c: File removed.
45596
45597 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
45598
45599         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45600         * config.make.in (CPPFLAGS-config): New substituted variable.
45601
45602 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45603
45604         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45605
45606         [BZ #13192]
45607         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45608         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45609
45610 2011-09-15  Roland McGrath  <roland@hack.frob.com>
45611
45612         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45613         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45614         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45615         (CALL_FAIL): Likewise.
45616         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45617         (CALL_FAIL): Macro removed.
45618         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45619
45620 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45621
45622         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45623         for __FINITE_MATH_ONLY__ == 1.
45624
45625 2011-09-15  Andreas Schwab  <schwab@redhat.com>
45626
45627         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45628         __ieee754_sqrt instead of sqrt.
45629         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45630         __ieee754_sqrtf instead of sqrtf.
45631         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45632         __floorf instead of floorf.
45633         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45634         __floorf, __truncf instead of floorf, truncf.
45635
45636 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
45637
45638         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45639
45640         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45641         __extern_always_inline.
45642         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45643         32-bit.
45644
45645 2011-09-14  Andreas Schwab  <schwab@redhat.com>
45646
45647         * elf/rtld.c (dl_main): Also relocate in dependency order when
45648         doing symbol dependency testing.
45649
45650 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
45651
45652         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45653         Always define `refsym'.
45654
45655 2011-09-13  Andreas Schwab  <schwab@redhat.com>
45656
45657         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45658         (__FD_ELT): Renamed from __FDELT.
45659         * misc/bits/select2.h (__FD_ELT): Likewise.
45660         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45661         __FD_MASK instead of __FDELT, __FDMASK.
45662         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45663         Likewise.
45664         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45665         Likewise.
45666
45667         * elf/Makefile (gen-ldd): Fix pattern.
45668
45669         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45670         (init_tls): Likewise.
45671
45672 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
45673
45674         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45675
45676 2011-09-12  Andreas Schwab  <schwab@redhat.com>
45677
45678         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45679         `struct cmsghdr *' instead of `void *'.
45680         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45681         Likewise.
45682
45683 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
45684
45685         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45686         if non-absolute.
45687         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45688         ldd_rewrite_script.
45689
45690 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
45691
45692         * configure.in: Remove --with-tls option.
45693         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45694         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45695         out in case it is missing.
45696         * sysdeps/ia64/elf/configure.in: Likewise.
45697         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45698         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45699         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45700         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45701         * sysdeps/sh/elf/configure.in: Likewise.
45702         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45703         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45704         * sysdeps/x86_64/elf/configure.in: Likewise.
45705         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45706         * sysdeps/mach/hurd/tls.h: Likewise.
45707
45708         [BZ #13067]
45709         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45710
45711         [BZ #13090]
45712         * configure.in: Fix use of AC_INIT.
45713
45714         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45715
45716 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
45717
45718         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45719         __set_errno.
45720         * malloc/hooks.c: Likewise.
45721
45722         [BZ #11929]
45723         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
45724         variables statically.
45725         (narenas): Initialize.
45726         (list_lock): Initialize.
45727         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
45728         initializtion of main_arena and list_lock.  Small cleanups.
45729         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45730         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
45731         Add initializers to main_arena and mp_.
45732         (malloc_state): Remove pagesize member.  Change all users to use
45733         GLRO(dl_pagesize).
45734
45735         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45736         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
45737         is always initialized.
45738
45739         * malloc/malloc.c: Removed unused configurations and dead code.
45740         * malloc/arena.c: Likewise.
45741         * malloc/hooks.c: Likewise.
45742         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45743
45744         * include/tls.h: Removed.  USE___THREAD must always be defined.
45745         * bits/libc-tsd.h: Don't handle !USE___THREAD.
45746         * elf/dl-libc.c: Likewise.
45747         * elf/dl-tsd.c: Likewise.
45748         * include/errno.h: Likewise.
45749         * include/netdb.h: Likewise.
45750         * include/resolv.h: Likewise.
45751         * inet/herrno-loc.c: Likewise.
45752         * inet/herrno.c: Likewise.
45753         * malloc/arena.c: Likewise.
45754         * malloc/hooks.c: Likewise.
45755         * malloc/malloc.c: Likewise.
45756         * resolv/res-state.c: Likewise.
45757         * resolv/res_libc.c: Likewise.
45758         * sysdeps/i386/dl-machine.h: Likewise.
45759         * sysdeps/ia64/dl-machine.h: Likewise.
45760         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45761         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45762         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45763         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45764         * sysdeps/sh/dl-machine.h: Likewise.
45765         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45766         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45767         * sysdeps/unix/i386/sysdep.S: Likewise.
45768         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45769         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45770         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45771         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45772         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45773         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45774         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45775         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45776         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45777         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45778         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45779         * sysdeps/x86_64/dl-machine.h: Likewise.
45780         * tls.make.c: Likewise.
45781
45782         * configure.in: Remove --with-__thread option.  Make tests for
45783         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45784         tls_model attribute fail if no support is available.  Remove
45785         USE_IN_LIBIO.
45786         * Makeconfig: Adjust for dropped configure option.  All features are
45787         now mandatory.
45788         * Makerules: Likewise.
45789         * Versions.def: Likewise.
45790         * argp/argp-fmtstream.c: Likewise.
45791         * argp/argp-fmtstream.h: Likewise.
45792         * argp/argp-help.c: Likewise.
45793         * assert/assert.c: Likewise.
45794         * config.h.in: Likewise.
45795         * config.make.in: Likewise.
45796         * configure: Likewise.
45797         * configure.in: Likewise.
45798         * csu/Versions: Likewise.
45799         * csu/init.c: Likewise.
45800         * elf/tst-audit2.c: Likewise.
45801         * elf/tst-tls10.c: Likewise.
45802         * elf/tst-tls10.h: Likewise.
45803         * elf/tst-tls11.c: Likewise.
45804         * elf/tst-tls12.c: Likewise.
45805         * elf/tst-tls14.c: Likewise.
45806         * elf/tst-tlsmod11.c: Likewise.
45807         * elf/tst-tlsmod12.c: Likewise.
45808         * elf/tst-tlsmod13.c: Likewise.
45809         * elf/tst-tlsmod13a.c: Likewise.
45810         * elf/tst-tlsmod14a.c: Likewise.
45811         * elf/tst-tlsmod15b.c: Likewise.
45812         * elf/tst-tlsmod16a.c: Likewise.
45813         * elf/tst-tlsmod16b.c: Likewise.
45814         * elf/tst-tlsmod7.c: Likewise.
45815         * elf/tst-tlsmod8.c: Likewise.
45816         * elf/tst-tlsmod9.c: Likewise.
45817         * gmon/gmon.c: Likewise.
45818         * grp/fgetgrent_r.c: Likewise.
45819         * grp/putgrent.c: Likewise.
45820         * hurd/fopenport.c: Likewise.
45821         * include/libc-symbols.h: Likewise.
45822         * include/tls.h: Likewise.
45823         * intl/gettextP.h: Likewise.
45824         * intl/loadinfo.h: Likewise.
45825         * locale/global-locale.c: Likewise.
45826         * locale/localeinfo.h: Likewise.
45827         * mach/devstream.c: Likewise.
45828         * malloc/arena.c: Likewise.
45829         * malloc/set-freeres.c: Likewise.
45830         * misc/err.c: Likewise.
45831         * misc/getttyent.c: Likewise.
45832         * misc/mntent_r.c: Likewise.
45833         * posix/getopt.c: Likewise.
45834         * posix/wordexp.c: Likewise.
45835         * pwd/fgetpwent_r.c: Likewise.
45836         * resolv/Versions: Likewise.
45837         * resolv/res_hconf.c: Likewise.
45838         * shadow/fgetspent_r.c: Likewise.
45839         * shadow/putspent.c: Likewise.
45840         * stdio-common/printf_fphex.c: Likewise.
45841         * stdio-common/tmpfile.c: Likewise.
45842         * stdlib/abort.c: Likewise.
45843         * stdlib/fmtmsg.c: Likewise.
45844         * sunrpc/auth_unix.c: Likewise.
45845         * sunrpc/clnt_perr.c: Likewise.
45846         * sunrpc/clnt_tcp.c: Likewise.
45847         * sunrpc/clnt_udp.c: Likewise.
45848         * sunrpc/clnt_unix.c: Likewise.
45849         * sunrpc/openchild.c: Likewise.
45850         * sunrpc/svc_simple.c: Likewise.
45851         * sunrpc/svc_tcp.c: Likewise.
45852         * sunrpc/svc_udp.c: Likewise.
45853         * sunrpc/svc_unix.c: Likewise.
45854         * sunrpc/xdr.c: Likewise.
45855         * sunrpc/xdr_array.c: Likewise.
45856         * sunrpc/xdr_rec.c: Likewise.
45857         * sunrpc/xdr_ref.c: Likewise.
45858         * sunrpc/xdr_stdio.c: Likewise.
45859
45860 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45861
45862         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45863
45864 2011-07-03  Andreas Jaeger  <aj@suse.de>
45865
45866         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45867         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45868         regenerate with gen-libm-tests.pl.
45869
45870 2010-05-12  Petr Baudis  <pasky@suse.cz>
45871
45872         [BZ #11589]
45873         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45874         around j0() zero points by switching to j1().
45875         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45876         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45877         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45878         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45879
45880 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45881
45882         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45883         instead of 0.
45884         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45885         instead of 0.
45886         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45887         Patch in part by Pavel Roskin <proski@gnu.org>.
45888
45889         [BZ #13138]
45890         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45891         realloc.
45892         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
45893         Free memory block if necessary.
45894
45895         [BZ #12847]
45896         * libio/genops.c (INTDEF): For string streams the _lock pointer can
45897         be NULL.  Don't lock in this case.
45898
45899 2011-09-09  Roland McGrath  <roland@hack.frob.com>
45900
45901         * elf/elf.h (ELFOSABI_GNU): New macro.
45902         (ELFOSABI_LINUX): Define to that.
45903
45904 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
45905
45906         * string/strncat.c (strncat): Undef the symbol in case it has been
45907         defined in bits/string.h.
45908
45909 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45910
45911         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45912
45913         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45914         link map.
45915
45916 2011-08-17  Andreas Jaeger  <aj@suse.de>
45917
45918         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45919
45920 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45921             Ian Lance Taylor  <iant@google.com>
45922
45923         * math/libm-test.inc (lround_test): New testcase.
45924         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45925
45926 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
45927
45928         * Makefile: Remove support for automatic cvs check-ins.
45929         * Makerules: Likewise.
45930         * config.make.in: Likewise.
45931         * configure.in: Likewise.
45932         * intl/Makefile: Likewise.
45933         * locale/Makefile: Likewise.
45934         * po/Makefile: Likewise.
45935         * posix/Makefile: Likewise.
45936         * sysdeps/gnu/Makefile: Likewise.
45937         * sysdeps/mach/hurd/Makefile: Likewise.
45938         * sysdeps/sparc/sparc32/Makefile: Likewise.
45939
45940         [BZ #13118]
45941         * posix/Makefile (bug-regex32-ENV): Define.
45942         Patch by John Stanley <jpsinthemix@verizon.net>.
45943
45944         * misc/Makefile (headers): Add bits/select2.h.
45945         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45946         * misc/bits/select2.h: New file.
45947         * include/bits/select2.h: New file.
45948         * debug/Makefile (routines): Add fdelt_chk.
45949         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45950         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45951         FD_ISSET.
45952         * debug/fdelt_chk.c: New file.
45953
45954         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
45955         * wcsmbs/test-wmemcmp.c: Likewise.
45956         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45957         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45958
45959 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45960
45961         * string/Makefile (strop-tests): Add memcmp.
45962         * string/test-wmemcmp.c: New file.
45963         * string/test-memcmp.c: Add wmemcmp support.
45964
45965 2011-09-08  Roland McGrath  <roland@hack.frob.com>
45966
45967         [BZ #13153]
45968         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45969         2011-07-19 change.
45970
45971         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45972         garbage value in a __mach_port_mod_refs call in the cases of the
45973         task-self and thread-self ports.
45974
45975 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45976
45977         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45978
45979 2011-09-08  Andreas Schwab  <schwab@redhat.com>
45980
45981         * elf/dl-load.c (lose): Check for non-null L.
45982
45983 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45984
45985         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45986
45987         * elf/dl-libc.c (dlerror_run): Pass back error code from
45988         dl_catch_error.
45989
45990         [BZ #13123]
45991         * elf/dl-load.c (lose): Free l_origin if it is valid.
45992
45993         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45994         names.
45995         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45996         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45997         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45998         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45999         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46000         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46001
46002 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46003
46004         * sysdeps/powerpc/fpu/e_hypot.c: New file.
46005         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46006         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46007         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46008         * sysdeps/powerpc/fpu/k_cosf.c: New file.
46009         * sysdeps/powerpc/fpu/k_sinf.c: New file.
46010         * sysdeps/powerpc/fpu/s_cosf.c: New file.
46011         * sysdeps/powerpc/fpu/s_sinf.c: New file.
46012         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46013         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46014
46015 2011-08-15  Alan Modra  <amodra@gmail.com>
46016
46017         [BZ #13092]
46018         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46019         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46020         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
46021         ppc_mcount to static-only-routines.
46022         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46023         __mcount_internal.
46024         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46025         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
46026
46027 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
46028
46029         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46030         for finite and infinity parameters.
46031
46032 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
46033
46034         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46035         and add nop instructions for throughput optimization.
46036         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46037
46038 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
46039
46040         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46041         aligned copy for power7 with vector-scalar instructions.
46042         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46043
46044 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
46045
46046         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46047         AVX check.
46048
46049 2011-09-07  Andreas Schwab  <schwab@redhat.com>
46050
46051         [BZ #13144]
46052         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46053         last change.
46054
46055 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46056
46057         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46058         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46059         syscall wrapper around clock_gettime in __vdso_clock_gettime.
46060         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46061         clock_gettime.
46062
46063 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46064
46065         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46066         Forgot to demangle the pointer.
46067
46068         * sysdeps/i386/sysdep.h: Define atom_text_section.
46069         * sysdeps/x86_64/sysdep.h: Likewise.
46070         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46071         section with atom_text_section.
46072         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46073         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46074         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46075         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46076         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46077
46078         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46079         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46080         already be defined.  Change to take two parameters and don't assign
46081         result to variable.  Adjust all users.
46082         Define INTERNAL_GETTIME if not already defined.
46083         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46084         call.
46085         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46086         HAVE_CLOCK_GETTIME_VSYSCALL.
46087         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46088
46089         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46090         gettimeofday vsyscall, just use time.
46091
46092 2011-09-06  Andreas Schwab  <schwab@redhat.com>
46093
46094         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46095         <errno.h>.
46096
46097 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46098
46099         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46100         syscall on x86-64.
46101         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46102         syscall.
46103         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46104         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46105         syscall if possible.
46106
46107 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46108
46109         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46110         e_ident.  Don't pass to find_mapsXX.
46111         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46112
46113 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46114
46115         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46116         strchr-sse2-no-bsf strrchr-sse2-no-bsf
46117         * sysdeps/x86_64/multiarch/strchr.S: Update.
46118         Check bit_slow_BSF bit.
46119         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46120         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46121         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46122
46123 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46124
46125         [BZ #13134]
46126         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46127         before glibc 2.15.
46128         (tryshell): Define.
46129         (__spawni): Change last parameter to be flag.  Test
46130         SPAWN_XFLAGS_USE_PATH flag to use path or not.
46131         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46132         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46133         * posix/spawni.c: Likewise.
46134         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46135         * posix/spawnp.c: Likewise.  Change normal version to use
46136         SPAWN_XFLAGS_USE_PATH.
46137         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
46138         SPAWN_XFLAGS_TRY_SHELL.
46139
46140         [BZ #13150]
46141         * posix/glob.h: Remove gcc 1.x support.
46142
46143         [BZ #13068]
46144         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
46145
46146 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46147
46148         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46149         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
46150         strrchr-sse2-bsf
46151         * sysdeps/i386/i686/multiarch/strchr.S: New file.
46152         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
46153         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
46154         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
46155         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
46156         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
46157
46158 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46159
46160         * sysdeps/x86_64/wcscmp.S: New file.
46161
46162         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
46163         wcscmp-c wcscmp-sse2
46164         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
46165         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
46166         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
46167         * wcsmbs/wcscmp.c: Allow renaming.
46168
46169 2011-09-05  David S. Miller  <davem@davemloft.net>
46170
46171         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
46172         stack slot, rather than the struct return pointer slot.
46173         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
46174         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
46175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
46176         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
46177
46178 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46179
46180         * po/ja.po: Update from translation team.
46181
46182         [BZ #13144]
46183         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
46184         kernel in 64-bit binaries.
46185
46186 2011-09-01  David S. Miller  <davem@davemloft.net>
46187
46188         * elf/elf.h (HWCAP_SPARC_*): Move to..
46189         * sysdeps/sparc/sysdep.h: this new file and add new values.
46190         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
46191         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
46192         _DL_HWCAP_COUNT to 24.
46193         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46194         entries.
46195         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
46196         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
46197         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
46198         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
46199         instead of magic constants.
46200         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46201
46202 2011-08-31  David S. Miller  <davem@davemloft.net>
46203
46204         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
46205         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
46206         Reimplement to do errno handling inline.
46207         (SYSCALL_ERROR_HANDLER): New macro.
46208         (__SYSCALL_STRING): Do not do errno handling in asm.
46209         (__CLONE_SYSCALL_STRING): Delete.
46210         (__INTERNAL_SYSCALL_STRING): Delete.
46211         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
46212         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
46213         (PSEUDO): Reimplement to do errno handling inline.
46214         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
46215         (SYSCALL_ERROR_HANDLER): New macro.
46216         (__SYSCALL_STRING): Do not do errno handling in asm.
46217         (__CLONE_SYSCALL_STRING): Delete.
46218         (__INTERNAL_SYSCALL_STRING): Delete.
46219         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
46220         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
46221         i386.
46222         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
46223         (inline_syscall*): Add 'err' argument.
46224         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
46225         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
46226         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
46227         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
46228
46229         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
46230         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46231
46232 2011-08-30  Andreas Schwab  <schwab@redhat.com>
46233
46234         * elf/rtld.c (dl_main): Relocate objects in dependency order.
46235
46236 2011-08-29  Jiri Olsa <jolsa@redhat.com>
46237
46238         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
46239         directive.
46240
46241 2011-08-24  David S. Miller  <davem@davemloft.net>
46242
46243         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
46244
46245 2011-08-24  Andreas Schwab  <schwab@redhat.com>
46246
46247         * elf/Makefile: Add rules to build and run unload8 test.
46248         * elf/unload8.c: New file.
46249         * elf/unload8mod1.c: New file.
46250         * elf/unload8mod1x.c: New file.
46251         * elf/unload8mod2.c: New file.
46252         * elf/unload8mod3.c: New file.
46253
46254         * elf/dl-close.c (_dl_close_worker): Reset private search list if
46255         it wasn't used.
46256
46257 2011-08-23  David S. Miller  <davem@davemloft.net>
46258
46259         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
46260         subtract stack bias.
46261         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
46262         %sp not %fp in calculations.
46263         (_JMPBUF_UNWINDS_ADJ): Likewise.
46264
46265         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
46266         (aio_suspend): Call it to force an exception region around the
46267         AIO_MISC_WAIT() invocation.
46268
46269 2011-08-23  Andreas Schwab  <schwab@redhat.com>
46270
46271         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
46272         backslash.
46273
46274 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
46275
46276         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
46277         protection macro.
46278         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46279         and <dl-machine.h>.
46280         (Elf64_FuncDesc): Remove.
46281
46282 2011-08-22  David S. Miller  <davem@davemloft.net>
46283
46284         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46285         sigaltstack check, add missing cfi directives.
46286         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46287         missing cfi directives, and sigaltstack handling.
46288
46289 2011-08-16  Andreas Schwab  <schwab@redhat.com>
46290
46291         [BZ #11724]
46292         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46293         object is seen twice.
46294         * elf/dl-fini.c (_dl_sort_fini): Likewise.
46295
46296         * elf/Makefile (distribute): Add tst-initorder2.c.
46297         (tests): Add tst-initorder2.
46298         (modules-names): Add tst-initorder2a tst-initorder2b
46299         tst-initorder2c tst-initorder2d.  Add rules to build them.
46300         ($(objpfx)tst-initorder2.out): New rule.
46301         * elf/tst-initorder2.c: New file.
46302         * elf/tst-initorder2.exp: New file.
46303
46304 2011-08-22  Andreas Schwab  <schwab@redhat.com>
46305
46306         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46307
46308         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46309         dependencies back to end of function.
46310
46311         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46312         $(elfobjdir)/ld.so.
46313
46314 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
46315
46316         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46317         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46318         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46319         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46320         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46321         of __vdso_gettimeofday.
46322         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46323         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
46324         attribute_hidden.
46325         (_libc_vdso_platform_setup): Remove initialization of
46326         __vdso_gettimeofday and __vdso_time.
46327
46328 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46329
46330         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46331         and fgetc_unlocked.
46332         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46333         getc_unlocked.
46334
46335         * elf/dl-open.c (add_to_global): Report additions to the global scope
46336         for LD_DEBUG=scopes.
46337         (dl_open_worker): Also print scope of newly loaded dependencies.
46338         (_dl_show_scope): Indicate if there is no scope.
46339
46340         [BZ #13114]
46341         * stdio-common/Makefile (tests): Add bug24.
46342         * stdio-common/bug24.c: New file.
46343
46344 2011-08-19  Andreas Jaeger  <aj@suse.de>
46345
46346         [BZ #13114]
46347         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46348         non-existant file when using close-on-exec mode.
46349
46350 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
46351
46352         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46353         the very first instruction.
46354
46355         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46356         the CFI state in the end.
46357         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46358         inclusion of dl-trampoline.h.
46359         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46360
46361 2011-08-19  Andreas Schwab  <schwab@redhat.com>
46362
46363         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46364         expectations for long double.
46365
46366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46367         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46368
46369 2011-08-14  David S. Miller  <davem@davemloft.net>
46370
46371         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46372         artificual limit depends upon the system page size.
46373
46374 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46375
46376         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46377         * resolv/Makefile: Define CFLAGS-libresolv.
46378
46379 2011-08-17  Andreas Schwab  <schwab@redhat.com>
46380
46381         * nss/makedb.c (compute_tables): Make variables used in nested
46382         function static.
46383
46384 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
46385
46386         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46387         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46388         if buffer was too small.
46389
46390         * elf/pldd.c (main): Attach to all threads in the process.
46391         Rewrite /proc handling to use *at functions.
46392
46393 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
46394
46395         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46396         specifies first scope to show.
46397         (dl_open_worker): Update callers.  Move printing scope of new
46398         object to before the relocation.
46399         * elf/rtld.c (dl_main): Update _dl_show_scope call.
46400         * sysdeps/generic/ldsodefs.h: Update declaration.
46401
46402         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46403         string for the scope number.
46404
46405 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
46406
46407         * nscd/servicescache.c (cache_addserv): Make sure written is always
46408         initialized.
46409
46410 2011-08-14  Roland McGrath  <roland@hack.frob.com>
46411
46412         * sysdeps/i386/i486/bits/atomic.h
46413         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46414         statement expression, so as to suppress "set but not used" warning.
46415         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46416
46417         * string/strncat.c (STRNCAT): Use prototype definition.
46418
46419         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46420         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46421         -Iprograms here.
46422         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46423         (localedef-modules): Add localedef.
46424         (locale-modules): Add locale.
46425
46426         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46427         * elf/rtld.c (dl_main): Invert order of assignment in last change,
46428         to avoid a warning.
46429
46430 2011-08-14  David S. Miller  <davem@davemloft.net>
46431
46432         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46433         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46434
46435 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46436
46437         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46438         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46439         * elf/rtld.c (dl_main): Set l_name of vDSO.
46440         Call _dl_show_scope when DL_DEBUG_SCOPES.
46441         (process_dl_debug): Recognize scopes flag and also set it for all.
46442         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46443         Declare _dl_show_scope.
46444
46445         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46446         (do_dlopen): Pass caller_dlopen to dl_open.
46447         (__libc_dlopen_mode): Initialize caller_dlopen.
46448
46449         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46450         of libc.  Make tolower call locale-independent.  Optimize a bit by
46451         using isdigit instead of isalnum.
46452         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46453
46454 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
46455
46456         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46457         was a dependency or dynamically loaded.
46458
46459 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
46460
46461         * intl/l10nflist.c: Allow architecture-specific pop function.
46462         * sysdeps/x86_64/l10nflist.c: New file.
46463
46464         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46465         classification.
46466
46467 2011-08-10  Andreas Schwab  <schwab@redhat.com>
46468
46469         * include/dirent.h: Add libc_hidden_proto for scandirat and
46470         scandirat64.  Don't declare __scandirat64.
46471         * dirent/scandirat.c: Add libc_hidden_def.
46472         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46473         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46474
46475 2011-08-10  David S. Miller  <davem@davemloft.net>
46476
46477         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46478         enum.
46479         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46480         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46481         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46482
46483 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
46484
46485         * Versions.def [libc]: Add GLIBC_2.15.
46486         * dirent/Makefile (routines): Add scandirat and scandirat64.
46487         * dirent/Versions [libc]: Export scandirat and scandirat64 for
46488         GLIBC_2.15.
46489         * dirent/dirent.h: Declare scandirat and scandirat64.
46490         * dirent/scandirat.c: New file.
46491         * dirent/scandirat64.c: New file.
46492         * sysdeps/wordsize-64/scandirat.c: New file.
46493         * sysdeps/wordsize-64/scandirat64.c: New file.
46494         * dirent/opendir.c: Define opendirat.
46495         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
46496         using scandirat.
46497         * dirent/scandir64.c: Adjust for scandir.c change.
46498         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
46499         __scandirat64, and __scandir_cancel_handler.
46500         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
46501         additional parameter and use openat instead of open (outside of ld.so).
46502         Add new __opendir as wrapper around __opendirat.
46503         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46504         here without requiring old scandirat implementation.
46505
46506 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
46507
46508         * dirent/scandir.c (cancel_handler): Renamed to
46509         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
46510         defined.  Adjust users.
46511         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46512         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46513
46514 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
46515
46516         * string/test-string.h (IMPL): Use __STRING to expand name and then
46517         stringify it.
46518
46519         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
46520         of cleanups.
46521
46522 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46523
46524         * string/Makefile: Update.
46525         (strop-tests): Append strncat.
46526         * string/test-wcscmp.c: New file.
46527         New comprehensive test for wcscmp.
46528         * string/test-strcmp.c: Update.
46529         (WIDE): New define.
46530
46531 2011-07-22  Andreas Schwab  <schwab@redhat.com>
46532
46533         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46534         line.
46535
46536 2011-07-26  Andreas Schwab  <schwab@redhat.com>
46537
46538         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46539         encoding to ACE if AI_IDN.
46540
46541 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
46542
46543         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46544         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46545
46546 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46547
46548         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46549         Fix overflow bug in strncat.
46550         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46551
46552         * string/test-strncat.c: Update.
46553         Add new tests for checking overflow bugs.
46554
46555 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46556
46557         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46558         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46559         * sysdeps/i386/i686/multiarch/strcat.S: New file.
46560         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46561         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46562         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46563         * sysdeps/i386/i686/multiarch/strncat.S: New file.
46564         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46565         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46566
46567         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46568         (USE_AS_STRCAT): Define.
46569         Add strcat and strncat support.
46570         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46571
46572 2011-07-25  Andreas Schwab  <schwab@redhat.com>
46573
46574         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46575         __n bigger than INT_MAX+1.
46576         (__strncmp_g): Likewise.
46577
46578 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
46579
46580         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46581         * libio/stido.h: Likewise.
46582
46583         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46584         (AF_NFC): Define.
46585         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46586         (AF_NFC): Define.
46587
46588         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46589         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46590         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46591         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46592         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46593
46594         [BZ #13021]
46595         * scripts/test-installation.pl: Don't expect libnss_test1 to be
46596         installed.
46597
46598         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46599         typo.
46600         (_dl_x86_64_save_sse): Likewise.
46601
46602 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
46603
46604         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46605         OSXSAVE.
46606         (_dl_x86_64_save_sse): Likewise.
46607
46608         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46609
46610         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46611
46612 2011-07-21  Andreas Schwab  <schwab@redhat.com>
46613
46614         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46615         change.
46616         (_dl_x86_64_save_sse): Use correct AVX check.
46617
46618 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46619
46620         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46621         bug in strncpy/strncat.
46622         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46623
46624 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
46625
46626         * string/tester.c (test_strcat): Add tests for different alignments
46627         of source and destination.
46628         (test_strncat): Likewise.
46629
46630 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46631
46632         [BZ #12852]
46633         * posix/glob.c (glob): Check passed in values before using them in
46634         expressions to avoid some overflows.
46635         (glob_in_dir): Likewise.
46636
46637         [BZ #13007]
46638         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46639         check for AVX enablement so that we don't crash with old kernels and
46640         new hardware.
46641         * elf/tst-audit4.c: Add same checks here.
46642         * elf/tst-audit6.c: Likewise.
46643
46644         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46645
46646 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
46647
46648         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46649
46650 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46651
46652         * po/cs.po: Update from translation team.
46653         * po/bg.po: Likewise.
46654
46655 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
46656
46657         * misc/sys/cdefs.h: Add support for const attribute.
46658         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46659         to gnu_dev_{major,minor,makedev} functions.
46660
46661 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
46662
46663         * intl/dcigettext.c (get_output_charset): Add missing bracket.
46664
46665 2011-07-20  Andreas Schwab  <schwab@redhat.com>
46666
46667         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46668         strlen results.
46669
46670 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46671
46672         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46673         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46674         register in order to avoid conflicts with the soft frame pointer
46675         being held in r11 when necessary.
46676         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46677         (INTERNAL_VSYSCALL_NCS): Likewise.
46678
46679 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
46680
46681         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46682         * elf/dl-fini.c (_dl_fini): Adjust caller.
46683         * elf/dl-close.c (_dl_close_worker): Likewise.
46684         * sysdeps/generic/ldsodefs.h: Adjust declaration.
46685
46686 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46687
46688         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46689         "aux_cache->nlibs < 0".
46690
46691         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46692         in the reload-count case.
46693
46694 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46695
46696         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46697         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46698         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46699         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46700         * sysdeps/x86_64/multiarch/strcat.S: New file.
46701         * sysdeps/x86_64/multiarch/strncat.S: New file.
46702         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46703         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46704         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46705         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46706         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46707         (USE_AS_STRCAT): Define.
46708         Add strcat and strncat support.
46709         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46710         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46711         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46712         * string/strncat.c: Update.
46713         (USE_AS_STRNCAT): Define.
46714         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46715         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46716         and i7.
46717         * sysdeps/x86_64/multiarch/init-arch.h
46718         (bit_Prefer_PMINUB_for_stringop): New.
46719         (index_Prefer_PMINUB_for_stringop): Likewise.
46720         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46721         bit_Prefer_PMINUB_for_stringop.
46722
46723 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46724
46725         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46726         buffer64.
46727         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46728         of casting of buffer.
46729         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46730         buffer32 and buffer64.
46731         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46732         writes instead of casting of buffer.
46733         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46734         buffer32.
46735         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46736         casting of buffer.
46737
46738 2011-07-19  Andreas Schwab  <schwab@redhat.com>
46739
46740         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46741
46742 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46743
46744         * nscd/nscd.c (termination_handler): Don't do anything for a database
46745         if it has not yet been initialized.
46746
46747 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46748
46749         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46750
46751 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46752
46753         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46754
46755 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46756
46757         * po/nl.po: Update from translation team.
46758         * po/sv.po: Likewise.
46759
46760 2011-07-16  Roland McGrath  <roland@hack.frob.com>
46761
46762         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46763         now disallowed by GCC.
46764
46765         * configure.in (use-default-link): Default to yes if a test -shared
46766         link meets our qualifications.
46767         * configure: Regenerated.
46768
46769         * config.make.in (output-format): New variable.
46770         * configure.in: Check for ld --print-output-format support.
46771         * configure: Regenerated.
46772         * Makerules ($(common-objpfx)format.lds)
46773         [$(output-format) != unknown]: Just use $(output-format),
46774         instead of the linker-script munging.
46775
46776 2011-07-14  Roland McGrath  <roland@hack.frob.com>
46777
46778         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46779         of $(common-objpfx)shlib.lds.
46780         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46781
46782         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46783         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46784
46785         * configure.in (-z relro check): Adjust test code to add a large
46786         writable data section after it.
46787         * configure: Regenerated.
46788
46789 2011-07-11  Roland McGrath  <roland@hack.frob.com>
46790
46791         * configure.in (-z relro check): Fix test code to make the variable
46792         truly const.
46793         * configure: Regenerated.
46794
46795 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
46796
46797         * nscd/nscd.h (struct traced_file): Define.
46798         (struct database_dyn): Remove inotify_descr, reset_res, and filename
46799         elements.  Add traced_files.
46800         (inotify_fd): Declare.
46801         (register_traced_file): Declare.
46802         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46803         (inotify_fd): Export.
46804         (resolv_conf_descr): Remove.
46805         (nscd_init): Move inotify descriptor creation to main.
46806         Don't register files for notification here.
46807         (register_traced_file): New function.
46808         (invalidate_cache): Don't use reset_res to determine whether to call
46809         res_init, go through the list of registered files.
46810         (main_loop_poll): The inotify descriptors are now stored in the
46811         structures for the traced files.
46812         (main_loop_epoll): Likewise
46813         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
46814         to __nss_disable_nscd.
46815         * nscd/cache.c (prune_cache): There is no single inotify descriptor
46816         for a database anymore.  Check the records for all the registered
46817         files instead.
46818         * nss/Makefile (libnss_files-routines): Add files-init.
46819         (libnss_db-routines): Add db-init.
46820         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46821         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46822         * nss/nss_db/db-init.c: New file.
46823         * nss/nss_files/files-init.c: New file.
46824         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
46825         __nss_lookup_function.
46826         (__nss_lookup_function): Call nss_load_library.
46827         (nss_load_all_libraries): New function.
46828         (__nss_disable_nscd): Take parameter with callback function for files
46829         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
46830         used for the cached services.
46831         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46832         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46833         options for features to all the files in nscd.
46834
46835         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46836
46837 2011-07-10  Roland McGrath  <roland@hack.frob.com>
46838
46839         * csu/elf-init.c (__libc_csu_init): Comment typo.
46840
46841 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
46842
46843         * po/pl.po: Update from translation team.
46844         * po/ja.po: Likewise.
46845         * po/ru.po: Likewise.
46846         * po/ko.po: Likewise.
46847         * po/fr.po: Likewise.
46848
46849 2011-07-09  Roland McGrath  <roland@hack.frob.com>
46850
46851         * configure.in (.ctors/.dtors header and trailer check):
46852         Use an empirical test on a built program.
46853         * configure: Regenerated.
46854
46855         * configure.in (-z relro check): Use an empirical test on a built DSO.
46856         Detect, but do not require, on ia64.
46857         * configure: Regenerated.
46858
46859         * configure.in (READELF): Find it with AC_CHECK_TOOL.
46860         Update tests that use readelf to use $READELF instead.
46861         * configure: Regenerated.
46862
46863 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
46864
46865         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46866         if the result is not used.
46867
46868 2011-07-05  Andreas Jaeger  <aj@suse.de>
46869
46870         [BZ#9696]
46871         * stdlib/tst-strtod.c: Add testcase.
46872
46873 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
46874
46875         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46876         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46877         The latter has a higher limit.  Take additional parameter to pass to
46878         the new function.
46879         (__pathconf): Pass file to __statfs_link_max.
46880         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46881         __statfs_link_max.
46882         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46883         __statfs_link_max.
46884
46885         [BZ #12868]
46886         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46887         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46888         Handle Lustre.
46889         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46890         (__statfs_filesize_max): Likewise.
46891         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46892
46893 2011-07-05  Andreas Jaeger  <aj@suse.de>
46894
46895         * resolv/res_comp.c (dn_skipname): Remove unused variable.
46896
46897 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
46898
46899         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46900         `status' variable.
46901         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46902         Likewise.
46903
46904 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
46905
46906         * Makefile (strop-tests): Add strncat.
46907         * string/test-strncat.c: New file.
46908
46909 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
46910
46911         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46912
46913 2011-06-21  Andreas Jaeger  <aj@suse.de>
46914
46915         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46916         Copy rule from iconvdata/Makefile.
46917
46918 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46919
46920         [BZ #12922]
46921         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46922         but no long options are defined, just return 'W'.
46923
46924 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
46925
46926         [BZ #9696]
46927         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46928
46929 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46930
46931         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46932         netgroups to read.
46933         (innetgr): Likewise.
46934
46935 2011-07-05  Roland McGrath  <roland@hack.frob.com>
46936
46937         * config.make.in (install_root): Default to $(DESTDIR).
46938
46939 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
46940
46941         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46942
46943 2011-07-02  Roland McGrath  <roland@hack.frob.com>
46944
46945         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46946
46947         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46948         containing directory rather than embedding absolute directory names.
46949
46950         * scripts/check-local-headers.sh: Rewritten using awk.
46951         Match by word, not by line.  Print error messages for matches.
46952         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46953
46954         * Makerules [shlib-lds-flags empty]:
46955         ($(common-objpfx)libc_pic.opts): New target.
46956         ($(common-objpfx)libc_pic.os.clean): New target.
46957         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46958
46959         * config.make.in (OBJCOPY): New variable.
46960         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46961         * configure: Regenerated.
46962
46963         * config.make.in (use-default-link): New variable.
46964         * configure.in (use_default_link): Grok --with-default-link to set it.
46965         * configure: Regenerated.
46966         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46967         (shlib-lds, shlib-lds-flags): Define to empty.
46968
46969         * Makerules (shlib-lds): New variable.
46970         (shlib-lds-flags): New variable.
46971         (build-shlib, build-moduile, build-module-asneeded): Use it.
46972         ($(common-objpfx)libc.so): Use $(shlib-lds).
46973         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46974         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46975
46976         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46977         DT_FLAGS/DT_FLAGS_1 with zero flags.
46978
46979         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46980         linker script munging.
46981
46982 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
46983
46984         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46985         as 128-bit value.
46986         * crypt/sha512.c (sha512_process_block): Perform total addition using
46987         128-bit if possible.
46988         (__sha512_finish_ctx): Likewise.
46989         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46990         as 64-bit value.
46991         * crypt/sha256.c (SWAP64): Define.
46992         (sha256_process_block): Perform total addition using 64-bit if
46993         possible.
46994         (__sha256_finish_ctx): Likewise.
46995
46996 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
46997
46998         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
46999         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47000         * nscd/hstcache.c (cache_addhst): Likewise.
47001         * nscd/grpcache.c (cache_addgr): Likewise.
47002         * nscd/aicache.c (addhstaiX): Likewise
47003         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47004
47005 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
47006
47007         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47008         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47009         * nscd/hstcache.c (cache_addhst): Likewise.
47010         * nscd/grpcache.c (cache_addgr): Likewise.
47011         * nscd/aicache.c (addhstaiX): Likewise
47012
47013 2011-07-01  Andreas Schwab  <schwab@redhat.com>
47014
47015         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47016         domain only when needed.
47017
47018 2011-06-30  Andreas Schwab  <schwab@redhat.com>
47019
47020         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47021         is always restored.
47022
47023 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
47024
47025         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47026         are re-adding the entry.
47027         * nscd/servicescache.c (cache_addserv): Likewise.
47028
47029 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
47030
47031         * sysdeps/generic/dl-irel.h: fix protection against multiple
47032         inclusions.
47033         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47034
47035 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
47036
47037         [BZ #12935]
47038         * malloc/memusage.sh: Fix quoting in message.
47039         * debug/xtrace.sh: Likewise.
47040
47041         * configure.in: Remove support for --experimental-malloc option, make
47042         it the default.
47043         * config.make.in: Likewise.
47044         * malloc/Makefile: Likewise.
47045
47046 2011-06-27  Andreas Schwab  <schwab@redhat.com>
47047
47048         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47049         two-byte characters.
47050
47051 2011-06-27  Roland McGrath  <roland@hack.frob.com>
47052
47053         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47054         AC_CACHE_CHECK invocation.
47055         * configure: Regenerated.
47056
47057         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47058
47059 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
47060
47061         [BZ #12350]
47062         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
47063         bit from old_res_options.
47064
47065         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47066
47067         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47068         value type for setfct.
47069
47070 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
47071
47072         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47073         __gettimeofday instead of gettimeofday.
47074
47075 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
47076
47077         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47078
47079 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
47080
47081         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47082
47083         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47084         info.
47085
47086 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47087
47088         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47089         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47090         strcpy-sse2-unaligned strncpy-sse2-unaligned
47091         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47092         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47093         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47094         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47095         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47096         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47097         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47098         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47099         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47100         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47101         (STRCPY): Support SSE2 and SSSE3 versions.
47102
47103 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
47104
47105         [BZ #12874]
47106         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47107         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47108         kernels which artificially limit size of requests.
47109
47110 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47111
47112         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47113         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47114         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47115         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47116         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47117         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47118         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47119         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47120         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47121         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47122         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47123         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47124         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47125         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47126         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47127         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47128         Enable unaligned load optimization for Intel Core i3, i5 and i7
47129         processors.
47130         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47131         Define.
47132         (index_Fast_Unaligned_Load): Define.
47133         (HAS_FAST_UNALIGNED_LOAD): Define.
47134
47135 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
47136
47137         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
47138
47139 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47140
47141         [BZ #12907]
47142         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
47143         until it is clear that the information is realy needed.
47144         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
47145
47146 2011-06-22  Andreas Schwab  <schwab@redhat.com>
47147
47148         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
47149
47150 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
47151
47152         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47153         /sys/devices/system/cpu/online if it is usable.
47154
47155         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
47156         reading the information from the /proc filesystem to once a second.
47157
47158 2011-06-21  Andreas Jaeger  <aj@suse.de>
47159
47160         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
47161         NULL after inclusion of kernel headers.
47162
47163 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
47164
47165         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
47166         calls to internal_setent.
47167
47168         [BZ #12885]
47169         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
47170         addresses using gethostbyname4_r ignore IPv4 addresses.
47171
47172         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
47173         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
47174
47175         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
47176
47177 2011-06-20  David S. Miller  <davem@davemloft.net>
47178
47179         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
47180         inclusions.
47181         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
47182
47183         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
47184         (elf_irel): Use it.
47185         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
47186         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
47187         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
47188         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
47189         * sysdeps/x86_64/dl-irel.h: Likewise.
47190
47191         * elf/dl-runtime.c: Use elf_ifunc_invoke.
47192         * elf/dl-sym.c: Likewise.
47193
47194 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47195
47196         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
47197         need to dereference resplen2.
47198
47199 2011-06-14  Andreas Schwab  <schwab@redhat.com>
47200
47201         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
47202
47203 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
47204
47205         * Makeconfig: Define vardbdir and inst_vardbdir.
47206         * nss/Makefile: Add rules to install db-Makefile.
47207
47208         * nss/nss_db/db-XXX.c: Cleanup.
47209
47210         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
47211         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
47212         GLIBC_PRIVATE.
47213         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
47214         * nss/makedb.c: Implement -g option to specify that value strings
47215         are generated and should not be added to table iterated over for
47216         get*ent calls.
47217         * nss/nss_db/db-initgroups.c: New file.
47218
47219         * nss/getent.c: Add support for initgroups lookups through getgrouplist
47220         interface.
47221
47222         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
47223         (internal_getgrouplist): Adjust to name change.
47224         Update use_initgroups_entry if this is not the first call.
47225         * nss/databases.def: Add initgroups entry.
47226
47227         * nss/makedb.c (compute_tables): Check result of multiple hash table
47228         sizes to minimize maximum chain length.
47229
47230 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
47231
47232         * Versions.def: Add entry for libnss_db.
47233         * shlib-versions: Likewise.
47234         * nss/Makefile: Add rules to build libnss_db.
47235         * nss/Versions: Add libnss_db information.  Organize libnss_files
47236         entries better.
47237         * nss/db-Makefile: Add gshadow support.  Change rules for the new
47238         makedb progra.  Some minor improvements to generate smaller files.
47239         * nss/nss_db/nss_db.h: Move NSS database header data structures to
47240         here from...
47241         * nss/makedb.c: ...here.
47242         Improve database format to be smaller and require less memory at
47243         runtime.
47244         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
47245         db anymore.
47246         * nss/nss_db/db-netgrp.c: Likewise.
47247         * nss/nss_db/db-open.c: Likewise.
47248         * nss/nss_files/flies-XXX.x: Adjust comments.
47249         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
47250         * nss/nss_files/files-grp.c: Likewise.
47251         * nss/nss_files/files-hosts.c: Likewise.
47252         * nss/nss_files/files-network.c: Likewise.
47253         * nss/nss_files/files-proto.c: Likewise.
47254         * nss/nss_files/files-pwd.c: Likewise.
47255         * nss/nss_files/files-rpc.c: Likewise.
47256         * nss/nss_files/files-service.c: Likewise.
47257         * nss/nss_files/files-sgrp.c: Likewise.
47258         * nss/nss_files/files-spwd.c: Likewise.
47259         * nss/nss_db/db-alias.c: Removed.
47260         * nss/nss_db/dummy-db.h: Removed.
47261
47262 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
47263
47264         * nss/makedb.c: Rewritten to not use database library.
47265         * nss/Makefile: Update to build new makedb program.
47266
47267 2011-06-14  Andreas Jaeger  <aj@suse.de>
47268
47269         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
47270         memset declaration.
47271
47272 2011-06-10  Andreas Schwab  <schwab@redhat.com>
47273
47274         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
47275         tmpbuf.
47276
47277 2011-06-10  Roland McGrath  <roland@hack.frob.com>
47278
47279         * Makerules (shlib.lds): Fail if the linker script comes out empty.
47280         * elf/Makefile ($(objpfx)ld.so): Likewise.
47281
47282         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47283         Don't list ld.so twice in dependencies.
47284
47285         * posix/bug-regex31.c: Include <stdlib.h>.
47286
47287         * nscd/hstcache.c (cache_addhst): Remove unused variable.
47288
47289         * nis/nss_compat/compat-spwd.c
47290         (getspent_next_nss_netgr): Remove unused variable.
47291         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47292
47293         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47294         nonmembers" output to use the right array.
47295
47296         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47297
47298         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47299
47300         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47301         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47302         * catgets/gencat.c (read_input_file): Likewise.
47303         * locale/programs/locarchive.c (enlarge_archive): Likewise.
47304
47305         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47306         variable definition inside #if's controlling its use.
47307
47308         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47309
47310         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47311
47312         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47313
47314         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47315         unreachable code.
47316
47317         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47318
47319         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47320         * configure: Regenerated.
47321
47322         * Makerules: Revert last change.
47323         * elf/Makefile: Likewise.
47324
47325 2011-06-09  Roland McGrath  <roland@hack.frob.com>
47326
47327         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47328         * elf/Makefile ($(objpfx)librtld.os): Likewise.
47329         (reloc-link): Likewise.
47330
47331 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
47332
47333         * elf/Makefile: Add rules to build pldd.
47334         * elf/pldd.c: New file.
47335         * elf/pldd-xx.c: New file.
47336
47337 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
47338
47339         * version.h: Update for 2.15 development version.
47340
47341 2011-06-07  David S. Miller  <davem@davemloft.net>
47342
47343         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47344         ifuncs.
47345         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47346         elf_machine_lazy_rel): Likewise.
47347         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47348         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47349         elf_machine_lazy_rel): Likewise.
47350         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47351         dl_hwcap via passed in argument.
47352         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47353         Likewise.
47354
47355 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47356
47357         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
47358
47359 2011-06-06  Roland McGrath  <roland@hack.frob.com>
47360
47361         [BZ #12849]
47362         * manual/fdl-1.1.texi: New file, verbatim from:
47363         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47364         * manual/lgpl-2.1.texi: New file, verbatim from:
47365         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47366         * manual/Makefile (licenses): New variable, list those new file names.
47367         (texis): Use it.
47368         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47369
47370         * manual/fdl.texi: File removed.
47371         * manual/lesser.texi: File removed.
47372         * manual/libc.texinfo (Copying, Documentation License):
47373         Use new @include file names, put @appendix directive before @include.
47374
47375 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
47376
47377         [BZ #12841]
47378         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47379         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47380         (mq_open): Add __NTH.
47381
47382 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
47383
47384         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47385         Assume Intel Core i3/i5/i7 processor if AVX is available.
47386
47387 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47388
47389         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47390         typo.
47391
47392 2011-05-31  Andreas Schwab  <schwab@redhat.com>
47393
47394         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47395         memory.  Use alloca_account.  Fix memory leak when retrying.
47396
47397 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
47398
47399         * version.h (RELEASE): Bump for 2.14 release.
47400         * include/features.h (__GLIBC_MINOR__): Bump to 14.
47401
47402         * config.make.in (RANLIB): Remove entry.
47403
47404 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
47405
47406         * po/Makefile (po-sed-cmd): Add ksh to extensions.
47407         (libc.pot): Work around missing support for .ksh extension in xgettext.
47408
47409         [BZ #12684]
47410         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47411         if both request failed.
47412         (send_dg): In case of server errors clear resplen or *resplen2.
47413
47414         [BZ #12454]
47415         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47416         when there are multiple maps.
47417         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47418         (_dl_fini): Remove test here.
47419
47420         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47421
47422 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
47423
47424         [BZ #12350]
47425         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47426         bit from old_res_options.
47427         (gaih_inet): Likewise.
47428
47429         [BZ #11099]
47430         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47431         as signed.
47432
47433         * resolv/res_init.c (res_setoptions): Make the code more compact.
47434
47435         [BZ #11558]
47436         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47437         set RES_USEVC.
47438
47439         [BZ #11634]
47440         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47441
47442         * malloc/malloc.h: Mark malloc hook variables as deprecated.
47443
47444         [BZ #11781]
47445         * malloc/malloc.h: Declare malloc hook variables as volatile.
47446
47447         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47448         in last patch.
47449
47450         [BZ #11799]
47451         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47452         raise in the comment.
47453         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47454         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47455         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47456
47457 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
47458
47459         [BZ #12811]
47460         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47461         grow the buffers more if it already has to be sufficient.
47462         (build_wcs_upper_buffer): Likewise.
47463         * posix/regexec.c (check_matching): Likewise.
47464         (clean_state_log_if_needed): Likewise.
47465         (extend_buffers): Don't enlarge buffers beyond size of the input
47466         buffer.
47467         Patches mostly by Emil Wojak <emil@wojak.eu>.
47468         * posix/bug-regex32.c: New file.
47469         * posix/Makefile (tests): Add bug-regex32.
47470
47471         * locale/findlocale.c (_nl_find_locale): Return right away if
47472         _nl_explode_name failed.
47473         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47474
47475         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47476
47477         * debug/xtrace.sh: Unify messages.
47478         * malloc/memusage.sh: Likewise.
47479
47480         [BZ #12813]
47481         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47482         time symbol from vDSO.  Substitute with vsyscall if not available.
47483         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47484         __vdso_time.
47485
47486         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47487         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47488         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47489         Add sendmmsg and internal_sendmmsg.
47490         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47491         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47492         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47493
47494         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47495         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47496         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47497
47498 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
47499
47500         [BZ #12813]
47501         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47502         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
47503         available.
47504         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47505         __vdso_getcpu.
47506
47507         [BZ #12814]
47508         * iconvdata/Makefile (tests): Add bug-iconv9.
47509         * iconvdata/bug-iconv9.c: New file.
47510
47511 2011-05-27  Andreas Schwab  <schwab@redhat.com>
47512
47513         [BZ #12814]
47514         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47515
47516 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
47517
47518         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47519         (struct user_regs_struct): Change intcs field back to cs.
47520
47521 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
47522
47523         * po/ja.po: Update from translation team.
47524
47525 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
47526
47527         [BZ #12795]
47528         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47529         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47530
47531 2011-05-20  Andreas Schwab  <schwab@redhat.com>
47532
47533         * stdlib/longlong.h: Update from GCC.
47534
47535 2011-05-23  Andreas Schwab  <schwab@redhat.com>
47536
47537         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47538         parameter name.
47539         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47540         Add parameter name.
47541         (__sysconf): Pass it down.
47542
47543 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
47544
47545         [BZ #12671]
47546         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47547         some situations.
47548         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47549         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47550         add in in __libc_use_alloca calls.  Adjust callers.
47551         (glob): Use malloc in some situations.
47552
47553         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47554         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47555         pltexit.
47556
47557 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
47558
47559         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47560         and CLOCK_BOOTTIME_ALARM.
47561
47562         [BZ #12782]
47563         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47564         is returned.
47565
47566         * string/_strerror.c (__strerror_r): Print negative errors as signed
47567         numbers.
47568
47569         [BZ #12777]
47570         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47571         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47572         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47573
47574         * configure.in: Fix typo in redirection and correct removal of test
47575         files in two cases.
47576
47577         [BZ #12788]
47578         * locale/setlocale.c (new_composite_name): Fix test to check for
47579         identical name of all categories.
47580
47581         [BZ #12792]
47582         * libio/filedoalloc.c (local_isatty): New function.
47583         (_IO_file_doallocate): Use local_isatty.
47584         * stdio-common/perror.c (perror): In case a new stream is used
47585         forward the stream error.
47586         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47587         error flag.
47588
47589 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
47590
47591         [BZ #11869]
47592         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47593         alloca.
47594         * include/alloca.h (extend_alloca_account): Define.
47595
47596         [BZ #11857]
47597         * posix/regex.h: Fix comments with documentation of user-accessible
47598         fields after compilation and describe correct free'ing of pattern
47599         after re_compile_pattern.
47600         Patch by Reuben Thomas <rrt@sc3d.org>.
47601
47602 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
47603
47604         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47605         and -mno-altivec to prevent the compiler from using Altivec and/or
47606         VSX instructions when the corresponding registers are not available.
47607
47608 2011-05-19  Andreas Schwab  <schwab@redhat.com>
47609
47610         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47611
47612 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
47613
47614         * libio/freopen.c (freopen): Use __dup2, not dup2.
47615         * libio/freopen64.c (freopen64): Likewise.
47616
47617 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47618
47619         [BZ #12775]
47620         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47621         * math/Makefile (tests): Add test-powl.
47622         (CFLAGS-test-powl.c): Define.
47623         * math/test-powl.c: New file.
47624
47625 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47626
47627         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47628
47629 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
47630
47631         [BZ #11837]
47632         * iconvdata/gb18030.c: Update to GB18020-2005.
47633
47634 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
47635
47636         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47637         RE_SYNTAX_POSIX_AWK): Update to match recent development.
47638         Patch by Aharon Robbins <arnold@skeeve.com>.
47639
47640         [BZ #11892]
47641         * stdlib/putenv.c (putenv): Don't always create copy of the variable
47642         on the stack.
47643
47644         [BZ #11895]
47645         * misc/pselect.c (__pselect): Handle timeout value errors hidden
47646         through underflows.
47647
47648         [BZ #12766]
47649         * misc/error.c (error_at_line): Ensure file_name and old_file_name
47650         point to strings before performing equality test for error_one_per_line
47651         mode.
47652
47653         [BZ #11697]
47654         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47655
47656         [BZ #11820]
47657         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47658         (struct user_fpregs_struct): Avoid __uint*_t types.
47659
47660         [BZ #6420]
47661         * malloc/mtrace.c (tr_where): Add additional parameter to point to
47662         symbol info.  Use it instead of calling _dl_addr locally.
47663         (lock_and_info): New function.
47664         (tr_freehook): Call lock_and_info and pass symbol info as additional
47665         parameter to tr_where.
47666         (tr_mallochook): Likewise.
47667         (tr_reallochook): Likewise.
47668         (tr_memalignhook): Likewise.
47669
47670         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
47671         used and couldn't be at all thread-safe.
47672
47673 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
47674
47675         * libio/freopen.c (freopen): Don't close old file descriptor
47676         before the new one is opened.  Instead dup the new file descriptor
47677         to the old one after the new stream is created.
47678         * libio/freopen64.c (freopen64): Likewise.
47679         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47680         * libio/fileops.c (_IO_new_file_close_it): Handle new
47681         _IO_FLAGS2_NOCLOSE flag.
47682         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47683         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47684         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47685         _IO_FLAGS2_NOCLOSE flag.
47686         * include/unistd.h: Add hidden_proto for dup3.
47687         Define __have_dup3.
47688         * io/dup3.c: Define hidden symbol.
47689         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47690
47691         [BZ #7101]
47692         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47693         when an incomplete long option is used.
47694         * posix/tst-getopt_long1.c: New file.
47695         * posix/Makefile (tests): Add tst-getopt_long1.
47696
47697         [BZ #10138]
47698         * scripts/config.guess: Update from autoconf-2.68.
47699         * scripts/config.sub: Likewise.
47700
47701         [BZ #10157]
47702         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47703         tests into ...
47704         (has_cpuclock): ...this.  New function.
47705         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47706         macro here based on has_cpuclock code.
47707
47708         [BZ #10149]
47709         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47710         First byte (not low byte) is now always NUL.
47711         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47712
47713         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47714         Use non-cancelable interfaces.
47715
47716         [BZ #9809]
47717         * locale/iso-639.def: Add entry for Sorani.
47718
47719         [BZ #11901]
47720         * include/stdlib.h: Move include protection to the right place.
47721         Define abort_msg_s.  Declare __abort_msg with it.
47722         * stdlib/abort.c (__abort_msg): Adjust type.
47723         * assert/assert.c (__assert_fail_base): New function.  Majority
47724         of code from __assert_fail.  Allocate memory for __abort_msg with
47725         mmap.
47726         (__assert_fail): Now call __assert_fail_base.
47727         * assert/assert-perr.c: Remove bulk of implementation.  Use
47728         __assert_fail_base.
47729         * include/assert.hL Declare __assert_fail_base.
47730         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47731         mmap.
47732         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47733
47734 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
47735
47736         [BZ #11952]
47737         [BZ #12453]
47738         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47739         until all modules are registered in the DTV.
47740         * elf/Makefile: Add rules to build and run tst-tls19.
47741         * elf/tst-tls19.c: New file.
47742         * elf/tst-tls19mod1.c: New file.
47743         * elf/tst-tls19mod2.c: New file.
47744         * elf/tst-tls19mod3.c: New file.
47745         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47746
47747         [BZ #12083]
47748         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47749         correctly.
47750
47751         [BZ #12601]
47752         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47753         two-byte sequence errors.
47754         * iconvdata/Makefile (tests): Add bug-iconv8.
47755         * iconvdata/bug-iconv8.c: New file.
47756
47757         [BZ #12626]
47758         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47759         buf2 definition.
47760
47761         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47762
47763         [BZ #12432]
47764         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47765         (dummy_getcfa): New function.
47766         (init): Get _Unwind_GetCFA address, use dummy if not found.
47767         (backtrace_helper): In recursion check, also check whether CFA changes.
47768         (__backtrace): Completely initialize arg.
47769
47770         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47771         storing incomplete byte sequence in state object.  Avoid testing for
47772         guaranteed too small input if we know there is enough data available.
47773
47774 2011-05-11  Andreas Schwab  <schwab@redhat.com>
47775
47776         * Makeconfig (+link-pie): Indent.
47777         * Rules (binaries-pie): Define if $(have-fpie) and
47778         $(build-shared).
47779         (binaries-shared): Also filter out $(binaries-pie).
47780         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47781         * nscd/Makefile (others-pie): Add nscd.
47782         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47783         ($(objpfx)nscd): Remove command override.
47784         * login/Makefile (others-pie): Add pt_chown.
47785         ($(objpfx)pt_chown): Remove command override.
47786         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47787         remove command overrides.
47788
47789 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
47790
47791         * libio/tst_putwc.c: Fix error messages.
47792
47793         [BZ #12724]
47794         * libio/fileops.c (_IO_new_file_close_it): Always flush when
47795         currently writing and seek to current position when not.
47796         * libio/Makefile (tests): Add bug-fclose1.
47797         * libio/bug-fclose1.c: New file.
47798
47799 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
47800
47801         [BZ #12511]
47802         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47803         don't set DF_1_NODELETE here.
47804         (do_lookup_x): When entering new entry test for copy relocation
47805         and if necessary set DF_1_NODELETE flag.
47806         * elf/tst-unique4.cc: New file.
47807         * elf/tst-unique4.h: New file.
47808         * elf/tst-unique4lib.cc: New file.
47809         * elf/Makefile: Add rules to build and run tst-unique4.
47810         Patch by Piotr Bury <pbury@goahead.com>.
47811
47812 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
47813
47814         [BZ #12052]
47815         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47816
47817         [BZ #12625]
47818         * misc/mntent_r.c (addmntent): Flush the stream after the output
47819
47820         [BZ #12393]
47821         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47822         (is_trusted_path_normalize): Skip initial colon.  Append slash
47823         to empty buffer.  Duplicate is_trusted_path code but allow
47824         constructed patch to be prefix.
47825         (is_dst): Allow $ORIGIN followed by /.
47826         (_dl_dst_substitute): Correct clearing of check_for_trusted.
47827         Correct testing of result of is_trusted_path_normalize
47828         (decompose_rpath): Fix warning.
47829
47830 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
47831
47832         [BZ #11257]
47833         * grp/initgroups.c (internal_getgrouplist): When we found the service
47834         list through the initgroups entry in nsswitch.conf do not always
47835         continue on a successful lookup.  Don't always use the
47836         __nss_group_database value if it is set.
47837         * nss/nsswitch.conf (initgroups): Change action for successful db
47838         lookup to continue for compatibility.
47839
47840 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
47841
47842         [BZ #11532]
47843         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47844         and CP774 modules.
47845         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47846         and CP774 modules.
47847         * iconvdata/tst-tables.sh: Likewise.
47848         * iconvdata/cp770.c: New file.
47849         * iconvdata/cp771.c: New file.
47850         * iconvdata/cp772.c: New file.
47851         * iconvdata/cp773.c: New file.
47852         * iconvdata/cp774.c: New file.
47853         * iconvdata/testdata/CP770: New file.
47854         * iconvdata/testdata/CP770..UTF8: New file.
47855         * iconvdata/testdata/CP771: New file.
47856         * iconvdata/testdata/CP771..UTF8: New file.
47857         * iconvdata/testdata/CP772: New file.
47858         * iconvdata/testdata/CP772..UTF8: New file.
47859         * iconvdata/testdata/CP773: New file.
47860         * iconvdata/testdata/CP773..UTF8: New file.
47861         * iconvdata/testdata/CP774: New file.
47862         * iconvdata/testdata/CP774..UTF8: New file.
47863
47864         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47865         END CHARMAP line.
47866         * iconvdata/gen-8bit-gap.sh: Likewise.
47867         * iconvdata/gen-8bit.sh: Likewise.
47868
47869         * locale/iso-639.def: Add ary entry.
47870
47871         [BZ #11258]
47872         * locale/C-translit.h.in: Add U20A1 transliteration.
47873
47874         [BZ #12178]
47875         * locale/iso-639.def: Add wae entry.
47876         Patch by Kevin Bortis <bortis@translate-wae.ch>.
47877
47878         [BZ #12545]
47879         * locale/programs/localedef.c (construct_output_path): Use ssize_t
47880         for n.
47881
47882         [BZ #12711]
47883         * locale/C-translit.h.in: Add entry for U20B9.
47884         Patch by pravin.d.s@gmail.com.
47885
47886 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
47887
47888         [BZ #12713]
47889         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47890         ENAMETOOLONG use generic getcwd.
47891         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
47892         in rtld.  Use *stat64.
47893         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47894         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47895         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47896         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47897         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47898         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47899         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47900         __fstatat64 macros.
47901         * include/dirent.h: Add libc_hidden_proto for rewinddir.
47902         * dirent/rewinddir.c: Add libc_hidden_def.
47903         * sysdeps/mach/hurd/rewinddir.c: Likewise.
47904         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
47905
47906         * include/dirent.h (__alloc_dir): Add flags parameter.
47907         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47908         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47909         __alloc_dir.
47910         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
47911         from fdopendir if O_CLOEXEC is already set.
47912
47913 2011-03-15  Alan Modra  <amodra@gmail.com>
47914
47915         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47916         l_tls_firstbyte_offset non-zero.  Save padding offset in
47917         l_tls_firstbyte_offset for later use.
47918         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47919         freeing static tls block.
47920
47921 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
47922
47923         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47924         where #ifdef was intended.  The intent is to prevent ARG_MAX from
47925         being defined by the kernel headers.
47926
47927 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
47928
47929         [BZ #12734]
47930         * resolv/resolv.h: Define RES_NOTLDQUERY.
47931         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47932         no-tld-query and set RES_NOTLDQUERY.
47933         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47934         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47935         modern BIND to search name as TLD unless forbidden.
47936
47937 2011-05-07  Petr Baudis  <pasky@suse.cz>
47938             Ulrich Drepper  <drepper@gmail.com>
47939
47940         [BZ #12393]
47941         * elf/dl-load.c (fillin_rpath): Move trusted path check...
47942         (is_trusted_path): ...to here.
47943         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47944         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47945         using is_trusted_path_normalize() in setuid scripts.
47946
47947 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47948
47949         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47950         __BEGIN/__END_DECLS.
47951
47952 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
47953
47954         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47955         NSS_STATUS_NOTFOUND if no record was found.
47956
47957 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47958
47959         * sunrpc/Makefile (headers): Add rpc/netdb.h.
47960         (headers-not-in-tirpc): Remove rpc/netdb.h
47961         * resolv/netdb.h: Revert last change.
47962
47963 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47964
47965         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47966         circular dependency between libgcc.a and libc.a.
47967
47968 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47969
47970         * resolv/netdb.h: Don't include <rpc/netdb.h>.
47971         * nis/Makefile: Don't install rpcsvc/*.
47972         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47973         instead of <rpc/types.h>.
47974         (MAXHOSTNAMELEN): Define.
47975
47976 2011-05-03  Andreas Schwab  <schwab@redhat.com>
47977
47978         * elf/ldconfig.c (add_dir): Don't crash on empty path.
47979
47980 2011-04-28  Maciej Babinski  <mbabinski@google.com>
47981
47982         [BZ #12714]
47983         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47984         gethostbyname4_r when IPv6 results are possible.
47985
47986 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
47987
47988         [BZ #12723]
47989         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47990         _PC_PIPE_BUF handling.
47991
47992 2011-04-30  Bruno Haible  <bruno@clisp.org>
47993
47994         [BZ #12717]
47995         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47996         * resolv/netdb.h (getnameinfo): Change type of flags parameter
47997         to 'int'.
47998         * inet/getnameinfo.c (getnameinfo): Likewise.
47999
48000 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
48001
48002         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48003         to groups setting in database lookup.
48004         * nss/nsswitch.conf: Add initgroups entry.
48005
48006 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
48007
48008         [BZ #12685]
48009         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48010         mode string.
48011         Patch by Eric Blake <eblake@redhat.com>.
48012
48013 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
48014
48015         * sunrpc/Makefile (need-export-routines): Add svc_run.
48016         (routines): Remove svc_run.
48017         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48018         * sunrpc/clnt_perr.c (clnt_perrno): Export.
48019         * sunrpc/svc_run.c (svc_run): Likewise.
48020         * sunrpc/svc_udp.c (svcudp_create): Likewise.
48021
48022 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
48023
48024         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48025         problem in reallocation in last patch.
48026
48027 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
48028
48029         * sunrpc/Makefile: Move inclusion of Rules.
48030
48031 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48032
48033         * nss/nss_files/files-initgroups.c: New file.
48034         * nss/Makefile (libnss_files-routines): Add files-initgroups.
48035         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48036         _nss_files_initgroups_dyn.
48037
48038 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
48039
48040         * elf/elf.h (R_ARM_IRELATIVE): Define.
48041
48042 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48043
48044         * po/ru.po: Update from translation team.
48045
48046 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48047
48048         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48049         dependencies.
48050
48051 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
48052
48053         [BZ #12653]
48054         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48055         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48056         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48057         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48058         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48059
48060 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
48061
48062         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48063         differing bytes.
48064         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48065         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48066         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48067
48068 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48069
48070         [BZ #12420]
48071         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48072         storing it.
48073         * stdlib/bug-getcontext.c: New file.
48074         * stdlib/Makefile: Add rules to build and run bug-getcontext.
48075
48076 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48077
48078         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48079         instructions into .machine "z9-109".
48080         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48081         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48082
48083 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48084
48085         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48086         between environment variables and auxiliary vector.
48087
48088 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
48089
48090         * Makefile: Add rules to build linkobj/libc.so.
48091         * include/libc-symbols.h: Define libc_hidden_nolink.
48092         * include/rpc/auth.h: Mark functions which are to be hidden.
48093         * include/rpc/auth_des.h: Likewise.
48094         * include/rpc/auth_unix.h: Likewise.
48095         * include/rpc/clnt.h: Likewise.
48096         * include/rpc/des_crypt.h: Likewise.
48097         * include/rpc/key_prot.h: Likewise.
48098         * include/rpc/pmap_clnt.h: Likewise.
48099         * include/rpc/pmap_prot.h: Likewise.
48100         * include/rpc/pmap_rmt.h: Likewise.
48101         * include/rpc/rpc_msg.h: Likewise.
48102         * include/rpc/svc.h: Likewise.
48103         * include/rpc/svc_auth.h: Likewise.
48104         * include/rpc/xdr.h: Likewise.
48105         * nis/Makefile: Link all DSOs against linkobj/libc.so.
48106         * nss/Makefile: Likewise.
48107         * sunrpc/Makefile: Don't install headers.  Build library with normal
48108         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
48109         * sunrpc/auth_des.c: Hide exported symbols by default, export some
48110         for the compat linking library.  Remove use of INTDEF/INTUSE.
48111         * sunrpc/auth_none.c: Likewise.
48112         * sunrpc/auth_unix.c: Likewise.
48113         * sunrpc/authdes_prot.c: Likewise.
48114         * sunrpc/authuxprot.c: Likewise.
48115         * sunrpc/clnt_gen.c: Likewise.
48116         * sunrpc/clnt_perr.c: Likewise.
48117         * sunrpc/clnt_raw.c: Likewise.
48118         * sunrpc/clnt_simp.c: Likewise.
48119         * sunrpc/clnt_tcp.c: Likewise.
48120         * sunrpc/clnt_udp.c: Likewise.
48121         * sunrpc/clnt_unix.c: Likewise.
48122         * sunrpc/des_crypt.c: Likewise.
48123         * sunrpc/des_soft.c: Likewise.
48124         * sunrpc/get_myaddr.c: Likewise.
48125         * sunrpc/key_call.c: Likewise.
48126         * sunrpc/key_prot.c: Likewise.
48127         * sunrpc/netname.c: Likewise.
48128         * sunrpc/pm_getmaps.c: Likewise.
48129         * sunrpc/pm_getport.c: Likewise.
48130         * sunrpc/pmap_clnt.c: Likewise.
48131         * sunrpc/pmap_prot.c: Likewise.
48132         * sunrpc/pmap_prot2.c: Likewise.
48133         * sunrpc/pmap_rmt.c: Likewise.
48134         * sunrpc/publickey.c: Likewise.
48135         * sunrpc/rpc_cmsg.c: Likewise.
48136         * sunrpc/rpc_common.c: Likewise.
48137         * sunrpc/rpc_dtable.c: Likewise.
48138         * sunrpc/rpc_prot.c: Likewise.
48139         * sunrpc/rpc_thread.c: Likewise.
48140         * sunrpc/rtime.c: Likewise.
48141         * sunrpc/svc.c: Likewise.
48142         * sunrpc/svc_auth.c: Likewise.
48143         * sunrpc/svc_authux.c: Likewise.
48144         * sunrpc/svc_raw.c: Likewise.
48145         * sunrpc/svc_run.c: Likewise.
48146         * sunrpc/svc_simple.c: Likewise.
48147         * sunrpc/svc_tcp.c: Likewise.
48148         * sunrpc/svc_udp.c: Likewise.
48149         * sunrpc/svc_unix.c: Likewise.
48150         * sunrpc/svcauth_des.c: Likewise.
48151         * sunrpc/xcrypt.c: Likewise.
48152         * sunrpc/xdr.c: Likewise.
48153         * sunrpc/xdr_array.c: Likewise.
48154         * sunrpc/xdr_float.c: Likewise.
48155         * sunrpc/xdr_intXX_t.c: Likewise.
48156         * sunrpc/xdr_mem.c: Likewise.
48157         * sunrpc/xdr_rec.c: Likewise.
48158         * sunrpc/xdr_ref.c: Likewise.
48159         * sunrpc/xdr_sizeof.c: Likewise.
48160         * sunrpc/xdr_stdio.c: Likewise.
48161
48162 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
48163
48164         [BZ #12650]
48165         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
48166         * sysdeps/ia64/dl-tls.h: Likewise.
48167         * sysdeps/powerpc/dl-tls.h: Likewise.
48168         * sysdeps/s390/dl-tls.h: Likewise.
48169         * sysdeps/sh/dl-tls.h: Likewise.
48170         * sysdeps/sparc/dl-tls.h: Likewise.
48171         * sysdeps/x86_64/dl-tls.h: Likewise.
48172         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
48173
48174 2011-03-14  Andreas Schwab  <schwab@redhat.com>
48175
48176         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
48177         rpath element also skip the following colon.
48178         (expand_dynamic_string_token): Add is_path parameter and pass
48179         down to DL_DST_REQUIRED and _dl_dst_substitute.
48180         (decompose_rpath): Call expand_dynamic_string_token with
48181         non-zero is_path.  Ignore empty rpaths.
48182         (_dl_map_object_from_fd): Call expand_dynamic_string_token
48183         with zero is_path.
48184
48185 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
48186
48187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48188         Make cancelable.
48189
48190 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
48191
48192         [BZ #12655]
48193         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
48194         Patch by Filipe David Manana <fdmanana@apache.org>.
48195
48196 2011-04-07  Andreas Schwab  <schwab@redhat.com>
48197
48198         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
48199         Maintain aligned stack.
48200         (CHECK_RSP): Remove unused macro.
48201
48202 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
48203
48204         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
48205         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
48206
48207 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
48208
48209         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
48210
48211         * include/features.h: Mention __USE_XOPEN2K8 in comment.
48212
48213 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
48214
48215         [BZ #12518]
48216         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
48217         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
48218         * sysdeps/x86_64/memmove.c: New file.
48219         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
48220         (memcpy): Renamed to ...
48221         (__new_memcpy): This.
48222         (memcpy): Provide GLIBC_2_14 memcpy.
48223         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
48224         (memcpy): Provide GLIBC_2_2_5 memcpy.
48225
48226 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48227
48228         [BZ #12631]
48229         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
48230
48231 2011-03-30  Andreas Schwab  <schwab@redhat.com>
48232
48233         * misc/syncfs.c: New file.
48234         * misc/Makefile (routines): Add syncfs.
48235         * posix/unistd.h: Declare syncfs.
48236         * sysdeps/unix/syscalls.list: Add syncfs.
48237
48238 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48239
48240         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
48241         open_by_handle_at.
48242         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48243         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48244         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48245         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48246         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48247         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
48248         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48249
48250 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48251
48252         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
48253         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48254         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
48255         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48256         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48257         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48258         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48259
48260         * io/Makefile: Compile fallocate.c, fallocate64.c, and
48261         sync_file_range.c with -fexceptions.
48262         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
48263         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
48264         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
48265         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48266         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
48267         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48268         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
48269         sync_file_range as cancellation point
48270         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
48271         now a wrapper around __call_sync_file_range with cancellation handling.
48272         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
48273         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
48274         function name to __call_sync_file_range.
48275         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
48276         Add call_sync_file_range.
48277
48278 2011-04-01  Andreas Schwab  <schwab@redhat.com>
48279
48280         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48281         bits/timex.h.
48282
48283 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
48284
48285         * iconv/iconv.h: Fix typo in comment.
48286         * io/fcntl.h: Likewise.
48287         * libio/stdio.h: Likewise.
48288         * posix/spawn.h: Likewise.
48289         * posix/unistd.h: Likewise.
48290         * stdlib/stdlib.h: Likewise.
48291         * time/time.h: Likewise.
48292         * wcsmbs/wchar.h: Likewise.
48293
48294         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48295         open_by_handle): Add.
48296         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48297         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
48298         Augment a few comments.
48299         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48300         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48301         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48302         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48303         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48304         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48305         open_by_handle.
48306
48307         * io/fcntl.h (AT_EMPTY_PATH): Define.
48308
48309 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
48310
48311         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48312         * sysdeps/unix/sysv/linux/bits/time.h: New file.
48313         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48314         to...
48315         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
48316         * Versions.def: Add GLIBC_2.14.
48317         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48318         Export.
48319
48320 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
48321
48322         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48323         round counter.
48324         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48325
48326 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48327
48328         [BZ #12597]
48329         * string/test-strncmp.c (do_page_test): New function.
48330         (check2): Likewise.
48331         (test_main): Call check2.
48332         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48333
48334 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
48335
48336         [BZ #12587]
48337         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48338         Handle cache information in CPU leaf 4.
48339         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48340
48341 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
48342
48343         [BZ #12583]
48344         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48345         character representation.
48346         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48347
48348 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
48349
48350         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48351         END(__isnan) to END(__isnanf) to match function entry point/label
48352         EALIGN(__isnanf,...).
48353
48354 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
48355
48356         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48357
48358 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
48359
48360         [BZ #12510]
48361         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48362         copy from the symbol referenced in the relocation to initialize the
48363         used variable.
48364         Patch by Piotr Bury <pbury@goahead.com>.
48365         * elf/Makefile: Add rules to build and tst-unique3.
48366         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48367         * elf/tst-unique3.cc: New file.
48368         * elf/tst-unique3.h: New file.
48369         * elf/tst-unique3lib.cc: New file.
48370         * elf/tst-unique3lib2.cc: New file.
48371
48372         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48373
48374 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
48375
48376         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48377         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
48378         to _start.
48379
48380 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
48381
48382         * elf/dl-load.c (_dl_map_object): If we are looking for the first
48383         to-be-loaded object along a path to loader is ld.so.
48384
48385 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48386             Ulrich Drepper  <drepper@gmail.com>
48387
48388         * sysdeps/x86_64/memset.S: After aligning destination, code
48389         branches to different locations depending on the value of
48390         misalignment, when multiarch is enabled. Fix this.
48391
48392 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
48393
48394         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48395         Set _x86_64_preferred_memory_instruction for AMD processsors.
48396         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48397         Set bit_Prefer_SSE_for_memop for AMD processors.
48398
48399 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
48400
48401         * libio/fmemopen.c (fmemopen): Optimize a bit.
48402
48403 2011-03-03  Andreas Schwab  <schwab@redhat.com>
48404
48405         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48406
48407 2011-03-03  Roland McGrath  <roland@redhat.com>
48408
48409         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48410
48411 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
48412
48413         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
48414         __bzero_ultra1 instead of __memset_ultra1.
48415
48416 2011-02-23  Andreas Schwab  <schwab@redhat.com>
48417             Ulrich Drepper  <drepper@gmail.com>
48418
48419         [BZ #12509]
48420         * include/link.h (struct link_map): Add l_orig_initfini.
48421         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48422         returning unsuccessfully.
48423         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48424         close of a file loaded at startup, restore the original l_initfini
48425         list.
48426         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48427         list, store the pointer.
48428         * elf/Makefile ($(objpfx)noload-mem): New rule.
48429         (noload-ENV): Define.
48430         (tests): Add $(objpfx)noload-mem.
48431         * elf/noload.c: Include <memcheck.h>.
48432         (main): Call mtrace.  Close all opened handles.
48433
48434 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48435
48436         [BZ #12454]
48437         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48438         dependencies are missing.
48439
48440 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48441
48442         Fix __if_freereq crash: Unlike the generic version which uses free,
48443         Hurd needs munmap.
48444         * sysdeps/mach/hurd/ifreq.h: New file.
48445
48446 2011-01-27  Petr Baudis  <pasky@suse.cz>
48447             Ulrich Drepper  <drepper@gmail.com>
48448
48449         [BZ 12445]#
48450         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48451         to extend_alloca().
48452         * stdio-common/bug23.c: New file.
48453         * stdio-common/Makefile (tests): Add bug23.
48454
48455 2010-09-28  Andreas Schwab  <schwab@redhat.com>
48456             Ulrich Drepper  <drepper@gmail.com>
48457
48458         [BZ #12489]
48459         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48460         before performing relro protection.  At old place add assertion
48461         to make sure nothing changed.
48462
48463 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
48464             Glauber de Oliveira Costa  <glommer@gmail.com>
48465
48466         * elf/elf.h: Add new ARM TLS relocs.
48467
48468 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
48469
48470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48471         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48472         cast from r3.
48473         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
48474         'tests' variable.
48475         * sysdeps/wordsize-64/tst-writev.c: New file.
48476
48477 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
48478
48479         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48480         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48481         insns in _dl_start to prevent a TOC reference before relocs are
48482         resolved.
48483
48484 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
48485
48486         [BZ #12469]
48487         * Makeconfig: Remove RANLIB definition.
48488         * Makerules: Don't use RANLIB.
48489         * aclocal.m4: Remove ranlib test.
48490         * configure.in: No need to check for ranlib.
48491         * elf/rtld-Rules: Don't use RANLIB.
48492
48493 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48494
48495         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48496         protection macro.
48497         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48498         inclusion protection macro.
48499
48500         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48501         SIGRTMIN and SIGRTMAX and print information in that case only when
48502         SIGRTMIN is defined.
48503
48504 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
48505
48506         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48507         arginfo fn returning -1.
48508
48509         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48510         and thousands string is zero terminated.
48511
48512 2011-02-03  Andreas Schwab  <schwab@redhat.com>
48513
48514         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48515         sysdeps/unix/sysv/linux/bits/socket.h.
48516
48517 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48518
48519         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48520         (__CPU_COUNT): Remove old macros.
48521         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48522         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48523         (__CPU_ALLOC, __CPU_FREE): Add macros.
48524         (__sched_cpualloc, __sched_cpufree): Add declarations.
48525
48526 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
48527
48528         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48529         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48530         * nscd/aicache.c (addhstaiX): Return timeout of added value.
48531         (readdhstai): Return value of addhstaiX call.
48532         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48533         (addgrbyX): Return value returned by cache_addgr.
48534         (readdgrbyname): Return value returned by addgrbyX.
48535         (readdgrbygid): Likewise.
48536         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48537         (addpwbyX): Return value returned by cache_addpw.
48538         (readdpwbyname): Return value returned by addhstbyX.
48539         (readdpwbyuid): Likewise.
48540         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48541         (addservbyX): Return value returned by cache_addserv.
48542         (readdservbyname): Return value returned by addservbyX:
48543         (readdservbyport): Likewise.
48544         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48545         (addhstbyX): Return value returned by cache_addhst.
48546         (readdhstbyname): Return value returned by addhstbyX.
48547         (readdhstbyaddr): Likewise.
48548         (readdhstbynamev6): Likewise.
48549         (readdhstbyaddrv6): Likewise.
48550         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48551         (readdinitgroups): Return value returned by addinitgroupsX.
48552         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48553         (prune_cache): Keep track of timeout value of re-added entries.
48554         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48555         * nscd/nscd.h: Adjust prototypes of readd* functions.
48556
48557 2011-02-04  Roland McGrath  <roland@redhat.com>
48558
48559         * nis/nis_server.c (nis_servstate): Use the right name for 0.
48560         (nis_stats): Likewise.
48561         * nis/nis_modify.c (nis_modify): Likewise.
48562         * nis/nis_remove.c (nis_remove): Likewise.
48563         * nis/nis_add.c (nis_add): Likewise.
48564
48565         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48566
48567         * posix/fnmatch_loop.c: Add some consts.
48568
48569         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48570
48571 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
48572
48573         [BZ #12460]
48574         * config.make.in (config-cflags-novzeroupper): Define.
48575         * configure.in: Substitute libc_cv_cc_novzeroupper.
48576         * elf/Makefile (AVX-CFLAGS): Define.
48577         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48578         (CFLAGS-tst-auditmod4a.c): Likewise.
48579         (CFLAGS-tst-auditmod4b.c): Likewise.
48580         (CFLAGS-tst-auditmod6b.c): Likewise.
48581         (CFLAGS-tst-auditmod6c.c): Likewise.
48582         (CFLAGS-tst-auditmod7b.c): Likewise.
48583         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48584
48585 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
48586
48587         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48588         function to the callback.
48589         Patch partly by Jiri Olsa <jolsa@redhat.com>.
48590
48591 2011-02-02  Andreas Schwab  <schwab@redhat.com>
48592
48593         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48594         of errno.
48595
48596 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
48597
48598         [BZ #11724]
48599         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48600         of constructors.
48601         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48602         of destructors.
48603         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48604
48605         [BZ #11724]
48606         * elf/Makefile: Add rules to build and run new test.
48607         * elf/tst-initorder.c: New file.
48608         * elf/tst-initorder.exp: New file.
48609         * elf/tst-initordera1.c: New file.
48610         * elf/tst-initordera2.c: New file.
48611         * elf/tst-initordera3.c: New file.
48612         * elf/tst-initordera4.c: New file.
48613         * elf/tst-initorderb1.c: New file.
48614         * elf/tst-initorderb2.c: New file.
48615         * elf/tst-order-a1.c: New file.
48616         * elf/tst-order-a2.c: New file.
48617         * elf/tst-order-a3.c: New file.
48618         * elf/tst-order-a4.c: New file.
48619         * elf/tst-order-b1.c: New file.
48620         * elf/tst-order-b2.c: New file.
48621         * elf/tst-order-main.c: New file.
48622         New test case by George Gensure <werkt0@gmail.com>.
48623
48624 2010-10-01  Andreas Schwab  <schwab@redhat.com>
48625
48626         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48627         decoding ACE if AI_CANONIDN.
48628
48629 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
48630
48631         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48632
48633 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
48634
48635         * version.h (RELEASE): Bump for 2.13 release.
48636         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48637
48638         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48639
48640         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48641         MADV_NOHUGEPAGE.
48642         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48643         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48644         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48645         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48646         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48647         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48648
48649         * posix/getconf.c: Update copyright year.
48650         * catgets/gencat.c: Likewise.
48651         * csu/version.c: Likewise.
48652         * debug/catchsegv.sh: Likewise.
48653         * debug/xtrace.sh: Likewise.
48654         * elf/ldconfig.c: Likewise.
48655         * elf/ldd.bash.in: Likewise.
48656         * elf/sprof.c (print_version): Likewise.
48657         * iconv/iconv_prog.c: Likewise.
48658         * iconv/iconvconfig.c: Likewise.
48659         * locale/programs/locale.c: Likewise.
48660         * locale/programs/localedef.c: Likewise.
48661         * malloc/memusage.sh: Likewise.
48662         * malloc/mtrace.pl: Likewise.
48663         * nscd/nscd.c (print_version): Likewise.
48664         * nss/getent.c: Likewise.
48665
48666         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48667         PF_CAIF, and PF_ALG.
48668         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48669
48670 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
48671
48672         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48673         (modules-names): Use them.
48674         (ifunc-test-modules, ifunc-pie-tests): Define.
48675         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48676         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48677         (test-extras): Likewise.
48678         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48679         $(compile-command.c).
48680         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48681         (all-built-dso): Define.
48682         (check-textrel.out, check-execstack.out): Depend on it.
48683
48684         * configure.in: Don't override --enable-multi-arch.
48685
48686 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
48687
48688         [BZ #6812]
48689         * nscd/hstcache.c (tryagain): Define.
48690         (cache_addhst): Return tryagain not notfound for temporary errors.
48691         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48692         failed.
48693
48694 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
48695
48696         [BZ #10563]
48697         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48698         to make the syscall.
48699         * sysdeps/unix/sysv/linux/setgroups.c: New file.
48700
48701         [BZ #12378]
48702         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48703         and fall back to matching as normal character if the string ends before
48704         the matching ']' is found.  This is what POSIX requires.
48705         * posix/testfnm.c: Adjust test result.
48706         * posix/globtest.sh: Adjust test result.  Add new test.
48707         * posix/tst-fnmatch.input: Likewise.
48708         * posix/tst-fnmatch2.c: Add new test.
48709
48710 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
48711
48712         * elf/Makefile (check-execstack): Revert last change.  Depend on
48713         check-execstack.h.
48714         (check-execstack.h): New target.
48715         (generated): Add check-execstack.h.
48716         * elf/check-execstack.c: Include "check-execstack.h".
48717         (main): Revert last change.
48718         (handle_file): Return zero if GNU_STACK is absent and
48719         DEFAULT_STACK_PERMS doesn't include PF_X.
48720
48721 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
48722
48723         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48724         in child fails because the descriptor is already closed.
48725         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48726         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48727         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48728
48729         [BZ #12397]
48730         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48731         syscall.
48732
48733         [BZ #10484]
48734         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48735         temporary buffer used to handle multi lookups locally.
48736         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48737
48738 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48739
48740         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48741         loader is ld.so.
48742
48743 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
48744
48745         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48746         alignment for SSE2.
48747
48748 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48749
48750         [BZ #12394]
48751         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48752         characters.  When rounding increased number of integer digits recompute
48753         number of groups.
48754         * stdio-common/tst-grouping.c: New file.
48755         * stdio-common/Makefile: Add rules to build and run tst-grouping.
48756
48757 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
48758
48759         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48760         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
48761
48762         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48763         void.
48764         * bits/select.h: Likewise.
48765
48766 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
48767
48768         * po/ja.po: Update from translation team.
48769
48770 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
48771
48772         [BZ #11155]
48773         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48774         implementation just like for lxstat, fxstatat, et al.
48775
48776 2010-12-27  Jim Meyering  <meyering@redhat.com>
48777
48778         [BZ #12348]
48779         * posix/regexec.c (build_trtable): Return failure indication upon
48780         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
48781
48782 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
48783
48784         [BZ #12201]
48785         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48786         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48787         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48788         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48789
48790         [BZ #12207]
48791         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48792
48793         [BZ #12204]
48794         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48795         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48796
48797 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
48798
48799         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48800         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48801         script has SORT_BY_INIT_PRIORITY.
48802         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48803         NO_CTORS_DTORS_SECTIONS is defined.
48804         * elf/soinit.c: Likewise.
48805         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48806         NO_CTORS_DTORS_SECTIONS is defined.
48807         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48808         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48809         * sysdeps/sh/init-first.c: Likewise.
48810         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48811
48812 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
48813
48814         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48815         always use the slow path.
48816
48817 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
48818
48819         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48820         similar rule which adds the sysdep directories to the header search in
48821         order to pick up the correct platform stackinfo.h.
48822         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48823         perform test if it is, otherwise return successfully without testing.
48824         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48825         DEFAULT_STACK_PERMS define in stackinfo.h.
48826         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48827         defined in stackinfo.h.
48828         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48829         DEFAULT_STACK_PERMS defined in stackinfo.h.
48830         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48831         * sysdeps/ia64/stackinfo.h: Likewise.
48832         * sysdeps/s390/stackinfo.h: Likewise.
48833         * sysdeps/sh/stackinfo.h: Likewise.
48834         * sysdeps/sparc/stackinfo.h: Likewise.
48835         * sysdeps/x86_64/stackinfo.h: Likewise.
48836         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48837         PF_X for powerpc64.  Retain PF_X for powerpc32.
48838
48839 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
48840
48841         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48842         accurately.
48843         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48844         GETDENTS_64BIT_ALIGNED.
48845
48846 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
48847
48848         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48849
48850 2010-12-10  Andreas Schwab  <schwab@redhat.com>
48851
48852         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48853         _GNU_SOURCE.
48854
48855         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48856         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48857         Remove __restrict.
48858         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48859         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48860
48861 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
48862
48863         [BZ #11655]
48864         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48865         are initialized.
48866
48867 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
48868
48869         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48870
48871 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
48872
48873         * po/it.po: Update from translation team.
48874
48875 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
48876
48877         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48878         unused codes.
48879
48880 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
48881
48882         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48883
48884 2010-11-24  Andreas Schwab  <schwab@redhat.com>
48885
48886         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48887         specially.
48888         (gaih_getanswer_slice): Likewise.
48889
48890 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
48891
48892         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48893
48894 2010-05-31  Petr Baudis  <pasky@suse.cz>
48895
48896         [BZ #11149]
48897         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48898         silently even in the chroot mode.
48899
48900 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
48901
48902         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48903         last patch a bit.  Pretty printing
48904
48905 2010-05-31  Petr Baudis <pasky@suse.cz>
48906
48907         [BZ #10085]
48908         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48909         initialization of skip_initgroups_dyn.
48910
48911 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
48912
48913         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48914         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48915
48916 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
48917
48918         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48919
48920 2010-11-11  Andreas Schwab  <schwab@redhat.com>
48921
48922         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48923         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48924         (tst-fnmatch-ENV): Set MALLOC_TRACE.
48925         ($(objpfx)tst-fnmatch-mem): New rule.
48926         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48927         * posix/tst-fnmatch.c (main): Call mtrace.
48928
48929 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
48930
48931         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48932         Support Intel processor model 6 and model 0x2c.
48933
48934 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
48935
48936         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48937           signed comparison.
48938
48939 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
48940
48941         [BZ #12205]
48942         * string/test-strncasecmp.c (check_result): New function.
48943         (do_one_test): Use it.
48944         (check1): New function.
48945         (test_main): Use it.
48946         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48947         Support strcasecmp and strncasecmp.
48948
48949 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
48950
48951         [BZ #12194]
48952         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48953         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48954
48955 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48956
48957         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48958         IFUNC support.
48959         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48960         memset-x86-64.
48961         * sysdeps/x86_64/multiarch/bzero.S: New file.
48962         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48963         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48964         * sysdeps/x86_64/multiarch/memset.S: New file.
48965         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48966         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48967         Set bit_Prefer_SSE_for_memop for Intel processors.
48968         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48969         Define.
48970         (index_Prefer_SSE_for_memop): Define.
48971         (HAS_PREFER_SSE_FOR_MEMOP): Define.
48972
48973 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
48974
48975         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48976         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48977
48978 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
48979
48980         [BZ #12191]
48981         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48982         (__x86_64_raw_data_cache_size_half): Likewise.
48983         (__x86_64_raw_shared_cache_size): Likewise.
48984         (__x86_64_raw_shared_cache_size_half): Likewise.
48985
48986         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48987         (__x86_64_raw_data_cache_size_half): Likewise.
48988         (__x86_64_raw_shared_cache_size): Likewise.
48989         (__x86_64_raw_shared_cache_size_half): Likewise.
48990         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48991         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48992         and __x86_64_raw_shared_cache_size_half.  Round
48993         __x86_64_data_cache_size_half, __x86_64_data_cache_size
48994         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48995         to multiple of 256 bytes.
48996
48997 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
48998
48999         [BZ #12167]
49000         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49001         of inacessible symlinks.  Verify result of symlink before returning it.
49002         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49003         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49004
49005 2010-10-28  Erich Ritz  <erichritz@gmail.com>
49006
49007         * math/math.h (isinf): Fix typo in comment.
49008
49009 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
49010
49011         * po/da.po: Update from translation team.
49012
49013 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
49014
49015         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49016         is added to the list.
49017
49018 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49019             Ulrich Drepper  <drepper@gmail.com>
49020
49021         * elf/dl-object.c (_dl_new_object): Don't append the new object to
49022         the global list here.  Move code to...
49023         (_dl_add_to_namespace_list): ...here.  New function.
49024         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49025         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49026         * elf/dl-load.c (lose): Don't remove the element from the list.
49027         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49028         (_dl_map_object): Likewise.
49029
49030 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
49031
49032         [BZ #12159]
49033         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49034         into all bytes of SSE register.
49035         Patch by Richard Li <richardpku@gmail.com>.
49036
49037 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
49038
49039         [BZ #12140]
49040         * malloc/malloc.c (_int_free): Fill correct number of bytes when
49041         perturbing.
49042
49043 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
49044
49045         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49046         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49047         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49048         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49050         submachine.
49051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49052
49053 2010-10-22  Andreas Schwab  <schwab@redhat.com>
49054
49055         * include/dlfcn.h (__RTLD_SECURE): Define.
49056         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
49057         mode & __RTLD_SECURE instead.
49058         (open_path): Rename preloaded parameter to secure.
49059         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49060         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49061         * elf/dl-deps.c (openaux): Likewise.
49062         * elf/rtld.c (struct map_args): Remove is_preloaded.
49063         (map_doit): Don't use it.
49064         (dl_main): Likewise.
49065         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49066         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49067
49068 2010-09-09  Andreas Schwab  <schwab@redhat.com>
49069
49070         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49071         (sysd-rules-targets): Remove duplicates.
49072         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49073         rtld-%.$o dependency.
49074
49075 2010-10-18  Andreas Schwab  <schwab@redhat.com>
49076
49077         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49078         _dl_map_object do it.
49079
49080 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
49081
49082         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49083         fast fma builtins, define the macros in the C99 standard.
49084         (FP_FAST_FMAF): Likewise.
49085         (FP_FAST_FMAL): Likewise.
49086         * sysdeps/x86_64/bits/mathdef.h: Likewise.
49087
49088         * bits/mathdef.h: Update copyright year.
49089         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49090
49091 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
49092
49093         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49094         builtins, define the macros in the C99 standard.
49095         (FP_FAST_FMAF): Likewise.
49096         (FP_FAST_FMAL): Likewise.
49097         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49098         multiply/add.
49099         (FP_FAST_FMAF): Likewise.
49100
49101 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
49102
49103         [BZ #3268]
49104         * math/libm-test.inc (fma_test): Some new testcases.
49105         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49106         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49107         y and infinite z.  Do multiplication by C already in long double.
49108         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49109         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49110         y and infinite z.  Do bitwise or of inexact bit into u.d.
49111         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49112         * sysdeps/i386/fpu/s_fmaf.S: Removed.
49113         * sysdeps/i386/fpu/s_fma.S: Removed.
49114         * sysdeps/i386/fpu/s_fmal.S: Removed.
49115
49116 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
49117
49118         [BZ #3268]
49119         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49120         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49121         computation is not scheduled after fetestexcept.  Fix value
49122         of minimum denormal long double.
49123
49124 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
49125
49126         [BZ #3268]
49127         * math/libm-test.inc (fma_test): Add some more tests.
49128         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49129         correctly.
49130
49131 2010-10-15  Andreas Schwab  <schwab@redhat.com>
49132
49133         * scripts/data/localplt-s390-linux-gnu.data: New file.
49134         * scripts/data/localplt-s390x-linux-gnu.data: New file.
49135
49136 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
49137
49138         [BZ #3268]
49139         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
49140         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
49141         instead of dbl-64.
49142         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
49143         inlines.
49144         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
49145         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
49146         if one of x and y is very large and the other is subnormal.
49147         * sysdeps/s390/fpu/s_fmaf.c: New file.
49148         * sysdeps/s390/fpu/s_fma.c: New file.
49149         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
49150         * sysdeps/powerpc/fpu/s_fma.S: New file.
49151         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
49152         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
49153         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
49154
49155 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
49156
49157         [BZ #3268]
49158         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
49159         fma tests.
49160         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
49161         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
49162         * sysdeps/i386/i686/multiarch/s_fma.c: Include
49163         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
49164         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
49165         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
49166         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
49167
49168 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
49169
49170         [BZ #12078]
49171         * posix/regcomp.c (parse_branch): One more memory leak plugged.
49172         * posix/bug-regex31.input: Add test case.
49173
49174 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49175
49176         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
49177         * posix/bug-regex31.input: New file.
49178
49179         [BZ #12078]
49180         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
49181         (parse_sub_exp): Fix last change, use postorder.
49182
49183         * posix/bug-regex31.c: New file.
49184         * posix/Makefile: Add rules to build and run bug-regex31.
49185
49186         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
49187
49188         [BZ #12078]
49189         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
49190
49191         [BZ #12108]
49192         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
49193         to have entries in sys_siglist.
49194
49195         [BZ #12093]
49196         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
49197         be NULL.
49198
49199 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
49200
49201         [BZ #3268]
49202         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
49203         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
49204         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
49205         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
49206         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49207         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
49208         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
49209         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
49210         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
49211         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
49212         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
49213         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
49214         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
49215         * math/ftestexcept.c (fetestexcept): Likewise.
49216         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
49217         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
49218         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
49219         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
49220         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
49221         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
49222         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49223
49224 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
49225
49226         [BZ #12107]
49227         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
49228         newline.
49229
49230 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
49231
49232         * string/bug-strstr1.c: New file.
49233         * string/Makefile: Add rules to build and run bug-strstr1.
49234
49235 2010-10-05  Eric Blake  <eblake@redhat.com>
49236
49237         [BZ #12092]
49238         * string/str-two-way.h (two_way_long_needle): Always clear memory
49239         when skipping input due to the shift table.
49240
49241 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
49242
49243         [BZ #12005]
49244         * malloc/mcheck.c: Handle large requests.
49245
49246         [BZ #12077]
49247         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
49248         for strncmp and strncasecmp.
49249         * string/stratcliff.c: Add tests for strcmp and strncmp.
49250         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
49251
49252 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49253
49254         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
49255         __set_fpscr.
49256
49257 2010-09-30  Andreas Jaeger  <aj@suse.de>
49258
49259         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
49260         (CGROUP_SUPER_MAGIC): Define.
49261         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49262         Handle btrfs and cgroup file systems.
49263         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
49264         Likewise.
49265
49266 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
49267
49268         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
49269         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
49270
49271 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49272
49273         [BZ #12067]
49274         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
49275         trying to locate the ELF header.
49276
49277 2010-09-27  Andreas Schwab  <schwab@redhat.com>
49278
49279         [BZ #11611]
49280         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49281         Mask out sign-bit copies when constructing f_fsid.
49282
49283 2010-09-24  Petr Baudis <pasky@suse.cz>
49284
49285         * debug/stack_chk_fail_local.c: Add missing licence exception.
49286         * debug/warning-nop.c: Likewise.
49287
49288 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
49289
49290         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49291         implementing getdents64 using getdents syscall, set d_type if
49292         __ASSUME_GETDENTS32_D_TYPE.
49293
49294 2010-09-16  Andreas Schwab  <schwab@redhat.com>
49295
49296         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49297         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49298
49299 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
49300
49301         [BZ #12037]
49302         * posix/unistd.h: Undo change of feature selection for ftruncate from
49303         2010-01-11.
49304
49305 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
49306
49307         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
49308         detection.
49309
49310 2010-09-20  Andreas Schwab  <schwab@redhat.com>
49311
49312         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49313         fanotify_mark.
49314         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49315
49316 2010-09-14  Andreas Schwab  <schwab@redhat.com>
49317
49318         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49319         variables after CHECK_SP call.
49320         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49321
49322 2010-09-13  Andreas Schwab  <schwab@redhat.com>
49323             Ulrich Drepper  <drepper@redhat.com>
49324
49325         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49326         re-relocationg ld.so.
49327         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49328         _dl_init_paths call.
49329         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
49330         here anymore.
49331
49332 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
49333
49334         * resolv/res_init.c (__res_vinit): Count the default server we added.
49335
49336 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
49337             Ulrich Drepper  <drepper@redhat.com>
49338
49339         [BZ #11968]
49340         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49341         (____longjmp_chk): Use %ebx for saving value across system call.
49342         Add unwind info.
49343
49344 2010-09-06  Andreas Schwab  <schwab@redhat.com>
49345
49346         * manual/Makefile: Don't mix pattern rules with normal rules.
49347
49348 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
49349
49350         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49351         operation.
49352         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49353         * libio/iofopncook.c (_IO_cookie_init): Likewise.
49354         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49355         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49356         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49357         Likewise.
49358
49359 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
49360
49361         [BZ #11979]
49362         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49363         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49364
49365 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
49366
49367         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49368         * sysdeps/x86_64/addmul_1.S: Likewise.
49369         * sysdeps/x86_64/lshift.S: Likewise.
49370         * sysdeps/x86_64/mul_1.S: Likewise.
49371         * sysdeps/x86_64/rshift.S: Likewise.
49372         * sysdeps/x86_64/sub_n.S: Likewise.
49373         * sysdeps/x86_64/submul_1.S: Likewise.
49374
49375 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49376
49377         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49378         Define __sched_param instead of SCHED_* and sched_param when
49379         <bits/sched.h> is included with __need_schedparam defined.
49380         * bits/sched.h [__need_schedparam]
49381         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
49382         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49383         (__defined_schedparam): Define to 1.
49384         (__sched_param): New structure, identical to sched_param.
49385         (__need_schedparam): Undefine.
49386
49387 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
49388
49389         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49390         (epoll_create1): Declare.
49391
49392         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49393
49394 2010-08-31  Andreas Schwab  <schwab@redhat.com>
49395
49396         [BZ #7066]
49397         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49398         shifting retval into place.
49399
49400 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
49401
49402         * nis/rpcsvc/nis.h: Update copyright notice.
49403         * nis/rpcsvc/nis.x: Likewise.
49404         * nis/rpcsvc/nis_callback.h: Likewise.
49405         * nis/rpcsvc/nis_callback.x: Likewise.
49406         * nis/rpcsvc/nis_object.x: Likewise.
49407         * nis/rpcsvc/nis_tags.h: Likewise.
49408         * nis/rpcsvc/yp.h: Likewise.
49409         * nis/rpcsvc/yp.x: Likewise.
49410         * nis/rpcsvc/ypupd.h: Likewise.
49411         * nis/yp_xdr.c: Likewise.
49412         * nis/ypupdate_xdr.c: Likewise.
49413
49414         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
49415         mainly the body of pmap_getport.  Add parameters to specify timeouts.
49416         (pmap_getport): Use __libc_rpc_getport.
49417         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49418         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49419         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49420
49421 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
49422
49423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49424         fanotify_mark.
49425
49426 2010-08-27  Roland McGrath  <roland@redhat.com>
49427
49428         * sysdeps/i386/i686/multiarch/Makefile
49429         (CFLAGS-varshift.c): New variable.
49430
49431 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49432
49433         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49434         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49435
49436         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49437
49438         * sysdeps/x86_64/strlen.S: Minimal code improvement.
49439
49440 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
49441
49442         * sysdeps/x86_64/strlen.S: Unroll the loop.
49443         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49444         strlen-sse2 strlen-sse2-bsf.
49445         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49446         __strlen_no_bsf if bit_Slow_BSF is set.
49447         (__strlen_sse42): Removed.
49448         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49449         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49450
49451 2010-08-25  Roland McGrath  <roland@redhat.com>
49452
49453         * sysdeps/x86_64/multiarch/varshift.S: File removed.
49454         * sysdeps/x86_64/multiarch/varshift.c: New file.
49455         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49456         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49457         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49458         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49459
49460 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49461
49462         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49463         strlen-sse2 strlen-sse2-bsf.
49464         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49465         __strlen_sse2_bsf if bit_Slow_BSF is unset.
49466         (__strlen_sse2): Removed.
49467         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49468         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49469         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49470         bit_Slow_BSF for Atom.
49471         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49472         (index_Slow_BSF): Define.
49473         (HAS_SLOW_BSF): Define.
49474
49475 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
49476
49477         [BZ #10851]
49478         * resolv/res_init.c (__res_vinit): When no server address at all
49479         is given default to loopback.
49480
49481 2010-08-24  Roland McGrath  <roland@redhat.com>
49482
49483         * configure.in: Remove config-name.h generation.
49484         * configure: Regenerated.
49485         * config-name.in: File removed.
49486         * scripts/config-uname.sh: New file.
49487         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49488         ($(objdir)config-name.h): New target.
49489
49490         * sunrpc/rpc_parse.h: Avoid nested comment.
49491
49492 2010-08-24  Richard Henderson  <rth@redhat.com>
49493             Ulrich Drepper  <drepper@redhat.com>
49494             H.J. Lu  <hongjiu.lu@intel.com>
49495
49496         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49497         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49498         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49499         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
49500         _mm_alignr_epi8 with _mm_loadu_si128.
49501         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49502         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49503         (__m128i_shift_right): Removed.
49504         * sysdeps/i386/i686/multiarch/varshift.h: New file.
49505         * sysdeps/i386/i686/multiarch/varshift.S: New file.
49506         * sysdeps/x86_64/multiarch/varshift.h: New file.
49507         * sysdeps/x86_64/multiarch/varshift.S: New file.
49508
49509 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
49510
49511         * configure.in: Move assembler checks to before sysdep dir checking.
49512
49513 2010-08-20  Petr Baudis  <pasky@suse.cz>
49514
49515         * LICENSES: Sync the sunrpc license.
49516
49517 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
49518
49519         * sunrpc/auth_des.c: Update copyright notice once again.
49520         * sunrpc/auth_none.c: Likewise.
49521         * sunrpc/auth_unix.c: Likewise.
49522         * sunrpc/authdes_prot.c: Likewise.
49523         * sunrpc/authuxprot.c: Likewise.
49524         * sunrpc/bindrsvprt.c: Likewise.
49525         * sunrpc/clnt_gen.c: Likewise.
49526         * sunrpc/clnt_perr.c: Likewise.
49527         * sunrpc/clnt_raw.c: Likewise.
49528         * sunrpc/clnt_simp.c: Likewise.
49529         * sunrpc/clnt_tcp.c: Likewise.
49530         * sunrpc/clnt_udp.c: Likewise.
49531         * sunrpc/clnt_unix.c: Likewise.
49532         * sunrpc/des_crypt.c: Likewise.
49533         * sunrpc/des_soft.c: Likewise.
49534         * sunrpc/get_myaddr.c: Likewise.
49535         * sunrpc/getrpcport.c: Likewise.
49536         * sunrpc/key_call.c: Likewise.
49537         * sunrpc/key_prot.c: Likewise.
49538         * sunrpc/openchild.c: Likewise.
49539         * sunrpc/pm_getmaps.c: Likewise.
49540         * sunrpc/pm_getport.c: Likewise.
49541         * sunrpc/pmap_clnt.c: Likewise.
49542         * sunrpc/pmap_prot.c: Likewise.
49543         * sunrpc/pmap_prot2.c: Likewise.
49544         * sunrpc/pmap_rmt.c: Likewise.
49545         * sunrpc/rpc/auth.h: Likewise.
49546         * sunrpc/rpc/auth_unix.h: Likewise.
49547         * sunrpc/rpc/clnt.h: Likewise.
49548         * sunrpc/rpc/des_crypt.h: Likewise.
49549         * sunrpc/rpc/key_prot.h: Likewise.
49550         * sunrpc/rpc/netdb.h: Likewise.
49551         * sunrpc/rpc/pmap_clnt.h: Likewise.
49552         * sunrpc/rpc/pmap_prot.h: Likewise.
49553         * sunrpc/rpc/pmap_rmt.h: Likewise.
49554         * sunrpc/rpc/rpc.h: Likewise.
49555         * sunrpc/rpc/rpc_des.h: Likewise.
49556         * sunrpc/rpc/rpc_msg.h: Likewise.
49557         * sunrpc/rpc/svc.h: Likewise.
49558         * sunrpc/rpc/svc_auth.h: Likewise.
49559         * sunrpc/rpc/types.h: Likewise.
49560         * sunrpc/rpc/xdr.h: Likewise.
49561         * sunrpc/rpc_clntout.c: Likewise.
49562         * sunrpc/rpc_cmsg.c: Likewise.
49563         * sunrpc/rpc_common.c: Likewise.
49564         * sunrpc/rpc_cout.c: Likewise.
49565         * sunrpc/rpc_dtable.c: Likewise.
49566         * sunrpc/rpc_hout.c: Likewise.
49567         * sunrpc/rpc_main.c: Likewise.
49568         * sunrpc/rpc_parse.c: Likewise.
49569         * sunrpc/rpc_parse.h: Likewise.
49570         * sunrpc/rpc_prot.c: Likewise.
49571         * sunrpc/rpc_sample.c: Likewise.
49572         * sunrpc/rpc_scan.c: Likewise.
49573         * sunrpc/rpc_scan.h: Likewise.
49574         * sunrpc/rpc_svcout.c: Likewise.
49575         * sunrpc/rpc_tblout.c: Likewise.
49576         * sunrpc/rpc_util.c: Likewise.
49577         * sunrpc/rpc_util.h: Likewise.
49578         * sunrpc/rpcinfo.c: Likewise.
49579         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49580         * sunrpc/rpcsvc/key_prot.x: Likewise.
49581         * sunrpc/rpcsvc/klm_prot.x: Likewise.
49582         * sunrpc/rpcsvc/mount.x: Likewise.
49583         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49584         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49585         * sunrpc/rpcsvc/rex.x: Likewise.
49586         * sunrpc/rpcsvc/rstat.x: Likewise.
49587         * sunrpc/rpcsvc/rusers.x: Likewise.
49588         * sunrpc/rpcsvc/sm_inter.x: Likewise.
49589         * sunrpc/rpcsvc/spray.x: Likewise.
49590         * sunrpc/rpcsvc/yppasswd.x: Likewise.
49591         * sunrpc/rtime.c: Likewise.
49592         * sunrpc/svc.c: Likewise.
49593         * sunrpc/svc_auth.c: Likewise.
49594         * sunrpc/svc_authux.c: Likewise.
49595         * sunrpc/svc_raw.c: Likewise.
49596         * sunrpc/svc_run.c: Likewise.
49597         * sunrpc/svc_simple.c: Likewise.
49598         * sunrpc/svc_tcp.c: Likewise.
49599         * sunrpc/svc_udp.c: Likewise.
49600         * sunrpc/svc_unix.c: Likewise.
49601         * sunrpc/svcauth_des.c: Likewise.
49602         * sunrpc/xcrypt.c: Likewise.
49603         * sunrpc/xdr.c: Likewise.
49604         * sunrpc/xdr_array.c: Likewise.
49605         * sunrpc/xdr_float.c: Likewise.
49606         * sunrpc/xdr_mem.c: Likewise.
49607         * sunrpc/xdr_rec.c: Likewise.
49608         * sunrpc/xdr_ref.c: Likewise.
49609         * sunrpc/xdr_sizeof.c: Likewise.
49610         * sunrpc/xdr_stdio.c: Likewise.
49611
49612         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49613         handling.
49614
49615 2010-08-19  Andreas Schwab  <schwab@redhat.com>
49616
49617         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49618
49619 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
49620
49621         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49622         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49623         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49624         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49625         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49626         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49627         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49628         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49629         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49630         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49631         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49632         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49633         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49634         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49635
49636 2010-07-26  Anton Blanchard  <anton@samba.org>
49637
49638         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49639         * malloc/arena.c (heap_trim): Likewise.
49640
49641 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
49642
49643         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49644         here.  Not...
49645         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49646         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49647
49648 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
49649
49650         * sysdeps/i386/elf/Makefile: New file.
49651
49652 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49653
49654         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49655         from fanotify_init.
49656         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49657         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49658
49659 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
49660
49661         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49662         of strncasecmp_l.
49663         * sysdeps/multiarch/strcmp.S: Likewise.
49664
49665 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
49666
49667         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49668         strncase_l-nonascii.
49669         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49670         Add strncase_l-ssse3.
49671         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49672         * sysdeps/x86_64/strcmp.S: Likewise.
49673         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49674         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49675         * sysdeps/x86_64/strncase.S: New file.
49676         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49677         * sysdeps/x86_64/strncase_l.S: New file.
49678         * string/Makefile (strop-tests): Add strncasecmp.
49679         * string/test-strncasecmp.c: New file.
49680
49681         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49682         warning.
49683
49684         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49685         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49686
49687 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49688
49689         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49690
49691 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
49692
49693         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49694         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49695         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49696
49697 2010-05-01  Alan Modra  <amodra@gmail.com>
49698
49699         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49700         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49701         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49702         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49703         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49704         tidying.  Don't tail-call __sigjmp_save for static lib.
49705         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49706         save location.
49707         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49708         (CALL_MCOUNT): Add eh info, and nop after bl.
49709         (TAIL_CALL_SYSCALL_ERROR): New macro.
49710         (PSEUDO_RET): Use it.
49711         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49712         Correct save location of integer regs and cr.
49713         (_dl_profile_resolve): Correct cr save location.  Delete nops
49714         after bl when SHARED.  Reduce cfi size a little by better
49715         placement of cfi directives.
49716         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49717         make a stack frame.  Instead use parm save area as a temp.
49718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49719         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
49720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49721         Don't make a stack frame for parent, use parm save area.
49722         Increase child stack frame to 112 bytes.  Don't save unused reg,
49723         and adjust reg usage.  Set up cfi on error recovery and
49724         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49726         (__makecontext): Add dummy nop after jump to exit.
49727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49728         Use correct parm save area and cr save, reduce stack frame.
49729         Correct cfi for possible PSEUDO_RET frame setup.
49730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49731         Branch to local label emitted by PSEUDO_RET rather than
49732         __syscall_error.
49733
49734 2010-08-12  Andreas Schwab  <schwab@redhat.com>
49735
49736         [BZ #11904]
49737         * locale/programs/locale.c (print_assignment): New function.
49738         (show_locale_vars): Use it.
49739
49740 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
49741
49742         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49743         field.
49744         (struct statfs64): Likewise.
49745         (_STATFS_F_FLAGS): Define.
49746         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49747         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49748         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49749         (ST_VALID): Define locally.
49750         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49751         __statvfs_getflags, use the provided value.
49752         * sysdeps/unix/sysv/linux/kernel-features.h: Define
49753         __ASSUME_STATFS_F_FLAGS.
49754
49755         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49756
49757         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49758         Add sys/fanotify.h.
49759         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49760         fanotify_mask for GLIBC_2.13.
49761         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49762         fanotify_init and fanotify_mark.
49763         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49764         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49765
49766         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49767         Add prlimit.
49768         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49769         prlimit64 for GLIBC_2.13.
49770         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49771         prlimit64.
49772         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49773         syscall.
49774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49775         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49776         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49777         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49778         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
49779         add prlimit alias.
49780         * sysdeps/unix/sysv/linux/prlimit.c: New file.
49781
49782         [BZ #11903]
49783         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49784         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49785
49786         * nss/Makefile: Add rules to build and run tst-nss-test1.
49787         * shlib-versions: Add entry for libnss_test1.
49788         * nss/nss_test1.c: New file.
49789         * nss/tst-nss-test1.c: New file.
49790
49791         * nss/nsswitch.c (__nss_database_custom): Define new variable.
49792         (__nss_configure_lookup): Set appropriate entry in
49793         __nss_configure_lookup to true.
49794         * nss/nsswitch.h: Define enum with indeces of databases in
49795         databases and __nss_database_custom arrays.  Declare
49796         __nss_database_custom.
49797         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49798         to avoid using nscd when custom rules are installed.
49799         * nss/getXXbyYY_r.c: Likewise.
49800         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49801
49802         * nss/nss_files/files-parse.c: Whitespace fixes.
49803
49804 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
49805
49806         [BZ #11883]
49807         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49808         * posix/fnmatch_loop.c: Likewise.
49809
49810 2010-07-17  Andi Kleen  <ak@linux.intel.com>
49811
49812         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49813         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49814         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49815         * Versions.def [GLIBC_2.13]: Add.
49816
49817 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
49818
49819         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49820         Also fail if tpwd after pwuid call is NULL.
49821
49822 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49823
49824         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49825         when converting to ms.
49826
49827 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49828
49829         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49830         EOPNOTSUPP errors with ENOTTY.
49831         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49832         EOPNOTSUPP errors with ENOTTY.
49833
49834 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
49835
49836         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49837         Add strcasecmp_l-ssse3.
49838         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49839         strcasecmp.
49840         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49841         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49842         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49843
49844 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
49845
49846         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49847
49848         * string/Makefile (strop-tests): Add strcasecmp.
49849         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49850         strcasecmp_l-nonascii.
49851         (gen-as-const-headers): Add locale-defines.sym.
49852         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49853         * sysdeps/x86_64/strcasecmp.S: New file.
49854         * sysdeps/x86_64/strcasecmp_l.S: New file.
49855         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49856         * sysdeps/x86_64/locale-defines.sym: New file.
49857         * string/test-strcasecmp.c: New file.
49858
49859         * string/test-strcasestr.c: Test both ends of the range of characters.
49860         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49861
49862 2010-07-29  Roland McGrath  <roland@redhat.com>
49863
49864         [BZ #11856]
49865         * manual/locale.texi (Yes-or-No Questions): Fix example code.
49866
49867 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
49868
49869         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49870         for ld.so.
49871
49872 2010-07-27  Andreas Schwab  <schwab@redhat.com>
49873
49874         * manual/memory.texi (Malloc Tunable Parameters): Document
49875         M_PERTURB.
49876
49877 2010-07-26  Roland McGrath  <roland@redhat.com>
49878
49879         [BZ #11840]
49880         * configure.in (-fgnu89-inline check): Set and substitute
49881         gnu89_inline, not libc_cv_gnu89_inline.
49882         * configure: Regenerated.
49883         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49884
49885 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
49886
49887         * string/test-strnlen.c: New file.
49888         * string/Makefile (strop-tests): Add strnlen.
49889         * string/tester.c (test_strnlen): Add a few more test cases.
49890         * string/tst-strlen.c: Better error reporting.
49891
49892         * sysdeps/x86_64/strnlen.S: New file.
49893
49894 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
49895
49896         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49897         lower-latency instructions.
49898
49899 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
49900
49901         * string/test-strcasestr.c: New file.
49902         * string/test-strstr.c: New file.
49903         * string/Makefile (strop-tests): Add strstr and strcasestr.
49904         * string/str-two-way.h: Don't undefine MAX.
49905         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49906
49907 2010-07-21  Andreas Schwab  <schwab@redhat.com>
49908
49909         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49910         strcasestr-nonascii.
49911         (CFLAGS-strcasestr-nonascii.c): Define.
49912         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49913         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49914         Remove unused attribute.
49915
49916 2010-07-20  Roland McGrath  <roland@redhat.com>
49917
49918         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49919         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
49920         ld.so.cache was broken.  With it, there is no way to disable dsocaps
49921         like LD_HWCAP_MASK can disable hwcaps.
49922
49923 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49924
49925         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49926
49927 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
49928
49929         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49930         call in strcasestr.
49931         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49932         __strcasestr_sse42_nonascii.
49933         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49934         strcasestr-nonascii.c.
49935         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49936
49937 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
49938
49939         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49940         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49941         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49942         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49943
49944 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
49945
49946         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49947         fcntl.
49948
49949 2010-07-06  Andreas Schwab  <schwab@redhat.com>
49950
49951         [BZ #11577]
49952         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49953         dl_signal_cerror.
49954
49955 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
49956
49957         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49958         _PC_PIPE_BUF using F_GETPIPE_SZ.
49959
49960 2010-07-05  Roland McGrath  <roland@redhat.com>
49961
49962         * manual/arith.texi (Rounding Functions): Fix rint description
49963         implicit in round description.
49964
49965 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
49966
49967         * elf/Makefile: Fix linking for a few tests to make recent linker
49968         happy.
49969
49970 2010-06-30  Andreas Schwab  <schwab@redhat.com>
49971
49972         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49973         $(common-objpfx)libc_nonshared.a.
49974
49975 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
49976
49977         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49978         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49979         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49980         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49981         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49982         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49983         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49984         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49999         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50000         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50001         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50002         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50003         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50004         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50005         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50006         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50007         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50008         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50009         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50010         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50025
50026 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
50027
50028         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50029         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
50030         * string/memmove.c (memmove): Renamed to ...
50031         (MEMMOVE): ...this.  Default to memmove.
50032         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50033         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50034         (END_CHK): Define.
50035         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50036         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50037         mempcpy-ssse3-back memmove-ssse3-back.
50038         * sysdeps/x86_64/multiarch/bcopy.S: New file .
50039         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50040         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50041         * sysdeps/x86_64/multiarch/memcpy.S: New file.
50042         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50043         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50044         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50045         * sysdeps/x86_64/multiarch/memmove.c: New file.
50046         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50047         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50048         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50049         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50050         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50051         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50052         Define.
50053         (index_Fast_Copy_Backward): Define.
50054         (HAS_ARCH_FEATURE): Define.
50055         (HAS_FAST_REP_STRING): Define.
50056         (HAS_FAST_COPY_BACKWARD): Define.
50057
50058 2010-06-21  Andreas Schwab  <schwab@redhat.com>
50059
50060         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50061         Restore proper fallback handling.
50062
50063 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
50064
50065         [BZ #11701]
50066         * posix/group_member.c (__group_member): Correct checking loop.
50067
50068         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50069         OOM in getpwuid_r correctly.  Return error number when the caller
50070         should return, otherwise -1.
50071         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50072         call returning > 0 value.
50073         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50074
50075 2010-06-07  Andreas Schwab  <schwab@redhat.com>
50076
50077         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50078         libc_nonshared.a from targets in modules-names.
50079
50080 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
50081
50082         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50083         requires it.
50084
50085 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
50086
50087         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50088         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50089         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50090         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50091
50092 2010-06-02  Andreas Schwab  <schwab@redhat.com>
50093
50094         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50095
50096 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
50097
50098         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50099         and F_GETPIPE_SZ.
50100         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50101         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50102         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50103         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50104         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50105         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50106
50107 2010-06-14  Roland McGrath  <roland@redhat.com>
50108
50109         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50110
50111 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
50112
50113         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50114         __REDIRECT followed by __THROW.
50115         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50116         * posix/getopt.h (getopt): Likewise.
50117
50118 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50119
50120         * hurd/lookup-at.c (__file_name_lookup_at): Accept
50121         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
50122         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50123         in AT_FLAGS.
50124         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50125         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50126
50127 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
50128
50129         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50130
50131 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
50132
50133         [BZ #11640]
50134         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50135         Properly check family and model.
50136
50137 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
50138
50139         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
50140
50141 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
50142
50143         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
50144
50145 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
50146
50147         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
50148         symbol reference.
50149
50150 2010-05-19  Andreas Schwab  <schwab@redhat.com>
50151
50152         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
50153         symbol reference.
50154
50155 2010-05-21  Andreas Schwab  <schwab@redhat.com>
50156
50157         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
50158         and internal_recvmmsg.
50159         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
50160         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
50161         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
50162         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
50163
50164         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
50165         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
50166         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
50167
50168 2010-05-20  Andreas Schwab  <schwab@redhat.com>
50169
50170         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
50171
50172 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
50173
50174         POWER7 optimizations.
50175         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
50176         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
50177
50178 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
50179
50180         * version.h: Update for 2.13 development version.
50181
50182 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
50183
50184         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
50185         exceptions.  Return 0.
50186
50187 2010-05-07  Roland McGrath  <roland@redhat.com>
50188
50189         * elf/ldconfig.c (main): Add a const.
50190
50191 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
50192
50193         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
50194         (args_options): Add no-idn option.
50195         (ahosts_keys_int): Add idn_flags to ai_flags.
50196         (parse_option): Handle 'i' option to clear idn_flags.
50197
50198         * malloc/malloc.c (_int_free): Possible race in the most recently
50199         added check.  Only act on the data if no current modification
50200         happened.
50201
50202 See ChangeLog.17 for earlier changes.